Updated Korean translation
[evolution.git] / shell / ChangeLog.pre-1-4
blobc7cfb0f830663513e7dda055f7fe7f991c3dab03
1 2003-05-22  Ettore Perazzoli  <ettore@ximian.com>
3         * e-shell-about-box.c: Add Mark Gordon.
5 2003-05-20  Ettore Perazzoli  <ettore@ximian.com>
7         [#43322]
9         * e-shell-shared-folder-picker-dialog.c (storage_weak_notify): Set
10         the storage member to NULL.
11         (shell_weak_notify): Set the shell member to NULL.
12         (cleanup_discovery): g_object_weak_unref() shell, parent and
13         storage.
15 2003-05-19  Ettore Perazzoli  <ettore@ximian.com>
17         * main.c: Removed "forced_upgrade" unused variable.
18         (show_development_warning): Put in a DEVELOPMENT_WARNING cpp
19         conditional.
20         (warning_dialog_response_callback): Likewise.
21         (view_map_callback): Likewise.
22         (new_view_created_callback): Likewise.
23         (idle_cb) [DEVELOPMENT_WARNING]: Do not connect
24         new_view_created_callback() to the "new_view" shell signal
25         anymore.
27         * Makefile.am (install-evolution) [DEFAULT_BINARY]: Make a
28         symbolic link from evolution to evolution-$(BASE_VERSION).
30         [#43216]
32         * e-shell-folder-creation-dialog.c (dialog_data_destroy):
33         g_object_weak_unref shell and dialog if they are not NULL.
34         (dialog_destroy_notify): Set ->dialog to NULL in all cases.
36 2003-05-19  Anna Marie Dirks  <anna@ximian.com>
38         * e-corba-config-page.c: Remove some padding which I incorrectly
39         added to the wrong vbox. This shoulda been fixed in 
40         widgets/misc/e-multi-config-dialog.c . (And it is, now.) 
41         
42 2003-05-17  Ettore Perazzoli  <ettore@ximian.com>
44         * e-storage-set-view.c (e_storage_set_view_set_show_checkboxes):
45         Reallocate the "expansions" member of ETreeState as well, to avoid
46         a memory error.  [#43119]
48 2003-05-15  Ettore Perazzoli  <ettore@ximian.com>
50         * e-shell.c (parse_default_uri): Protect against the component
51         name having slashes in it.
53         * e-shell-view.c (display_uri): Protect against invalid "default:"
54         URIs.  [#43079]
56 2003-05-15  Rodrigo Moya <rodrigo@ximian.com>
58         * main.c: #ifdef'ed wombat killing code, depending on whether
59         KILL_PROCESS_CMD is defined or not.
60         (kill_wombat): kill also the alarm daemon process.
62 2003-05-15  Ettore Perazzoli  <ettore@ximian.com>
64         [Patch from Antonio Xu <antonio.xu@sun.com>, #42491]
66         * e-config-upgrade.c (upgrade_xml_1_2_rec): Make it compile on
67         Forte.
69 2003-05-14  JP Rosevear  <jpr@ximian.com>
71         * e-shell.c (save_settings_for_component): release the interface
72         if we got it
74         * e-shell-view.c: include bonobo-exception.h
75         (impl_dispose): release and unref the shell view corba interface
76         (init): init to CORBA_OBJECT_NIL
77         (e_shell_view_get_corba_interface): return the corba interface
78         (setup_corba_interface): release the existing shell view, add as
79         an interface and then query to get it back
80         (get_view_for_uri): release and unref the control once we create
81         the widget with it
83         * e-corba-storage.c (storage_listener_servant_new): don't ref ourselves
84         (storage_listener_servant_free): don't unref ourselves
85         (impl_dispose): free the servant info
87         * e-corba-storage-registry.c
88         (impl_StorageRegistry_getStorageByName): we need to ref as well as
89         duplicate since we didn't create the storage here
91 2003-05-09  Jeremy Katz  <katzj@redhat.com>
93         * main.c: Add a #include to fix a warning.
95         * e-shell-offline-handler.c (update_dialog_clist): Use a list
96         store instead of a tree model for the store.
98 2003-05-08  Ettore Perazzoli  <ettore@ximian.com>
100         [#42342]
101         * e-shell-view.c (update_send_receive_sensitivity): New function
102         to update the Send/Receive menu and toolbar items according to the
103         current line status.
104         (e_shell_view_construct): Call it here to set up the initial
105         state.
106         (shell_line_status_changed_cb): Use it here as well.
108 2003-05-08  Ettore Perazzoli  <ettore@ximian.com>
110         [#36956]
111         * e-shell-view.c (update_for_current_uri): Remove the version
112         number from the window title.
114         [#42518]
115         * e-shell-view.c (handle_current_folder_removed): Casefold the
116         Inbox name only once, instead of once per iteration.  Removed the
117         spurious slash that was being passed in the path in the Inbox case
118         and prevented it from working.  Added missing slash in the path
119         for the storage case.  Casefold the path including the slash,
120         since we compare against a string that does include the slash.
121         (storage_set_removed_folder_callback): Remove the notebook page
122         before calling handle_current_folder_removed(), instead of after;
123         otherwise, the notebook page number we have might not be valid
124         anymore.
126         * e-shell-folder-creation-dialog.c (setup_dialog): Set the default
127         response for the dialog to GTK_RESPONSE_OK.
129 2003-05-07  Ettore Perazzoli  <ettore@ximian.com>
131         * e-shell-folder-commands.c (e_shell_command_add_to_shortcut_bar):
132         Do use the supplied folder_path to determine the unread count, if
133         not NULL.  [#42465]
135 2003-05-07  JP Rosevear  <jpr@ximian.com>
137         * e-shell-folder-commands.c (delete_dialog): don't pass
138         NO_SEPARATOR flag as per gtkmessagedialog warning
140 2003-05-02  Not Zed  <NotZed@Ximian.com>
142         * e-shell-about-box.c (text[]): grepped changelogs and added all
143         names found.  #40391.
145 2003-05-01  Dan Winship  <danw@ximian.com>
147         * glade/e-shell-shared-folder-picker-dialog.glade: Don't expand
148         the select-names entry, because we don't want it as tall as the
149         button.
151 2003-04-30  Ettore Perazzoli  <ettore@ximian.com>
153         * e-shell-folder-selection-dialog.c
154         (e_shell_folder_selection_dialog_construct): Set the default
155         response to GTK_RESPONSE_OK.
157 2003-04-29  Rodney Dawes  <dobey@ximian.com>
159         * Makefile.am: Fix install of evolution
160         
161 2003-04-28  Not Zed  <NotZed@Ximian.com>
163         [#41013]
165         * e-shell-importer.c (html_size_req): removed.
166         (create_help): renamed from create_html.  Only creates a plain
167         label widget now, with line wrap turned on.  Also make the
168         g_return an assert, it failing is entirely based on internal code.
169         (show_import_wizard): s/create_html/create_help/g
171         [#41648]
172         
173         * e-config-upgrade.c (upgrade_xml_file): upgrade_xml_file_1_0 made
174         a bit more generic, this handles io, a callback handles xml
175         changes.
176         (is_xml1encoded): new function to tell if a string is in gal's
177         xml1 'encoded' format, or raw locale text.
178         (decode_xml1): decode xml1 encoded format to valid utf8.
179         (upgrade_xml_1_2_rec): upgrades xml1 encoded or badly encoded xml
180         content for specific parent->child nodes.
181         (CONF_REVISION): bump the config revision to 1.3.1.
182         (e_config_upgrade): if config revision < 1.3.1, then check xml
183         files for xml1 content.
185 2003-04-28  Rodney Dawes  <dobey@ximian.com>
187         * Makefile.am: Fix up some stuff for the nognome script
188         * evolution-nognome.in: Fix up nognome script for Sun GNOME2
189         
190 2003-04-28  Rodrigo Moya <rodrigo@ximian.com>
192         Fixes #41916
194         * evolution-storage.c (get_folder_list_foreach): removed comment which
195         does not apply any more.
196         (impl_Storage__get_folderList): set sequence's maximum number of items
197         to e_folder_tree_get_count as is.
199 2003-04-28  Ettore Perazzoli  <ettore@ximian.com>
201         Patch from Sanshao Jiang <alex.jiang@sun.com>.
203         [#41484]
205         * main.c (main): Add e_proxy_init()
206         
207 2003-04-24  Dan Winship  <danw@ximian.com>
209         * evolution-shell-component.c (impl_setOwner): Comment out the
210         pinging code again since it's only being used by Connector, where
211         it's triggering an unrelated bug.
213 2003-04-25  Ettore Perazzoli  <ettore@ximian.com>
215         [#41059]
217         * e-corba-storage.c (async_open_cb): Added a missing unref of the
218         storage in the closure.
219         (async_open_folder_idle): Add the pending open to the pending open
220         list before calling asyncOpenFolder, instead of after.
222 2003-04-23  Not Zed  <NotZed@Ximian.com>
224         * e-local-storage.c (load_folder): cast to remove warning.
225         (construct): set a physiucal uri on the root folder, so we dont
226         get warnings when we add it later.
228 2003-04-22  Anna Marie Dirks  <anna@ximian.com>
230         * e-shell-settings-dialog.c (init): Add appropriate padding 
231         to the Evolution Settings window. This is another bit of the 
232         fix for #41392.
234         * e-corba-config-page.c (e_corba_config_page_construct): Add 
235         appropriate padding to the corba_config_page widget. Partial 
236         fix for #41392.
238 2003-04-23  Anna Marie Dirks  <anna@ximian.com>
240         * glade/e-folder-list.glade: replaced buttons with stock buttons
241         and added HIG-blessed spacing. Fixes 41145.
243 2003-04-22  Anna Marie Dirks  <anna@ximian.com>
244         
245         * e-shortcuts-view.c
246         (destroy_group_cb): Set the border width of the message dialog 
247         to 6. Also corrected the capitalization for "Remove Shortcut 
248         Dialog". Fixes 41569
249         (show_new_group_dialog): Fixed the title of "Create New Shortcut
250         Group" . Partially fixes 41038.
251         (rename_shortcut_cb): Corrected the label capitalization for 
252         Rename dialog. Fixes 41567.
254 2003-04-21  Chris Toshok  <toshok@ximian.com>
256         * e-folder-list.c (e_folder_list_parse_xml): this should never
257         happen unless you're really trying, but don't crash if the xml
258         setting is malformed.
260 2003-04-21  Ettore Perazzoli  <ettore@ximian.com>
262         * e-local-storage.c (create_folder_directory): Don't signal an
263         error if mkdir() returns EEXIST.  This should at least help with
264         situations like the one described in #40989.
266 2003-04-21  Anna Marie Dirks  <anna@ximian.com>
268         * e-shell-folder-commands.c (delete_dialog): Corrected border 
269         with for Delete Folder dialog. Fixes 41036. 
270         (e_shell_command_copy_folder): Corrected capitalization of the "Copy
271         Folder" window title. Partial fix for 41025. 
272         (e_shell_command_move_folder): Corrected the capitalization of the
273         "Move Folder" dialog. Fixes 41024.
276 2003-04-21  Anna Marie Dirks  <anna@ximian.com>
277         
278         * e-shell-folder-selection-dialog.c 
279         (e_shell_folder_selection_dialog_construct): Added appropriate border 
280         width to the folder selection dialog. Fixes 41022, 41146, 41147, 
281         41010, partially fixes 41025. 
284 2003-04-21  Anna Marie Dirks  <anna@ximian.com>
286         * glade/evolution-startup-wizard.glade: Added spacing/padding to 
287         first-run dialog. Fixes 41242.  
289 2003-04-21  Anna Marie Dirks  <anna@ximian.com>
291         * glade/e-shell-folder-creation-dialog.glade: Misc HIG-related tweaks,
292         mostly spacing and padding related. Fixes 41008. 
294         * e-shell-folder-creation-dialog.c (add_storage_set_view): Added
295         appropriate spacing to the main vbox of the folder creation dialog.
296         Partially fixes 41008.
298 2003-04-21  Anna Marie Dirks  <anna@ximian.com>
299         
300         * glade/e-shell-config-default-folders.glade: Added appropriate
301         spacing/padding to the default folder pages of the settings dialog. 
302         Partial fix for 41128.
305 2003-04-21  Anna Marie Dirks  <anna@ximian.com>
307         * glade/e-active-connection-dialog.glade: Fixed padding/spacing/caps
308         of the "Go Offline" dialog. Fixes 41225 and 41227. 
310 2003-04-18  Rodney Dawes  <dobey@ximian.com>
312         * e-shell-view.c: Use PREFIX instead of EVOLUTION_DATADIR for
313         bonobo_ui_util_set_ui () [#21499]
314         
315 2003-04-17  Dan Winship  <danw@ximian.com>
317         * e-shell-folder-creation-dialog.c (add_folder_types): If the
318         default_type is "foo/bar" and "foo" appears in the list but
319         "foo/bar" doesn't, use "foo" as the default type. [#41468] Also,
320         remove a workaround for a gtk 1.2 bug.
322 2003-04-16  Dan Winship  <danw@ximian.com>
324         * e-corba-storage.c (async_create_folder): If the new folder's
325         parent has unresolved children, async_open the parent first, then
326         create the new folder. [#41413]
327         (async_create_folder, async_remove_folder, async_xfer_folder,
328         async_open_folder, async_discover_shared_folder,
329         async_remove_shared_folder): Ref the storage.
330         (async_folder_cb, async_folder_discovery_cb): Unref it
332 2003-04-16  Jeffrey Stedfast  <fejj@ximian.com>
334         * e-config-upgrade.c: Turn off debugging. Fixes bug #41469.
336 2003-04-16  Ettore Perazzoli  <ettore@ximian.com>
338         * apps_evolution_shell.schemas: Increase the default value for
339         /schemas/apps/evolution/shell/view_defaults/folder_bar/width to
340         200.    [#41002]
342         * evolution-shell-component.c (owner_ping_callback): Enable this
343         again.
344         (setup_owner_pinging): Same.
345         (impl_setOwner): Check if the shell is in-process and, if so, call
346         setup_owner_pinging().
348 2003-04-15  Hans Petter Jansson  <hpj@ximian.com>
350         * e-setup.c (e_setup_check_config): Free the temporary string.
352         * e-shell-user-creatable-items-handler.c (append_xml_for_menu_item):
353         Free the icon xml string.
355         * e-shell.c (parse_default_uri): Free the component name, the
356         configuration path and the temporary path.
358 2003-04-15  Dan Winship  <danw@ximian.com>
360         * e-folder.c (e_folder_get_has_subfolders,
361         e_folder_set_has_subfolders): new boolean flag.
363         * e-storage.c (EStoragePrivate, impl_finalize, init): Remove the
364         pseudofolders hash
365         (e_storage_async_open_folder): Replace the pseudofolders test with
366         a test of whether the folder has the "has_subfolders" flag set.
367         (e_storage_new_folder): Likewise (for the folder's parent).
368         (e_storage_declare_has_subfolders): Set "has_subfolders" on the
369         folder.
370         (e_storage_get_has_subfolders): Check "has_subfolders" on the
371         folder.
372         Should fix #33919.
374 2003-04-14  Not Zed  <NotZed@Ximian.com>
376         * glade/e-active-connection-dialog.glade: fix the title of the
377         dialogue box.  #41304.
379 2003-04-09  Dan Winship  <danw@ximian.com>
381         * e-folder-list.c: Update for e_option_menu prototype
382         constification
384 2003-04-08  Ettore Perazzoli  <ettore@ximian.com>
386         * e-setup.c (setup_bonobo_conf_private_directory): Removed.
387         (e_setup): Do not call here.  Also, removed hacks for
388         ~/evolution/config and ~/evolution/local/Trash.
390 2003-04-08  Dan Winship  <danw@ximian.com>
392         * main.c (main): Add a "--setup-only" flag, to just run e_setup()
393         and exit. (For #40889)
395         * glade/evolution-startup-wizard.glade: Remove the color specs so
396         the druid will use theme colors
398         * importer/import.glade: Likewise
400 2003-04-08  Ettore Perazzoli  <ettore@ximian.com>
402         [#40912]
404         * e-shell-folder-selection-dialog.c (impl_dispose):
405         g_object_weak_unref() the shell here.
407 2003-04-07  Dan Winship  <danw@ximian.com>
409         * evolution-storage.c (evolution_storage_class_init): Fix arg
410         types on REMOVED_SHARED_FOLDER signal. #40888
412         * evolution-folder-selector-button.c (clicked): Desensitize the
413         window's top-level container rather than desensitizing the window
414         itself, which causes strange problems [#40854]. Also fix up the
415         code that tries to watch for the parent window being destroyed.
417         * e-shell.c (impl_Shell_selectUserFolder): Use
418         e_dialog_set_transient_for_xid.
420         * e-shell-folder-selection-dialog.c (impl_response): Treat
421         GTK_RESPONSE_DELETE_EVENT the same as GTK_RESPONSE_CANCEL.
422         (e_shell_folder_selection_dialog_construct): No need to catch
423         "delete_event" signal.
425 2003-04-07  Dan Winship  <danw@ximian.com>
427         * Makefile.am ($(server_in_files)): Substitute version number into
428         the evolution binary name in the server file
429         (INCLUDES): define EVOLUTION_TOOLSDIR
431         * GNOME_Evolution_Shell.server.in.in: Clean up server names. Add
432         "-@VERSION@" to the end of the shell binary name
434         * main.c (main): if KILL_PROCESS_CMD is defined, add a
435         --force-shutdown argument that runs killev and exits.
437 2003-04-07  Not Zed  <NotZed@Ximian.com>
439         [#40536]
441         * evolution-shell-component.c (impl_interactive): If going
442         interactive, track the view id in a private area.
443         (evolution_shell_component_get_parent_view_xid): Accessor method
444         to retrieve the current view xid.
446 2003-04-06  Ettore Perazzoli  <ettore@ximian.com>
448         * e-shell-view.c (update_window_icon): Get the large version of
449         the icon instead of the small one, so it works more nicely with
450         modern WMs.
452 2003-04-04  Ettore Perazzoli  <ettore@ximian.com>
454         [#40413]
456         * e-shell-folder-selection-dialog.c: Define RESPONSE_NEW for the
457         "New" button in the dialog.
458         (impl_response): Handle RESPONSE_NEW.
459         (e_shell_folder_selection_dialog_construct): Add the "new" button
460         with RESPONSE_NEW response_id.
462 2003-04-04  Ettore Perazzoli  <ettore@ximian.com>
464         [#40748]
466         * apps_evolution_shell.schemas: Remove the icon_modes schema.
468         * e-shell-view.c (setup_defaults): Don't set the icon modes from
469         GConf, they are already stored in the shortcuts.xml file.
470         (e_shell_view_save_defaults): Likewise, don't set it here.
472         * e-config-upgrade.c: Remove translation from
473         ShortcutBarGroup%iIconMode to
474         shell/view_defaults/shortcut_bar/icon_types.
476 2003-04-02  Rodrigo Moya <rodrigo@ximian.com>
478         * importer/GNOME_Evolution_Importer.idl:
479         * importer/evolution-importer.[ch]: added "foldertype" argument to
480         GNOME::Evolution::Importer.
482         * importer/evolution-importer-client.[ch]
483         (evolution_importer_client_load_file): added "folder_type" argument
484         and use it in the call to GNOME_Evolution_Importer_loadFile.
486         * e-shell-importer.c (start_import): added "folder_type" argument and
487         use it in the call to evolution_importer_client_load_file.
488         (folder_selected): pass in the "folder_type" argument to start_import,
490 2003-04-02  Not Zed  <NotZed@Ximian.com>
492         [#40652]
494         * e-shell-view.c (setup_widgets): Pack the folder and shortcut
495         bars into the paned as sizeable.
497         [#39467]
498         
499         * e-shell.c (e_shell_construct): Change the splash logic slightly,
500         so that if we can't create the splash, we dont try and cast/use
501         it.
502         * e-splash.c (e_splash_new): dont use a g_return* for what could
503         be a valid (tho incorrect) runtime condition.
505         [#40590]
507         * e-config-upgrade.c (identity_map[]): Move the signature stuff to
508         a child node.
509         (identity_sig_map[]): Define the signature node.  Fix
510         *autogenerated_signature_%i to map to "auto". 
512 2003-04-01  Not Zed  <NotZed@Ximian.com>
514         [#40474]
516         * e-config-upgrade.c (gconf_remap_list[]): The summary settings
517         start at "My-Evolution", not "/My-Evolution".
518         (import_bonobo_config): Same for mail summary settings, and hex
519         decode the string for the strlist.  Add a few extra debug
520         printf's.
522 2003-03-28  Ettore Perazzoli  <ettore@ximian.com>
524         [#40377]
526         * main.c (kill_old_wombat): New.
527         (kill_wombat): New.
528         (idle_cb): Call kill_old_wombat().
530 2003-03-27  Ettore Perazzoli  <ettore@ximian.com>
532         * e-shell-offline-handler.c (update_dialog_tree_view): Renamed
533         from update_dialog_clist, Ported to GtkTreeView.
534         (update_dialog_tree_view_hash_foreach): Likewise.
536         * glade/e-active-connection-dialog.glade: Rename
537         "active_connection_clist" to "active_connection_treeview".
539 2003-03-27  Not Zed  <NotZed@Ximian.com>
541         * e-shell-about-box.c: Make Radek's surname correct, Doulík,
542         inserted utf8 into the name string.  For bug #17034.
544 2003-03-26  Ettore Perazzoli  <ettore@ximian.com>
546         * e-shell-view.c (e_shell_view_construct): Pass "evolution-1.4" as
547         the app name to bonobo_ui_util_set_ui() instead of "evolution".
549 2003-03-26  Ettore Perazzoli  <ettore@ximian.com>
551         [Shell part of #7153.]
553         * e-local-storage.c (load_folder): Call e_storage_new_folder()
554         instead of new_folder() here so the folder doesn't get added to
555         the EvolutionStorage.  Since the EvolutionStorage has its own
556         CORBAfied copy of the folder info [sigh] and it can't be updated,
557         we have to set up the EvolutionStorage after setup_stock_folders()
558         has been called.
559         (setup_corba_storage): New function to set up the CORBA storage.
560         (load_all_folders): Call setup_corba_storage() after
561         setup_stock_folders().
563 2003-03-25  Not Zed  <NotZed@Ximian.com>
565         * e-shell-settings-dialog.c (set_dialog_size): Use
566         set_default_size instead of size_request so we allow the user to
567         resize the window.  Also try using 60x30 rather than 72x35 as the
568         approximate font cell size.  For bug #39706.
570 2003-03-25  Dan Winship  <danw@ximian.com>
572         * e-folder-dnd-bridge.c: Update for e_notice move.
573         * e-setup.c: Likewise
574         * e-shell-folder-commands.c: Likewise
575         * e-shell-folder-creation-dialog.c: Likewise
576         * e-shell-offline-sync.c: Likewise
577         * e-shell-shared-folder-picker-dialog.c: Likewise
578         * e-shell-view-menu.c: Likewise
579         * e-shell.c: Likewise
580         * evolution-shell-component-utils.c: Likewise
582         * Makefile.am (libeshell_la_LIBADD): libeshell depends on
583         libeutil.
585         * e-corba-storage.c: Fix warnings
587         * glade/evolution-startup-wizard.glade: Fix colors again
589 2003-03-25  Dan Winship  <danw@ximian.com>
591         * Evolution-ShellComponent.idl (interactive): add a "new_view_xid"
592         arg, so the component has a window id to make use of as a parent
593         if it needs to pop up a dialog.
595         * e-shell.c (set_interactive): Pass the new_view_xid when going
596         interactive.
597         (e_shell_set_interactive): Remove this since it wasn't being used,
598         and couldn't be used for anything except lying to the components.
600         * evolution-shell-component.c
601         (evolution_shell_component_class_init): Update "interactive"
602         signal definition
603         (impl_interactive): Update prototype and signal emission
604         
605         * e-shell-marshal.list (NONE:BOOL,INT): add
607 2003-03-21  Dan Winship  <danw@ximian.com>
609         * e-corba-storage.c (async_open_folder_idle): If we get a second
610         request to open a folder we're already waiting for, don't send a
611         second CORBA request, just remember the additional request.
612         (async_open_cb): Call the callbacks for all pending requests for
613         this folder.
614         (init): grumble-grumble-non-g_new0-using-people-grumbe
616 2003-03-20  JP Rosevear  <jpr@ximian.com>
618         * e-shell-view-menu.c: remove unused command
620 2003-03-19  Not Zed  <NotZed@Ximian.com>
622         * e-config-upgrade.c (e_config_upgrade): Added some more doco just
623         to make it clear how it was intended to be used/expanded.
625 2003-03-18  Ettore Perazzoli  <ettore@ximian.com>
627         * importer/evolution-importer.c
628         (impl_GNOME_Evolution_Importer_loadFile): Get a physical_uri arg
629         instead of a folderpath arg.
631         * importer/evolution-importer-client.c
632         (evolution_importer_client_load_file): Get a physical_uri arg.
634         * e-shell-importer.c (start_import): Get a physical_uri arg
635         instead of a folderpath.
636         (folder_selected): Updated accordingly.
638 2003-03-19  Ettore Perazzoli  <ettore@ximian.com>
640         * e-shell-importer.c (get_name_from_component_info): Look for the
641         "evolution:menu_name" property instead of "evolution:menu-name".
642         [#39692]
644 2003-03-19  Ettore Perazzoli  <ettore@ximian.com>
646         * evolution-folder-selector-button.c (set_folder): If you can't
647         get a pixbuf icon for the folder's type, do not crash.  [#39599]
649         * e-shell.c (impl_Shell__get_displayName): Removed.  [#38974]
650         (e_shell_class_init): Do not install anymore.
652         * Evolution-Shell.idl: Remove displayName attribute.
654 2003-03-18  Ettore Perazzoli  <ettore@ximian.com>
656         * importer/evolution-importer.c
657         (impl_GNOME_Evolution_Importer_loadFile): Get a physical_uri arg
658         instead of a folderpath arg.
660         * importer/evolution-importer-client.c
661         (evolution_importer_client_load_file): Get a physical_uri arg.
663         * e-shell-importer.c (start_import): Get a physical_uri arg
664         instead of a folderpath.
665         (folder_selected): Updated accordingly.
667 2003-03-14  Dan Winship  <danw@ximian.com>
669         * e-storage.c (e_storage_get_has_subfolders): Add
670         (e_storage_declare_has_subfolders): Rename from
671         e_storage_has_subfolders to make it clearer that this is a setter,
672         not a getter. (Can't call it e_storage_set_has_subfolders because
673         that sounds like it belongs in e-storage-set.)
675         * e-corba-storage.c (impl_StorageListener_notifyHasSubfolders):
676         update for e_storage_declare_has_subfolders name change
677         (get_folder): Override the default EStorage implementation: if
678         asked for a folder under a not-yet-expanded folder, attempt to
679         force the parent(s) to expand so that the child is available.
680         Fixes part of #30415
682 2003-03-14  Dan Winship  <danw@ximian.com>
684         * Evolution-Storage.idl (asyncOpenFolder): add a Bonobo::Listener
685         to this like the other async interfaces, rather than having a
686         hacky way to signal failure.
688         * evolution-storage.c (impl_Storage_asyncOpenFolder): Update to
689         take a listener and emit it as part of the signal
690         (evolution_storage_class_init): update OPEN_FOLDER signal
691         prototype.
693         * e-shell-marshal.list (NONE:POINTER,STRING): add, for changed
694         EvolutionStorage open_folder signal
696         * e-storage.c (e_storage_async_open_folder): add a callback arg
697         (impl_async_open_folder): call the callback with NOTIMPLEMENTED.
698         (class_init): remove the CLOSE_FOLDER signal
699         (e_storage_has_subfolders): Don't emit CLOSE_FOLDER since it
700         doesn't exist any more, and this function is used for that side
701         effect any more anyway.
703         * e-corba-storage.c (async_open_folder): add the callback arg and
704         create a proper closure.
705         (async_open_folder_idle): Call the callback in case of error.
706         Create a listener and pass that to the CORBA call.
707         (async_open_cb): Listener callback.
709         * e-storage-set.c (storage_set_view_folder_opened): Pass a
710         callback to e_storage_async_open_folder.
711         (async_open_cb): emit CLOSE_FOLDER if the open failed
712         (storage_close_folder_cb): Remove this since the signal no longer
713         exists.
714         
715 2003-03-11  Dan Winship  <danw@ximian.com>
717         * e-shell-startup-wizard.c (start_wizard): If the wizard factory
718         returns NULL, we'll get a NIL wizard but no exception. Deal with
719         that case. (ie, try the next wizard).
720         (finish_func): Simplify for e-timezone-dialog changes.
721         (prepare_timezone_page): If there is already a timezone set in
722         gconf, set the map to point to it. (For connector autoconfig.)
724 2003-03-07  Not Zed  <NotZed@Ximian.com>
726         ** reverted the following patch from ettore, this is a gnome 2.2
727         api change, and shouldn't be used yet.
728         
729         * e-shell.c (impl_finalize): Use
730         bonobo_activation_unregister_active_server() instead of
731         bonobo_activation_active_server_unregister().
732         (e_shell_construct): Use
733         bonobo_activation_register_active_server() instead of
734         bonobo_activation_active_server_register().
736 2003-03-04  Not Zed  <NotZed@Ximian.com>
738         * main.c (show_development_warning): Separated the current stable
739         version number from the warning prompt, and fixed a minor
740         grammatical error.  For bug #38775.
742 2003-03-06  Ettore Perazzoli  <ettore@ximian.com>
744         * e-shell.c (impl_Shell_selectUserFolder): At least for now,
745         disable the nasty XWMHints trick to fool WMs; it is not needed now
746         that everything is in-proc.
748 2003-03-06  Ettore Perazzoli  <ettore@ximian.com>
750         * e-shell-utils.c (e_shell_folder_name_is_valid): Do not allow
751         names with a "#" in them either.
753 2003-03-06  Ettore Perazzoli  <ettore@ximian.com>
755         * e-shell-view.c (update_other_users_folder_items_sensitivity):
756         New function to toggle the "open other user's folder" menu item
757         sensitivity on or off depending on whether there are any storages
758         that actually support that.
759         (storage_set_removed_storage_callback): New callback for the
760         EStorageSet's "removed_storage" signal; it updates the sensitivity
761         if necessary.
762         (storage_set_new_storage_callback): Likewise, new callback for the
763         EStorageSet's "new_storage" signal.
764         (e_shell_view_construct): Connect these two signal callbacks here.
765         Also, call update_other_users_folder_items_sensitivity() to set up
766         the initial sensitivity of the menu item.
767         (update_for_current_uri): Add a missing EStorageSetView cast here.
769 2003-03-06  Ettore Perazzoli  <ettore@ximian.com>
771         [#34371]
773         * e-shell-shared-folder-picker-dialog.c
774         (folder_name_entry_changed_callback): New callback to set the
775         sensitivity of the OK button according to whether the folder name
776         entry is empty or not.
777         (show_dialog): Connect here.  Pop up an error message if no user
778         is selected.
780 2003-03-06  Ettore Perazzoli  <ettore@ximian.com>
782         * e-shell.c (impl_finalize): Use
783         bonobo_activation_unregister_active_server() instead of
784         bonobo_activatino_active_server_unregister().
785         (e_shell_construct): Use
786         bonobo_activation_register_active_server() instead of
787         bonobo_activation_active_server_register().
789 2003-03-06  Ettore Perazzoli  <ettore@ximian.com>
791         * e-shell-importer.c (IN): Use G_GNUC_FUNCTION instead of
792         __FUNCTION__.
793         (OUT): Likewise.
795 2003-03-06  Ettore Perazzoli  <ettore@ximian.com>
797         Patch from Not Zed <NotZed@Ximian.com>:
799         * main.c (show_development_warning): Separated the current stable
800         version number from the warning prompt, and fixed a minor
801         grammatical error.  For bug #38775.
803 2003-03-06  Ettore Perazzoli  <ettore@ximian.com>
805         * e-config-upgrade.c (import_bonobo_config): Protect from val
806         being NULL when printf()ing -- should fix #39096 (Solaris-specific
807         crash).
809 2003-03-05  Ettore Perazzoli  <ettore@ximian.com>
811         * e-shell-view-menu.c: Added icon for "/popups/NewPopup/Folder".
813 2003-03-05  Ettore Perazzoli  <ettore@ximian.com>
815         * importer/Makefile.am (BUILT_SOURCES): $(IDL_GENERATED), not
816         $(IDL_GENERATED_H).
817         (CLEANFILES): Make the same as $(BUILT_SOURCES).
818         (GNOME_Evolution_Importer-impl.o): Removed useless rule.
820 2003-03-04  Mike Kestner  <mkestner@ximian.com>
822         * e-shell-view.c (update_for_current_uri): only set current
823         folder when the folder_path is different from the current folder.
825 2003-03-04  Ettore Perazzoli  <ettore@ximian.com>
827         * e-folder-dnd-bridge.c (find_matching_target_for_drag_context):
828         Handle p->data as a GdkAtom instead of a GdkAtom *.
829         (handle_data_received_non_path): Set the target member of the
830         corba_data struct to be the name of the atom.
832         * e-storage-set-view.c (impl_tree_drag_data_get): Pass the name of
833         the atom instead of the atom itself.
835         * Evolution-ShellComponentDnd.idl: Changed the type of Data.target
836         to string.
838 2003-03-03  Ettore Perazzoli  <ettore@ximian.com>
840         * glade/e-shell-shared-folder-picker-dialog.glade: Swap Cancel/OK
841         buttons as per the HIG.  Also added proper response_ids.
843 2003-03-03  Ettore Perazzoli  <ettore@ximian.com>
845         * evolution-folder-selector-button.c (impl_finalize): Protect
846         against priv->possible_types being NULL.
848 2003-02-27  Rodney Dawes  <dobey@ximian.com>
850         * Makefile.am (evolution_SOURCES): Add e-config-upgrade.h
851         
852 2003-02-26  Chris Toshok  <toshok@ximian.com>
854         * e-folder-list.c (e_folder_list_parse_xml): make this more robust
855         - only assume it's a folderlistitem node if the name of the node
856         is "folder".
858 2003-02-26  Jeffrey Stedfast  <fejj@ximian.com>
860         * e-config-upgrade.c: Change the type of load_http_images to INT
861         rather than BOOL. Fixes bug #38767.
863 2003-02-26  Dan Winship  <danw@ximian.com>
865         * e-shell-startup-wizard.c (start_wizard): New routine to attempt
866         to start each available startup wizard in priority order, and
867         return once it has successfully started one. (Allows Connector,
868         etc, to override the mailer startup wizard.)
869         (make_corba_dialog_pages): Use it.
871 2003-02-26  Not Zed  <NotZed@Ximian.com>
873         * apps_evolution_shell.schemas: Added a key for
874         /apps/evolution/version - seems the best place to put it.  This
875         should not return any value if unset, so i'm not sure if this is
876         the right mechanism ...
878         * e-config-upgrade.c: Upgrade settings from earlier versions of
879         evolution.
881         * main.c (upgrade_from_1_0_if_needed): Removed.
882         (main): Call e_config_upgrade before going into gmainloop.
883         (main): Turn off the --force-upgrade option, since it doesn't work
884         yet ...
886 2003-02-25  Dan Winship  <danw@ximian.com>
888         * Evolution-Wizard.idl: Change this to let the Wizard provide an
889         array of title/icon/control triplets, instead of just controls, so
890         the shell doesn't need to know the name of each page a priori.
892         * glade/evolution-startup-wizard.glade: Remove the mailer-specific
893         pages, which are now inserted at run time based on info from the
894         mailer.
896         * evolution-wizard.c: Update for new idl.
897         (evolution_wizard_new): Now takes no arguments.
898         (evolution_wizard_add_page): New function to add page info to the
899         wizard.
901         * e-shell-startup-wizard.c: Various renamings to make this
902         slightly less mailer-centric, though it still explicitly launches
903         the mailer startup wizard.
904         (make_corba_page): Replaces make_identity_page, make_receive_page,
905         etc. Uses the new Wizard idl to generically create a page and
906         insert it into the druid.
907         (e_shell_startup_wizard_create): Update
909 2003-02-25  Dan Winship  <danw@ximian.com>
911         * e-shell-startup-wizard.c (connect_page, make_importer_page): Use
912         g_signal_connect_after to connect to the "prepare" signal to work
913         around a GnomeDruidPageStandard bug (b.g.o 81869)
914         (e_shell_startup_wizard_create): Remove the "return TRUE" that was
915         added here a while back to disable the startup wizard.
917         * glade/evolution-startup-wizard.glade: Change "Next" and "Finish"
918         in the text to "Forward" and "Apply" to match the gnome 2 druid
919         buttons.
921 2003-02-24  Rodney Dawes  <dobey@ximian.com>
923         * e-shell-view.c: Doh, forgot to remove the e-gray-bar.h include
924         
925 2003-02-24  Rodney Dawes  <dobey@ximian.com>
927         * Makefile.am: We don't need e-gray-bar.[ch] anymore
928         * e-gray-bar.[ch]: Remove these unused files now
929         * e-shell-folder-title-bar.c: We are themeable now!!!!
930         Use GtkArrows now instead of pixmaps
931         Get rid of the hardcoded colors
932         Add an expose_event to paint a flat box for the background
933         * e-shell-view.c: Don't need e-gray-bar anymore
934         
935 2003-02-24  Ettore Perazzoli  <ettore@ximian.com>
937         * evolution-shell-component.c (impl_populateFolderContextMenu):
938         Don't release_unref the corba_uih since
939         bonobo_ui_component_set_container() takes ownership of the object
940         without reffing it.
942 2003-02-24  Ettore Perazzoli  <ettore@ximian.com>
944         * glade/e-active-connection-dialog.glade: Update dialog to use
945         stock response IDs.
947 2003-02-20  Not Zed  <NotZed@Ximian.com>
949         * main.c (upgrade_from_1_0_if_needed): fix the conf keys, currently unused.
951         * e-shell.c (save_settings_for_component): lower-case the config prefix.
953 2003-02-20  Dan Winship  <danw@ximian.com>
955         * Makefile.am (evolution_LDADD):
956         s/libemiscwidgets.a/libemiscwidgets.la/ and likewise for
957         libetimezonedialog
959 2003-02-18  Ettore Perazzoli  <ettore@ximian.com>
961         * e-shortcuts.c (shortcut_item_new): Get the name from the name,
962         not the type.  Fixes #37952, pointed out by Lonnie Borntreger.
964 2003-02-17  Chris Toshok  <toshok@ximian.com>
966         * e-shortcuts.c (load_shortcuts): plug memory leak - free path.
968 2003-02-13  Ettore Perazzoli  <ettore@ximian.com>
970         [Ported SIGSEGV signal redirection hack from mail/.]
972         * main.c (segv_redirect): New, SIGSEGV signal handler.
973         (setup_segv_redirect): New function to set it up.
974         (main): Call setup_segv_redirect().
976 2003-02-12  Ettore Perazzoli  <ettore@ximian.com>
978         * e-setup.c (DEFAULT_USER_PATH): Look into evolution/$BASE_VERSION
979         instead of evolution-$BASE_VERSION.
981 2003-02-11  Joe Shaw  <joe@ximian.com>
983         * main.c (show_development_warning): Suggest people use 1.2.x instead
984         of 1.0.x.
986 2003-02-09  Larry Ewing  <lewing@ximian.com>
988         * e-local-storage.c (remove_folder_directory): fix length calculation.
989         (create_folder_directory): remove alloca usage, clears up crash.
991 2003-02-07  Larry Ewing  <lewing@ximian.com>
993         * e-shell-folder-creation-dialog.c
994         (folder_name_entry_activate_cb): add an activate handler that
995         returns a response OK if the OK response would be active.
997 2003-02-06  Dan Winship  <danw@ximian.com>
999         * evolution-test-component.c (main): s/PACKAGE/GETTEXT_PACKAGE/ in
1000         gettext init.
1002 2003-02-06  Not Zed  <NotZed@Ximian.com>
1004         * e-shortcuts-view.c (class_init): use POINTER_STRING_BOOL for
1005         activate_shortcut.
1007         * e-shell-marshal.list: Added NONE,STRING,BOOL, and
1008         POINTER,STRING,BOOL, removed POINTER,STRING,INT
1010         * evolution-shell-view.c (evolution_shell_view_class_init): Use
1011         STRING_BOOL for the set_message signal to match rest of command.
1013         * e-shell-marshal.list: Added NONE,STRING,STRING,STRING
1015         * evolution-shell-component.c
1016         (evolution_shell_component_class_init): Change the
1017         user_create_new_item marshaller to STRING_STRING_STRING to match
1018         the rest of the call.  The 'new' button should work now.
1020         * e-setup.c (copy_default_stuff): We want to copy whats in the
1021         default user dir, not the default user dir.
1023 2003-02-05  Dan Winship  <danw@ximian.com>
1025         * Makefile.am (INCLUDES): Define EVOLUTION_IMAGES using
1026         $(imagesdir). Define EVOLUTION_GLADEDIR using $(gladedir)
1027         (eshellincludedir): Define in terms of $(privincludedir)
1028         (evolution_LDFLAGS): Remove this. gmodule-2's LDFLAGS include the
1029         equivalent of -export-dynamic for us.
1030         (serverdir, etspecdir): Remove. Defined in configure.in now.
1032         * e-folder.c: #include <string.h>
1033         * e-corba-config-page.c: Likewise
1034         * e-shell-config.c: Likewise
1035         * e-shell-folder-creation-dialog.c: Likewise
1036         * e-shell-folder-title-bar.c: Likewise
1037         * e-shell-startup-wizard.c: Likewise
1038         * evolution-activity-client.c: Likewise.
1039         * evolution-shell-component-client.c: Likewise
1040         * evolution-shell-component-utils.c: Likewise
1041         * evolution-storage.c: Likewise
1042         * evolution-test-component.c: Likewise
1044         * e-shortcuts-view.c (destroy_group_cb): Remove unused variable
1046         * importer/Makefile.am (INCLUDES): Remove -I$(includedir). Define
1047         EVOLUTION_GLADEDIR using $(gladedir).
1048         (libevolution_importerincludedir): Define in terms of
1049         $(privincludedir)
1050         (gladedir): Removed. Defined in configure.in now.
1052         * glade/Makefile.am (gladedir): Likewise
1054 2003-02-05  Dan Winship  <danw@ximian.com>
1056         * importer/evolution-intelligent-importer.c:
1057         s/BonoboXObject/BonoboObject/
1059         * e-folder-list.c (e_folder_list_class_init):
1060         s/glade_gnome_init/glade_init/
1062         * main.c (main): Likewise
1064 2003-02-05  Not Zed  <NotZed@Ximian.com>
1066         * e-shell-startup-wizard.c (start_importers): re-enable.
1067         (prepare_importer_page): re-enable importer code.
1069         * e-shell-importer.c (druid_finish_button_change): removed, since
1070         its not such a hack to change anymore.  Dunno how to get an icon
1071         on it tho, without a stock button.
1072         (show_import_wizard): Change the apply button to "Import" here.
1074 2003-01-28  Not Zed  <NotZed@Ximian.com>
1076         * e-local-storage.c (create_folder_directory): We can't use
1077         pointer arithmetic with g_path_get_*, so adjust code accordingly.
1079 2003-01-16  Not Zed  <NotZed@Ximian.com>
1081         * e-shell-startup-wizard.c (e_shell_startup_wizard_create): Hook
1082         onto finish instead of next on the last page.
1084 2003-01-28  Ettore Perazzoli  <ettore@ximian.com>
1086         * Makefile.am ($(SELECT_NAMES_IDL_GENERATED_C)): No need for the
1087         @true command.
1088         ($(IDL_GENERATED_C)): Likewise.
1089         (e-shell-marshal.h, e-shell-marshal.c): Use different names for
1090         the .tmp files so these can be generated in parallel.
1092         * importer/Makefile.am (GNOME_Evolution_Importer-impl.o): Remove
1093         unused rule.
1094         ($(IDL_GENERATED_C)): Remove useless @true command.
1095         (BUILT_SOURCES): Put the .h generated files in here as well.
1097 2003-01-28  Ettore Perazzoli  <ettore@ximian.com>
1099         * Makefile.am (Evolution-impl.o): Removed unused rule.
1101 2003-01-28  Ettore Perazzoli  <ettore@ximian.com>
1103         * importer/Makefile.am: Make this work with parallel make as well.
1105 2003-01-28  Ettore Perazzoli  <ettore@ximian.com>
1107         * Makefile.am: Use a little trick for the IDL compilation so that
1108         it works with parallel makes.
1110 2003-01-28  Ettore Perazzoli  <ettore@ximian.com>
1112         * e-shell.c (e_shell_construct): Use
1113         bonobo_activation_server_register() instead of
1114         bonobo_activation_register_active_server() again, since we want to
1115         be able to build against bonobo-activation 2.0 and the latter is
1116         2.2-specific.
1117         (impl_finalize): Likewise, use
1118         bonobo_activation_active_server_unregister() instead of
1119         bonobo_activation_unregister_active_server().
1121 2003-01-27  Ettore Perazzoli  <ettore@ximian.com>
1123         * e-shell-importer.c (choose_importer_from_list): Set
1124         GTK_RESPONSE_OK as the default response.
1126         * Makefile.am (INCLUDES): Add -DGNOME_DISABLE_DEPRECATED,
1127         -DBONOBO_DISABLE_DEPRECATED.
1129         * e-shortcuts.c (update_shortcut_and_emit_signal): Use
1130         g_signal_emit() instead of gtk_signal_emit().
1132         * e-shortcuts-view.c (destroy_group_cb): Port from GnomeMessageBox
1133         to GtkMessageDialog.
1135         * e-shell.c (get_icon_path_for_component_info): Use
1136         gnome_program_locate_file() instead of gnome_pixmap_file().
1137         (impl_finalize): Use bonobo_activation_unregister_active_server()
1138         instead of bonobo_activation_active_server_register().
1139         (e_shell_construct): Use
1140         bonobo_activation_register_active_server() instead of
1141         bonobo_activation_active_server_register().
1143         * e-shell-view-menu.c (command_submit_bug): Use e_notice().
1144         (launch_pilot_settings): Use g_find_program_in_path() instead of
1145         gnome_is_program_in_path().
1146         (command_submit_bug): Likewise.
1148         * e-shell-utils.c (get_icon_path): Use g_file_test() instead of
1149         g_file_exists().
1151         * e-shell-startup-wizard.c (prepare_importer_page): Port from
1152         GnomeMessageBox to GtkMessageDialog.
1154         * e-shell-shared-folder-picker-dialog.c (show_dialog): Update for
1155         GtkDialog.
1156         (progress_dialog_close_callback): Removed.
1157         (progress_dialog_clicked_callback): Removed.
1158         (progress_dialog_response_callback): New.
1159         (create_progress_dialog): Ported to GnomeDialog.
1161         * e-shell-offline-sync.c: Add member parent_window to struct
1162         SyncData.
1163         (e_shell_offline_sync_all_folders): Set it from the parent_window
1164         arg.
1165         (progress_dialog_close_callback): Removed.
1166         (progress_dialog_clicked_callback): Removed.
1167         (progress_dialog_response_callback): New.
1168         (setup_dialog): Create a GtkDialog instead of a GnomeDialog.
1169         (sync_folder): Updated for GtkDialog.
1171         * e-shell-offline-handler.c (dialog_handle_ok): Make it get a
1172         GtkDialog instead of a GnomeDialog.
1173         (dialog_handle_cancel): Likewise.
1174         (dialog_clicked_cb): Removed.
1175         (dialog_response_cb): New.
1176         (pop_up_confirmation_dialog): Connect the new dialog_response_cb()
1177         instead of the old dialog_clicked_cb().  Removed
1178         gnome_dialog_set_default() call.
1180         * e-shell-folder-creation-dialog.c (dialog_response_cb): Make
1181         first arg a GtkDialog, not a GnomeDialog.
1183         * e-shell-folder-commands.c (e_shell_command_delete_folder):
1184         Expect delete_dialog() to return a GtkResponseType.
1185         (delete_dialog): Ported to GtkMessageDialog; Return a
1186         GtkResponseType.
1188         * e-shell-config-default-folders.c
1189         (e_shell_config_default_folders_create_widget): Removed unused
1190         variable.
1192         * e-setup.c (check_evolution_directory): Remove Evolution
1193         directory installation message.
1194         (e_setup): Remove check for the Executive-Summary directory.
1196         * e-local-storage.c (create_folder_directory): Use g_file_test()
1197         instead of g_file_exists().
1199         * evolution-shell-component-utils.c (e_pixmaps_update): Use
1200         g_build_filename() of g_concat_dir_and_file().
1201         * e-folder-dnd-bridge.c (handle_data_received_path): Likewise.
1202         * e-local-folder.c (construct_loading_metadata): Likewise.
1203         (save_metadata): Likewise.
1204         * e-local-storage.c (remove_folder_directory): Likewise.
1205         (append_xfer_item_list): Likewise.
1206         * e-setup.c (check_dir_recur): Likewise.
1207         (e_shell_rm_dir): Likewise.
1208         (setup_bonobo_conf_private_directory): Likewise.
1209         * e-shell-folder-commands.c
1210         (folder_selection_dialog_folder_selected_callback): Likewise.
1211         (e_shell_command_rename_folder): Likewise.
1212         * e-shell-folder-creation-dialog.c (dialog_response_cb): Likewise.
1213         * e-shell-settings-dialog.c (load_pages): Likewise.
1214         * e-shell-utils.c (get_icon_path): Likewise.
1215         * e-shell.c (setup_local_storage): Likewise.
1216         (get_icon_path_for_component_info): Likewise.
1217         (e_shell_construct): Likewise.
1218         * main.c (main): Likewise.
1220 2003-01-27  Ettore Perazzoli  <ettore@ximian.com>
1222         * e-shell-about-box.c (timeout_callback): Pass a the context's
1223         language to pango_context_get_metrics() instead of NULL, so the
1224         heights are computed correctly.
1226 2003-01-27  Ettore Perazzoli  <ettore@ximian.com>
1228         * evolution-shell-component.c (owner_ping_callback): #if 0'ed out
1229         for now, since it seems to cause trouble for local components.
1230         (setup_owner_pinging): Likewise.
1232         * e-shell-user-creatable-items-handler.c
1233         (get_default_action_for_view): Return default_menu_item [instead
1234         of NULL] if there is no view displayed.  [#32736]
1236 2003-01-23  Ettore Perazzoli  <ettore@ximian.com>
1238         * e-shell-folder-title-bar.c (get_max_clipped_label_width): Use
1239         clipped_label->layout instead of creating a new PangoLayout; this
1240         way we respect the actual font being used.
1242 2003-01-23  Ettore Perazzoli  <ettore@ximian.com>
1244         * e-shell-view.c (create_label_for_empty_page): Update for new
1245         args to e_clipped_label_new().
1247         * e-shell-folder-title-bar.c (e_shell_folder_title_bar_construct):
1248         Make the title label bold and larger using the new args to
1249         e_clipped_label_new().
1251 2002-01-23  Ettore Perazzoli  <ettore@ximian.com>
1253         [Port fix for #34129 from evolution-1-2-branch, unread count in
1254         shortcut bar doesn't update properly.]
1256         * e-shortcuts.c (update_shortcuts_by_path): Use
1257         e_shell_parse_uri() so we handle default shortcuts properly as
1258         well.
1259         (update_shortcut_and_emit_signal): Use shortcut_item_update()
1260         once, and use the return value from it.  [Thanks to Leon Zhang
1261         <leon.zhang@sun.com> for pointing out the brokenness of this
1262         code.]
1264 2003-01-23  Ettore Perazzoli  <ettore@ximian.com>
1266         * e-shell-about-box.c: Update copyright year.
1268 2003-01-22  Ettore Perazzoli  <ettore@ximian.com>
1270         * Makefile.am: Install the shell executable as
1271         evolution-$(BASE_VERSION) using an install-exec-local hack.  Also
1272         put libeshell in $(privlibdir) instead of $(libdir).
1273         (eshellincludedir): Version using $(BASE_VERSION).
1274         (INCLUDES): Update for the new locations of things.
1275         (etspecdir): Likewise.
1277         * e-shell-view.c (e_shell_view_construct): Get evolution.xml from
1278         EVOLUTION_UIDIR.
1280         * importer/Makefile.am: Install libevolution-importer in
1281         $(privlibdir) instead of $(libdir).
1282         (INCLUDES): Updated for the new versioned paths.  Define
1283         EVOLUTION_UIDIR.
1284         (libevolution_importerincludedir): Version using $(BASE_VERSION).
1285         (gladedir): Likewise.
1287         * glade/Makefile.am (gladedir): Version using $(BASE_VERSION).
1289         * e-setup.c (DEFAULT_USER_PATH): New #define.
1290         (check_evolution_directory): Use it.
1291         (copy_default_stuff): Likewise.  Also, remove old shortcuts.xml
1292         removal cruft.
1294 2003-01-17  Chris Toshok  <toshok@ximian.com>
1296         * e-shell-settings-dialog.c (set_dialog_size): pass
1297         pango_context_get_language (context) to
1298         pango_context_get_metrics.
1300 2003-01-14  Ettore Perazzoli  <ettore@ximian.com>
1302         * e-shell-folder-selection-dialog.c
1303         (e_shell_folder_selection_dialog_construct): Make dialog
1304         New/Cancel/OK to match HIG.
1306         * glade/e-shell-folder-creation-dialog.glade: Swap Cancel/OK
1307         buttons to match HIG.
1309         * e-shell-importer.c (choose_importer_from_list): Make dialog
1310         Cancel/OK to match HIG.
1312         * e-shell-folder-selection-dialog.c
1313         (e_shell_folder_selection_dialog_construct): Make dialog Cancel/OK
1314         to match HIG.
1316         * e-shell-view.c: Do not #include "e-bonobo-widget.h".
1318 2003-01-14  Ettore Perazzoli  <ettore@ximian.com>
1320         * Makefile.am (EXTRA_DIST): Add $(schema_DATA) here.
1322 2003-01-14  Rodney Dawes  <dobey@ximian.com>
1324         * e-shell-view.c: Use GtkPaned instead of EPaned
1325         
1326 2003-01-13  Dan Winship  <danw@ximian.com>
1328         * s/BonoboXObject/BonoboObject/ (for BONOBO_DISABLE_DEPRECATED)
1330 2003-01-10  Ettore Perazzoli  <ettore@ximian.com>
1332         * evolution-shell-component.c (impl_setOwner): Don't duplicate the
1333         shell object here before passing to evolution_shell_client_new().
1335         * evolution-shell-client.c (evolution_shell_client_construct):
1336         Dupliate the @corba_shell before storing into the
1337         EvolutionShellClientPrivate struct.
1339         * e-shell-config-default-folders.c
1340         (e_shell_config_default_folders_create_widget): Do not duplicate
1341         the shell's CORBA objref.
1343         * e-shell-config-autocompletion.c
1344         (e_shell_config_autocompletion_create_widget): Do not duplicate
1345         the shell's CORBA objref.
1347 2003-01-10  Dan Winship  <danw@ximian.com>
1349         * e-storage-set-view.c (popup_folder_menu): Make this work again.
1351 2003-01-10  Ettore Perazzoli  <ettore@ximian.com>
1353         * e-shell-view.c (e_shell_view_save_defaults): Save the expansion
1354         state of the EStorageSetView.
1355         (setup_defaults): Load the expansion state.
1357 2003-01-10  Ettore Perazzoli  <ettore@ximian.com>
1359         * e-shell.c (e_shell_request_close_view): Make the view save its
1360         settings as the default ones if it's the last one.
1362         * e-shell-view-menu.c (command_quit): Make this view save its
1363         settings as the defaults before quitting.
1365 2003-01-10  Ettore Perazzoli  <ettore@ximian.com>
1367         * main.c (main): Generate the URI list from the popt context
1368         fetched from the GnomeProgram object.
1370         * e-shell-view.c (setup_defaults): Removed @setup_default_uri arg.
1371         Don't load any URI here.
1372         (e_shell_view_construct): Open the URI here instead.
1374 2003-01-10  Ettore Perazzoli  <ettore@ximian.com>
1376         * e-shell.c (parse_default_uri): Remove bogus is_default check.
1378 2003-01-10  Ettore Perazzoli  <ettore@ximian.com>
1380         * e-setup.c (set_default_folder_physical_uri_from_path): New
1381         function.
1382         (e_setup_check_config): Call it for each of the *_path keys.  Do
1383         not set the default for *_path keys as those come from the GConf
1384         schema anyways.
1386 2003-01-10  Ettore Perazzoli  <ettore@ximian.com>
1388         * apps_evolution_shell.schemas: Set defaults for
1389         /apps/evolution/shell/default_folders/... .
1391         * e-shortcuts-view.c (pop_up_right_click_menu_for_group): Destroy
1392         the popup_menu with gtk_widget_destroy() instead of
1393         gtk_widget_unref().
1395 2003-01-10  Not Zed  <NotZed@Ximian.com>
1397         * evolution-config-control.c (impl_apply): remove cast to
1398         GTK_OBJECT, it isn't, nor needed.
1400 2003-01-09  Chris Toshok  <toshok@ximian.com>
1402         * e-shell-settings-dialog.c (set_dialog_size): use
1403         pango_layout_get_pixel_size here instead of
1404         pango_layout_get_width, which returns 0 (unless it's been set by
1405         the user before, I believe).
1407 2003-01-09  Ettore Perazzoli  <ettore@ximian.com>
1409         * evolution-shell-client.c (impl_dispose): Properly reset
1410         activity_interface to NULL.
1411         (evolution_shell_client_construct): Ref the shell object here.
1413         * e-shell.c (view_weak_notify): Ref the shell since it's being
1414         passed to notify_no_views_left_idle_cb as the data.
1415         (notify_no_views_left_idle_cb): Only unref the shell here.
1417 2003-01-08  Not Zed  <NotZed@Ximian.com>
1419         * e-shell-settings-dialog.c (set_dialog_size): dont unref the
1420         pango context, get_context() doesn't create a ref.
1422 2003-01-08  Ettore Perazzoli  <ettore@ximian.com>
1424         * Makefile.am: Images are now in $(datadir)/evolution/images
1425         instead of $(datadir)/images/evolution.
1427         * e-folder-list.c (e_folder_list_class_init): Remove
1428         "EFolderList::" prefix from the properties.
1430 2003-01-08  Ettore Perazzoli  <ettore@ximian.com>
1432         * Makefile.am (evolution_LDFLAGS): -export-dynamic so custom
1433         widgets in libglade work.
1435 2003-01-07  Dan Winship  <danw@ximian.com>
1437         * main.c (main): setup gettext
1439 2003-01-06  Not Zed  <NotZed@Ximian.com>
1441         * evolution-folder-selector-button.c (set_folder): dont
1442         double-free storage_lname.
1444 2003-01-06  Dan Winship  <danw@ximian.com>
1446         * Makefile.am: Remove idldir definition. (It's defined in
1447         configure.in now).
1449         * importer/Makefile.am: Likewise
1451 2002-12-19  Ettore Perazzoli  <ettore@ximian.com>
1453         [With this commit, the shell compiles without deprecated GLib/GTK+
1454         functions, except for a couple of places were we use GtkCList.]
1456         * Makefile.am (INCLUDES): Add `-DG_DISABLE_DEPRECATED
1457         -DGTK_DISABLE_DEPRECATED'.
1459         * evolution-test-component.c (create_new_folder_selector): No
1460         gtk_window_set_policy().
1462         * main.c (quit_box_new): gtk_window_set_resizable() instead of
1463         gtk_window_set_policy().
1464         (view_map_callback): g_signal_handlers_disconnect_by_func()
1465         instead of gtk_signal_disconnect_by_func().
1466         (main): No need to push the GdkRGB visual/cmap anymore.
1467         (new_view_created_callback): Likewise.
1469         * e-task-widget.c: Renamed member pixmap of ETaskWidgetPrivate to
1470         `image'.
1471         (init): Updated accordingly.
1472         (e_task_widget_construct): Use GtkImage, not GtkPixmap.
1474         * e-storage.c (class_init): Converted from gtk_signal_new() to
1475         g_signal_new().
1477         * e-storage-set.c (class_init): Converted from gtk_signal_new() to
1478         g_signal_new().
1480         * e-storage-set-view.c
1481         (setup_folder_properties_items_if_corba_storage_clicked):
1482         g_string_append_printf() instead of g_string_sprintfa().
1483         (class_init): Converted from gtk_signal_new() to g_signal_new().
1484         (setup_folder_changed_callbacks): Use
1485         e_signal_connect_while_alive() and
1486         e_signal_connect_full_while_alive().
1488         * e-splash.c (e_splash_construct): gtk_window_set_resizable()
1489         instead of gtk_window_set_policy().
1491         * e-shortcuts.c: Do not #include e-unicode.h.
1492         (shortcut_item_update): Use g_path_get_basename() instead of
1493         g_basename().
1494         (e_shortcuts_add_default_shortcuts): No need to de-utfize strings.
1495         (e_shortcuts_add_default_group): Same here.
1497         * e-shortcuts-view.c: Do not #include <e-unicode.h>.
1498         (class_init): Converted from gtk_signal_new() to g_signal_new().
1499         (destroy_group_cb): No need to convert the text from UTF8.
1501         * e-shell.c (impl_dispose): g_signal_handlers_disconnect_by_func()
1502         instead of gtk_signal_disconnect_by_func().
1503         (class_init): Use g_signal_new() instead of gtk_signal_new().
1505         * e-shell-view.c: Do not #include e-unicode.h.  Renamed member
1506         offline_toggle_pixmap to offline_toggle_image in
1507         EShellViewPrivate.
1508         (update_folder_title_bar): No need to de-UTF8-ize the title.
1509         (cleanup_delayed_selection):
1510         g_signal_handlers_disconnect_by_func() instead of
1511         gtk_signal_disconnect_by_func().
1512         (ui_engine_add_hint_callback): gtk_label_set_text(), not
1513         gtk_label_set().
1514         (class_init): Use g_signal_new() instead of gtk_signal_new().
1515         (update_for_current_uri): No need to convert the title from UTF8.
1516         (setup_offline_toggle): Changed to set up a GtkImage, not a
1517         GtkPixmap.
1518         (update_offline_toggle_status): Accordingly (gtk_image* instead of
1519         gtk_pixmap*).
1520         (set_current_notebook_page): gtk_notebook_set_current_page(), not
1521         gtk_notebook_set_page().
1522         (get_storage_set_path_from_uri): g_ascii_strncasecmp() instead of
1523         g_strncasecmp().
1524         (folder_bar_popup_map_callback): Use
1525         e_signal_connect_while_alive() instead of
1526         gtk_signal_connect_while_alive().
1527         (e_shell_view_construct): Likewise.
1528         (display_uri): g_signal_connect_after() instead of
1529         gtk_signal_connect_full().
1530         (update_for_current_uri):
1531         g_signal_handlers_{block,unblock}_by_func() instead of
1532         gtk_signal_handler_{block,unblock}_by_func().
1534         * e-shell-view-menu.c (command_about_box):
1535         gtk_window_set_resizable() instead of gtk_window_set_policy().
1537         * e-shell-utils.c (get_mini_name): g_path_get_basename() instead
1538         of g_basename().
1540         * e-shell-user-creatable-items-handler.c
1541         (append_xml_for_menu_item): g_string_append_printf() instead of
1542         g_string_sprintfa().
1543         (create_menu_xml): Likewise.
1545         * e-shell-shared-folder-picker-dialog.c: Do not #include
1546         e-unicode.h.
1547         (progress_bar_timeout_callback): Expect a GtkProgressBar data and
1548         just use gtk_progress_bar_pulse().
1549         (create_progress_dialog): gtk_window_set_resizable() instead of
1550         gtk_window_set_policy().  No gtk_progress_set_activity_mode().
1551         (setup_server_option_menu): Just use
1552         gtk_menu_item_new_with_label() instead of
1553         e_utf8_gtk_menu_item_new_with_label().
1555         * e-shell-settings-dialog.c (set_dialog_size): Ported to Pango.
1557         * e-shell-offline-sync.c
1558         (impl_SyncFolderProgressListener_updateProgress):
1559         gtk_progress_set_fraction() instead of
1560         gtk_progress_bar_set_percentage().
1561         (sync_folder): Likewise.
1562         (setup_dialog): gtk_window_set_resizable() instead of
1563         gtk_window_set_policy().
1564         (sync_folder): No gtk_progress_set_activity_mode().
1566         * e-shell-offline-handler.c: #undef {G,GTK}_DISABLE_DEPRECATED
1567         here for now (need to port from GtkCList).
1568         (class_init): Use g_signal_new()
1570         * e-shell-importer.c: #undef {G,GTK}_DISABLE_DEPRECATED here for
1571         now (need to port from GtkCList).
1573         * e-shell-folder-title-bar.c (create_image_widget_from_xpm):
1574         Renamed from create_pixmap_widget_from_xpm(); handle GtkImage
1575         instead of GtkPixmap.
1576         (new_empty_image_widget): Renamed from new_empty_pixmap_widget();
1577         return a GtkImage instead of a GtkPixmap.
1578         (add_navigation_buttons): Updated accordingly; so use GtkImages
1579         instead of GtkPixmaps.
1580         (e_shell_folder_title_bar_construct): Likewise.
1581         (e_shell_folder_title_bar_set_icon): Use gtk_image_* instead of
1582         gtk_pixmap_* on the image widgets.
1583         (class_init): Converted to use g_signal_new() instead of
1584         gtk_signal_new().
1585         (e_shell_folder_title_bar_new): No need for pushing the GdkRGB
1586         visual/cmap anymore.
1588         * e-shell-folder-selection-dialog.c (check_folder_type_valid):
1589         Just use strcmp instead of strcasecmp().
1590         (class_init): g_signal_new() instead of gtk_signal_new().
1591         (e_shell_folder_selection_dialog_construct): Removed call to
1592         gtk_window_set_policy().
1594         * e-shell-folder-creation-dialog.c
1595         (type_with_display_name_compare_func): Changed to use
1596         g_utf8_casefold().
1598         * e-shell-folder-commands.c: Do not #include e-unicode.h.
1599         (e_shell_command_rename_folder): g_path_get_dirname() instead of
1600         g_dirname().
1601         (folder_selection_dialog_folder_selected_callback):
1602         g_path_get_basename() instead of g_basename().
1603         (rename_cb): Likewise.
1604         (delete_dialog): Do not convert from UTF8 for display purposes.
1605         (e_shell_command_rename_folder): Likewise.
1607         * e-shell-about-box.c (timeout_callback): Ported to Pango and use
1608         gdk_window_invalidate_rect() instead of gtk_widget_draw().
1610         * e-setup.c (check_evolution_directory): Use
1611         gtk_window_set_resizable() instead of gtk_window_set_policy().
1613         * e-local-storage.c: Do not include e-unicode.h.
1614         (create_folder): Use g_path_get_basename() instead of
1615         g_basename().
1616         (create_folder_directory): Likewise.
1617         (remove_folder_directory): Likewise.
1618         (append_xfer_item_list): Likewise.
1620         * e-local-folder.c (construct_loading_metadata): Use
1621         g_path_get_basename() instead of g_basename().
1623         * e-folder-dnd-bridge.c (handle_evolution_path_drag_motion): Use
1624         g_path_get_basename() instead of g_basename().
1626         * e-corba-storage-registry.c: G_STRUCT_OFFSET instead of
1627         GTK_STRUCT_OFFSET.
1629         * e-corba-shortcuts.c: G_STRUCT_OFFSET instead of
1630         GTK_STRUCT_OFFSET.
1632         * e-component-registry.c
1633         (sleep_with_g_main_loop_timeout_callback): g_main_loop_* instead
1634         of g_main_*.
1635         (sleep_with_g_main_loop): Likewise.
1637         * e-activity-handler.c: G_STRUCT_OFFSET instead of
1638         GTK_STRUCT_OFFSET.
1640         * evolution-wizard.c (evolution_wizard_class_init): g_signal_new()
1641         instead of gtk_signal_new().
1643         * evolution-storage-listener.c (class_init): g_signal_new()
1644         instead of gtk_signal_new().
1646         * evolution-shell-view.c (class_init): g_signal_new() instead of
1647         gtk_signal_new().
1649         * evolution-shell-component-dnd.c: G_STRUCT_OFFSET instead of
1650         GTK_STRUCT_OFFSET.
1652         * evolution-shell-component.c: G_STRUCT_OFFSET instead of
1653         GTK_STRUCT_OFFSET.
1655         * evolution-session.c: G_STRUCT_OFFSET instead of
1656         GTK_STRUCT_OFFSET.
1658         * evolution-folder-selector-button.c: Do not include e-unicode.h.
1659         (set_folder): No need to convert from UTF8 to locale encoding
1660         anymore.  Removed unused variable.
1662         * evolution-config-control.c (class_init): Use g_signal_new()
1663         instead of gtk_signal_new().
1665         * evolution-activity-client.c (class_init): Use g_signal_new()
1666         instead of gtk_signal_new().
1668         * e-folder-list.c: Do not include e-unicode.h.  Use E_MAKE_TYPE().
1669         (e_folder_list_get_type): Removed explicit implementation of this.
1670         (e_folder_list_set_arg): Removed.
1671         (e_folder_list_get_arg): Removed.
1672         (e_folder_list_set_property): New.
1673         (e_folder_list_get_property): New.
1674         (e_folder_list_destroy): Removed.
1675         (e_folder_list_dispose): New.
1676         (e_folder_list_class_init): Updated accordingly.
1678         * e-folder.c (impl_save_info): Use G_OBJECT_TYPE_NAME() instead of
1679         gtk_type_name().
1680         (impl_load_info): Likewise.
1681         (impl_remove): Likewise.
1682         (class_init): Use g_signal_new() instead of gtk_signal_new().
1684 2002-12-16  Jeffrey Stedfast  <fejj@ximian.com>
1686         * e-shell-importer.c: Don't #include "e-util/e-html-utils.h" as
1687         we don't use it.
1689 2002-12-13  Chris Toshok  <toshok@ximian.com>
1691         [ fixes bug #35394 ]
1692         
1693         * e-shell-shared-folder-picker-dialog.c (setup_name_selector):
1694         return the SelectNames corba interface too.
1695         (show_dialog): unref the corba interface when closing the dialog.
1697 2002-12-05  Chris Toshok  <toshok@ximian.com>
1699         * e-shell-config-default-folders.c: use "contacts",
1700         "contacts/ldap" as the accepted contacts types, so it'll allow
1701         both normal and ldap contact folders.
1703 2002-12-04  Ettore Perazzoli  <ettore@ximian.com>
1705         * e-component-registry.c (component_free): Only invoke
1706         wait_for_corba_object_to_die on components that are out-of-proc.
1708 2002-11-27  Not Zed  <NotZed@Ximian.com>
1710         * main.c (show_development_warning): changed to use a gtkdialog
1711         instead of a gnome one.
1712         (warning_dialog_response_callback): clicked->response.
1714         * e-shell-folder-selection-dialog.c: Include gtk/gtkstock.h
1716         * e-shell-folder-creation-dialog.c: include gnome-dialog.h
1717         (dialog_response_cb): gtk_entry_get_text now returns const.  Dont
1718         free result.
1720         * e-setup.c: include gnome-messagebox.h
1722         * *.c: (re)run fix.sh over all, for e_notice changes & pick up
1723         some deprecated functions.
1725         * e-shell-shared-folder-picker-dialog.c
1726         (shared_folder_discovery_callback): reformat e_notice call for
1727         script.
1729         * e-shell-offline-sync.c
1730         (impl_SyncFolderProgressListener_reportFailure): Fix e_notice
1731         call, we weren't passing type in.
1733         * e-shell-folder-commands.c (xfer_result_callback): changed around
1734         slightly to save some processing & allow a script to run.
1735         (e_shell_command_rename_folder): reformat e_notice call to help script.
1736         Include gnome-messagebox.h
1738 2002-11-25  Dan Winship  <danw@ximian.com>
1740         * e-shell-settings-dialog.c (page_new): e_get_language_list now
1741         returns language codes that actually work with oaf, making the
1742         _()s here redundant.
1744         * e-component-info.c (get_i18n_value): Remove code to turn "fr_FR"
1745         into "fr", since e_get_language_list will return both now.
1747 2002-11-25  Ettore Perazzoli  <ettore@ximian.com>
1749         * apps_evolution_shell.schemas: Fix <key> -> <applyto> typo.
1751 2002-11-25  Ettore Perazzoli  <ettore@ximian.com>
1753         * e-shell-offline-sync.c (e_shell_offline_sync_all_folders):
1754         Filled in, use GConf.
1755         (cleanup): Re-enabled again.
1756         (sync_folder): Likewise.
1757         (progress_dialog_close_callback): Likewise.
1758         (progress_dialog_clicked_callback): Likewise.
1759         (setup_dialog): Likewise.
1760         (setup_progress_listener): Likewise.
1761         (impl_SyncFolderProgressListener_reportFailure): Likewise.
1762         (impl_SyncFolderProgressListener_reportSuccess): Likewise.
1763         (impl_SyncFolderProgressListener_updateProgress): Likewise.
1764         (progress_listener_servant_free): Likewise.
1765         (progress_listener_servant_new): Likewise.
1767 2002-11-25  Ettore Perazzoli  <ettore@ximian.com>
1769         * evolution-storage-set-view.c
1770         (impl_StorageSetView__set_checkedFolders): Updated to pass a
1771         GSList to e_storage_set_view_set_checkboxes_list() [instead of a
1772         GList].
1773         (impl_StorageSetView__get_checkedFolders): Likewise with the
1774         return value from e_storage_set_view_get_checkboxes_list().
1776         * e-shell-config-offline.c (config_control_apply_callback): Filled
1777         in, using GConf.
1778         (init_storage_set_view_status_from_config): Likewise.
1780         * e-storage-set-view.c (e_storage_set_view_get_checkboxes_list):
1781         Return a GSList instead of a GList.
1782         (essv_add_to_list): Update for the GSList.
1783         (e_storage_set_view_set_checkboxes_list): Get a GSList instead of
1784         a GList.
1786         * apps_evolution_shell.schemas: Added
1787         /schemas/apps/evolution/shell/offline/folder_paths.
1789 2002-11-20  Ettore Perazzoli  <ettore@ximian.com>
1791         * main.c (idle_cb): Set displayed_any in the case when we are
1792         calling e_shell_create_view().  Also initialize displayed_any to
1793         FALSE earlier so we dont' end up opening two views at startup by
1794         default.
1796 2002-11-20  Ettore Perazzoli  <ettore@ximian.com>
1798         * e-shell-folder-selection-dialog.c (impl_dispose): Save the
1799         expansion state for the EStorageSetView here.
1800         (impl_finalize): Instead of here.
1802 2002-11-20  Chris Toshok  <toshok@ximian.com>
1804         * e-folder-list.c (e_folder_list_class_init): use e_shell_
1805         marshallers, and make sure STRING parameters map to *_STRING*
1806         marshallers.
1808         * evolution-wizard.c (evolution_wizard_class_init): same.
1810         * evolution-storage.c (class_init): same.
1812         * evolution-storage-set-view-listener.c (class_init): same.
1814         * evolution-storage-listener.c (class_init): same.
1816         * evolution-shell-view.c (class_init): same.
1818         * evolution-session.c (class_init): same.
1820         * evolution-folder-selector-button.c (class_init): same.
1822         * evolution-config-control.c (class_init): same.
1824         * evolution-activity-client.c (class_init): same.
1826         * e-storage-set.c (class_init): same.
1828         * e-shortcuts.c (class_init): same.
1830         * e-shortcuts-view.c (class_init): same.
1832         * e-shell.c (class_init): same.
1834         * e-shell-view.c (class_init): same.
1836         * e-shell-offline-handler.c (class_init): same.
1838         * e-shell-folder-title-bar.c (class_init): same.
1840         * e-shell-folder-selection-dialog.c (class_init): same.
1842         * e-folder.c (class_init): same.
1844         * e-shell-marshal.list: add all the STRING marshallers.
1845         
1846 2002-11-20  Not Zed  <NotZed@Ximian.com>
1848         * e-shell-importer.c (prepare_intelligent_page): gnome message box
1849         -> gtk message dialog.
1850         (prepare_intelligent_page): Fix the signature on this.  This could
1851         NEVER have worked.
1853 2002-11-19  Ettore Perazzoli  <ettore@ximian.com>
1855         * main.c (upgrade_from_1_0_if_needed): Disabled for now.
1857         * e-shell-startup-wizard.c: Removed member config_listener from
1858         struct SWData.
1859         (e_shell_startup_wizard_create): Updated accordingly, just use
1860         GConf, checking the /apps/evolution/mail/account-list key.
1861         (finish_func): Use GConf.
1863         * e-shell-config-default-folders.c: Removed member config_listener
1864         in struct EvolutionDefaultFolderConfig.
1865         (e_shell_config_default_folders_create_widget): Do not initialize
1866         here.  GConfified the paths.
1867         (config_control_destroy_notify): No unref of the config_listener
1868         anymore.
1869         (config_control_apply_cb): Use GConf.
1870         (setup_folder_selector): Likewise.
1872         * e-shell-config-autocompletion.c: Removed member config_listener
1873         from EvolutionAutocompletionConfig.
1874         (config_control_destroy_notify): Do not unref.
1875         (config_control_apply_callback): Use a GConfClient.
1877         * e-folder-list.c (e_folder_list_init): Add missing cast.
1879         * main.c (show_development_warning): Use GConf.
1881         * e-setup.c (e_setup_check_config): Removed arg @listener.
1882         GConfified.
1884         * e-shell-view.c (e_shell_view_save_defaults): New.
1885         (e_shell_view_save_settings): Removed.
1886         (e_shell_view_load_settings): Removed.
1887         (setup_defaults): New helper function.
1888         (e_shell_view_construct): New arg @uri.
1889         (e_shell_view_new): New arg @uri.
1891         * e-shell.c: Removed member config_listener in struct
1892         EShellPrivate.
1893         (impl_dispose): Do not unref.
1894         (init): Do not initialize.
1895         (get_config_start_offline): New helper function.
1896         (e_shell_construct): Use this to get the startup mode in case
1897         E_SHELL_STARTUP_LINE_MODE_CONFIG.
1898         (save_misc_settings): Changed to use GConfClient instead of
1899         EConfigListener.
1900         (e_shell_create_view_from_settings): Removed.
1901         (e_shell_restore_from_settings): Removed.
1902         (e_shell_get_config_listener): Removed.
1903         (e_shell_disconnect_db): Removed.
1904         (parse_default_uri): Use GConf.
1906         * main.c (idle_cb): Simplified the logic here.  Always assume that
1907         the view will be created with the default folder open by just
1908         using e_shell_create_view().
1910 2002-11-19  Not Zed  <NotZed@Ximian.com>
1912         * e-shell-shared-folder-picker-dialog.c (show_dialog): Pass type
1913         to bonobo_widget::set_property.
1915 2002-11-18  Not Zed  <NotZed@Ximian.com>
1917         * e-shell-view-menu.c (file_verbs[]): re-enable importer wizard.
1919         * importer/importer.c (dialog_response_cb): from clicked_cb.
1920         (start_import): gtkdialogise.
1922         * e-shell-importer.c: removed redundant header.
1923         (create_html): Removed utf8 from locale stuff.
1924         (get_name_from_component_info): oaf->bonobo activation.
1925         (get_iid_for_filetype): "
1926         (create_plugin_menu): Likewise, and change oafiid to bonoboiid
1927         (get_intelligent_importers): "
1928         (prepare_intelligent_page): "
1929         (show_import_wizard): add null domain to glade_xml_new.
1930         (choose_importer_from_list): gtkdialogise.
1931         (dialog_response_cb): changed from dialog_clicked_cb.
1932         (start_import): gtkdialogise.
1933         (show_error): use gtk message box.
1934         (error_response_cb): callback to close error box.
1935         (show_import_wizard): gnome_druid_page_start/finish ->
1936         gnome_druid_page_edge.
1937         (prepare_file_page):
1938         (filename_changed): set HELP button insensitive.
1939         (create_plugin_menu): casts for warnings and fix a typo,
1940         set_data->set_data_full.
1941         (import_druid_finish): folder_selection_dialog api change(?),
1942         allow create.
1943         (dialog_weak_notify): renamed from close_dialog().
1944         (show_import_wizard): remove gnome_dialog_close_hides -> its a
1945         gtkwindow anyway(!).
1947         * Makefile.am (evolution_LDADD): Added back importer.
1948         (evolution_SOURCES): Added back importer.
1950         * importer/intelligent.c (get_intelligent_importers):
1951         bonobo-activationised.
1952         (create_gui): gtkdialogise.
1953         (intelligent_importer_init): gtkdialogise.
1954         (create_gui): remove gnome_util_user_home().
1955         (intelligent_importer_init): "
1957         * importer/evolution-importer.c (finalise): from destroy.
1958         (evolution_importer_new): type_new->object_new.
1960         * importer/evolution-importer-listener.c (finalise): from destroy.
1961         (evolution_importer_listener_new): type_new->object_new.
1963         * importer/evolution-importer-client.c (destroy): removed, as it
1964         wasn't used anyway.
1965         (evolution_importer_client_new): g_object_new.
1966         (finalise): added, tho doesn't do anythign yet, should it unref
1967         the client->objref?  This whole class doesn't seem much use.
1969         * importer/evolution-importer-client.h: removed
1970         bonobo-object-client, change to g_object.
1972         * importer/*.[ch]: ran fix script over everything.
1973         
1974         * importer/evolution-intelligent-importer.c: gobjectise.
1975         (finalise): renamed from destroy.
1976         (evolution_intelligent_importer_new): gtk_type_new -> g_object_new
1978 2002-11-18  Chris Toshok  <toshok@ximian.com>
1980         * importer/import.glade: run libglade-convert.
1982 2002-11-16  Chris Toshok  <toshok@ximian.com>
1984         * e-folder-list.c (e_folder_list_init): force the scrolled table
1985         to be shown, apparently a bug in libglade2.
1987         * e-shell-config-default-folders.c (setup_folder_selector): same,
1988         but with the evolution-folder-selector-button's.
1990 2002-11-16  Chris Toshok  <toshok@ximian.com>
1992         * e-shell-settings-dialog.c (load_pages): init the corba exception
1993         before loading each config page, so previous errors don't make
1994         subsequence pages to fail to load.
1996 2002-11-15  Ettore Perazzoli  <ettore@ximian.com>
1998         * Makefile.am: Added rule to generate
1999         GNOME_Evolution_Shell.server.in from
2000         GNOME_Evolution_Shell.server.in.in, substituting @BINDIR@.
2002         * GNOME_Evolution_Shell.server.in.in: Renamed from
2003         GNOME_Evolution_Shell.server.in.  Prepend @BINDIR@ to the location
2004         of the executable.
2006 2002-11-15  Ettore Perazzoli  <ettore@ximian.com>
2008         * evolution-storage.c (impl_finalize): Fix typo; p -> sp.
2010 2002-11-15  Ettore Perazzoli  <ettore@ximian.com>
2012         * e-activity-handler.c (impl_operationStarted): No need to check
2013         for priv being NULL here anymore.
2014         (impl_operationProgressing): Likewise.
2015         (impl_operationFinished): Likewise.
2016         (impl_requestDialog): Likewise.
2018         * evolution-folder-selector-button.c (clicked): Use
2019         g_object_add_weak_pointer() on the parent_window instead of using
2020         GTK_OBJECT_DESTROYED().
2022 2002-11-15  Ettore Perazzoli  <ettore@ximian.com>
2024         * e-shell-startup-wizard.c (e_shell_startup_wizard_create): For
2025         now, always return TRUE.
2027 2002-11-14  Ettore Perazzoli  <ettore@ximian.com>
2029         * evolution-shell-client.c (class_init): Pass the right parent
2030         type to gtk_type_class().
2032 2002-11-14  Ettore Perazzoli  <ettore@ximian.com>
2034         * e-shell-user-creatable-items-handler.c,
2035         * e-shell-user-creatable-items-handler.c: Changed into a GObject
2036         subclass instead of a GtkObject subclass.
2038         * e-component-registry.c,
2039         * e-component-registri.h: Changed into a GObject subclass instead
2040         of a GtkObject subclass.
2042         * evolution-shell-view.c (impl_ShellView_set_message): Remove
2043         bogus GTK_OBJECT() cast in call to g_signal_emit().
2044         (impl_ShellView_unset_message): Likewise.
2045         (impl_ShellView_change_current_view): Likewise.
2046         (impl_ShellView_set_title): Likewise.
2048         * e-shell-view.c (init): Ref/sink the GtkTooltips.
2050         * e-uri-schema-registry.c (schema_handler_free): g_object_unref()
2051         on the component instead of bonobo_object_unref().
2053 2002-11-14  Ettore Perazzoli  <ettore@ximian.com>
2055         * main.c (no_views_left_cb): Use bonobo_main_quit() instead of
2056         gtk_main_quit().
2057         (shell_weak_notify): Likewise.
2058         (idle_cb): Likewise.
2060         * e-shell.c (notify_no_views_left_idle_cb): New idle function to
2061         emit the "no_views_left" signal.
2062         (view_weak_notify): Put it on the idle loop instead of firing the
2063         signal here.
2065         * e-task-widget.c (e_task_widget_construct): Ref/sink the
2066         GtkTooltips object.
2068 2002-11-14  Ettore Perazzoli  <ettore@ximian.com>
2070         * e-shell.c (save_settings_for_views): Removed.
2071         (e_shell_save_settings): Do not call it here.
2073 2002-11-14  Ettore Perazzoli  <ettore@ximian.com>
2075         * e-storage-set-view.c (impl_dispose): NULL priv->ui_component
2076         after unreffing it.
2078 2002-11-14  Ettore Perazzoli  <ettore@ximian.com>
2080         * evolution-shell-component-client.c (destroy_listener_interface):
2081         Avoid freeing the servant for now, it looks like something is
2082         messed up and this causes a crash on exit.
2084         * evolution-storage-set-view-listener.c (impl_finalize): Do not
2085         invoke POA_GNOME_Evolution_StorageSetViewListener__fini().
2087         * evolution-storage-listener.c (impl_finalize): Do not invoke
2088         POA_GNOME_Evolution_StorageListener__fini().
2090         * e-shell-offline-sync.c (progress_listener_servant_free): Do not
2091         invoke POA_GNOME_Evolution_SyncFolderProgressListener__fini().
2093         * e-shell-offline-handler.c (progress_listener_servant_free): Do
2094         not invoke POA_GNOME_Evolution_OfflineProgressListener__fini().
2096         * e-corba-storage.c (impl_dispose): Do not invoke
2097         POA_GNOME_Evolution_StorageListener__fini().
2099         * evolution-shell-component-client.c (destroy_listener_interface):
2100         Do not invoke POA_GNOME_Evolution_ShellComponentListener__fini().
2102 2002-11-14  Ettore Perazzoli  <ettore@ximian.com>
2104         * main.c (quit_box_destroyed_callback): Removed.
2105         (no_views_left_cb): Use g_object_add_weak_pointer() instad of
2106         connecting to the "destroy" signal.
2107         (destroy_cb): Removed.
2108         (shell_weak_notify): New.
2109         (idle_cb): Use g_object_weak_ref() on the shell object instead of
2110         connecting to the "destroy" signal.
2112         * evolution-test-component.c (dialog_destroy_callback): Removed.
2113         (dialog_weak_notify): New.
2114         (create_new_folder_selector): Use g_object_weak_ref() on the
2115         dialog instead of connecting the "destroy" signal.
2117         * e-shortcuts.c (view_destroyed_cb): Removed.
2118         (view_weak_notify): New.
2119         (e_shortcuts_new_view): g_object_weak_ref() the new view instead
2120         of connecting the "destroy" signal.
2121         (impl_dispose): Free the ->views and g_object_weak_unref() all the
2122         items.
2124         * e-shell.c (view_destroy_cb): Removed.
2125         (view_weak_notify): New.
2126         (create_view): Use g_object_weak_ref() on the newly created view
2127         instead of connecting to the "destroy" signal.
2128         (impl_dispose): g_object_weak_unref() the views.
2129         (e_shell_show_settings): Use g_object_add_weak_pointer() on the
2130         settings_dialog instead of connecting to the "destroy" signal.
2131         (settings_dialog_destroy_cb): Removed.
2133         * e-shell-shared-folder-picker-dialog.c
2134         (progress_bar_weak_notify): New.
2135         (progress_bar_destroy_callback): Removed.
2136         (create_progress_dialog): Use g_object_weak_ref() on the progress
2137         bar object instead of connecting to its "destroy" signal.
2138         (shell_destroy_callback): Removed.
2139         (shell_view_destroy_callback): Removed.
2140         (storage_destroy_callback): Removed.
2141         (shell_weak_notify): New.
2142         (shell_view_weak_notify): New.
2143         (storage_weak_notify): New.
2144         (discover_folder): Use g_object_weak_ref() on the shell, parent,
2145         storage objects instead of connecting to their "destroy" signals.
2147         * e-shell-importer.c: Removed member destroyed from
2148         ImporterComponentData.
2149         (import_cb): Instead of checking if ->destroyed is TRUE, check if
2150         ->dialog is NULL to decide whether the dialog has been destroyed
2151         or not.
2152         (dialog_destroy_cb): Removed.
2153         (start_import): Use g_object_weak_ref() on the dialog object
2154         instead of connecting to its "destroy" signal.
2155         (dialog_close): Removed.
2156         (dialog_weak_notify): New.
2157         (show_import_wizard): Use g_object_weak_ref() on the dialog object
2158         instead of connecting to its "destroy" signal.
2159         (import_druid_destroy): New.
2160         (import_druid_weak_notify): New.
2161         (show_import_wizard): Use g_object_weak_ref() on the druid object
2162         instead of connecting to its "destroy" signal.
2164         * e-shell-folder-selection-dialog.c
2165         (e_shell_folder_selection_dialog_construct): g_object_weak_ref()
2166         the shell object instead of connecting to its "destroy" signal.
2168         * e-shell-folder-creation-dialog.c (dialog_destroy_cb): Removed.
2169         (dialog_destroy_notify): New.
2170         (e_shell_show_folder_creation_dialog): g_object_weak_ref() the
2171         dialog instead of connecting to its "destroy" signal.
2172         (shell_destroy_cb): Removed.
2173         (shell_destroy_notify): New.
2174         (e_shell_show_folder_creation_dialog): g_object_weak_ref() the
2175         shell object instead of connecting to its "destroy" signal.
2177         * e-shell-config-offline.c (config_control_destroy_callback):
2178         Removed.
2179         (config_control_destroy_notify): New.
2180         (e_shell_config_offline_create_widget): g_object_weak_ref() the
2181         config_control instead of connecting to its "destroy" signal.
2183         * e-shell-config-default-folders.c
2184         (config_control_destroy_callback): Removed.
2185         (config_control_destroy_notify): New.
2186         (e_shell_config_default_folders_create_widget):
2187         g_object_weak_ref() instead of connecting to the "destroy" signal.
2189         * e-shell-config-autocompletion.c (config_control_destroy_notify):
2190         New.
2191         (config_control_destroy_callback): Removed.
2192         (e_shell_config_autocompletion_create_widget):
2193         g_object_weak_ref() instead of connecting to the "destroy" signal.
2195         * e-activity-handler.c (task_bar_destroy_cb): Removed.
2196         (task_bar_destroy_notify): New.
2197         (e_activity_handler_attach_task_bar): Weak_ref the task_bar using
2198         task_bar_destroy_notify.
2199         (impl_dispose): Weak_unref the task bars in priv->task_bars.
2201 2002-11-13  Ettore Perazzoli  <ettore@ximian.com>
2203         * e-shell-startup-wizard.c: Change type of member etd in
2204         TimezoneDialogPage to GObject from GtkObject.
2205         (make_timezone_page): Cast to G_OBJECT() not GTK_OBJECT().
2207 2002-11-13  Ettore Perazzoli  <ettore@ximian.com>
2209         * e-shell-startup-wizard.c (e_shell_startup_wizard_create):
2210         Connect finish_func to the "next" signal for now, since GnomeDruid
2211         seems to be borked.
2213         * e-uri-schema-registry.c (schema_handler_new): g_object_ref()
2214         @component instead of bonobo_object_ref().
2216         * e-local-storage.c (create_folder): g_object_ref() for the
2217         component_client, instead of bonobo_object_ref().
2218         (remove_folder_step): Likewise.
2220 2002-11-13  Not Zed  <NotZed@Ximian.com>
2222         * evolution-storage.c: remove GTK_OBJECT cast and other GTK stuff.
2224         * evolution-storage.h: this is a gobject not a gtkobject, fix cast
2225         macros, and get_type call.
2227 2002-11-11  Chris Toshok  <toshok@ximian.com>
2229         * e-task-widget.c (impl_finalize): need to assign priv here, fixes
2230         a crash.
2232 2002-11-11  Ettore Perazzoli  <ettore@ximian.com>
2234         * e-shell.c (impl_dispose): Do unref the config_listener here [I
2235         fixed the finalize crash we were getting].
2237 2002-11-11  Ettore Perazzoli  <ettore@ximian.com>
2239         * e-storage-set-view.c (impl_finalize): Protect against
2240         priv->checkboxes being NULL.
2242 2002-11-11  Ettore Perazzoli  <ettore@ximian.com>
2244         * e-component-registry.c: Make separate dispose/finalize overrides
2245         of just overriding destroy.
2246         * e-corba-config-page.c: Likewise.
2247         * e-corba-storage.c: Likewise.
2248         * e-folder-type-registry.c: Likewise.
2249         * e-folder.c: Likewise.
2250         * e-history.c: Likewise.
2251         * e-local-folder.c: Likewise.
2252         * e-local-storage.c: Likewise.
2253         * e-shell-folder-selection-dialog.c: Likewise.
2254         * e-shell-folder-title-bar.c: Likewise.
2255         * e-shell-offline-handler.c: Likewise.
2256         * e-shell-settings-dialog.c: Likewise.
2257         * e-shell-user-creatable-items-handler.c: Likewise.
2258         * e-shell-view.c: Likewise.
2259         * e-shortcuts-view-model.c: Likewise.
2260         * e-shortcuts-view.c: Likewise.
2261         * e-shortcuts.c: Likewise.
2262         * e-storage-set-view.c: Likewise.
2263         * e-storage-set.c: Likewise.
2264         * e-storage.c: Likewise.
2265         * e-task-bar.c: Likewise.
2266         * e-task-widget.c: Likewise.
2267         * e-uri-schema-registry.c: Likewise.
2268         * evolution-activity-client.c: Likewise.
2269         * evolution-folder-selector-button.c: Likewise.
2270         * evolution-storage-listener.c: Likewise.
2271         * evolution-storage-set-view-listener.c: Likewise.
2272         * evolution-test-component.c: Likewise.
2274 2002-11-08  Rodrigo Moya <rodrigo@ximian.com>
2276         * importer/Makefile.am: use correctly IDL flags.
2278 2002-11-07  Chris Toshok  <toshok@ximian.com>
2280         * e-task-widget.c (impl_destroy): guard against multiple calls.
2281         fixes a crash whenever a task finishes (the addressbook finishing
2282         loading, etc.).
2284         * e-shell-marshal.list: add NONE:BOOL for
2285         evolution-shell-component.
2287         * evolution-shell-component.c (class_init): register the signals
2288         with g_signal_new.
2290 2002-11-05  Ettore Perazzoli  <ettore@ximian.com>
2292         * e-shell.c (e_shell_show_settings): Allow type being NULL.
2294 2002-11-05  Ettore Perazzoli  <ettore@ximian.com>
2296         * e-local-storage.c (load_folder): Do add folders with an unknown
2297         type.
2299 2002-11-05  Ettore Perazzoli  <ettore@ximian.com>
2301         * glade/e-shell-folder-creation-dialog.glade (ok_button): Set
2302         response_id to GTK_RESPONSE_OK.
2303         (cancel_button): Likewise, with GTK_RESPONSE_CANCEL.
2305         * e-shell-folder-creation-dialog.h,
2306         e-shell-folder-creation-dialog.c: Ported to GtkDialog.
2308 2002-11-05  Ettore Perazzoli  <ettore@ximian.com>
2310         * e-folder-list.c: Use g_object_get_data() instead of
2311         gtk_object_get_data().
2312         * e-shell-config-default-folders.c: Likewise.
2313         * e-shell-folder-creation-dialog.c: Likewise.
2314         * e-shell-importer.c: Likewise.
2315         * e-shell-shared-folder-picker-dialog.c: Likewise.
2316         * e-shell-user-creatable-items-handler.c: Likewise.
2317         * e-shell-view.c: Likewise.
2318         * e-shell.c: Likewise.
2319         * e-storage.c: Likewise.
2321 2002-11-05  Ettore Perazzoli  <ettore@ximian.com>
2323         * e-activity-handler.c: Split finalize/dispose.
2324         * e-corba-shortcuts.c: Likewise.
2325         * e-corba-storage-registry.c: Likewise.
2326         * e-shell-about-box.c: Likewise.
2327         * e-shell.c: Likewise.
2328         * e-splash.c: Likewise.
2329         * evolution-config-control.c: Likewise.
2330         * evolution-session.c: Likewise.
2331         * evolution-shell-component.c: Likewise.
2332         * evolution-shell-view.c: Likewise.
2333         * evolution-storage-set-view.c: Likewise.
2334         * evolution-storage.c: Likewise.
2335         * evolution-wizard.c: Likewise.
2337 2002-11-05  Ettore Perazzoli  <ettore@ximian.com>
2339         * All: g_object_unref instead of bonobo_object_unref for the
2340         EvolutionShellComponentClient and EvolutionShellClient interfaces.
2342 2002-11-05  Ettore Perazzoli  <ettore@ximian.com>
2344         * evolution-shell-client.c (impl_dispose): New.
2345         (impl_finalize): New.
2346         (destroy): Removed.
2347         (class_init): Install dispose, finalize handlers.
2349         * All: Use evolution_shell_client_corba_objref() or
2350         evolution_shell_component_client_corba_objref() instead of
2351         BONOBO_OBJREF() or bonobo_object_corba_objref() where needed.
2353         * e-folder-type-registry.c (set_handler): Use g_object_ref() for
2354         the handler, not bonobo_object_ref().
2355         (folder_type_free): Likewise for unref.
2357         * evolution-shell-component-client.c
2358         (evolution_shell_component_client_corba_objref): New.
2359         (impl_dispose): Moved from impl_destroy; only unref things.
2360         (impl_finalize) New.
2361         (class_init): Install dispose/finalize.
2362         (evolution_shell_component_client_get_dnd_source_interface): Use
2363         priv->corba_objref instead of bonobo_object_corba_objref() since
2364         we are not a BonoboObject anymore.
2365         (evolution_shell_component_client_get_dnd_destination_interface):
2366         Likewise.
2367         (evolution_shell_component_client_get_offline_interface): Likewise.
2368         (evolution_shell_component_client_set_owner): Likewise.
2369         (evolution_shell_component_client_unset_owner): Likewise.
2370         (evolution_shell_component_client_create_view): Likewise.
2371         (evolution_shell_component_client_handle_external_uri): Likewise.
2372         (evolution_shell_component_client_async_create_folder): Likewise.
2373         (evolution_shell_component_client_async_xfer_folder): Likewise.
2374         (evolution_shell_component_client_populate_folder_context_menu): Likewise.
2375         (evolution_shell_component_client_unpopulate_folder_context_menu): Likewise.
2377         * e-component-registry.c (register_component): Use
2378         evolution_shell_component_client_corba_objref().
2379         (e_component_registry_restart_component): Likewise.
2380         (component_free): Likewise.
2382         * evolution-shell-component-client.c: g_object_new() instead of gtk_type_new().
2383         * e-component-registry.c: Likewise.
2384         * e-corba-config-page.c
2385         * e-folder-list.c: Likewise.
2386         * e-folder-type-registry.c: Likewise.
2387         * e-folder.c: Likewise.
2388         * e-gray-bar.c: Likewise.
2389         * e-history.c: Likewise.
2390         * e-local-folder.c: Likewise.
2391         * e-local-folder.c: Likewise.
2392         * e-local-storage.c: Likewise.
2393         * e-shell-about-box.c: Likewise.
2394         * e-shell-config-default-folders.c: Likewise.
2395         * e-shell-folder-selection-dialog.c: Likewise.
2396         * e-shell-folder-title-bar.c: Likewise.
2397         * e-shell-offline-handler.c: Likewise.
2398         * e-shell-settings-dialog.c: Likewise.
2399         * e-shell-user-creatable-items-handler.c: Likewise.
2400         * e-shell-view.c: Likewise.
2401         * e-shortcuts-view-model.c: Likewise.
2402         * e-shortcuts-view.c: Likewise.
2403         * e-shortcuts.c: Likewise.
2404         * e-splash.c: Likewise.
2405         * e-storage-set-view.c: Likewise.
2406         * e-storage-set.c: Likewise.
2407         * e-storage.c: Likewise.
2408         * e-task-bar.c: Likewise.
2409         * e-task-widget.c: Likewise.
2410         * e-uri-schema-registry.c: Likewise.
2411         * evolution-activity-client.c: Likewise.
2412         * evolution-folder-selector-button.c: Likewise.
2413         * evolution-shell-client.c: Likewise.
2414         * evolution-shell-view.c: Likewise.
2415         * evolution-storage-listener.c: Likewise.
2416         * evolution-storage-set-view-listener.c: Likewise.
2417         * evolution-storage-set-view.c: Likewise.
2418         * evolution-wizard.c: Likewise.
2420         * GNOME_Evolution_TestComponent.server: Renamed from
2421         GNOME_Evolution_TestComponent.oaf.
2423         * evolution-test-component.c (spit_out_shortcuts): Use
2424         BONOBO_EX_REPOID().
2425         (create_new_folder_selector): Ported to use GtkDialog instead of
2426         GnomeDialog.
2427         (storage_cancel_discover_shared_folder_callback): Add missing
2428         G_OBJECT() cast.
2429         (shared_folder_discovery_timeout_callback): Likewise.
2430         (storage_discover_shared_folder_callback): Likewise.
2431         (timeout_callback_2): Likewise.
2432         (timeout_callback_1): Likewise.
2433         (shared_folder_discovery_timeout_callback): Use
2434         g_object_get_data() instead of gtk_object_get_data().
2435         (storage_cancel_discover_shared_folder_callback): Likewise.
2436         (timeout_callback_2): Likewise.
2437         (timeout_callback_2): g_timeout_add() instead of
2438         gtk_timeout_add().
2439         (create_view_fn): Likewise.
2440         (timeout_callback_1): Likewise.
2441         (timeout_callback_1): Pass NULL as the error arg to
2442         gdk_pixbuf_new_from_file().
2443         (register_component): Use bonobo-activation instead of OAF.
2445         * e-shell-about-box.c (impl_destroy): Removed.
2446         (impl_finalize): New.
2447         (class_init): Install finalize handler, not destroy.
2449         * e-shell-view-menu.c (command_about_box): Use a GtkWindow again.
2450         Set the GTK_WINDOW_TYPE_HINT_DIALOG hint.
2452         * e-shell-about-box.c (e_shell_about_box_construct): Removed.
2454 2002-11-04  Ettore Perazzoli  <ettore@ximian.com>
2456         * e-shell-folder-commands.c (e_shell_command_copy_folder): Pass
2457         TRUE for arg allow_creation to
2458         e_shell_folder_selection_dialog_new().
2459         (e_shell_command_move_folder): Likewise.
2460         * e-shell-view-menu.c (command_goto_folder): Likewise.
2461         (command_new_shortcut): Likewise.
2462         * e-shell.c (impl_Shell_selectUserFolder): Likewise.
2464         * e-shell-folder-selection-dialog.c
2465         (e_shell_folder_selection_dialog_set_allow_creation): Removed.
2466         (e_shell_folder_selection_dialog_get_allow_creation): Removed.
2467         (e_shell_folder_selection_dialog_new): New arg allow_creation.
2468         (e_shell_folder_selection_dialog_construct): Likewise.  Also, do
2469         set priv->shell.
2471         * e-shell-folder-selection-dialog.h,
2472         e-shell-folder-selection-dialog.c: Port to GtkDialog.
2474 2002-11-04  Ettore Perazzoli  <ettore@ximian.com>
2476         * e-folder-type-registry.c
2477         (e_folder_type_registry_get_handler_for_type): Remove warning for
2478         when the type is unknown.
2479         (e_folder_type_registry_type_is_user_creatable): Likewise.
2480         (e_folder_type_registry_get_display_name_for_type): Likewise.
2481         (e_folder_type_registry_get_description_for_type): Likewise.
2482         (e_folder_type_registry_get_exported_dnd_types_for_type):
2483         Likewise.
2484         (e_folder_type_registry_get_accepted_dnd_types_for_type):
2485         Likewise.
2486         (e_folder_type_registry_unregister_type): Likewise.
2487         (e_folder_type_registry_get_icon_name_for_type): Likewise.
2488         (e_folder_type_registry_get_icon_for_type): Likewise.
2489         (set_handler): Removed warning here too.
2491 2002-11-04  Ettore Perazzoli  <ettore@ximian.com>
2493         * e-folder-list.c: Replace gtk_signal_emit() with g_signal_emit().
2494         * e-folder.c: Likewise.
2495         * e-shell-folder-selection-dialog.c: Likewise.
2496         * e-shell-folder-title-bar.c: Likewise.
2497         * e-shell-offline-handler.c: Likewise.
2498         * e-shell-view.c: Likewise.
2499         * e-shortcuts-view.c: Likewise.
2500         * e-shortcuts.c: Likewise.
2501         * e-storage-set-view.c: Likewise.
2502         * e-storage-set.c: Likewise.
2503         * e-storage.c: Likewise.
2504         * evolution-activity-client.c: Likewise.
2505         * evolution-folder-selector-button.c: Likewise.
2506         * evolution-storage-listener.c: Likewise.
2507         * evolution-storage-set-view-listener.c: Likewise.
2509 2002-11-04  Ettore Perazzoli  <ettore@ximian.com>
2511         * e-folder-list.c: Use g_object_set_data() instead of
2512         gtk_object_set_data().
2513         * e-shell-config-default-folders.c: Likewise.
2514         * e-shell-folder-creation-dialog.c: Likewise.
2515         * e-shell-importer.c: Likewise.
2516         * e-shell-shared-folder-picker-dialog.c: Likewise.
2517         * e-shell-user-creatable-items-handler.c: Likewise.
2518         * e-shell-view.c: Likewise.
2519         * e-shell.c: Likewise.
2520         * e-storage-set-view.c: Likewise.
2521         * e-storage.c: Likewise.
2522         * evolution-test-component.c: Likewise.
2523         
2524         * e-storage-set-view.c (e_storage_set_view_construct): Use
2525         g_object_weakref() instead of gtk_object_weakref() for the
2526         ui_container.
2527         (ui_container_destroy_notify): Add param where_the_object_was to
2528         match the GWeakNotify prototype.
2530         * e-shell.c: Use g_signal_emit() instead of gtk_signal_emit().
2532 2002-11-03  Ettore Perazzoli  <ettore@ximian.com>
2534         * glade/e-active-connection-dialog.glade: Converted to Glade2
2535         format.
2536         * glade/evolution-startup-wizard.glade: Likewise.
2537         * glade/e-shell-shared-folder-picker-dialog.glade: Likewise.
2538         * glade/e-shell-folder-creation-dialog.glade: Likewise.
2539         * glade/e-shell-config-default-folders.glade: Likewise.
2540         * glade/e-folder-list.glade: Likewise.
2542 2002-11-03  Ettore Perazzoli  <ettore@ximian.com>
2544         * *.c, *.h: Changed all gtk_object_refs()/gtk_object_unrefs() into
2545         g_object_refs()/g_object_unrefs() and all gtk_signal_connect_*()
2546         into g_signal_connect_*().  [Except for some case where we have
2547         gtk_signal_connect_full() or gtk_signal_connect_while_alive()
2548         calls that cannot be trivially ported to use the g_signal_*
2549         functions, we'll have to fix those later.]
2551         * e-splash.c (impl_finalize): Finalize implementation, copied over
2552         from impl_destroy.
2553         (impl_destroy): Removed.
2554         (class_init): Override finalize, not destroy.
2556         * e-activity-handler.c: Ported from GtkObject to GObject.
2557         * evolution-storage.c: Likewise.
2558         * e-corba-shortcuts.c: Likewise.
2559         * evolution-session.h: Likewise.
2560         * evolution-config-control.c: Likewise.
2561         * evolution-shell-component-dnd.c: Likewise.
2562         * evolution-shell-component.c: Likewise.
2563         * evolution-shell-view.c: Likewise.
2564         * evolution-storage-set-view.c: Likewise.
2565         * evolution-wizard.c: Likewise.
2567 2002-11-03  Ettore Perazzoli  <ettore@ximian.com>
2569         * e-component-info.c: Updated for libxml2.
2570         * e-shortcuts.c: Likewise.
2571         * e-folder-list.c: Likewise.
2572         * e-local-folder.c: Likewise.
2574 2002-11-03  Ettore Perazzoli  <ettore@ximian.com>
2576         * GNOME_Evolution_Shell.server.in: Renamed from
2577         GNOME_Evolution_Shell.oaf.in.
2579         * Makefile.am: Port from OAF to bonobo-activation.
2580         (INCLUDES): Define SYSCONFDIR, DATADIR, LIBDIR.
2582         * main.c (main): Use gnome_program_init().
2584         * e-corba-storage-registry.c (e_corba_storage_registry_new):
2585         g_object_new(), not gtk_type_new().
2586         (impl_finalize): New, ported over from destroy.
2587         (destroy): Removed.
2588         (class_init): Install finalize handler, not destroy handler, since
2589         we are not a GtkObject anymore.
2591         * e-corba-storage.c (e_corba_storage_new): g_object_new(), not
2592         gtk_type_new().
2594         * e-shell.c (class_init): Override finalize, not destroy.
2595         (impl_finalize): Finalize implementation, basically the old
2596         destroy renamed.
2597         (e_shell_new): g_object_new(), not gtk_type_new().
2598         (class_init): Use e_shell_marshal_NONE__INT for
2599         line_status_changed instead of using an ENUM.
2600         (e_shell_construct): Use g_signal_connect_object() instead of
2601         gtk_signal_connect_while_alive().
2603         * e-setup.c (e_setup): Do not unref local_folder if NULL.
2605         * e-folder.c (init): Make not floating.
2606         (e_folder_construct): No need to make it floating here anymore.
2608         * e-shell.c (impl_Shell_selectUserFolder): For now don't set
2609         dialog parent from xid.
2611         * main.c (no_views_left_cb): Add missing GTK_SIGNAL_FUNC() cast.
2612         (new_view_created_callback): Likewise.
2613         (warning_dialog_clicked_callback): Update to use the
2614         EConfigListener from the shell instead of bonobo-conf.
2615         (show_development_warning): Likewise.
2616         (upgrade_from_1_0_if_needed): BONOBO_EX_ID -> BONOBO_EX_REPOID.
2617         (idle_cb): Use bonobo-activation and BONOBO_EX_REPOID().
2618         (main): Cleaned up the various things that are unneeded in GNOME
2619         2.
2620         (upgrade_from_1_0_if_needed): Use EConfigListener.
2622         * evolution-storage-set-view.h, evolution-storage-set-view.c:
2623         BonoboXObjectified.
2625         * e-storage.c (class_init): GLIB2-ified and made to use
2626         e-shell-marshal.h.
2627         (ES_CLASS): Use GTK_OBJECT_GET_CLASS().
2628         (e_storage_new_folder): Added missing GTK_SIGNAL_FUNC() prototype.
2630         * e-storage-set.c (class_init): GLIB2-ified and made to use
2631         e-shell-marshal.h.
2633         * e-storage-set-view.c (popup_folder_menu): For now, do not add
2634         the pop-up since we lack bonobo_ui_container_get_win() and I am
2635         not sure how to work around it.
2636         (popup_folder_menu): Pass self as the for_widget arg to
2637         gnome_popup_menu_do_popup_modal().
2638         (class_init): GLIB2-ified, and got to use e-shell-marshal.h.
2639         (marshal_NONE__GDKDRAGCONTEXT_STRING_STRING_STRING): Removed.
2640         (impl_tree_drag_data_get): Don't set the selection for now -- we
2641         have to fix the CORBA target stuff to match GTK 2.
2642         (e_storage_set_view_construct): Pass NULL as the opt_ev arg to
2643         bonobo_ui_component_set_container().
2645         * e-splash.c: #include <libgnomecanvas/gnome-canvas-pixbuf.h>
2646         instead of <gdk-pixbuf/gnome-canvas-pixbuf.h>.
2647         (e_splash_new): Pass NULL as the error arg to
2648         gdk_pixbuf_new_from_file().
2650         * e-shortcuts.c (class_init): GLIB2-ified.  Also use the
2651         e-shell-marshal marshallers.
2652         (e_shortcuts_new_view): Add missing GTK_SIGNAL_FUNC() cast.
2654         * e-shortcuts-view.c: Use GTK_STOCK_* stuff instead of
2655         GNOME_STOCK_* stuff.
2656         (pop_up_right_click_menu_for_group): Pass self as the for_widget
2657         arg to gnome_popup_menu_do_popup_modal().
2658         (pop_up_right_click_menu_for_shortcut): Likewise.
2659         (class_init): GLIB2-ified.
2661         * e-shell.c: Do not #include <gal/util/e-unicode-i18n.h> or
2662         #include <libgnome/gnome-defs.h>.
2663         (set_interactive): Use BONOBO_EX_REPOID().
2664         (setup_local_storage): Use _() not U_().
2665         (destroy): Use gtk_widget_destroy() instead of
2666         gtk_object_destroy() on priv->settings_dialog.
2667         (class_init): GLIB2-ized.
2668         (init): Initialize config_listener member.
2669         (get_icon_path_for_component_info): Port to bonobo-activation from
2670         OAF.
2671         (setup_components): Likewise.
2672         (destroy): Likewise.
2673         (e_shell_construct): Use e_setup_check_config(), not
2674         e_setup_check_db ().  Use the e_config_listener instead of
2675         bonobo-conf.
2676         (save_settings_for_views): Likewise.
2677         (save_misc_settings): Likewise.
2678         (e_shell_restore_from_settings): Likewise.
2679         (parse_default_uri): Likewise.
2680         (e_shell_component_maybe_crashed): Pass NULL for opt_ev arg to
2681         bonobo_unkown_ping()
2682         (e_shell_component_maybe_crashed): Use
2683         bonobo_engine_deregister_dead_components() instead of
2684         bonobo_window_deregister_component_by_ref() which is no more.
2685         (e_shell_send_receive): BONOBO_EX_REPOID() instead of
2686         BONOBO_EX_ID().
2687         (e_shell_get_config_listener): Return the config_listener.
2689         * e-shell-view.c (find_inbox_in_storage): Use _() instead of U_().
2690         (load_images): Pass NULL as the error arg to
2691         gdk_pixbuf_new_from_file().
2692         (load_images): Likewise.
2693         (find_inbox_in_storage): Work around the lack of
2694         g_utf8_strcasecmp() in glib-2.0.
2695         (class_init): GLIB2-ified.  Also, use the marshallers in
2696         e-shell-marshal.h.
2697         (pop_up_folder_bar): Use gtk_window_move()/gtk_widget_show()
2698         instead gtk_widget_popup().
2699         (unmerge_on_error): Work around the death of
2700         bonobo_ui_component_get_win() and
2701         bonobo_window_deregister_component_by_ref().
2702         (e_shell_view_construct): Pass NULL as the uic arg to
2703         bonobo_window_construct().  Add missing GTK_SIGNAL_FUNC() cast.
2704         Match the new BonoboWindow behavior wrt the UIContainer and the
2705         new opt_ev args.
2706         (display_uri): Use bonobo_ui_engine_freeze() and
2707         bonobo_ui_engine_thaw() since bonobo_window_freeze() and
2708         bonobo_window_thaw() got axed [sigh].
2709         (e_shell_view_save_settings): Use EConfigListener.
2710         (e_shell_view_load_settings): Likewise.
2711         (get_view_for_uri): Use bonobo_widget_new_control_from_objref()
2712         instead of e_bonobo_widget_new_control_from_objref().
2714         * e-shell-view-menu.c (command_help_faq): Pass NULL for the error
2715         arg to gnome_url_show().
2716         (command_about_box): Use GtkDialog instead of a GtkWindow of a
2717         type GTK_WINDOW_DIALOG [which does not exist anymore].
2718         (command_xml_dump): Removed.
2719         (menu_do_misc): Do not add the corresponding verb.
2721         * e-shell-user-creatable-items-handler.c (execute_verb): Use
2722         BONOBO_EX_REPOID().
2724         * e-shell-startup-wizard.c: Remove id member from SWData.  Replace
2725         member db with config_listener.
2726         (e_shell_startup_wizard_create): Initialize config_listener.
2727         (make_mail_dialog_pages): Do not set the listener id here.
2728         (druid_event_notify_cb): Pass FALSE as the help_sensitive arg to
2729         gnome_druid_set_buttons_sensitive().
2730         (e_shell_startup_wizard_create): Likewise.
2731         (make_mail_dialog_pages): Use bonobo-activation instead of OAF.
2732         (get_intelligent_importers): Likewise.
2733         (prepare_importer_page): Likewise.
2734         (start_importers): Do nothing here for now.
2735         (finish_func): Constify local variable displayname.
2736         (finish_func): Updated to use the config_listener instead of the
2737         bono-conf db.
2738         (prepare_importer_page): Do not actually run the importer yet.
2739         (e_shell_startup_wizard_create): Pass NULL as the domain arg to
2740         glade_xml_new().  Use the config_listener.
2742         * e-shell-shared-folder-picker-dialog.c (user_clicked):
2743         BONOBO_EX_REPOID() instead of BONOBO_EX_ID().
2744         (setup_name_selector): Likewise.
2745         (setup_name_selector): Use bonobo-activation.
2746         (show_dialog): Pass NULL as the domain arg to glade_xml_new().
2747         (setup_name_selector): Add a missing GTK_SIGNAL_FUNC() cast.
2749         * e-shell-settings-dialog.c: #include
2750         <bonobo-activation/bonobo-activation.h>.  Use
2751         Bonobo_ActivationProperty instead of OAF_Property.
2752         (set_dialog_size): Use gtk_style_get_font() to get the font from
2753         the widget->style.
2754         (load_pages): Converted to use bonobo-activation instead of OAF.
2755         Pass NULL as the error arg to gdk_pixbuf_new_from_file().
2757         * e-shell-offline-sync.c (sync_folder): BONOBO_EX_REPOID(), not
2758         BONOBO_EX_ID().
2759         (e_shell_offline_sync_all_folders): For now, avoid doing anything
2760         [see changes to e-shell-config-offline.c below].
2761         (setup_progress_listener): #if 0 for now.
2762         (setup_dialog): Likewise.
2763         (sync_folder): Likewise.
2764         (cleanup): Likewise.
2765         (progress_listener_servant_free): Likewise.
2766         (progress_listener_servant_new): Likewise.
2767         (impl_SyncFolderProgressListener_updateProgress): Likewise.
2768         (impl_SyncFolderProgressListener_reportSuccess): Likewise.
2769         (impl_SyncFolderProgressListener_reportFailure): Likewise.
2770         (progress_dialog_close_callback): Likewise.
2771         (progress_dialog_clicked_callback): Likewise.
2773         * e-shell-offline-handler.c (prepare_for_offline): Use
2774         BONOBO_EX_REPOID().
2775         (pop_up_confirmation_dialog): Pass NULL as the domain arg to
2776         glade_xml_new().
2777         (class_init): GLIB2-ified.
2779         * Makefile.am: Do not compile e-shell-importer.c,
2780         e-shell-importer.h for now.
2782         * e-shell-folder-title-bar.c (get_max_clipped_label_width): Use
2783         gtk_style_get_font() to retrieve the font.
2784         (class_init): GLIB2-ified.
2785         (e_shell_folder_title_bar_construct): Get {x,y}thickness from
2786         widget->style, not from widget->style->klass.
2788         * e-shell-folder-selection-dialog.c: #include <string.h>,
2789         <gtk/gtklabel.h> and <gtk/gtksignal.h>.
2790         (class_init): GLIB2-ified.
2792         * e-shell-folder-creation-dialog.c: No <libgnome/gnome-defs.h>,
2793         add some GTK includes.
2794         (e_shell_show_folder_creation_dialog): Pass NULL as the domain arg
2795         to glade_xml_new().  Added missing GTK_SIGNAL_FUNC() cast.
2797         * e-shell-folder-commands.c: Do not #include
2798         <libgnomeui/gnome-stock.h> and #include
2799         <bonobo-conf/Bonobo_Config.h>.
2801         * e-shell-config-default-folders.c: Replace member db in
2802         EvolutionDefaultFolderConfig with config_listener.
2803         (e_shell_config_default_folders_create_widget): Init here.
2804         (config_control_destroy_cb): Unref here.
2805         (config_control_apply_cb): Use EConfigListener instead of
2806         BonoboConf.
2807         (setup_folder_selector): Likewise.
2808         (e_shell_config_default_folders_create_widget): Pass NULL as the
2809         domain arg to glade_xml_new().
2811         * e-shell-config-offline.c (config_control_apply_callback): For
2812         now, do not change the configuration.  [Needs to be ported to
2813         EConfigListener or something, but we were storing a sequence using
2814         typecodes here and there is no trivial way to do that right now.]
2815         (init_storage_set_view_status_from_config): Likewise, do not
2816         retrieve the configuration here.
2818         * e-shell-marshal.list: Removed duplicates, added a bunch new
2819         marshallers.
2821 2002-11-02  Ettore Perazzoli  <ettore@ximian.com>
2823         * e-shell-config-autocompletion.c: No bonobo-conf; removed member
2824         db in struct EvolutionAutocompletionConfig and replaced with a
2825         config_listener arg.
2826         (e_shell_config_autocompletion_create_widget): Init it here.
2827         (config_control_destroy_callback): Unref it here.
2828         (config_control_apply_callback): Updated to use the
2829         config_listener.
2831         * e-shell-config.c (e_shell_config_factory_register): Use
2832         bonobo_generic_factory_new() instead of
2833         bonobo_generic_factory_new_multi().
2835         * e-shell-about-box.c (impl_realize): Pass NULL as the error arg
2836         to gdk_pixbuf_new_from_file().
2837         (timeout_callback): Use gtk_style_get_font() to retrieve the
2838         style's font instead of style->font.
2839         (impl_draw): Removed.
2840         (impl_expose_event): Do the drawing of the pixmap here.
2842         * e-setup.c (e_setup_check_db): Removed.
2843         (e_setup_check_config): New, version using EConfigListener instead
2844         of bonobo-conf.
2846         * e-setup.h: #include "e-util/e-config-listener.h" instead of
2847         <bonobo-conf/bonobo-config-database.h>.
2849         * e-local-storage.c (construct): Use _() instead of U_().
2850         (setup_stock_folders): Likewise.
2852         * e-icon-factory.c (load_icon): Pass NULL as the error arg to
2853         gdk_pixbuf_new_from_file().
2855         * e-folder-type-registry.c (folder_type_new): Pass NULL as the
2856         error arg to gdk_pixbuf_new_from_file().
2858         * e-folder-dnd-bridge.c (find_matching_target_for_drag_context):
2859         GdkAtom is not an integer anymore; update accordingly.
2861         * e-corba-storage.c (async_folder_cb): Constified args
2862         appropriately to match BonoboListenerCallbackFn.
2863         (async_folder_discovery_cb): Likewise.
2864         (cancel_discover_shared_folder): BONOBO_EX_ID() ->
2865         BONOBO_EX_REPOID().
2866         (e_corba_storage_show_folder_properties): Likewise.
2868         * e-corba-storage-registry.h, e-corba-storage-registry.c:
2869         BonoboXObjectified.
2871         * e-corba-config-page.c: Removed member listener_id in struct
2872         ECorbaConfigPagePrivate.
2873         (init): Don't init.
2874         (setup_listener): Bonobo_EventSource_addListener doesn't return an
2875         ID anymore.
2876         (impl_destroy): Just pass the listener to
2877         Bonobo_EventSource_removeListener.
2878         (setup_listener): BONOBO_EX_REPOID() instead of BONOBO_EX_ID().
2879         (impl_apply): Likewise.
2880         (listener_event_callback): Constified args appropriately to match
2881         BonoboListenerCallbackFn.
2882         (e_corba_config_page_construct): Likewise.
2884         * e-component-registry.c (wait_for_corba_object_to_die): Pass NULL
2885         for the exception arg to bonobo_unknown_ping().
2887         * e-shell-view.h: <bonobo/bonobo-window.h>, not
2888         <bonobo/bonobo-win.h>.
2890         * e-shell.c: Replace member db in EShellPrivate with an
2891         EConfigListener config_listener.
2892         (destroy): Do not call e_shell_disconnect_db().  Unref
2893         EConfigListener.  Destroy settings_dialog if not NULL.  Pass
2894         config_listener to e_setup_check_db().
2895         (e_shell_get_config_db): Removed.
2896         (e_shell_get_config_listener): New.
2897         (e_shell_construct): Set up the config_listener, instead of the
2898         Bonobo_ConfigDatabase.
2900         * e-shell.h: #include <bonobo-activation/bonobo-activation.h>
2901         instead of <liboaf/oaf.h>.  No
2902         <bonobo-conf/bonobo-config-database.h>.
2904         * e-component-registry.c: #include
2905         <bonobo-activation/bonobo-activation.h> instead of <liboaf/oaf.h>.
2907         * e-activity-handler.c (task_widget_button_press_event_callback):
2908         Use BONOBO_EX() and BONOBO_EX_REPOID().
2909         (impl_operationStarted): Don't use GTK_OBJECT_DESTROYED() [needs
2910         to be fixed later].
2911         (impl_operationProgressing): Likewise.
2912         (impl_operationFinished): Likewise.
2913         (impl_requestDialog): Likewise.
2915         * evolution-wizard.c (evolution_wizard_class_init): GLIB2-ified.
2917         * evolution-wizard.h: Remove BEGIN_GNOME_DECLS/END_GNOME_DECLS.
2919         * evolution-storage.c: Chagned to use generated marshallers
2920         instead of custom ones or GAL's.
2922         * eshell-marshal.list: New.
2923         * Makefile.am: Added rule to build eshell-marshal.[ch] and link
2924         them in.
2926         * evolution-storage.h, evolution-storage.c: BonoboXObjectified.
2928         * evolution-storage-set-view-listener.c (class_init): GLIB2-ified.
2930         * evolution-storage-listener.c (class_init): GLIB2-ified.
2932         * evolution-shell-view.h, evolution-shell-view.c:
2933         BonoboXObjectified.
2935         * evolution-shell-component-utils.c: #include
2936         <bonobo-activation/bonobo-activation.h>.
2937         (e_pixmaps_update): Pass NULL as the error arg to
2938         gdk_pixbuf_new_from_file().
2939         (e_activation_failure_dialog): Bonobo_GeneralError instead of
2940         OAF_GeneralError.
2941         (e_get_activation_failure_msg): Likewise.
2943         * evolution-shell-component-dnd.h, evolution-shell-component-dnd.c:
2944         BonoboXObjectified.
2946         * evolution-shell-component.c: #include <unistd.h>.
2947         (owner_ping_callback): Pass NULL for the opt_ev arg to
2948         bonobo_unknown_ping().
2949         (impl_populateFolderContextMenu): Pass NULL for the opt_ev arg to
2950         bonobo_ui_component_set_container().
2951         (class_init): GLIB2-ified.
2953         * e-component-registry.c (component_free): Use g_object_unref() on
2954         the EvolutionShellComponentClient instead of
2955         bonobo_object_unref().
2956         (register_component): Likewise.
2957         (component_new): Likewise, use g_object_ref() instead of
2958         bonobo_object_ref().
2960         * evolution-shell-component-client.c: New member corba_objref in
2961         EvolutionShellComponentClientPrivate.
2962         (init): Init to CORBA_OBJECT_NIL.
2963         (impl_destroy): Unref.  Also CORBA_OBJECT_NILify all the pointers
2964         to unreffed objects.
2965         (corba_exception_to_result): Use BONOBO_EX_REPOID(ev) instead of
2966         ev->_repo_id.
2967         (evolution_shell_component_client_construct): Set the corba_objref
2968         pointer, do not call bonobo_object_client_construct().
2969         (evolution_shell_component_client_new): Use
2970         bonobo_activation_activate_from_id() here instead of
2971         oaf_activate_from_id().
2973         * evolution-shell-component-client.h,
2974         evolution-shell-component-client.c: Derive from GObject instead of
2975         BonoboObjectClient.
2977         * evolution-shell-client.c
2978         (evolution_shell_client_create_storage_set_view): Use
2979         BONOBO_EX_REPOID() instead of BONOBO_EX_ID().
2981         * evolution-folder-selector-button.c (destroy): g_object_unref the
2982         EvolutionShellClient instead of bonobo_object_unref().
2983         (evolution_folder_selector_button_construct): Likewise.
2985         * e-folder-list.c (e_folder_list_destroy): g_object_unref the
2986         EvolutionShellClient instead of bonobo_object_unref().
2987         (e_folder_list_construct): g_object_ref the EvolutionShellClient
2988         instead of bonobo_object_ref().
2990         * evolution-shell-client.c: New member corba_objref in
2991         EvolutionShellClientPrivate.
2992         (init): Init to CORBA_OBJECT_NIL.
2993         (destroy): Unref/release.
2994         (query_shell_interface): Use BONOBO_EX() and BONOBO_EX_REPOID()
2995         instead of ._major and ._repo_id.
2996         (destroy): Likewise.
2997         (evolution_shell_client_get_local_storage): Likewise.
2999         * evolution-shell-client.h: Derive from GObject instead of
3000         BonoboObjectClient.
3002         * evolution-session.c (corba_class_init): Get klass arg.
3003         (class_init): Pass klass arg.  GLIB2-ified.
3004         (evolution_session_construct): Removed.
3005         (evolution_session_new): Just return what gtk_type_new() returns.
3007         * evolution-session.h, evolution-session.c: Derive from
3008         BonoboXObject.
3010         * evolution-folder-selector-button.c (init): Make icon a GtkImage
3011         instead of a BonoboUIToolbarIcon.
3012         (set_folder, class_init): GLIB2-ified.
3014         * evolution-config-control.c (class_init): GLIB2-ified.
3016         * evolution-activity-client.c (corba_update_progress): Use
3017         BONOBO_EX_REPOID() instead of ._major and ._repo_id.
3018         (evolution_activity_client_request_dialog): Likewise.
3019         (impl_destroy): Likewise.
3020         (class_init): GLIB2-ified.
3022         * e-folder-list.c: #include <gtk/gtframe.h> and #include
3023         <string.h>.
3024         (e_folder_list_destroy): bonobo_object_unref(), not
3025         bonobo_object_client_unref().
3026         (e_folder_list_init): Pass NULL as the domain to glade_xml_new().
3028         * e-folder-list.h: #include <gtk/gtkvbox.h>.
3030         * e-folder.c (impl_remove): Renamed from remove().
3031         (impl_get_physical_uri): Renamed from get_physical_uri().
3032         (impl_load_info): Renamed from load_info().
3033         (impl_save_info): Renamed from save_info().
3034         (class_init): GLIB2-ified.
3036         * Evolution-Session.idl: #include <Bonobo.idl>, not <Bonobo.h>.
3037         * Evolution-Offline.idl: Likewise.
3038         * Evolution-ShellComponent.idl: Likewise.
3039         * Evolution-ShellComponentDnd.idl: Likewise.
3040         * Evolution-Storage.idl: Likewise.
3042         * Makefile.am: Do not compile the importer directory for now.
3044         * evolution-wizard.c (evolution_wizard_set_buttons_sensitive):
3045         ORBit2-ize type names.
3046         (evolution_wizard_set_show_finish): Likewise.
3047         (evolution_wizard_set_page): Likewise.
3049 2002-10-28  Ettore Perazzoli  <ettore@ximian.com>
3051         * e-shell-settings-dialog.c (set_dialog_size): Increase the width
3052         slightly.
3054         * e-shell-view-menu.c: Set "settings.png" as the icon for
3055         /menu/Tools/Settings.
3057 2002-10-25  Ettore Perazzoli  <ettore@ximian.com>
3059         [#31303]
3061         * e-shell-view (storage_set_view_box_button_release_event_cb): Pop
3062         down the popup folder bar if it's a toplevel node.
3063         (folder_bar_popup_map_callback): Connect to the "folder_opened"
3064         signal on the storage_set_view.
3066 2002-10-25  Ettore Perazzoli  <ettore@ximian.com>
3068         * e-folder-list.c (create_display_string): Don't turn the string
3069         from UTF-8 to GTK.  [#32032]
3071 2002-10-23  Ettore Perazzoli  <ettore@ximian.com>
3073         * e-shell.c (setup_local_storage): Set the is_stock flag to TRUE
3074         for the summary folder.
3076         * e-shell-view.c (setup_verb_sensitivity_for_folder): Don't allow
3077         folder operations on pseudo-folders that have a NULL physical_uri.
3079         * e-corba-storage.c (async_remove_folder): Make sure the folder
3080         has a physical URI.  [#30950]
3082 2002-10-23  Ettore Perazzoli  <ettore@ximian.com>
3084         * e-shell-shared-folder-picker-dialog.c
3085         (setup_server_option_menu): Use
3086         e_utf8_gtk_menu_item_new_with_label() to create the option menu
3087         items from the storage's UTF-8 name.  [#31564]
3089 2002-10-21  Ettore Perazzoli  <ettore@ximian.com>
3091         * evolution-shell-component-utils.c
3092         (e_get_activation_failure_msg): If the exception_id is NULL,
3093         return NULL instead of crashing.  [#25891]
3095 2002-10-17  Ettore Perazzoli  <ettore@ximian.com>
3097         [Implement the Cancel button in the "Open other user's folder"
3098         dialog, as per #27735.]
3100         * e-corba-storage.c (cancel_discover_shared_folder): New,
3101         implementation for the cancel_discover_shared_folder virtual
3102         method.
3103         (class_init): Install.
3105         * evolution-test-component.c
3106         (storage_discover_shared_folder_callback): Instead of passing the
3107         listener to the timeout function, just pass the storage.  Put the
3108         listener and the timeout ID on the storage object by using
3109         gtk_object_set_data().
3110         (shared_folder_discovery_timeout_callback): Updated accordingly.
3111         (storage_cancel_discover_shared_folder_callback): New, callback
3112         for the cancel_discover_shared_folder signal.
3113         (setup_custom_storage): Connect.
3115         * e-shell-shared-folder-picker-dialog.c: New member storage in
3116         struct DiscoveryData.  While I am at it, rename member user to
3117         user_email_address.
3118         (discover_folder): Set the storage member.
3119         (cleanup_discovery): Unref storage member.
3120         (progress_dialog_clicked_callback): New, callback for the
3121         "clicked" signal on the dialog.
3122         (discover_folder): Connect.
3124         * evolution-storage.c (class_init): Install signal
3125         "cancel_discover_shared_folder".
3126         (impl_Storage_cancelDiscoverSharedFolder): New, implementation for
3127         the cancelDiscoverSharedFolder CORBA method; emit
3128         "cancel_discover_shared_folder".
3129         (evolution_storage_get_epv): Install CORBA method implementation.
3131         * evolution-storage.h: Add signal cancel_discover_shared_folder.
3133         * e-storage.c (e_storage_cancel_discover_shared_folder): New.
3135         * e-storage.h: New virtual method cancel_discover_shared_folder.
3137         * Evolution-Storage.idl (cancelDiscoverSharedFolder): New.
3139 2002-10-07  Ettore Perazzoli  <ettore@ximian.com>
3141         * e-shell-importer.c (choose_importer_from_list): Change the
3142         selection mode to GTK_SELECTION_BROWSE so there is always a
3143         selection.  The code here doesn't handle a NULL selection.
3144         [#31690]
3146         * e-shell-importer.c (import_cb): Only delay half a second
3147         (instead of 5 seconds) when getting EVOLUTION_IMPORTER_NOT_READY
3148         or EVOLUTION_IMPORTER_BUSY.
3150         * importer/evolution-importer-listener.c
3151         (impl_GNOME_Evolution_ImporterListener_notifyResult): Removed
3152         debugging message.
3154 2002-10-04  Chris Toshok  <toshok@ximian.com>
3156         * e-shell-folder-selection-dialog.c (delete_event_cb): new
3157         function, emit cancelled so the folder selector button will
3158         sensitize the parent window again.
3159         (e_shell_folder_selection_dialog_construct): connect the
3160         delete_event signal.
3162 2002-09-30  Aaron Weber  <aaron@ximian.com>
3164         * importer/import.glade: Import Assistant vs. Importer assistant.
3166         * glade/evolution-startup-wizard.glade: setup/set up confusion in 15.
3168 2002-09-30  Dan Winship  <danw@ximian.com>
3170         * e-shell-view-menu.c (command_remove_other_users_folder): Calls
3171         e_shell_command_remove_shared_folder.
3172         (file_verbs): Set up command_remove_other_users_folder.
3174         * e-shell-folder-commands.c
3175         (e_shell_command_remove_shared_folder): New. Calls
3176         e_storage_set_async_remove_shared_folder with a callback to pop up
3177         an error dialog if it fails.
3179         * e-storage-set.c (e_storage_set_async_remove_shared_folder):
3180         Implement. Mostly like async_remove_folder.
3182         * e-storage.c (e_storage_supports_shared_folders,
3183         e_storage_async_discover_shared_folder,
3184         e_storage_async_remove_shared_folder): New methods. Default
3185         implementations return FALSE, NOTIMPLEMENTED, and NOTIMPLEMENTED.
3187         * e-corba-storage.c (supports_shared_folders,
3188         async_discover_shared_folder, async_remove_shared_folder):
3189         Implement using CORBA.
3191         * Evolution-Storage.idl: add Storage_asyncRemoveSharedFolder
3193         * e-shell-shared-folder-picker-dialog.c: Remove all the CORBA
3194         stuff from here and use the new EStorage methods.
3195         (setup_server_option_menu): Use e_storage_supports_shared_folders.
3196         (discover_folder): Use e_storage_async_discover_shared_folder.
3198         * evolution-storage.c (impl_Storage_asyncRemoveSharedFolder):
3199         Implement this by emitting a REMOVE_SHARED_FOLDER signal.
3200         (impl_Storage_asyncDiscoverSharedFolder): Make the
3201         DISCOVER_SHARED_FOLDER signal put the Bonobo_Listener first like
3202         all the other signals do.
3203         (class_init): Set up REMOVE_SHARED_FOLDER signal.
3205 2002-09-30  Dan Winship  <danw@ximian.com>
3207         * evolution-folder-selector-button.c (clicked): If we return from
3208         evolution_shell_client_user_select_folder to find that our parent
3209         window has been destroyed, unref it and bail out, since that means
3210         we've been destroyed (and probably finalized) too. #31360
3212 2002-09-26  Ettore Perazzoli  <ettore@ximian.com>
3214         * e-local-storage.c (load_folder): Always return TRUE, even in the
3215         unknown-type case.
3217 2002-09-25  Rodrigo Moya <rodrigo@ximian.com>
3219         * e-shell-importer.c (importer_file_page_new): set history_id on
3220         GnomeFileEntry, to actually get the history.
3222 2002-09-25  Dan Winship  <danw@ximian.com>
3224         * e-shell-folder-selection-dialog.c (check_folder_type_valid):
3225         If one of the allowed types is "type/*", allow anything starting
3226         with "type/". 
3227         (impl_clicked): If the first allowed type is "type/*", pass "type"
3228         to e_shell_show_folder_creation_dialog.
3230         * evolution-folder-selector-button.c
3231         (evolution_folder_selector_button_set_uri): Handle "type/*" as an
3232         allowed type.
3234         * e-shell-settings-dialog.c (e_shell_settings_dialog_show_type):
3235         If there are no pages for the current folder type, try the parent
3236         type (eg, "mail" for "mail/public").
3238         * e-shell-config-autocompletion.c
3239         (e_shell_config_autocompletion_create_widget): Use "contacts/*" as
3240         the allowed folder type.
3242 2002-09-25  Ettore Perazzoli  <ettore@ximian.com>
3244         [Finish fixing #11645.]
3246         * e-shell-folder-commands.c (xfer_result_callback): Don't update
3247         the shortcuts here anymore since now the shell takes care of it.
3249         * e-shell.c (storage_set_moved_folder_callback): New callback for
3250         EStorageSetView::folder_moved; update the shortcuts.
3251         (e_shell_construct): Connect.
3253         * e-storage-set.c: Renamed StorageConverterCallbackData to
3254         StorageCallbackData.  New members destination_folder,
3255         source_folder, operation in it.
3256         (class_init): Install "moved_folder" signal.
3257         (storage_callback_data_new): Renamed from
3258         storage_converter_callback_data_new.
3259         (storage_callback_data_free): New.
3260         (storage_callback): Renamed from storage_callback_converter.  Use
3261         storage_callback_data_free().
3262         (e_storage_set_async_create_folder): Updated to use the
3263         storage_callback and storage_callback_data_new().
3264         (e_storage_set_async_remove_folder): Likewise.
3265         (e_storage_set_async_xfer_folder): Likewise.
3267         * e-storage-set.h: New signal "moved_folder".
3269 2002-09-24  Ettore Perazzoli  <ettore@ximian.com>
3271         [Fix #11645 for menu-based folder move operations.  Still requires
3272         fixage for the DnD case.]
3274         * e-shell-view-menu.c (launch_pilot_settings): Placate compiler.
3276         * e-shell-folder-commands.c (xfer_result_callback): When
3277         FOLDER_COMMAND_MOVE, update the shortcuts by using
3278         e_shortcuts_update_shortcuts_for_changed_uri().
3280         * e-shortcuts.c (e_shortcuts_update_shortcuts_for_changed_uri):
3281         New.
3283 2002-09-24  Dan Winship  <danw@ximian.com>
3285         * e-shell.c (folder_selection_dialog_folder_selected_cb): Don't
3286         destroy the dialog. It does that itself whenever it emits
3287         folder_selected.
3289         * e-shell-folder-selection-dialog.c (double_click_cb): Don't close
3290         the dialog if the user double-clicks a bad folder. Just ignore it
3291         (like we do when they click OK on a bad folder).
3293 2002-09-24  Ettore Perazzoli  <ettore@ximian.com>
3295         [#14019]
3297         * e-shell-view-menu.c: Add PilotConduitSettings verb.
3298         (command_pilot_conduit_settings): Implementation for the verb.
3299         (launch_pilot_settings): Helper function.
3301 2002-09-24  Mike Kestner  <mkestner@ximian.com>
3303         * e-storage-set-view.c (e_storage_set_enable_search): Use the new
3304         e_tree_set_search_column function instead of my lameass sort hack.
3306 2002-09-23  Ettore Perazzoli  <ettore@ximian.com>
3308         * e-shell.c (e_shell_construct): Oops, no @shell argument to
3309         e_shell_startup_wizard_create().
3311 2002-09-23  Ettore Perazzoli  <ettore@ximian.com>
3313         [#28317]
3315         * e-shell-view-menu.c (command_close): Use
3316         e_shell_request_close_view().
3318         * e-shell.c (e_shell_request_close_view): New, code moved out of
3319         view_delete_event_cb().
3320         (view_delete_event_cb): Use it.
3322 2002-09-23  Ettore Perazzoli  <ettore@ximian.com>
3324         [Fix #16556.]
3326         * e-shell.c (e_shell_construct): Pass self to
3327         e_shell_startup_wizard_create.
3329         * e-shell-startup-wizard.c (e_shell_startup_wizard_create): Get a
3330         shell argument.  Set the shell interactive when doing the start-up
3331         wizard thing.
3333         * e-shell.c (e_shell_set_interactive): New.
3335 2002-09-23  Ettore Perazzoli  <ettore@ximian.com>
3337         * e-shell-folder-creation-dialog.c (get_type_from_parent_path):
3338         Return "mail" instead of NULL when we don't have a parent folder.
3339         [#28232]
3341 2002-09-23  Ettore Perazzoli  <ettore@ximian.com>
3343         * e-shell-about-box.c: Added some missing names.
3345         * main.c (main): Declare --force-upgrade correctly so it works.
3347 2002-09-20  Ettore Perazzoli  <ettore@ximian.com>
3349         * e-storage-set-view.c (class_init): Use PARENT_TYPE instead of
3350         e_tree_get_type().
3352 2002-09-20  Ettore Perazzoli  <ettore@ximian.com>
3354         * e-storage-set-view.c: Removed member sort_idle_id in
3355         EStorageSetViewPrivate.
3356         (resort): Removed.
3357         (sort_traverse_callback): Removed.
3358         (sort_idle_callback): Removed.
3359         (queue_resort): Removed.
3360         (impl_destroy): Removed.
3361         (folder_name_changed_cb): Sort now instead of queueing a resort.
3363 2002-09-19  Ettore Perazzoli  <ettore@ximian.com>
3365         [Fix #28495 with a lame hack that works around Bonobo sizing
3366         brokenness]
3368         * e-shell-settings-dialog.c (set_dialog_size): New.
3369         (impl_realize): Override for GtkWidget::realize; invoke
3370         set_dialog_size() to set a minimum size.
3371         (class_init): Install.
3373 2002-09-19  Ettore Perazzoli  <ettore@ximian.com>
3375         * e-shell-folder-creation-dialog.c (async_create_cb): Don't set
3376         the current folder for E_STORAGE_EXISTS.  [#30533]
3378 2002-09-19  Ettore Perazzoli  <ettore@ximian.com>
3380         * evolution-storage.c (evolution_storage_update_folder): Do not
3381         stop propagating the notification to the listeners if
3382         ::notifyFolderUpdate() fails.  [#27662 (?)]
3384 2002-09-19  Ettore Perazzoli  <ettore@ximian.com>
3386         * e-storage-set-view.c (resort): New.
3387         (sort_idle_callback): Use it.
3388         (insert_storages): Use resort() instead of queue_resort() so we
3389         sort immediately.
3391 2002-09-18  Mike Kestner  <mkestner@ximian.com>
3393         * e-storage-set-view.c (etree_value_at): bandaid for 30248.
3395 2002-09-18  Not Zed  <NotZed@Ximian.com>
3397         * evolution-wizard.c (impl_GNOME_Evolution_Wizard_notifyAction):
3398         Allow 'back' to run if we're on the finish page.  For #29293.
3400 2002-09-17  Ettore Perazzoli  <ettore@ximian.com>
3402         * e-storage.c (e_storage_result_to_string): Add description for
3403         E_STORAGE_NOTONLINE.
3405         * e-corba-storage.c
3406         (e_corba_storage_corba_result_to_storage_result): Support
3407         GNOME_Evolution_Storage_NOT_ONLINE (E_STORAGE_NOTONLINE).
3409         * Evolution-Storage.idl: Add NOT_ONLINE to enum Result.
3411         * e-storage.h: Add E_STORAGE_NOTONLINE to EStorageResult enum.
3413 2002-09-17  Ettore Perazzoli  <ettore@ximian.com>
3415         * e-storage-set-view.c (sort_idle_callback): Remove unused
3416         variable.
3418         * e-shell-view.c (shell_line_status_changed_cb): Make Send/Receive
3419         insensitive when in offline mode.  [#27855]
3421 2002-09-17  Ettore Perazzoli  <ettore@ximian.com>
3423         [Fix #28451.]
3425         * e-storage-set-view.c: New member sort_idle_id in
3426         EStorageSetViewPrivate.
3427         (init): Init to zero.
3428         (impl_destroy): Remove the idle source if not zero.
3429         (queue_resort): New.
3430         (sort_idle_callback): Idle function to sort.
3431         (setup_folder_changed_callback): New.
3432         (new_folder_cb): Call it on the new folder so we get the callback
3433         for new folders too.
3434         (popup_folder_menu): Ref the folder before popping up the menu,
3435         unref it after popping it down [the folder might be unreffed in
3436         gnome_popup_menu_do_popup_modal() because of a folder action].
3437         (new_storage_cb): Just queue_resort() instead of sorting.
3438         (new_folder_cb): Likewise.
3439         (insert_folders): Likewise.
3440         (insert_storages): Likewise.
3441         (folder_changed_cb): Queue a resort here too.
3443         * e-folder.c (class_init): Set up "name_changed" signal.
3444         (e_folder_set_name): Emit "name_changed".
3446         * e-folder.h: New signal "name_changed".
3448 2002-09-17  Kjartan Maraas  <kmaraas@gnome.org>
3450         * e-shell-settings-dialog.c (page_new): Invoke gettext on 
3451         strings coming from the .oaf files.
3452         
3453 2002-09-17  Ettore Perazzoli  <ettore@ximian.com>
3455         * e-local-storage.c: Remove some leftover junk.
3457 2002-09-17  Kjartan Maraas  <kmaraas@gnome.org>
3459         * e-folder-list.c (create_display_string): Mark a string for
3460         translation.
3462         * evolution-folder-selection-button.c (set_folder): Same here.
3463         
3464 2002-09-17  Ettore Perazzoli  <ettore@ximian.com>
3466         * e-storage.c (e_storage_removed_folder): When a highlighted
3467         folder gets removed, update the parent to not have a highlight.
3468         [#24062]
3470 2002-09-16  Ettore Perazzoli  <ettore@ximian.com>
3472         * evolution-nognome.in: New script to run Evolution under a
3473         non-GNOME session when using a non-default GNOME prefix and a
3474         non-default Evolution prefix.
3476 2002-09-11  Ettore Perazzoli  <ettore@ximian.com>
3478         * e-setup.c (setup_bonobo_conf_private_directory): g_free() not
3479         free(), since we allocate with glib functions.  [#19899]
3481 2002-09-05  Mike Kestner  <mkestner@ximian.com>
3483         * Makefile.am : no longer distribute the etstate files.
3484         * e-shell-folder-selection-dialog.c : enable_search on the view.
3485         * e-storage-set-view.c : add search_enabled flag handling.
3486         (e_storage_set_view_set_show_checkboxes): manipulate the existing state
3487         instead of loading a state file from disk.
3488         (e_storage_set_view_enable_search): new. set a column in the sort_info
3489         on the etree to allow keystroke jumping in the etree.
3490         
3491 2002-09-05  Anna Marie Dirks  <anna@ximian.com>
3493         * GNOME_Evolution_Shell.oaf.in : Changed the description
3494         of the folders page in the settings dialog to be more specific.
3496 2002-09-04  Ettore Perazzoli  <ettore@ximian.com>
3498         * Makefile.am (INCLUDES): Add a -DPREFIX.
3500         * main.c (main): New command-line option "force-upgrade".
3501         (show_development_warning): Suggest 1.0.8, not 1.0.5.
3502         (upgrade_from_1_0_if_needed): New.
3503         (idle_cb): Call it.
3505 2002-09-04  Ettore Perazzoli  <ettore@ximian.com>
3507         * e-shell-view.c (new_folder_cb): Pass FALSE as @queue to
3508         e_shell_view_display_uri() here.
3510 2002-09-04  Ettore Perazzoli  <ettore@ximian.com>
3512         * e-shell-view.c (e_shell_view_get_current_component_id): If the
3513         current_folder_type is NULL, just return NULL instead of passing
3514         it to e_folder_type_registry_get_handler_for_type() [and generate
3515         a warning].  [#21122]
3517 2002-09-04  Dan Winship  <danw@ximian.com>
3519         * glade/e-shell-shared-folder-picker-dialog.glade: Remove the
3520         "blah blah" text for now and change "Server" to "Account".
3522 2002-09-04  Ettore Perazzoli  <ettore@ximian.com>
3524         * e-shell.c (create_view): Pass TRUE as @queue to
3525         e_shell_view_display_uri().
3527         * e-shell-view-menu.c (command_activate_view): Pass TRUE as @queue
3528         to e_shell_view_display_uri().
3529         (goto_folder_dialog_folder_selected_cb): Likewise.
3531         * e-shell-shared-folder-picker-dialog.c
3532         (shared_folder_discovery_listener_callback): Pass TRUE as @queue
3533         to e_shell_view_display_uri().
3535         * e-shell-view.c
3536         (display_uri): New arg @queue.  If true, it allows the
3537         delayed_selection mechanism to happen transparently (returning
3538         TRUE, while before it used to return FALSE).  Otherwise, refuse to
3539         queue the URI and return FALSE.
3540         (e_shell_view_display_uri): New arg @queue; pass it to
3541         display_uri().
3542         (handle_current_folder_removed): Pass TRUE as @queue to
3543         e_shell_view_display_uri().
3544         (set_folder_timeout): Likewise.
3545         (switch_on_folder_tree_click): Likewise.
3546         (activate_shortcut_cb): Likewise.
3547         (corba_interface_change_current_view_cb): Likewise.
3548         (socket_destroy_cb): Likewise.
3549         (socket_destroy_cb): Likewise.
3550         (e_shell_view_load_settings): Here, try displaying the old URI
3551         with @queue set to FALSE; if this fails, display the default URI
3552         and then invoke display again using @queue = TRUE so it gets
3553         queued up.  This should fix #27721.
3555 2002-09-04  Ettore Perazzoli  <ettore@ximian.com>
3557         * main.c (idle_cb): Pass FALSE as @restore_all_views to
3558         e_shell_restore_from_settings() so we only restore the first view.
3560         * e-shell.c (e_shell_restore_from_settings): New arg
3561         @restore_all_views.
3563 2002-09-04  Ettore Perazzoli  <ettore@ximian.com>
3565         * e-storage-set-view.c (popup_folder_menu): Remove the context
3566         menu items using
3567         evolution_shell_component_client_unpopulate_folder_context_menu()
3568         instead of doing it ourself, since BonoboUI sucks.
3570         * evolution-shell-component-client.c
3571         (evolution_shell_component_client_unpopulate_folder_context_menu):
3572         New.
3574         * evolution-test-component.c (register_component): Pass NULL as
3575         @unpopulate_folder_context_menu_fn to
3576         evolution_shell_component_new().
3578         * evolution-shell-component.c: New member
3579         unpopulate_folder_context_menu_fn in
3580         EvolutionShellComponentPrivate.  New member uic in
3581         EvolutionShellComponentPrivate.
3582         (init): Init new members to NULL.
3583         (destroy): bonobo_object_unref() priv->uic if not NULL.
3584         (evolution_shell_component_new): New arg
3585         @unpopulate_folder_context_menu_fn.
3586         (evolution_shell_component_construct): Likewise.
3587         (impl_populateFolderContextMenu): Set priv->uic to the newly
3588         created UIComponent.
3589         (impl_unpopulateFolderContextMenu): New, implementation for the
3590         ::unpopulateFolderContextMenu CORBA method.
3591         (class_init): Install.
3593         * Evolution-ShellComponent.idl (unpopulateFolderContextMenu): New
3594         method.
3595         (AlreadyPopulated): New exception.
3596         (populateFolderContextMenu): Can raise it.
3597         (NotPopulated): New exception.
3599 2002-09-03  Ettore Perazzoli  <ettore@ximian.com>
3601         * e-storage-set-view.c (popup_folder_menu): Create an Items
3602         placeholder under ComponentPlaceholder, and then
3603         bonobo_ui_component_rm() it after we are done with the menu.  This
3604         -should- fix #29782, but it doesn't.  I am not sure why.
3606         * evolution-shell-component.h
3607         (EVOLUTION_SHELL_COMPONENT_POPUP_PLACEHOLDER): Append a "/Items"
3608         part.
3610 2002-09-03  Ettore Perazzoli  <ettore@ximian.com>
3612         * e-shell-importer.c (show_import_wizard): Make the WM close
3613         button in the dialog hide instead of destroying, using
3614         gnome_dialog_close_hides().  [#15572]
3616 2002-08-28  Dan Winship  <danw@ximian.com>
3618         * e-shell.c (setup_components): Pass a selection_order to
3619         oaf_query so we get the components back in a consistent order.
3620         Hack fix for #28490 for 1.2 by ensuring that Connector gets
3621         started before evolution-mail.
3622         (get_icon_path_for_component_info): Rename the oaf icon name
3623         property to use underscores to match the launch order property
3624         (which needs to use underscores because dashes are interpreted as
3625         subtraction in the selection_order context).
3627 2002-08-27  Ettore Perazzoli  <ettore@ximian.com>
3629         * e-shortcuts-view.c (get_shortcut_info): Make sure
3630         *custom_icon_name_return is at least set to NULL on return [it
3631         used to leave it uninitialized if the URI was not prefixed with
3632         E_SHELL_URI_PREFIX].  Also use e_shell_parse_uri() to parse the
3633         URI so we handle the default shortcuts properly, too.
3635 2002-08-19  Dan Winship  <danw@ximian.com>
3637         * e-shell-shared-folder-picker-dialog.c (show_dialog): Get the
3638         "addresses" property of the select names control rather than
3639         "text", so we get the email address too. #28953
3641         * e-folder-type-registry.c
3642         (e_folder_type_registry_type_registered,
3643         e_folder_type_registry_unregister_type): Fix the names of these
3644         functions. (They previously used "register" instead of
3645         "registry".)
3647         * e-component-registry.c (register_type): Update for renaming
3649         * e-local-storage.c (load_folder): Likewise
3651 2002-08-16  Dan Winship  <danw@ximian.com>
3653         * evolution-folder-selector-button.c
3654         (evolution_folder_selector_button_set_uri): If the selected URI is
3655         of an invalid type, don't accept it.
3656         (evolution_folder_selector_button_get_folder): Returns the
3657         selected folder.
3658         (various): updates to support get_folder, and to simplify.
3660 2002-08-09  Dan Winship  <danw@ximian.com>
3662         * e-shell-shared-folder-picker-dialog.c (create_progress_dialog):
3663         Remove both timeouts when the dialog is destroyed, not just one of
3664         them.
3665         (shared_folder_discovery_listener_callback): Don't try to access
3666         fields of discovery_data after destroying it. Interpret the result
3667         argument correctly, and put up an error dialog (using
3668         e_corba_storage_corba_result_to_storage_result and
3669         e_storage_result_to_string) if something went wrong.
3671         * e-corba-storage.c
3672         (e_corba_storage_corba_result_to_storage_result): convert a
3673         GNOME_Evolution_Storage_Result to an EStorageResult.
3674         (async_folder_cb): Use that.
3676 2002-08-06  Dan Winship  <danw@ximian.com>
3678         * e-storage-set-view.c (folder_property_item_verb_callback): Don't
3679         include the storage name in the path passed to
3680         e_corba_storage_show_folder_properties, for consistency with the
3681         other EStorage methods.
3683 2002-08-06  Ettore Perazzoli  <ettore@ximian.com>
3685         * evolution-test-component.c
3686         (storage_show_folder_properties_callback): New callback for the
3687         show_folder_properties signal.
3688         (setup_custom_storage): Add two property items, and connect the
3689         callback to the signal.
3691         * e-storage-set-view.c: Renamed private member container into
3692         ui_container; new member ui_component.
3693         (init): Initialize ui_component to NULL.
3694         (impl_destroy): Unref if not NULL.
3695         (e_storage_set_view_construct): If @ui_container is not NULL,
3696         weakref it and create a new ui_component that uses it as its
3697         container.
3698         (ui_container_destroy_notify): New, weakref destroy callback for
3699         priv->ui_container.
3700         (remove_property_items): New helper function.
3701         (setup_folder_properties_items_if_corba_storage_clicked): New
3702         helper function.
3703         (folder_property_item_verb_callback): New callback for the verbs
3704         associated to the folder property items.
3705         (popup_folder_menu): Set up the per-storage folder property items
3706         using setup_folder_properties_items_if_corba_storage_clicked() and
3707         remove them with remove_property_items() after the menu has been
3708         popped down.  Don't invoke populate_folder_context_menu if there
3709         is no handler for this node [this avoids a spurious warning].
3711         * e-corba-storage.c (e_corba_storage_show_folder_properties): New.
3712         (e_corba_storage_get_folder_property_items): New.
3713         (e_corba_storage_free_property_items_list): New.
3715         * evolution-storage.c: New private member folder_property_items.
3716         (init): Init to NULL.
3717         (destroy): Free.
3718         (impl_showFolderProperties): New, implementation for the
3719         Storage::showFolderProperties CORBA method.
3720         (class_init): Set up the "show_folder_properties" signal here.
3721         (impl_Storage__get_propertyItems): New, getter for the
3722         Storage::propertyItems property.
3723         (corba_class_init): Install the new methods.
3724         (evolution_storage_add_property_item): New function to add
3725         property items to the storage.
3727         * evolution-storage.h: New signal show_folder_properties.
3729         * e-storage-set.c (e_storage_set_create_new_view): Renamed from
3730         e_storage_set_new_view().
3732         * Evolution-Storage.idl: Added attribute folderPropertyItems and
3733         method ::showFolderProperties.
3735 2002-08-01  Ettore Perazzoli  <ettore@ximian.com>
3737         * e-gray-bar.c (endarken_style): Set the color for
3738         GTK_STATE_INSENSITIVE too so it doesn't look ugly when we quit.
3740 2002-07-31  Ettore Perazzoli  <ettore@ximian.com>
3742         * e-shortcuts-view.c (create_default_shortcuts_cb): New, implement
3743         a right-click -> "Add Default Shortcuts" menu item.
3744         (rename_group_cb): Remove double casts.  *lol*
3746         * e-shortcuts.c (e_shortcuts_add_default_shortcuts): New.
3747         (e_shortcuts_add_default_group): Use
3748         e_shortcuts_add_default_shortcuts().
3750 2002-07-31  Ettore Perazzoli  <ettore@ximian.com>
3752         * e-shell-user-creatable-items-handler.c (ensure_menu_items):
3753         Don't sort the menu_items here.
3754         (create_menu_xml): Instead, sort here, and only sort the
3755         non-default section of the menu.
3756         (get_default_action_for_view): Just get the first item that is
3757         default; since we don't sort anymore, this works.
3758         (find_menu_item_for_verb): Removed since it is not used anymore.
3760 2002-07-31  Ettore Perazzoli  <ettore@ximian.com>
3762         * evolution-test-component.c (register_component): Pass NULL for
3763         @folder_type to
3764         evolution_shell_component_add_user_creatable_item().
3766         * e-shell-user-creatable-items-handler.c: New member folder_type
3767         in struct MenuItem.
3768         (ensure_menu_items): Initialize ->folder_type.
3769         (item_is_default): New helper function.
3770         (create_menu_xml): New arg @folder_type.  Put the items on the top
3771         using item_is_default().
3772         (shell_view_view_changed_callback): Pass the folder type to
3773         create_menu_xml().
3775         * evolution-shell-component.c: New member folder_type in
3776         UserCreatableItemType.
3777         (user_creatable_item_type_new): New arg @folder_type.
3778         (user_creatable_item_type_free): Free ->folder_type.
3779         (evolution_shell_component_add_user_creatable_item): New arg
3780         @folder_type.
3781         (impl__get_userCreatableItemTypes): Set ->folderType in the
3782         returned CORBA structs.
3784         * Evolution-ShellComponent.idl: New member folderType in struct
3785         UserCreatableItemType.
3787         * e-shell-user-creatable-items-handler.c: New member component_id
3788         in struct MenuItem.  Removed member menu_xml from
3789         EShellUserCreatableItemsHandlerPrivate.
3790         (init): No need to initialize menu_xml here anymore.
3791         (impl_destroy): ...And no need to free here, either.
3792         (setup_menu_xml): New, derived from ensure_menu_xml().  This
3793         orders the menu so that the items for the current component go at
3794         the top.
3795         (create_menu_xml): Removed.
3796         (e_shell_user_creatable_items_handler_attach_menus): Set up
3797         properly for the current component ID, using setup_menu_xml().
3799 2002-07-29  Jeffrey Stedfast  <fejj@ximian.com>
3801         * evolution-folder-selector-button.c
3802         (evolution_folder_selector_button_set_uri): New function to set
3803         the uri programatically on a EvolutionFolderSelectorButton dingus.
3805 2002-07-26  Ettore Perazzoli  <ettore@ximian.com>
3807         * e-shell-view-menu.c (command_new_shortcut): Capitalize the title
3808         of the dialog for consistency.
3810         * e-shell-folder-creation-dialog.c (setup_dialog): Don't prepend
3811         the window's title with "Evolution -" since we don't do that
3812         anywhere else.  Also capitalize properly.
3814 2002-07-26  Ettore Perazzoli  <ettore@ximian.com>
3816         * e-shell-user-creatable-items-handler.c (ensure_menu_xml): Put in
3817         the ComponentItems placeholder, instead of NewItems.
3819 2002-07-26  Ettore Perazzoli  <ettore@ximian.com>
3821         * e-local-storage.c (load_all_folders): Don't return FALSE if any
3822         of the folders fails to load; otherwise, if the user has played
3823         with ~/evolution, he might end up not seeing any folders at all.
3825 2002-07-24  Ettore Perazzoli  <ettore@ximian.com>
3827         * e-shell-view-menu.c (command_work_online): Remove debugging
3828         message.
3829         (command_work_offline): Likewise.
3831 2002-07-18  Ettore Perazzoli  <ettore@ximian.com>
3833         * e-shell-folder-selection-dialog.c (double_click_cb): Renamed
3834         from `dbl_click_cb'.
3835         (check_folder_type): Don't pop up an error dialog anymore.
3836         (check_folder_type_valid): Renamed from check_folder_type().
3837         (folder_selected_cb): Make the OK button sensitive only if the
3838         type of the selected folder is in the list of valid types;
3839         otherwise, make it insensitive.  [#848]
3841 2002-07-18  Rodrigo Moya <rodrigo@ximian.com>
3843         * e-shell-importer.c (start_import): removed check for local folders,
3844         so that we can import into non-local ones.
3846 2002-07-18  Ettore Perazzoli  <ettore@ximian.com>
3848         * evolution-storage-set-view.c
3849         (impl_StorageSetView__set_checkedFolders): Removed unused
3850         variable.
3852         * e-shell-folder-title-bar.c (e_shell_folder_title_bar_construct):
3853         Removed unused variable.
3855         Mass-replaced G_DIR_SEPARATOR and G_DIR_SEPARATOR_S with
3856         E_PATH_SEPARATOR and E_PATH_SEPARATOR_S:
3858                 * e-storage.c
3859                         (e_storage_path_is_absolute)
3860                         (e_storage_path_is_relative)
3861                         (e_storage_async_xfer_folder)
3862                 * e-storage-set.c
3863                         (make_full_path)
3864                         (get_storage_for_path) 
3865                         (signal_new_folder_for_all_folders_under_paths) 
3866                         (signal_new_folder_for_all_folders_in_storage) 
3867                         (e_storage_set_get_path_for_physical_uri)
3868                 * e-storage-set-view.c
3869                         (storage_sort_callback)
3870                         (new_storage_cb) 
3871                         (removed_storage_cb)
3872                         (new_folder_cb)
3873                 * e-shortcuts-view.c
3874                         (get_shortcut_info)
3875                 * e-shell-view.c
3876                         (handle_current_folder_removed) 
3877                 * e-shell-utils.c
3878                         (e_shell_folder_name_is_valid)
3879                 * e-local-storage.c
3880                         (construct)
3881                 * e-folder-tree.c
3882                         (get_parent_path)
3883                         (get_parent_path)
3884                         (e_folder_tree_destroy)
3885                         (e_folder_tree_add)
3886                         (e_folder_tree_foreach)
3887                 * e-folder-dnd-bridge.c
3888                         (handle_data_received_path)
3889                 * evolution-storage.c
3890                         (make_full_uri)
3892         * e-shell-constants.h: New #defines E_PATH_SEPARATOR and
3893         E_PATH_SEPARATOR_S.
3895         * e-local-storage.c (load_folder): Don't add the folder if its
3896         type isn't registered.
3898 2002-07-17  Ettore Perazzoli  <ettore@ximian.com>
3900         * e-shortcuts-view-model.c (get_icon_for_item): Get the
3901         EStorageSet from the shortcut's shell since there is no
3902         e_shortcuts_get_storage_set() anymore.
3903         * e-shortcuts-view.c (get_shortcut_info): Likewise.
3904         (impl_shortcut_drag_motion): Likewise.
3905         (impl_shortcut_drag_data_received): Likewise.
3907         * e-shell.c (e_shell_construct): e_shortcuts_new_from_file(), not
3908         e_shortcuts_new() here.
3910         * e-shortcuts.c: Removed members storage_set and
3911         folder_type_registy in EShortcutsPrivate.  New member shell.
3912         (init): Init to NULL.
3913         (e_shortcuts_construct): Removed arg @storage_set and
3914         @folder_type_registry, new arg @shell.
3915         (e_shortcuts_new): Removed.
3916         (e_shortcuts_new_from_file): New.
3917         (impl_destroy): Renamed from destroy().
3918         (e_shortcuts_get_storage_set): Removed.
3919         (e_shortcuts_get_shell): New.
3920         (load_shortcuts): Accept any URI that can be parsed (by
3921         e_shell_parse_uri).
3923         * e-shell.c (e_shell_parse_uri): New.
3925         * e-shell-view.c (evolution_uri_for_default_uri): New.
3926         (display_uri): Use it to determine the evolution: uri given a
3927         default: uri.
3929         * e-shell.c (impl_Shell_handleURI): Pass it over to
3930         e_shell_create_view_from_uri_and_settings() even if it's an
3931         E_SHELL_DEFAULTURI_PREFIX.
3932         (handle_default_uri): Removed.
3934 2002-07-12  Peter Williams  <peterw@ximian.com>
3936         * Makefile.am (INCLUDES): Add -I$(builddir)/libical/src/libical
3937         for the generated ical.h (some headers rely on this because
3938         they too get installed.)
3940 2002-07-14  Rodrigo Moya <rodrigo@ximian.com>
3942         * evolution-storage.c (impl_Storage_getFolderAtPath): no need to
3943         convert the value returned by e_folder_tree_get_folder to a
3944         GNOME_Evolution_Folder, since it already is, and duplicate it before
3945         returning.
3947 2002-07-14  Chris Toshok  <toshok@ximian.com>
3949         * e-shell.c (folder_selection_dialog_folder_selected_cb): set
3950         corba_folder.customIconName so we don't crash.
3951         (impl_Shell_selectUserFolder): remove the default_type parameter
3952         to fix a compiler warning.
3954 2002-07-12  Dan Winship  <danw@ximian.com>
3956         * evolution-storage.c (impl_Storage_asyncDiscoverSharedFolder):
3957         dup the listener, for consistency with the other signals
3959 2002-07-12  Ettore Perazzoli  <ettore@ximian.com>
3961         * evolution-folder-selector-button.c (clicked): Ref the
3962         parent_window and then unref after you are done using it.
3963         [#27673]
3965 2002-07-12  Peter Williams  <peterw@ximian.com>
3967         * Makefile.am (eshellinclude_HEADERS): Install some headers
3968         that weren't getting installed.
3970 2002-07-11  Ettore Perazzoli  <ettore@ximian.com>
3972         * e-shell-folder-title-bar.c (e_shell_folder_title_bar_set_icon):
3973         Allow a NULL icon [remove the precondition].
3975         * e-shell-view.c (update_folder_title_bar): Only unref the
3976         folder_icon if not NULL.
3978 2002-07-11  Ettore Perazzoli  <ettore@ximian.com>
3980         * evolution-storage-set-view.c
3981         (impl_StorageSetView__set_checkedFolders): Handle
3982         Folder.evolutionUri as a URI, not as a path.  Also use
3983         e_free_string_list().
3985 2002-07-11  Ettore Perazzoli  <ettore@ximian.com>
3987         * e-shell-view.c (update_folder_title_bar): Ref the folder_icon
3988         that we get from e_folder_type_registry_get_icon_for_type().
3990 2002-07-11  Ettore Perazzoli  <ettore@ximian.com>
3992         * evolution-storage.c (get_folder_list_foreach): Copy
3993         customIconName and sortingPriority in the new_corba_folder.
3994         [#27670]
3996 2002-07-11  Ettore Perazzoli  <ettore@ximian.com>
3998         * e-shell-folder-title-bar.c: Remove some `#if 0'ed broken code.
3999         New members title_icon and title_button_icon in struct
4000         EShellFolderTitleBarPrivate.  Remove member icon_widget.  New
4001         static global variable empty_pixbuf.
4002         (init): Initialize these new members to NULL.  Don't initialize
4003         icon_widget anymore since it's gone.
4004         (e_shell_folder_title_bar_construct): Create the title_button_icon
4005         and pack it into the title_button_hbox.  Also, create the
4006         title_icon and pack that one as well.  Retouched some of the
4007         hardcoded padding values.
4008         (size_allocate_icon): Rewritten to use the title_icon and return
4009         the allocated space like size_allocate_navigation_buttons.
4010         (e_shell_folder_title_bar_set_icon): Remove bogus const from the
4011         @icon arg.  Ref the pixbuf, and update the two pixmap widgets from
4012         it.  If @icon is NULL, use the empty_pixbuf.
4013         (impl_destroy): Renamed from destroy().
4014         (realize): Removed.
4015         (unrealize): Removed.
4016         (impl_size_allocate): Renamed from size_allocate().
4017         (class_init): Call it.
4018         (add_icon_widget): Removed.
4019         (new_empty_pixbuf): New.
4020         (new_empty_pixmap_widget): New.
4021         (size_allocate_navigation_buttons_and_title_icon): Renamed from
4022         size_allocate_navigation_buttons; set up the title_icon too.
4024         * e-shell-view.c (update_folder_title_bar): Unref the folder_icon
4025         after using it.
4027         * e-icon-factory.c (e_icon_factory_get_icon): Ref the returned pixbuf.
4029 2002-07-10  Ettore Perazzoli  <ettore@ximian.com>
4031         * e-shell-view.c (update_folder_title_bar): Get a @folder arg
4032         instead of a @type arg.  Use the custom icon if the folder has
4033         one.
4034         (update_for_current_uri): Updated accordingly.
4036 2002-07-10  Ettore Perazzoli  <ettore@ximian.com>
4038         * evolution-test-component.c (setup_custom_storage): Pass
4039         @sorting_priority to evolution_storage_new_folder() so we test it.
4040         Also make /FirstFolder have an "inbox" custom icon.
4042         * e-local-storage.c (new_folder): Pass zero as @sorting_priority
4043         to evolution_storage_new_folder().
4045         * evolution-storage.c (evolution_storage_new_folder): New arg
4046         @sorting_priority; put it in the CORBA folder struct.
4048         * evolution-shell-client.c
4049         (impl_FolderSelectionListener_selected): Copy the sortingPriority
4050         as well.
4052         * e-folder.c (e_folder_to_corba): Set sortingPriority.
4054         * e-corba-storage-registry.c
4055         (impl_StorageRegistry_getFolderByUri): Set sortingPriority in the
4056         new CORBA Folder struct.
4058         * e-corba-storage.c (impl_StorageListener_notifyFolderCreated):
4059         Set the custom_icon if folder->customIconName is not an empty
4060         string.  Likewise, set the sorting_priority
4062         * Evolution-common.idl: New member sortingPriority in struct
4063         Folder.
4065         * e-storage-set-view.c (folder_sort_callback): Sort according to
4066         the sorting_priorities.
4068         * e-folder.c: New member sorting_priority in EFolderPrivate.
4069         (init): Init to zero.
4070         (e_folder_set_custom_icon): Emit "changed" if required.
4071         (e_folder_set_sorting_priority): New.
4073 2002-07-09  Ettore Perazzoli  <ettore@ximian.com>
4075         * e-icon-factory.c (load_icon): Ooops.  Swapped the large/small
4076         pixbufs here.  Also, plug a leak.
4078 2002-07-09  Ettore Perazzoli  <ettore@ximian.com>
4080         * evolution-test-component.c (setup_custom_storage): Pass NULL for
4081         @custom_icon_name to evolution_storage_new_folder().
4083         * e-local-storage.c (new_folder): Pass the custom_icon_name here
4084         to evolution_storage_new_folder().
4086         * evolution-shell-client.c
4087         (impl_FolderSelectionListener_selected): Set customIconName here
4088         too.
4090         * e-folder.c (e_folder_to_corba): Set customIconName too.
4092         * e-corba-storage-registry.c
4093         (impl_StorageRegistry_getFolderByUri): Set customIconName.  Also,
4094         use e_safe_corba_string() to clean up the code a bit.
4096         * evolution-storage.c (evolution_storage_new_folder): New arg
4097         @custom_icon_name.
4099         * Evolution-common.idl: New member customIconName in struct
4100         Folder.
4102 2002-07-09  Ettore Perazzoli  <ettore@ximian.com>
4104         * e-shortcuts-view-model.c (get_icon_for_item): If the
4105         custom_icon_name is not NULL, return the pixbuf for it.
4107         * e-storage-set-view.c: #include "e-icon-factory.h".
4109         * e-shortcuts-view.c (impl_shortcut_dropped): Pass the
4110         custom_icon_name.
4111         (get_shortcut_info): New arg @custom_icon_name_return.
4112         (rename_shortcut_cb): Pass the custom_icon_name here.
4114         * e-shell-view-menu.c (new_shortcut_dialog_folder_selected_cb):
4115         Pass the custom_icon_name for the folder's shortcut.
4117         * e-shell-folder-commands.c (e_shell_command_add_to_shortcut_bar):
4118         Pass the custom_icon_name for the folder's shortcut.
4120         * e-corba-shortcuts.c (impl_add): Use the customIconName member in
4121         struct ::Shortcuts::Shortcut.
4122         (shorcut_list_to_corba): Set the customIconName member on the
4123         returned shortcuts.
4124         (impl_get): Likewise.
4126         * Evolution-Shortcuts.idl: New member customIconName in struct
4127         Shortcut.
4129         * e-shortcuts.c (shortcut_item_new): New arg @custom_icon_name;
4130         initialize the member in EShortcutItem from it.
4131         (shortcut_item_update): New arg @custom_icon_name; set the
4132         custom_icon_name from it.  Also remove some braindeadness from
4133         this code.
4134         (update_shortcut_and_emit_signal): New arg @custom_icon_name.
4135         (load_shortcuts): Load the custom icon name from the XML
4136         [eg. <item name="foo" type="mail" icon="inbox">].
4137         (save_shortcuts): Save the custom icon name in the XML.
4138         (e_shortcuts_add_shortcut): New arg @custom_icon_name.
4139         (update_shortcuts_by_path): Pass the custom_icon_name to
4140         update_shortcut_and_emit_signal().
4141         (e_shortcuts_update_shortcut): New arg @custom_icon_name; pass it
4142         to update_shortcut_and_emit_signal().
4143         (e_shortcuts_add_default_group): Pass "inbox" as the
4144         custom_icon_name for the inbox shortcut, and NULL for the other
4145         shortcuts.
4147         * e-shortcuts.h: New member custom_icon_name in EShortcutItem.
4149 2002-07-09  Ettore Perazzoli  <ettore@ximian.com>
4151         * e-shortcuts-view.c (impl_shortcut_drag_motion): Remove debugging
4152         message.
4153         (impl_shortcut_drag_motion): Likewise.
4155         * e-local-storage.c (remove_folder_step): Remove debugging message.
4157         * e-folder-dnd-bridge.c (e_folder_dnd_bridge_data_received):
4158         Remove debugging message.
4160 2002-07-09  Ettore Perazzoli  <ettore@ximian.com>
4162         * main.c (main): Call e_icon_factory_init().
4164         * e-local-storage.c (setup_folder_as_stock): New arg @icon_name;
4165         if not NULL, set up a custom icon for the folder.
4166         (setup_stock_folders): Set up custom icons for inbox and outbox.
4168         * e-storage-set-view.c (get_pixbuf_for_folder): If the folder has
4169         a custom icon, return the custom icon.
4171         * e-folder.c: New member custom_icon_name.
4172         (init): Initialize to NULL.
4173         (destroy): Free.
4174         (e_folder_get_custom_icon): New.
4175         (e_folder_set_custom_icon): New.
4177         * e-icon-cache.c: New.
4178         * e-icon-cache.h: New.
4180 2002-07-09  Ettore Perazzoli  <ettore@ximian.com>
4182         * e-local-storage.c (remove_folder): Remove unused variable.
4184 2002-07-08  Ettore Perazzoli  <ettore@ximian.com>
4186         * e-shortcuts-view.c (toggle_large_icons_cb): Change the group
4187         icon size using e_shortcuts_set_group_uses_small_icons() instead
4188         of changing it on the widget directly.
4189         (toggle_small_icons_cb): Likewise.
4190         (group_change_icon_size_callback): New, callback for the
4191         "group_change_icon_size" signal on the EShortcuts object.
4192         (e_shortcuts_view_construct): Connect.  Also, initialize the icon
4193         sizes in the icon bars from the EShortcuts object.
4195         * e-shell-view.c (e_shell_view_load_settings): Don't set the
4196         shortcut group icon modes here anymore.
4198         * e-shortcuts.c: New member use_small_icons in struct
4199         ShortcutGroup.
4200         (shortcut_group_new): Init to FALSE.
4201         (e_shortcuts_set_group_uses_small_icons): New.
4202         (e_shortcuts_get_group_uses_small_icons): New.
4203         (class_init): Install "group_change_icon_size" signal.
4204         (save_shortcuts): Save the icon size per-group
4205         here, i.e. <group title="foo" icon_size="small">.
4206         (load_shortcuts): Set the icon size from the group's definition
4207         here.
4209         * e-shortcuts.h: New signal "group_change_icon_size" in
4210         EShortcutsClass.
4212 2002-07-08  Ettore Perazzoli  <ettore@ximian.com>
4214         * e-folder.c (safe_corba_string_dup): New helper function.
4215         (e_folder_to_corba): Use it here.
4217         * Makefile.am (libeshell_la_SOURCES): Move e-folder.c here, from
4218         evolution_SOURCES.
4219         (eshellinclude_HEADERS): Likewise, move e-folder.h here.
4221         * evolution-storage.c (impl_Storage_getFolderAtPath): New,
4222         implementation for Evoluiton::Storage::getFolderAtPath.
4223         (evolution_storage_get_epv): Install CORBA method here.
4225         * Evolution-Storage.idl (getFolderAtPath): New method in
4226         Evolution::Storage.
4228 2002-07-05  Ettore Perazzoli  <ettore@ximian.com>
4230         [Fix #22047, Crash after running the start-up wizard.  The patch
4231         was applied a while ago to the evolution-1-0-branch but not on
4232         the trunk.]
4234         * e-shell-startup-wizard.c (startup_wizard_cancel): Unref the
4235         ETimezoneDialog.
4236         (finish_func): Likewise.
4238 2002-07-03  Ettore Perazzoli  <ettore@ximian.com>
4240         [Fixes #27354.]
4242         * e-storage-set-view.c (impl_tree_drag_drop): Invoke
4243         e_folder_dnd_bridge_drop().
4245         * e-folder-dnd-bridge.c (find_matching_target_for_drag_context):
4246         New arg @atom_return.  Return the GdkAtom associated with the type
4247         through it.
4248         (e_folder_dnd_bridge_drop): New.
4250 2002-07-02  Ettore Perazzoli  <ettore@ximian.com>
4252         * e-shell.c (e_shell_show_settings): Don't set up the settings
4253         dialog as a transient.  [#25776]
4255 2002-07-02  Ettore Perazzoli  <ettore@ximian.com>
4257         * e-local-storage.c (bonobo_interface_remove_folder_cb): Add
4258         parameter @listener to match the signal's signature.  [#24413]
4260 2002-07-02  Ettore Perazzoli  <ettore@ximian.com>
4262         * e-shell-user-creatable-items-handler.c: New member tooltip in
4263         struct MenuItem.
4264         (ensure_menu_items): Initialize the tooltip member.
4265         (shell_view_view_changed_callback): Set the tooltip for the "New"
4266         button.
4267         (ensure_menu_xml): Set up the tooltip here as well.
4269         * evolution-shell-component.c: Add tooltip member to struct
4270         UserCreatableItemType.
4271         (user_creatable_item_type_new): New arg @tooltip.
4272         (evolution_shell_component_add_user_creatable_item): New arg
4273         @tooltip.
4274         (impl__get_userCreatableItemTypes): Put the tooltip in the struct
4275         as well.
4277         * e-shell-user-creatable-items-handler.c (setup_toolbar_button):
4278         Create a GtkTooltips object and attach it to the combo_button
4279         using gtk_object_set_data().
4280         (shell_view_view_changed_callback): Set up a tooltip for the
4281         button, according to the default.
4283         * Evolution-ShellComponent.idl: Add a tooltip member to struct
4284         UserCreatableItemType.
4286 2002-07-01  Ettore Perazzoli  <ettore@ximian.com>
4288         * e-shell.c (e_shell_prepare_for_quit): Remove debugging message.
4290         * e-shell-view.c (setup_verb_sensitivity_for_folder): Set
4291         sensitivity of /commands/AddFolderToShortcutBar,
4292         /commands/OpenFolder and /commands/OpenFolderInNewWindow too,
4293         depending on whether the node that was right-clicked can be opened
4294         as a folder.
4296         * e-storage-set-view.c (popup_folder_menu): Pop up the right-click
4297         menu even if we are not clicking on a folder with a proper
4298         handler.
4300 2002-07-01  Ettore Perazzoli  <ettore@ximian.com>
4302         * e-shell.c: New member preparing_to_quit in EShellPrivate.
4303         (init): Initialize to FALSE.
4304         (e_shell_prepare_for_quit): Set preparing_to_quit to TRUE on
4305         entering, and set it to FALSE on return.
4306         (view_delete_event_cb): Don't call e_shell_prepare_for_quit() if
4307         preparing_for_quit is TRUE.
4309 2002-06-28  Ettore Perazzoli  <ettore@ximian.com>
4311         * evolution-storage.c (impl_Storage_updateFolder): Don't stop
4312         notifying the listeners if ::notifyFolderUpdated() fails.  Should
4313         fix #25598.
4315 2002-06-28  Ettore Perazzoli  <ettore@ximian.com>
4317         [Fix #10681, Incorrect behavior when deleting a hierarchy of local
4318         folders.]
4320         * e-local-storage.c: Change the ASyncRemoveFolderCallbackData
4321         struct to have only storage and next_paths_to_delete members.
4322         (remove_folder_step): New.
4323         (component_async_remove_folder_callback): Start deletion for the
4324         next path in next_paths_to_delete, so we handle recursion
4325         properly.
4326         (create_subfolder_list): New.
4327         (remove_folder): Create the list with create_subfolder_list,
4328         initialize the ASyncRemoveFolderCallbackData with the
4329         next_paths_to_delete list and do the first deletion.  This way we
4330         handle recursion properly.
4332 2002-06-26  Iain <iain@ximian.com>
4334         * e-shell-importer.c (show_import_wizard): Only let the dialog be
4335         opened once.
4337 2002-06-26  Iain <iain@ximian.com>
4339         * Evolution-StorageSetView.idl: Add a notifyFolderToggled method,
4340         allow checkedFolders to be writable.
4342         * e-shell-importer.c (free_iid_list): Free the list of iid infos.
4343         (get_name_from_component_info): Move this function from futher down
4344         the file to here because it's useful.
4345         (choose_importer_from_list): Present the user with a list of importer
4346         names to select the one they want to use.
4347         (get_iid_for_filetype): Store the name of the importer as well as the
4348         iid in the list. If there are multiple matches, show the user a list.
4350         * evolution-storage-set-view-listener.[ch]: Add a folder toggled signal.
4351         (impl_GNOME_Evolution_StorageSetViewListener_notifyFolderToggled):
4352         Notify listeners that a folder has been toggled.
4353         (corba_class_init): Hook up the new method.
4354         (class_init): Create the new signal.
4356         * evolution-storage-set-view.c
4357         (storage_set_view_widget_folder_toggled_cb): Call the CORBA method for 
4358         each listener.
4359         (impl_StorageSetView__set_checkedFolders): Set the checked folders
4360         from the list.
4361         (impl_StorageSetView__get_checkedFolders): Don't include blanks in the
4362         list.
4363         
4364 2002-06-24  Ettore Perazzoli  <ettore@ximian.com>
4366         * e-local-storage.c (remove_folder): Removed arg @physical_uri.
4368         * e-shell-folder-selection-dialog.c (impl_clicked): Pass
4369         default_type to e_shell_show_folder_creation_dialog() properly.
4370         [Patch by Christian Kreibich <christian@whoop.org>.]
4372 2002-06-19  Kjartan Maraas  <kmaraas@gnome.org>
4374         * e-corba-config-page.h: Remove #include <config.h>
4375         * e-shell-about-box.h: Same
4376         * e-history.h: Same
4377         * e-shell-importer.c: gtk_widget_show() all items in the optionmenu
4378         before showing it.
4379         * e-shell-offline-handler.h: Remove #include <config.h>
4380         * e-shell-settings-dialog.h: Same.
4381         
4382 2002-05-31  Ettore Perazzoli  <ettore@ximian.com>
4384         * evolution-storage-set-view.c
4385         (impl_StorageSetView__get_checkedFolders): Set release for the
4386         CORBA path sequence to TRUE.
4388         * evolution-shell-component.c
4389         (fill_corba_sequence_from_null_terminated_string_array): Set
4390         release for the CORBA sequence to TRUE so it gets freed properly.
4391         (impl__get_externalUriSchemas): Likewise for the returned
4392         uri_chema_list.
4394         * e-shell-offline-handler.c (duplicate_connection_list): Set
4395         release for the connection sequence to TRUE.
4397         * e-shell-config-offline.c (config_control_apply_callback): Set
4398         release for the path sequence to TRUE.
4400         * e-corba-storage-registry.c
4401         (impl_StorageRegistry_getStorageList): Set release for the storage
4402         sequence to TRUE.
4404         * evolution-storage.c (impl_Storage__get_folderList): Set release
4405         for the folder sequence to TRUE.
4407 2002-05-30  Ettore Perazzoli  <ettore@ximian.com>
4409         [This fixes #25361.]
4411         * e-folder-list.c (e_folder_list_construct): Use
4412         bonobo_object_ref() instead of bonobo_object_client_ref() as the
4413         former only refs the CORBA object [Sigh].
4415         * e-shell-config-autocompletion.c
4416         (e_shell_config_autocompletion_create_widget): Don't unref the
4417         shell_client here, as we need it.  :-)
4419 2002-05-30  Ettore Perazzoli  <ettore@ximian.com>
4421         * e-shell-view-menu.c (command_about_box): Connect
4422         about_box_event_callback() to the "key_press_event" signal as
4423         well.  This way the about box is closed when you press a key too.
4424         [#25349]
4426 2002-05-28  Chris Toshok  <toshok@ximian.com>
4428         * e-folder-list.c (e_folder_list_set_items): skip folders that
4429         aren't valid uri's.
4430         (e_folder_list_get_items): didn't update this to track the change
4431         in model columns.  bad toshok.
4433 2002-05-24  Chris Toshok  <toshok@ximian.com>
4435         [ fixes 90% of #25047 ]
4436         * e-folder-list.c (get_folder_for_uri): shamelessly lifted from
4437         evolution-folder-selector-button.c.
4438         (create_display_string): modeled again after
4439         evolution-folder-selector-button.c, so we can give a little more
4440         context (and make the table look like the folder selector
4441         buttons.)
4442         (SPEC): add a pixbuf column, also remove the sorting behavior.
4443         (columns): add a pixbuf column and another string column (for the
4444         display string).
4445         (add_clicked): create the display string and get the proper
4446         pixbuf, and insert both.
4447         (edit_clicked): removed.
4448         (update_buttons): remove edit button handling from here.
4449         (e_folder_list_init): remove the hooking up of button-edit's
4450         "clicked" signal.
4451         (e_folder_list_construct): get a reference to the storage registry
4452         so we can look up folders.
4453         (e_folder_list_set_items): analogous change to add_clicked - get
4454         the display string and pixbuf and insert them.
4456         * glade/e-folder-list.glade: remove the edit button.
4458         * glade/e-shell-config-default-folders.glade: remove the
4459         frame/vbox,  since we embed it in a notebook and the tab has the
4460         title already.
4462         * e-shell-config.c (config_control_factory_cb): the only config
4463         control we deal with here now is the folder settings control.
4465         * e-shell-config-default-folders.c
4466         (e_shell_config_default_folders_create_widget): rename
4467         e_shell_config_default_folders_create_control to this, return the
4468         widget, and take the config control to use as an arg.
4470         * e-shell-config-offline.c (e_shell_config_offline_create_widget):
4471         make an analogous change here as with
4472         default_folders_create_widget.
4474         * e-shell-config-default-folders.h
4475         (e_shell_config_default_folders_create_widget): track change to
4476         prototype.
4478         * e-shell-config-offline.h (e_shell_config_offline_create_widget): same.
4480         * GNOME_Evolution_Shell.oaf.in: remove the DefaultFolders and
4481         OfflineFolders controls and add a FolderSettings_Control.
4483         * Makefile.am (evolution_SOURCES): add
4484         e-shell-config-folder-settings.[ch] and
4485         e-shell-config-autocompletion.[ch].
4487         * e-shell-config-folder-settings.[ch]: new files, embed (after a
4488         fashion) the default folder, offline, and autocompletion UI's in a
4489         notebook.
4491         * e-shell-config-autocompletion.[ch]: Basically copy over and
4492         shell-ize the addressbook autocompletion config control so it can
4493         be embedded more easily with the other folder settings.
4495 2002-05-23  Ettore Perazzoli  <ettore@ximian.com>
4497         * main.c (quit_box_new): Set @allow_shrink and @allow_grow to
4498         FALSE for the window.  Fixes #17534.
4500 2002-05-23  Ettore Perazzoli  <ettore@ximian.com>
4502         * e-shell-folder-selection-dialog.c
4503         (e_shell_folder_selection_dialog_construct): Pass FALSE for
4504         @allow_shrink.  Fixes #15688.
4506 2002-05-23  Ettore Perazzoli  <ettore@ximian.com>
4508         * e-shell-folder-commands.c (delete_dialog): Make a little bit
4509         prettier.  Default to "Delete", not "Cancel".
4511 2002-05-23  Ettore Perazzoli  <ettore@ximian.com>
4513         * e-shortcuts-view.c (rename_group_cb): Set the view type from the
4514         original group, thus preserving the small-icon/large-icon state.
4515         Fixes #6732.
4517 2002-05-23  Ettore Perazzoli  <ettore@ximian.com>
4519         * main.c (show_development_warning): Add a toggle to avoid
4520         displaying the dialog again.  Don't display the dialog at all if
4521         the /Shell/skip_warning_dialog_1_1 bonobo-conf key is set to
4522         FALSE.
4523         (warning_dialog_clicked_callback): Set
4524         /Shell/skip_warning_dialog_1_1 according to the state of the check
4525         button.
4527 2002-05-22  Ettore Perazzoli  <ettore@ximian.com>
4529         * e-shell.c (impl_Shell_selectUserFolder): No more @default_type
4530         arg to e_shell_folder_selection_dialog_new().
4532         * e-shell-view-menu.c (command_goto_folder): No more @default_type
4533         arg to e_shell_folder_selection_dialog_new().
4534         (command_new_shortcut): Likewise.
4536         * e-shell-importer.c (import_druid_finish): No more @default_type
4537         arg to e_shell_folder_selection_dialog_new().
4539         * e-shell-folder-commands.c (e_shell_command_move_folder): No more
4540         @default_type arg to e_shell_folder_selection_dialog_new().
4541         (e_shell_command_copy_folder): Likewise.
4543         * e-shell-folder-selection-dialog.c: Removed default_type member
4544         in EShellFolderSelectionDialogPrivate.
4545         (e_shell_folder_selection_dialog_new): Removed @default_type arg.
4546         (e_shell_folder_selection_dialog_construct): Likewise.
4547         (impl_clicked): Just pass the first of the allowed types to
4548         e_shell_show_folder_creation_dialog() for the default type.
4550         * evolution-shell-client.c (user_select_folder): No more
4551         @default_type arg to the ::userSelectFolder CORBA method.
4553         * Evolution-Shell.idl (selectUserFolder): Remove arg
4554         @default_type.
4556 2002-05-22  Ettore Perazzoli  <ettore@ximian.com>
4558         * main.c (view_map_callback): New callback for when the first
4559         created view in the shell gets mapped.
4560         (new_view_created_callback): New callback for when the first view
4561         of the shell gets created.
4562         (show_development_warning): New function to display a warning
4563         about the fact that Evolution is unstable.
4564         (idle_cb): Call show_development_warning() here unless the
4565         EVOLVE_ME_HARDER environment variable is set.
4567         * e-shell.c (class_init): Add the "new_view_created" signal here.
4568         (create_view): Emit the signal here.
4570         * e-shell.h: New signal "new_view_created".
4572 2002-05-22  Ettore Perazzoli  <ettore@ximian.com>
4574         * e-shell-user-creatable-items-handler.c: New member
4575         default_menu_item in EShellUserCreatableItemsHandlerPrivate.
4576         (ensure_menu_items): Set ->default_menu_item.
4577         (get_default_action_for_view): When no default item is specified,
4578         just return ->default_menu_item.
4580 2002-05-22  Ettore Perazzoli  <ettore@ximian.com>
4582         * e-shell.c (e_shell_prepare_for_quit): Only refuse quitting if
4583         the result is CANCEL.  This way we allow quitting if one of the
4584         components has crashed or something else otherwise goes wrong.
4585         Fixes #25093.
4587         * evolution-shell-component-client.c
4588         (result_from_async_corba_result): Handle
4589         GNOME_Evolution_ShellComponentListener_CANCEL.
4591 2002-05-21  Christopher James Lahey  <clahey@ximian.com>
4593         * e-corba-storage.c (async_open_folder_idle): Do async_open_folder
4594         in an idle callback.
4596         * e-shell-shared-folder-picker-dialog.c (user_clicked),
4597         glade/e-shell-shared-folder-picker-dialog.glade: Added a select
4598         names button here.
4600 2002-05-20  Chris Toshok  <toshok@ximian.com>
4602         * evolution-folder-selector-button.c (clicked): set the parent
4603         window insensitive before popping up the dialog and sensitive
4604         after it's popped down, to give us semi-modal behavior.  Also,
4605         emit a "popped_up" signal when popping up the dialog, and emit
4606         "canceled" when the return folder is NULL (when the user canceled
4607         the dialog).
4608         (class_init): fix typo (?) - parent type isn't
4609         bonobo_object_get_type(), it's PARENT_TYPE.  Also, initialize the
4610         POPPED_UP and CANCELED signals.
4612         * evolution-folder-selector-button.h (struct
4613         _EvolutionFolderSelectorButtonClass): add popped_up and canceled
4614         signals.
4616 2002-05-20  Ettore Perazzoli  <ettore@ximian.com>
4618         * e-shell-offline-sync.c (sync_folder): Skip the folder if it
4619         doesn't have the can_sync_offline property set.
4621 2002-05-20  Ettore Perazzoli  <ettore@ximian.com>
4623         * e-corba-storage.c (impl_StorageListener_notifyFolderCreated):
4624         Set the can_sync_offline property on the EFolder based on the
4625         canSyncOffline value on the CORBA folder.
4627         * evolution-test-component.c (setup_custom_storage): Pass FALSE
4628         for @sync_offline to evolution_storage_new_folder().
4630         * e-local-storage.c (new_folder): Pass FALSE for @sync_offline to
4631         evolution_storage_new_folder().
4633         * evolution-storage.h (evolution_storage_new_folder): New arg
4634         @can_sync_offline.
4636 2002-05-20  Ettore Perazzoli  <ettore@ximian.com>
4638         * Evolution-Offline.idl (syncFolder): Remove exception.
4639         (cancelSyncFolder): Remove exception.
4641         * e-shell-config-offline.c (storage_set_view_has_checkbox_func):
4642         New.
4643         (e_shell_config_offline_create_control): Pass it as the
4644         @has_checkbox_func.
4646         * e-folder.c: New member can_sync_offline in EFolderPrivate.
4647         (init): Init to FALSE.
4648         (e_folder_get_can_sync_offline): New.
4649         (e_folder_to_corba): Set canSyncOffline in the returned CORBA
4650         folder.
4651         (e_folder_set_physical_uri): Protect from when @physical_uri and
4652         ->physical_uri are the same thing.
4653         (e_folder_set_description): Same here with description.
4654         (e_folder_set_type_string): And type.
4656         * Evolution-common.idl: New member canSyncOffline in struct
4657         Folder.
4659 2002-05-20  Ettore Perazzoli  <ettore@ximian.com>
4661         * e-shell-config-offline.c
4662         (e_shell_config_offline_create_control): Pass NULL for
4663         @has_checkbox_func and @has_checkbox_func_data.
4665         * evolution-storage-set-view.c
4666         (impl_StorageSetView__set_showCheckboxes): Pass NULL for
4667         @has_checkbox_func and @has_checkbox_func_data.
4669         * e-storage-set-view.c: New member has_checkbox_func and
4670         has_checkbox_func_data in EStorageSetViewPrivate.
4671         (init): Init to NULL.
4672         (e_storage_set_view_set_show_checkboxes): New args
4673         @has_checkbox_func and @func_data.
4674         (has_checkbox): Always return FALSE for the toplevels.  For the
4675         other ones return TRUE unless ->has_checkbox_func is not-NULL; in
4676         which case, we use that function to determine whether the folder
4677         is actually checkable.
4679         * Evolution-ShellComponent.idl (requestQuit): Remove exception.
4681 2002-05-16  Ettore Perazzoli  <ettore@ximian.com>
4683         * e-shell.c (view_delete_event_cb): Ask e_shell_prepare_for_quit()
4684         before destroying the view if it's the last one.
4686         * e-shell-view-menu.c (command_close): Synthesize a delete_event
4687         on the view instead of directly destroying it.
4689 2002-05-15  Ettore Perazzoli  <ettore@ximian.com>
4691         * e-shell-view-menu.c (command_quit): Check with
4692         e_shell_prepare_for_quit() before quitting.
4694         * e-shell.c (e_shell_prepare_for_quit): New.
4696         * evolution-test-component.c (request_quit_fn): New function
4697         asking for confirmation to quit.
4699         * evolution-shell-component.c (evolution_shell_component_new): New
4700         arg @request_quit_fn.
4701         (impl_requestQuit): New, implementation for
4702         EvolutionShellComponent::requestQuit.
4703         (evolution_shell_component_result_to_string): Handle
4704         EVOLUTION_SHELL_COMPONENT_CANCEL.
4705         (evolution_shell_component_client_request_quit): New.
4707         * Evolution-ShellComponent.idl (requestQuit): New.
4709 2002-05-15  Iain <iain@ximian.com>
4711         * e-corba-storage-registry.c (impl_StorageRegistry_addStorage): Remove
4712         debuggin spew
4714 2002-05-15  Iain <iain@ximian.com>
4716         * e-corba-storage-registry.c (impl_StorageRegistry_addStorage): Apply
4717         patch from Peter Williams to notify listeners when a new storage is
4718         created.
4720 2002-05-14  Ettore Perazzoli  <ettore@ximian.com>
4722         * e-shell-offline-handler.c
4723         (e_shell_offline_handler_put_components_offline): Call
4724         e_shell_offline_sync_all_folders() if no connection is reported
4725         here.
4726         (dialog_handle_ok): Sync all the folders here through
4727         e_shell_offline_sync_all_folders().
4729         * e-shell-offline-sync.c: New.
4730         * e-shell-offline-sync.h: New.
4732         * Evolution-Offline.idl (syncFolder): Make oneway.
4733         (cancelSyncFolder): Likewise.
4734         (SyncFolderProgressListener::reportSuccess): New method.
4736 2002-05-14  Christopher James Lahey  <clahey@ximian.com>
4738         * Makefile.am: Added check-empty.xpm, check-filled.xpm, and
4739         check-missing.xpm.
4741         * check-empty.xpm, check-filled.xpm, check-missing.xpm: New xpms.
4742         Copied from gal.  check-missing.xpm is simply a transparent xpm of
4743         the correct size.
4745         * e-storage-set-view.c (etree_value_at): When getting, check if
4746         the path doesn't have a check box and return 2 in that case.
4747         (etree_set_value_at): Check if the path doesn't have a check box
4748         and don't change it in that case.  Also, just invert the value
4749         here instead of paying attention to the set value passed in.
4750         (class_init): Initialize the checks GdkPixbufs.
4751         (e_storage_set_view_construct): Create the "optional_checkbox"
4752         cell.
4754         * e-storage-set-view.etspec: Changed the cell for the checkbox
4755         column to "optional_checkbox".
4757 2002-05-14  Christopher James Lahey  <clahey@ximian.com>
4759         * evolution-storage.c (evolution_storage_new_folder): Compute the
4760         evolutionUri here and pass it in.
4762 2002-05-14  Ettore Perazzoli  <ettore@ximian.com>
4764         * e-shell-config-offline.c
4765         (init_storage_set_view_status_from_config): Add a missing
4766         CORBA_free in the case in which the typecode of the
4767         /OfflineFolders/Paths key in the ConfigDatabase doesn't match the
4768         expected type.
4770 2002-05-14  Ettore Perazzoli  <ettore@ximian.com>
4772         * e-shell.c (e_shell_go_offline): Pass self to
4773         e_shell_offline_handler_new() instead of the component registry.
4775         * e-shell-offline-handler.c: Replace member `component_registry'
4776         in EShellOfflineHandlerPrivate with a `shell' member.  Updated all
4777         the code to retrieve the component registry from the shell instead
4778         of directly.
4779         (e_shell_offline_handler_construct): Get a @shell instead of a
4780         @component_registry.
4782 2002-05-13  Christopher James Lahey  <clahey@ximian.com>
4784         * e-storage-set-view.c (e_storage_set_view_get_checkboxes_list):
4785         Changed this to just walk the hash table to get the list of
4786         checked checkboxes instead of walking the tree.  (Makes it so that
4787         checked paths will remain checked, even if they're not shown in
4788         the tree when the list is gotten.)
4790 2002-05-13  Ettore Perazzoli  <ettore@ximian.com>
4792         * e-shell-config.c: Handle the e-shell-config-offline and
4793         e-shell-config-default-folders pages.
4795         * e-shell-config-offline.h: New.
4796         * e-shell-config-offline.c: New.
4798         * e-shell-config-default-folders.h: New.
4799         * e-shell-config-default-folders.c: New.  Moved default folder
4800         page configuration in from e-shell-config.c.
4802         * GNOME_Evolution_Shell.oaf.in: Add
4803         GNOME_Evolution_Shell_Config_OfflineFolders_Control.
4805 2002-05-13  Christopher James Lahey  <clahey@ximian.com>
4807         * e-storage-set-view.c (etree_set_value_at): Added a signal when
4808         the value of the checkboxes changes.
4810 2002-05-10  Ettore Perazzoli  <ettore@ximian.com>
4812         * e-shell-shared-folder-picker-dialog.c: Add members `parent' and
4813         `shell' in DiscoveryData.
4814         (shell_view_destroy_callback): Callback for destruction of
4815         ->parent; set ->parent to NULL.
4816         (shell_destroy_callback): Callback for the desctruction of the
4817         shell; clean up everything.
4818         (discover_folder): Initialize ->parent and shell, and add the
4819         corresponding destruction handlers.
4820         (shared_folder_discovery_listener_callback): Open the discovered
4821         folder.
4822         (setup_progress_dialog): Renamed from `show_progress_dialog'.  Set
4823         up a timeout for displaying the dialog instead of displaying it
4824         right away.
4825         (progress_dialog_show_timeout_callback): Callback for showing the
4826         dialog after the callback.
4828 2002-05-10  Ettore Perazzoli  <ettore@ximian.com>
4830         * e-shell-shared-folder-picker-dialog.c
4831         (shared_folder_discovery_listener_callback): Updated for
4832         FolderResult instead of DiscoverSharedFolderResult.
4834         * Evolution-Storage.idl: Remove struct DiscoverSharedFolderResult;
4835         we want to just use FolderResult for asyncDiscoverSharedFolder.
4837 2002-05-10  Ettore Perazzoli  <ettore@ximian.com>
4839         * evolution-test-component.c: Added some tests for the custom
4840         storage.
4842         * evolution-storage.c: New signal DISCOVER_SHARED_FOLDER.
4843         (impl_Storage_asyncXferFolder): Renamed from
4844         impl_Storage_async_xfer_folder.
4845         (impl_Storage_asyncRemoveFolder): Renamed from
4846         impl_Storage_async_remove_folder.
4847         (impl_Storage_asyncCreateFolder): Renamed from
4848         impl_Storage_async_create_folder.
4849         (impl_Storage_asyncOpenFolder): Renamed from
4850         impl_storage_async_open_folder.
4851         (impl_Storage_addListener): Renamed from
4852         impl_Storage_add_listener.
4853         (impl_Storage_removeListener): Renamed from
4854         impl_Storage_remove_listener.
4855         (impl_Storage_asyncDiscoverSharedFolder): New, implementation for
4856         ::asyncDiscoverSharedFolder.
4857         (evolution_storage_get_epv): Install the CORBA method here.
4858         (class_init): Set up the "discover_shared_folder" signal here.
4859         (e_marshal_NONE__POINTER_POINTER): Yet Another Marshaller.  Die
4860         die die.
4862         * Evolution-Storage.idl (Storage::asyncDiscoverSharedFolder): New
4863         method.
4864         (StorageListener::notifySharedFolderDiscovered): New method.
4866         * e-shell-shared-folder-picker-dialog.c: New.
4867         * e-shell-shared-folder-picker-dialog.h: New.
4869         * e-shell-view-menu.c (command_open_other_users_folder): New,
4870         implementation for the FileOpenOtherUsersFolder verb.
4872         * Makefile.am: Generate stubs and skels for
4873         Evolution::Addressbook::SelectNames as well.
4875         * glade/e-shell-shared-folder-picker-dialog.glade: New.
4877 2002-05-09  Ettore Perazzoli  <ettore@ximian.com>
4879         * e-local-storage.c (construct): Pass %FALSE as
4880         @has_shared_folders to evolution_storage_new().
4882         * evolution-storage.c: New member has_shared_folders in
4883         EvolutionStoragePrivate.
4884         (init): Initialize to FALSE.
4885         (evolution_storage_new): New arg @has_shared_folders.
4886         (evolution_storage_construct): Likewise.
4887         (impl_Storage__get_folderList): Renamed from
4888         impl_Storage__get_folder_list.
4889         (impl_Storage__get_hasSharedFolders): New, implementation for
4890         ::hasSharedFolders.
4891         (evolution_storage_get_epv): Install the CORBA method
4892         implementation.
4894         * Evolution-Storage.idl: Make Storage::name a readonly attribute.  New attribute Storage::
4896 2002-05-09  Ettore Perazzoli  <ettore@ximian.com>
4898         * Evolution-Offline.idl: Rename NotPrepared to notPrepared and
4899         NotSyncing to notSyncing.
4901         * evolution-storage.c (impl_Storage__get_folder_list): Renamed
4902         from impl_Storage_get_folder_list().
4904         * Evolution-Storage.idl: Don't typedef FolderList here.  Replace
4905         `getFolderList' method with a readonly attribute.
4907 2002-05-07  Ettore Perazzoli  <ettore@ximian.com>
4909         * Evolution-Offline.idl: New interface SyncFolderProgressListener.
4910         (Offline::cancelSyncFolder): New.
4911         (Offline::syncFolder): New.
4913 2002-05-07  JP Rosevear  <jpr@ximian.com>
4915         * evolution-storage.c (get_folder_list_foreach): add every folder
4916         to the sequence except the root folder
4917         (impl_Storage_get_folder_list): implement corba method
4918         (evolution_storage_get_epv): set new method implementation
4920         * evolution-folder-selector-button.h: fix signal prototype
4922         * e-folder-tree.h: new proto
4924         * e-folder-tree.c (e_folder_tree_get_count): count nodes
4925         (count_nodes): bump count foreach path
4927         * e-corba-storage-registry.c
4928         (impl_StorageRegistry_getStorageList): implement idl method
4929         (corba_class_init): set epv method
4931         * Evolution-Storage.idl: add getStorageList and getFolderList
4932         methods
4934 2002-05-07  Ettore Perazzoli  <ettore@ximian.com>
4936         * evolution-test-component.c (create_new_folder_selector): Use the
4937         new evolution_shell_client_create_storage_set_view() call.
4939         * evolution-shell-client.c
4940         (evolution_shell_client_create_storage_set_view): New.
4942 2002-05-07  Ettore Perazzoli  <ettore@ximian.com>
4944         * evolution-storage-set-view-factory.c
4945         (evolution_storage_set_view_factory_new_view): Put the
4946         EStorageSetView in an EScrollFrame.
4948         * e-shell.c (impl_Shell_createStorageSetView):
4949         CORBA_Object_duplicate the object before returning.
4951         * evolution-test-component.c
4952         (create_new_folder_selector): New function to create a simple test
4953         environment for the new checkbox-enabled StorageSetView.
4954         (register_component): Add user-creatable type FolderSelector.
4955         (user_create_new_item_callback): Handle FolderSelector.
4956         (dialog_clicked_callback): Print out the checked items in the
4957         folder selector.
4958         (main): Print out a message before going into bonobo_main().
4960         * evolution-storage-set-view.c
4961         (impl_StorageSetView__get_showFolders): Renamed from
4962         impl_StorageSetView__get_show_folders.
4963         (impl_StorageSetView__set_showFolders): Renamed from
4964         impl_StorageSetView__set_show_folders.
4965         (impl_StorageSetView__set_showCheckboxes): New, write the
4966         showCheckboxes CORBA attribute.
4967         (impl_StorageSetView__get_showCheckboxes): New, read the
4968         showCheckboxes CORBA attribute.
4969         (impl_StorageSetView__get_checkedFolders): New, read the
4970         checkedFolders CORBA attribute.
4971         (corba_class_init): Install the new CORBA methods methods.
4973         * e-storage-set-view.c (essv_add_to_list): strdup() the path.
4974         (e_storage_set_view_get_storage_set): New.
4976         * e-folder.c (e_folder_to_corba): New.
4978         * Evolution-StorageSetView.idl: Add showCheckboxes and
4979         checkedFolders attributes.
4981         * Evolution-common.idl: Add typedef for FolderList.
4983 2002-05-03  Christopher James Lahey  <clahey@ximian.com>
4985         * e-folder-list.c: Use bonobo_object_client_(un)?ref instead of
4986         gtk_object_(un)?ref.
4987         (add_clicked): Don't pass NULL to
4988         evolution_shell_client_user_select_folder.
4990         * glade/Makefile.am: Added e-folder-list.glade
4992         * glade/e-folder-list.glade: The glade file for e-folder-list.
4994 2002-05-03  Christopher James Lahey  <clahey@ximian.com>
4996         * Makefile.am (eshellinclude_HEADERS): Added e-folder-list.h.
4997         (libeshell_la_SOURCES): Added e-folder-list.c.
4999         * e-folder-list.c, e-folder-list.h: New widget for editing a list
5000         of folder uris.
5002 2002-04-29  Christopher James Lahey  <clahey@ximian.com>
5004         * e-storage-set-view.c (e_storage_set_view_set_checkboxes_list,
5005         e_storage_set_view_get_checkboxes_list): Added these functions.
5006         Implemented checkboxes in the ETreeModel here.
5008 2002-04-19  Anna Marie Dirks  <anna@ximian.com>
5010         * glade/e-shell-config-default-folders.glade: Minor label tweaks;
5011         changed "Default folders" to "Default Folders", and added
5012         accelerators.
5014 2002-04-18  JP Rosevear  <jpr@ximian.com>
5016         * evolution-shell-view.c (impl_ShellView_show_settings): emit
5017         show_settings signal
5018         (corba_class_init): assign epv method
5019         (class_init): add signal
5021         * evolution-shell-view.h: new signal
5023         * e-shell.c (init): init settings_dialog private member
5024         (settings_dialog_destroy_cb): reset dialog pointer
5025         (e_shell_show_settings): show the settings dialog, bring it to the
5026         front if one already exists for this shell
5028         * e-shell.h: new proto
5030         * e-shell-view.c (corba_interface_show_settings): implement
5031         showSettings method
5032         (setup_corba_interface): listen for show_settings signal
5033         (e_shell_view_show_settings): show the settings dialog
5035         * e-shell-view.h: new proto
5037         * e-shell-view-menu.c (command_settings): call
5038         e_shell_view_show_settings instead
5040         * Evolution-ShellView.idl: add showSettings method
5042 2002-04-17  Ettore Perazzoli  <ettore@ximian.com>
5044         * e-shortcuts-view.c (impl_shortcut_drag_motion): New, override
5045         for EShortcutBar::shortcut_drag_motion.
5046         (impl_shortcut_drag_data_received): New, override for
5047         EShortcutBar::shortcut_drag_data_received.
5048         (class_init): Install the method overrides.
5050 2002-04-17  Christopher James Lahey  <clahey@ximian.com>
5052         * e-activity-handler.c: Updated this to match the new EPopupMenu.
5054 2002-04-17  Ettore Perazzoli  <ettore@ximian.com>
5056         * e-storage-set-view.c (handle_evolution_path_drag_motion):
5057         Removed.
5058         (impl_tree_drag_motion): Rewritten to use
5059         `e_folder_dnd_bridge_motion()'.
5060         (impl_tree_drag_data_received): Rewritten to use
5061         `e_folder_dnd_bridge_data_received()'.
5062         (convert_gdk_drag_action_to_corba): Removed.
5063         (convert_corba_drag_action_to_gdk): Removed.
5064         (find_matching_target_for_drag_context): Removed.
5066         * e-folder-dnd-bridge.c: New.
5067         * e-folder-dnd-bridge.h: New.
5069 2002-04-10  Dan Winship  <danw@ximian.com>
5071         * e-shell-config.c: Shell config page routines. Right now
5072         handles the default folders page.
5074         * glade/e-shell-config-default-folders.glade: New.
5076         * GNOME_Evolution_Shell.oaf.in: Add info for the default folders
5077         config page.
5079         * main.c (idle_cb): If we successfully registered the shell,
5080         register the config factory.
5082         * evolution-shell-client.c (evolution_shell_client_new): Note the
5083         fact that it frees the corba_shell when it is destroyed.
5085         * evolution-folder-selector-button.c
5086         (evolution_folder_selector_button_construct, destroy): Use
5087         bonobo_object_ref/unref on the shell client, not gtk.
5089         * e-shell.c (e_shell_construct): Pass local_directory to
5090         e_setup_check_db.
5091         (handle_default_uri): Fix the config db paths here to match the
5092         other routines.
5094         * e-setup.c (e_setup_check_db): Make this take the evolution
5095         directory path as well so we can properly set up file: URIs for
5096         the default folders.
5098 2002-04-09  Ettore Perazzoli  <ettore@ximian.com>
5100         * main.c (idle_cb): Change the logic for displaying a default
5101         window, so we don't end up with two windows all the time.
5103 2002-04-09  Ettore Perazzoli  <ettore@ximian.com>
5105         [Patch from Max Horn <max@quendi.de>.]
5107         * e-local-storage.c: Move <dirent.h> down the #include list so it
5108         compiles on Darwin.
5110 2002-04-09  Dan Winship  <danw@ximian.com>
5112         * e-setup.c (e_setup_check_db): New. Check that things that need
5113         to be in the config db are. Right now it sets up the default
5114         folders.
5116         * e-shell.c (e_shell_construct): Call e_setup_check_db after
5117         getting the config db.
5118         (impl_Shell_handleURI): Handle "default:" URIs by looking up the
5119         default folders in the config db.
5120         
5121         * main.c (idle_cb): Check for "default:" URIs and treat them the
5122         same way as "evolution:" URIs. If the shell fails to display all
5123         of the requested URIs, fall back to the default URI (Summary).
5125         * e-shell-constants.h: Add E_SUMMARY_URI, E_LOCAL_INBOX_URI, etc.
5127         * e-shortcuts.c (e_shortcuts_add_default_group): Use
5128         E_LOCAL_INBOX_URI, etc.
5130         * e-shell-view.c: #define FALLBACK_URI to E_SUMMARY_URI
5132 2002-04-09  Dan Winship  <danw@ximian.com>
5134         * Evolution-ShellComponent.idl (createView): Add a "view_info"
5135         argument.
5137         * e-shell-view.c (get_view_for_uri): if the URI contains a '#',
5138         split it into a URI and a "view_info" at that point. (Otherwise,
5139         pass "" for the view_info to ShellComponent_createView.) This can
5140         be used for things like specifying day/month/week view to the
5141         calendar.
5143         * e-shell.c (create_view): Ignore e_shell_view_display_uri's
5144         return code: it's possible/likely that the requested URL is remote
5145         and hasn't been filled in yet.
5146         (impl_Shell_handleURI): Don't use Shell_createNewView directly,
5147         call e_shell_create_view_from_uri_and_settings. (For the above fix
5148         and some others.)
5150         * evolution-shell-component.c (impl_createView): Add view_info.
5152         * evolution-shell-component-client.c
5153         (evolution_shell_component_client_create_view): Add view_info.
5155         * evolution-test-component.c (create_view_fn): add view_data.
5157         * e-corba-storage-registry.c
5158         (impl_StorageRegistry_getFolderByUri): kill a warning
5160 2002-04-08  Dan Winship  <danw@ximian.com>
5162         Fix "evolution evolution:/path/to/folder" to use default view
5163         prefs.
5164         
5165         * e-shell.c (impl_Shell_createNewView): Use
5166         e_shell_create_view_from_uri_and_settings to create the new view
5167         based on saved view 0 instead of always using the initial
5168         evolution defaults.
5169         (e_shell_create_view_from_uri_and_settings): Renamed and
5170         simplified; the template_view argument was useless and
5171         settings_found would always be set to TRUE in the context it was
5172         being used it.
5173         (e_shell_restore_from_settings): Simplify for
5174         e_shell_create_view_from_uri_and_settings changes.
5176         * e-shell-view.c (e_shell_view_load_settings): Only load the
5177         DisplayedURI if the view isn't already displaying a URI. Also,
5178         pass an &ev to the first bonobo_config_get_long so we can tell if
5179         it failed and bail out.
5181         * e-shell-view.h: Remove a prototype for a non-existent function
5182         (e_shell_view_remove_control_for_uri).
5184         * main.c (idle_cb): Add some comments here and remove some dead
5185         code.
5187 2002-04-06  JP Rosevear  <jpr@ximian.com>
5189         * e-shell-settings-dialog.c (page_new): set type
5190         (load_pages): get the oaf property for type and track the page
5191         number of the highest priority for each type
5192         (destroy_type_entry): destroy hash func
5193         (impl_destroy): destroy the hash table
5194         (init): create private struct and hash table
5195         (e_shell_settings_dialog_show_type): show the page of the given
5196         type
5198         * e-shell-view-menu.c (command_settings): show the page for the
5199         current folder type by default
5201         * e-shell-settings-dialog.h: new proto
5203 2002-04-06  Ettore Perazzoli  <ettore@ximian.com>
5205         * e-shell-settings-dialog.c (init): Set the title of the dialog.
5207 2002-04-04  Dan Winship  <danw@ximian.com>
5209         * evolution-shell-client.c
5210         (evolution_shell_client_get_pixbuf_for_type): Fix a memory mixup.
5212 2002-04-04  Dan Winship  <danw@ximian.com>
5214         * evolution-folder-selector-button.c: New widget for a button that
5215         displays a folder selection in a standard form, and when clicked
5216         lets the user select a new folder.
5218         * Evolution-Shell.idl (FolderSelectionListener:notifySelected):
5219         Make this take an Evolution:Folder instead of a pair of uris.
5220         (Shell:getIconByType): New method to get the icon for a type from
5221         the folder type registry.
5222         
5223         * Evolution-common.idl (Folder): add "evolutionUri" to the folder
5224         structure.
5226         * Evolution-Storage.idl (StorageRegistry:getFolderByUri): get an
5227         Evolution:Folder for a given uri.
5229         * evolution-shell-client.c
5230         (evolution_shell_client_user_select_folder): Update this to
5231         reflect the IDL change: return a GNOME_Evolution_Folder instead of
5232         a pair of URIs. Make sure it always sets *@folder_return to %NULL
5233         if it fails (even if it's a g_return_if_fail).
5234         (evolution_shell_client_get_storage_registry_interface): New.
5235         (evolution_shell_client_get_pixbuf_for_type): New. Uses
5236         Shell_getIconByType, but caches results.
5238         * e-shell.c (folder_selection_dialog_folder_selected_cb): Update
5239         for API change. (Return a GNOME_Evolution_Folder.)
5240         (impl_Shell_getIconByType): Implement.
5242         * e-corba-storage-registry.c
5243         (impl_StorageRegistry_getFolderByUri): Implement.
5245         * evolution-storage.c (evolution_storage_new_folder): Add a
5246         (dummy) evolutionUri to the folder.
5248         * Makefile.am (libeshell_la_SOURCES): add
5249         evolution-folder-selector-button.c
5250         (eshellinclude_HEADERS): and .h
5252 2002-04-04  Ettore Perazzoli  <ettore@ximian.com>
5254         * evolution-shell-component.c: Change type of parent_class to
5255         BonoboXObjectClass.
5257         * e-shell.c (pop_up_activation_error_dialog): New helper function
5258         to pop up a dialog if one of the components couldn't be activated,
5259         getting the description for the error from
5260         e_get_activation_failure_msg().
5261         (setup_components): Use this function in case of activation error.
5262         (set_owner_on_components): Likewise, when the component gets
5263         restarted.  Also get a @splash arg so we can set the parent for
5264         this dialog correctly.
5266         * e-component-registry.c (register_component): New arg @ev.
5267         (e_component_registry_register_component): Likewise.
5268         (e_component_registry_restart_component): Likewise.  Also, remove
5269         some bogus code that was #if'ed out.
5271         * evolution-shell-component-client.c
5272         (evolution_shell_component_client_new): New arg @ev.
5274         * evolution-shell-component-utils.c
5275         (e_get_activation_failure_msg): New.
5277 2002-04-03  Dan Winship  <danw@ximian.com>
5279         * e-storage.c (get_path_for_physical_uri_foreach): Deal with
5280         folders with no physical_uri.
5282 2002-04-02  Christopher James Lahey  <clahey@ximian.com>
5284         * e-storage-set-view.c (e_storage_set_view_set_show_checkboxes):
5285         Set the show_checkboxes field here instead of the show_folders
5286         field.
5288 2002-04-02  Christopher James Lahey  <clahey@ximian.com>
5290         * e-storage-set-view.c (etree_value_at): If folder is NULL, return
5291         the correct type of data.
5293 2002-04-02  Christopher James Lahey  <clahey@ximian.com>
5295         * Makefile.am (etspec_DATA): Added
5296         e-storage-set-view-checkboxes.etstate and
5297         e-storage-set-view-no-checkboxes.etstate here.
5299         * e-storage-set-view-checkboxes.etstate,
5300         e-storage-set-view-no-checkboxes.etstate: The two possible states
5301         of the EStorageSetView.
5303         * e-storage-set-view.c, e-storage-set-view.h
5304         (e_storage_set_view_set_show_checkboxes,
5305         e_storage_set_view_get_show_checkboxes): Added this functionality.
5306         Added a model column to the underlying table for the checkbox
5307         data.
5309         * e-storage-set-view.etspec: Added a view column for the
5310         checkboxes.
5312 2002-03-29  Ettore Perazzoli  <ettore@ximian.com>
5314         * e-shell-settings-dialog.c: Add type "Page".
5315         (page_new): New helper function.
5316         (page_free): New helper function.
5317         (compare_page_func): Callback for sorting a GList of pages.
5318         (sort_page_list): New helper function.
5319         (load_pages): Create the pages, sort them, add them sorted.  Now
5320         we have a priority field that overrides alphabetical sorting.
5322 2002-03-26  Ettore Perazzoli  <ettore@ximian.com>
5324         * e-component-info.c: New.
5325         * e-component-info.h: New.
5327 2002-03-26  Ettore Perazzoli  <ettore@ximian.com>
5329         * e-shell-settings-dialog.c (load_pages): g_warning if the control
5330         cannot be activated.
5332 2002-03-25  Dan Winship  <danw@ximian.com>
5334         * e-shell.c (e_shell_construct): Register a "working" folder type
5335         with the hourglass icon. (Would eventually like an animated gif,
5336         when ETable supports that.)
5338         * e-storage.c (e_storage_has_subfolders): Use "working" rather
5339         than "noselect" as the folder type.
5341         * e-shell-view.c (get_view_for_uri): Simplify a bit.
5343 2002-03-22  Ettore Perazzoli  <ettore@ximian.com>
5345         * e-shell-settings-dialog.c (get_language_list): Removed.
5346         (load_pages): Use e_get_language_list() here instead.  Also, free
5347         using e_free_language_list().
5349 2002-03-22  Dan Winship  <danw@ximian.com>
5351         * evolution-storage.c (evolution_storage_update_folder): Fix a
5352         "how can this ever have worked" bug to make unread message counts
5353         start working again. (#22293 etc)
5354         (evolution_storage_removed_folder): Oops. Fix here too.
5355         (evolution_storage_has_subfolders): And here. When cut and paste
5356         goes bad...
5358         * e-shell-folder-commands.c (e_shell_command_rename_folder): Use
5359         e_folder_get_name. Don't assume it's the same as the last path
5360         element.
5362 2002-03-21  Dan Winship  <danw@ximian.com>
5364         * e-splash.c (e_splash_construct): Set the wmclass to
5365         "evolution-splash" so sawfish knows it's not the same kind of
5366         window as the main window.
5368 2002-03-20  Ettore Perazzoli  <ettore@ximian.com>
5370         * e-shell-view-menu.c: Make all the verb/menu arrays appropriately
5371         static.
5373 2002-03-20  Ettore Perazzoli  <ettore@ximian.com>
5375         * e-shell-view-menu.c (command_send_receive): New, implementation
5376         for the "SendReceive" verb.
5378         * e-shell.c (e_shell_send_receive): New.
5380         * evolution-shell-component.c (impl_sendReceive): Implementation
5381         of ShellComponent::sendReceive.
5382         (class_init): Add the "send_receive" signal.
5384         * evolution-shell-component.h: Added `send_receive' signal.
5386         * Evolution-ShellComponent.idl: Added ShellComponent::sendReceive.
5388 2002-03-18  Ettore Perazzoli  <ettore@ximian.com>
5390         * e-storage-set-view.etspec: Add `search="string"' for the
5391         keyboard navigability search thingy.
5393 2002-03-15  Jeffrey Stedfast  <fejj@ximian.com>
5395         * e-activity-handler.c (show_cancellation_popup): Updated to use
5396         new EPopupMenu API.
5398 2002-03-14  Dan Winship  <danw@ximian.com>
5400         Support for delayed filling-in of storages/folders.
5402         * Evolution-Storage.idl (StorageListener): add
5403         notifyHasSubfolders, to announce that a folder has currently-
5404         unknown subfolders.
5405         (Storage): add asyncOpenFolder, to request that previously-
5406         announced subfolders be filled in.
5408         * evolution-storage.c (impl_Storage_async_open_folder): emit
5409         OPEN_FOLDER.
5410         (evolution_storage_has_subfolders): Implement by calling
5411         notifyHasSubfolders on all of its listeners.
5413         * evolution-storage-listener.c
5414         (impl_GNOME_Evolution_StorageListener_notifyHasSubfolders): emit
5415         HAS_SUBFOLDERS.
5417         * e-corba-storage.c (impl_StorageListener_notifyHasSubfolders):
5418         Implement by calling e_storage_has_subfolders.
5419         (async_open_folder): Implement by calling asyncOpenFolder on the
5420         CORBA storage.
5422         * e-storage.c (EStoragePrivate, init, destroy): Keep a list of
5423         pseudofolders representing un-filled-in subtrees.
5424         (impl_async_open_folder): No-op default implementation
5425         (e_storage_async_open_folder): New function to request that
5426         un-filled-in subtrees be filled in.
5427         (e_storage_new_folder): If the new folder's parent has an
5428         "un-filled-in children" pseudofolder, remove it.
5429         (e_storage_has_subfolders): New function to note that a folder has
5430         unknown children. If the folder previously was marked as having
5431         real children, remove them, and emit CLOSE_FOLDER to reset it back
5432         to an a "unknown subfolders" state.
5434         * e-storage-set.c (make_full_path): Make this deal with path being
5435         "/", since that case gets used from storage_close_folder_cb
5436         sometimes.
5437         (storage_close_folder_cb): Proxy EStorage's CLOSE_FOLDER signal.
5438         (storage_set_view_folder_opened): Handle EStorageSetView's
5439         FOLDER_OPENED signal by calling e_storage_async_open_folder.
5441         * e-storage-set-view.c (etree_fill_in_children): If the given node
5442         is its parent's first child, emit FOLDER_OPENED for the parent.
5443         (close_folder_cb): Handler for EStorageSet's CLOSE_FOLDER signal.
5444         Ask the model to close that node.
5445         (e_storage_set_view_construct): Set the default expanded state for
5446         the tree to FALSE rather than TRUE, to prevent unwanted expansion
5447         of delayed nodes. (This only affects the very first time the tree
5448         is displayed anyway: after that its state is loaded off disk.)
5450         * e-shell.c (e_shell_construct): Register the "noselect" type with
5451         the folder type registry, so icon lookups on placeholder folders
5452         will work.
5454 2002-03-13  Ettore Perazzoli  <ettore@ximian.com>
5456         * e-shell-settings-dialog.c (load_pages): Use
5457         `evolution:config_item:icon_name' instead of
5458         `evolution:config_item:icon_path'.  If it's not an absolute path,
5459         load from the IMAGESDIR.  Also, no need to specify the language
5460         list for this one, as the icon name shouldn't be translated.
5462 2002-03-12  Ettore Perazzoli  <ettore@ximian.com>
5464         * evolution-test-component.c (create_configuration_page): Update
5465         to create an EvolutionConfigControl instead of just a
5466         BonoboControl.
5468         * e-corba-config-page.c (e_corba_config_page_construct): Get a
5469         GNOME_Evolution_ConfigControl instead of a CORBA_Object.  Retrieve
5470         the control from it using ::_get_control instead of just assuming
5471         it's a control.  Also return a boolen indicating success or
5472         failure.
5473         (e_corba_config_page_new): Likewise, get a
5474         GNOME_Evolution_ConfigControl.
5475         (setup_listener): Renamed from `setup_config_control_interface'.
5476         Get a ::ConfigControl instead of a CORBA::Object.  Thus, no need
5477         to queryInterface here anymore.
5479         * evolution-config-control.c, evolution-config-control.h: New,
5480         implementation for the Evolution::ConfigControl interface.
5482         * Evolution-ConfigControl.idl: New attribute `control'.
5484 2002-03-09  Ettore Perazzoli  <ettore@ximian.com>
5486         * e-shell-folder-commands.c (e_shell_command_rename_folder): Make
5487         old_name_locale non-const to placate a compiler warning.
5488         (get_corba_null_value): Likewise.
5490         * e-activity-handler.c (report_task_event): `#if 0' out.
5492 2002-03-09  Ettore Perazzoli  <ettore@ximian.com>
5494         * e-shell-settings-dialog.c (load_pages): Use ECorbaConfigPages.
5496         * e-corba-config-page.c: New.
5497         * e-corba-config-page.h: New.
5499         * Evolution.idl: #include <Evolution-ConfigControl.idl>.
5501         * Evolution-ConfigControl.idl: New IDL for configuration Controls
5502         that will be displayed in the global config dialog.
5504 2002-03-08  Dan Winship  <danw@ximian.com>
5506         * e-storage-set-view.[ch]: Note that e_storage_set_view_new
5507         shouldn't be used directly.
5509         * e-shell-view.c (setup_storage_set_subwindow): Use
5510         e_storage_set_new_view instead of e_storage_set_view_new.
5512         * evolution-storage-set-view-factory.c
5513         (evolution_storage_set_view_factory_new_view): Likewise.
5515 2002-03-07  Ettore Perazzoli  <ettore@ximian.com>
5517         * evolution-test-component.c (create_configuration_page): New
5518         function to create a test configuration page for the test
5519         component.
5520         (configuration_control_factory_fn): Factory function for the
5521         configuration controls.
5522         (register_configuration_control_factory): New function to register
5523         the factory.
5524         (main): Call it.
5526         * e-shell-view-menu.c: Add verb "Settings".
5527         (command_settings): Implementation for the "Settings" verb.
5529         * GNOME_Evolution_TestComponent.oaf: Add a configuration control.
5531         * e-shell-settings-dialog.c: New.
5532         * e-shell-settings-dialog.h: New.       
5534 2002-03-07  Dan Winship  <danw@ximian.com>
5536         Addendum to previous commit: Remove "storage_selected" vs
5537         "folder_selected" distinction.
5539         * evolution-storage-set-view.c
5540         (storage_set_view_widget_storage_selected_cb): Removed.
5542         * evolution-storage-set-view-listener.c
5543         (impl_GNOME_Evolution_StorageSetViewListener_notifyStorageSelected):
5544         Removed.
5545         (class_init): Remove STORAGE_SELECTED signal.
5547         * e-storage-set-view.c (impl_cursor_activated): Always emit
5548         FOLDER_SELECTED, never STORAGE_SELECTED.
5549         (class_init): Remove STORAGE_SELECTED signal.
5551         * e-shell-view.c (storage_selected_cb): Removed.
5553         * e-shell-folder-creation-dialog.c
5554         (storage_set_view_storage_selected_cb): Removed.
5556         * Evolution-StorageSetView.idl (StorageSetViewListener): Remove
5557         notifyStorageSelected.
5559 2002-03-07  Dan Winship  <danw@ximian.com>
5561         Make storages-with-toplevel-views less of a hack.
5563         * e-folder-tree.c (e_folder_tree_add): Allow the caller to "add" a
5564         root folder, if the existing root folder has no children.
5565         (e_folder_tree_new): Use e_folder_tree_add to create the root
5566         folder, since it can do that now.
5568         * e-storage.c: (e_storage_construct): Replace toplevel_node_uri
5569         and toplevel_node_type args with root_folder.
5570         (e_storage_new): Likewise.
5571         (*): Remove toplevel uri/type stuff everywhere. Also remove
5572         display_name since now we will use the name of the root folder for
5573         that.
5575         * evolution-storage.c: Remove toplevel uri/type stuff everywhere.
5577         * e-local-storage.c (construct): Pass root_folder to
5578         e_storage_construct instead of toplevel uri/type.
5579         Also, evolution_storage_new no longer takes toplevel uri/type.
5581         * e-corba-storage.c (e_corba_storage_construct): Out with toplevel
5582         uri/type, in with root_folder.
5583         (e_corba_storage_new): Remove toplevel uri/type.
5585         * e-shell.c (setup_local_storage): Create a top-level folder of
5586         type "summary" for the Summary storage.
5588         * e-storage-set-view.c (set_e_shortcut_selection): Remove
5589         special-case for storages.
5590         (etree_icon_at): Remove special case for figuring out storage
5591         icons (but leave the code for storages without icons).
5592         (etree_value_at): Remove special case for storage names. (But
5593         still make storages always bold.) Remove unused special-case code
5594         for Summary.
5596         * e-shortcuts.c (load_shortcuts): Remove special case for
5597         storages, reorganize a bit.
5599         * e-shortcuts-view.c (get_shortcut_info): Remove special case for
5600         storages.
5602         * e-shell-view.c (update_for_current_uri): Remove special case for
5603         storages.
5604         (socket_destroy_cb): Likewise.
5605         (get_type_for_storage): No longer needed.
5606         (get_view_for_uri): No longer needs to special-case storages (but
5607         add a special case for folders of type "noselect", to make them
5608         unselectable like storages-without-toplevel-views used to be).
5610         * e-storage-set.c (get_storage_for_path): If passed "/foo", return
5611         "/" as subpath_return so e_storage_set_get_folder will DTRT in the
5612         NWO.
5614         * Evolution-Storage.idl (addStorage): Remove the toplevel_node_uri
5615         and toplevel_node_type arguments.
5617         * e-corba-storage-registry.c (impl_StorageRegistry_addStorage):
5618         Likewise.
5620 2002-03-06  Dan Winship  <danw@ximian.com>
5622         * e-storage.c: Keep the storage name and display_name in
5623         EStoragePriv.
5624         (impl_get_name, impl_get_display_name): Return them.
5625         (e_storage_construct): Set them here.
5626         (e_storage_new): And here.
5628         * e-local-storage.c: (impl_get_name, impl_get_display_name):
5629         Removed.
5630         (construct): Pass E_LOCAL_STORAGE_NAME and U_("Local Folders") to
5631         e_storage_construct.
5633         * e-corba-storage.c: Remove priv->name.
5634         (get_name, get_display_name): Removed.
5635         (e_corba_storage_construct): Pass name to e_storage_construct().
5637         * e-summary-storage.[ch]: Gone. This didn't override anything in
5638         EStorage but get_name/get_display_name, and the defaults for those
5639         DTRT now.
5640         
5641         * e-shell-constants.h: Move E_SUMMARY_STORAGE_NAME here from
5642         e-summary-storage.h, and move E_LOCAL_STORAGE_NAME too for
5643         consistency.
5645         * e-storage-set-view.c: Fix up #includes.
5647         * e-shell-importer.c: Likewise
5649         * e-shell.c: Likewise. Create summary_storage as a plain EStorage
5650         since ESummaryStorage is gone now.
5652         * Makefile.am (evolution_SOURCES): Remove e-summary-storage.[ch]
5654 2002-03-06  Dan Winship  <danw@ximian.com>
5656         * e-corba-storage-registry.c
5657         (impl_StorageRegistry_removeListener): Fix up GList/GSList
5658         confusion.
5660         * e-shell-user-creatable-items-handler.c
5661         (get_default_action_for_view): Don't look into the types list if
5662         it's empty.
5664 2002-03-06  Ettore Perazzoli  <ettore@ximian.com>
5666         * e-shell-about-box.c: Reduce width of the copyright message so it
5667         looks prettier with the new Rupert artwork.
5669 2002-03-04  Iain Holmes  <iain@ximian.com>
5671         * Evolution-Storage.idl: Add some methods to the StorageRegistry 
5672         interface to get a storage, and add or remove listeners. Also add a
5673         new exception and some structs and enums for messages.
5675         * e-corba_storage-registry.c: Add a GSList to the private stuct for
5676         recording the listeners.
5677         (listener_notify): Send a message to the listeners.
5678         (impl_StorageRegistry_getStorageByName): Implementation of the
5679         getStorageByName method. Returns the associated storage interface
5680         (storage_set_foreach): Loop through all the storages in the storageset
5681         and notify the listeners about them.
5682         (find_listener): Find a listener in the list of them.
5683         (impl_StorageRegistry_addListener): Add a new listener to the
5684         registry.
5685         (impl_StorageRegistry_removeListener): Remove a listener.
5686         (corba_class_init): Add the new methods to the EPV.
5687         (init): NULL the listeners list.
5689         * e-corba-storage.[ch] (e_corba_storage_get_corba_objref): Get the CORBA
5690         interface from the GtkObject.
5691         
5692 2002-03-04  Ettore Perazzoli  <ettore@ximian.com>
5694         [Fix #20234, Deleting Folder gratuitiously causes /local to open.]
5696         * e-shell-view.c (find_inbox_in_storage): New helper function to
5697         heuristically find an Inbox folder.
5698         (handle_current_folder_removed): New function to handle the
5699         removal of the currently displayed folder in a slightly smarter
5700         way than before.  It tries to display the parent folder of the
5701         folder that got deleted and, if not possible, the Inbox in the
5702         same storage.  If neither of this is possible, it displays the
5703         default local Inbox.  [It still doesn't handle the case where you
5704         have no Inbox gracefully, but that can come later.]
5705         (storage_set_removed_folder_callback): Call
5706         `handle_current_folder_removed'.
5708 2002-03-04  Ettore Perazzoli  <ettore@ximian.com>
5710         [Fix #20237, Shell silently drops xfer_folder errors.]
5712         * e-shell-folder-commands.c (xfer_result_callback): Display an
5713         error message if the operation failed.
5715 2002-02-26  Ettore Perazzoli  <ettore@ximian.com>
5717         [This gets rid of some spurious "could not find handler" messages
5718         on exit.  What happened is that the signal would be disconnected
5719         twice, once by cleanup_delayed_selection() and once by the
5720         while_alive handler.]
5722         * e-shell-view.c (destroy): Call cleanup_delayed_selection() here.
5723         (e_shell_view_display_uri): Use gtk_signal_connect_full(), not
5724         e_gtk_signal_connect_full_while_alive().
5726 2002-02-23  Ettore Perazzoli  <ettore@ximian.com>
5728         * e-shell-about-box.c: Add year 2002 to the copyright.
5730 2002-02-23  Ettore Perazzoli  <ettore@ximian.com>
5732         * e-storage-set-view.c (impl_destroy): Renamed from `destroy'.
5733         (impl_right_click): Renamed from `right_click'.
5734         (impl_cursor_activated): Renamed from `cursor_activated'.
5735         (impl_tree_start_drag): Renamed from `tree_start_drag'.
5736         (impl_tree_drag_begin): Renamed from `tree_drag_begin'.
5737         (impl_tree_drag_end): Renamed from `tree_drag_end'.
5738         (impl_tree_drag_data_get): Renamed from `tree_drag_data_get'.
5739         (impl_tree_drag_data_delete): Renamed from
5740         `tree_drag_data_delete'.
5741         (impl_tree_drag_motion): Renamed from `tree_drag_motion'.
5742         (impl_tree_drag_leave): Renamed from `tree_drag_leave'.
5743         (impl_tree_drag_drop): Renamed from `tree_drag_drop'.
5744         (impl_tree_drag_data_received): Renamed from
5745         `tree_drag_data_received'.
5747 2002-02-22  Ettore Perazzoli  <ettore@ximian.com>
5749         [Fix #3029, Offline mode should be preserved across sessions.]
5751         * main.c (idle_cb): Use the e_shell_new() API below so that we use
5752         the saved offline settings at the next start-up if neither
5753         --offline nor --online has been specified.
5755         * e-shell.c (save_misc_settings): New function.  For now, just
5756         save `/Shell/StartOffline' indicating whether the shell should
5757         start in offline mode or not.
5758         (e_shell_construct): Replace @start_online with
5759         @startup_line_mode.
5760         (e_shell_new): Likewise.
5762         * e-shell.h: New enum EShellStartupLineMode.
5764 2002-02-22  Ettore Perazzoli  <ettore@ximian.com>
5766         * e-shell-view.c (remove_uri_from_history): New helper function to
5767         remove all the matching URIs from the history.
5768         (history_uri_matching_func): Compare function for using
5769         e_history_remove_matching.
5770         (storage_set_removed_folder_callback): Call
5771         `remove_uri_from_history()'.
5773         * e-history.c (e_history_remove_matching): New.
5775 2002-02-22  Ettore Perazzoli  <ettore@ximian.com>
5777         * e-shell-view.c (update_navigation_buttons): New.
5778         (display_uri): Call it before returning so the navigation buttons
5779         always have the right sensitivity.
5781         * e-shell-folder-title-bar.c
5782         (e_shell_folder_title_bar_update_navigation_buttons): New.
5783         (add_navigation_buttons): Remove the "Back" label.
5785 2002-02-22  Ettore Perazzoli  <ettore@ximian.com>
5787         * e-shell-view.c: New member `history' in `EShellViewPrivate'.
5788         (init): Initialize.
5789         (destroy): Unref.
5790         (e_shell_view_display_uri): Make it a no-op if the URI is the same
5791         as the current one.  Also, moved code into `display_uri' and use
5792         it.
5793         (back_clicked_callback): New, callback for the back button on the
5794         folder title bar.
5795         (forward_clicked_callback): Likewise for the forward button.
5797         * e-history.c: New.
5798         * e-history.h: New.
5800 2002-02-22  Ettore Perazzoli  <ettore@ximian.com>
5802         * e-shell-view.c (e_shell_view_show_folder_bar):
5803         `e_shell_folder_title_bar_set_title_clickable()', not
5804         `e_shell_folder_title_bar_set_clickable()'.
5806         * e-shell-folder-title-bar.c: Rename `button', `button_label' and
5807         `button_arrow' to `title_button', `title_button_label' and
5808         `title_button_arrow'.  Renamed `label' to `title_label'.  Renamed
5809         `arrow_xpm' to `down_arrow_xpm'.  Added `left_arrow.xpm' and
5810         `right_arrow.xpm'.
5811         (class_init): Add the "back_clicked" and "forward_clicked"
5812         signals.
5813         (add_navigation_buttons): New function to add the navigation
5814         buttons to the title bar.
5815         (back_button_clicked_callback): Callback for the back button,
5816         emits "back_clicked".
5817         (forward_button_clicked_callback): Callback for the forward
5818         button, emits "forward_clicked".
5819         (e_shell_folder_title_bar_construct): Call
5820         `add_navigation_buttons()'.
5821         (forward_button_clicked_callback):
5822         (create_arrow_pixmap): Removed.
5823         (create_pixmap_widget_from_xpm): New.
5824         (title_button_box_realize_cb): Removed.
5825         (e_shell_folder_title_bar_construct): Don't connect.  Just add the
5826         icon normally using the new `create_pixmap_widget_from_xpm()'.
5827         (e_shell_folder_title_bar_set_title_clickable): Renamed from
5828         `e_shell_folder_title_bar_set_clickable'.
5829         (size_allocate_navigation_buttons): New.
5830         (size_allocate_title_button): Get an @offset.
5831         (size_allocate_label): Get an @offset.
5832         (size_allocate): Allocate the navigation buttons and offset
5833         everything else accordingly.
5835         * e-shell-folder-title-bar.h: New signals "back_clicked",
5836         "forward_clicked".
5838 2002-02-21  Ettore Perazzoli  <ettore@ximian.com>
5840         * e-shell-user-creatable-items-handler.c
5841         (get_default_action_for_view): Return NULL if there is no
5842         component ID for the current view.
5843         
5844 2002-02-21  Ettore Perazzoli  <ettore@ximian.com>
5846         * e-shell-user-creatable-items-handler.c (ensure_menu_items): Set
5847         the icons for all the "New..." menu items from the specified one
5848         in the type definitions.
5850         * e-activity-handler.c (create_gdk_pixbuf_from_corba_icon):
5851         Removed.
5852         (impl_operationStarted): Just use
5853         `e_new_gdk_pixbuf_from_corba_icon()'.
5855         * e-shell-corba-icon-utils.c (e_new_gdk_pixbuf_from_corba_icon):
5856         New.
5858 2002-02-20  Ettore Perazzoli  <ettore@ximian.com>
5860         [Fix #20311, new window from Shortcuts should not show the folder
5861         bar and the shortcut bar.  Also do the same for right-click on the
5862         folder bar.]
5864         * e-shell-view-menu.c (command_open_folder_in_new_window): Don't
5865         show the folder bar and the shortcut bar in the new window.
5867         * e-shell-view.c (activate_shortcut_cb): Don't show the folder bar
5868         and the shortcut bar in the new window.
5870         * e-shell-view.c (e_shell_create_view): Don't flush the GTK events
5871         here.
5873 2002-02-20  Ettore Perazzoli  <ettore@ximian.com>
5875         * e-shell.c (e_shell_construct): New arg @start_online.  If true,
5876         invoke `e_shell_go_online()' before returning.
5877         (e_shell_new): New arg @start_online.  Pass it to
5878         e_shell_construct().
5879         (init): Default ->line_status to E_SHELL_LINE_STATUS_OFFLINE.
5881         * main.c (main): Add "--offline" and "--online" options.
5883 2002-01-30  Not Zed  <NotZed@Ximian.com>
5885         * e-storage-set-view.c (popup_folder_menu): Use
5886         right_click_row_path rather than selected_row_path, so clients get
5887         the uri that was actually clicked on.
5889 2002-01-27  Ettore Perazzoli  <ettore@ximian.com>
5891         * Makefile.am: Use SHELL_CFLAGS and SHELL_LIBS.
5892         * importer/Makefile.am: Likewise.
5894 2002-01-24  Ettore Perazzoli  <ettore@ximian.com>
5896         * Makefile.am: Just use BONOBO_HTML_GNOME_CFLAGS and
5897         BONOBO_HTML_GNOME_LIBS for compiling/linking; we don't need the
5898         other ones.
5900 2002-01-23  Ettore Perazzoli  <ettore@ximian.com>
5902         * e-shell-user-creatable-items-handler.c: New member `id' in
5903         struct `Component'.  New member `icon' in struct `MenuItem'.
5904         (component_free): Free ->id.
5905         (component_new): Renamed from `component_new_from_client'.  Get an
5906         @id arg and set ->id accordingly.
5907         (e_shell_user_creatable_items_handler_add_component): New arg @id.
5908         Pass it to `component_new'.
5909         (e_shell_user_creatable_items_handler_setup_menus): New arg
5910         @current_component_id.
5911         (e_shell_user_creatable_items_handler_update_menus): New.
5912         (set_current_component): New helper function.
5913         (get_component_by_id): New helper function.
5914         (add_verbs): Renamed from `add_verbs_to_ui_component()'.  Get a
5915         @shell_view instead of a @ui_component.  Set the SHELL_VIEW_KEY on
5916         the ui_component of the shell_view to point to the shell_view
5917         itself.
5918         (ensure_menu_items): Set item->icon to NULL.
5919         (free_menu_items): Unref item->icon.
5920         (ensure_menu_xml): Set the icon as well.
5921         (get_default_action_for_view): New helper function.
5922         (find_menu_item_for_verb): New helper function.
5923         (shell_view_view_changed_callback): New callback, set up the label
5924         on the "New" button depending on the current component.
5925         (e_shell_user_creatable_items_handler_attach_menus): New.  For
5926         now, do not display the toolbar button yet.
5927         (execute_verb): New helper function, splitting out code from
5928         `verb_fn'.
5929         (verb_fn): Use `execute_verb'.
5930         (combo_button_activate_default_callback): Callback for the
5931         "activate_default" signal on the EComboButton.
5932         (setup_toolbar_button): Connect.
5934         * evolution-shell-component.c: New member `icon' in
5935         `UserCreatableItemType'.
5936         (impl__get_userCreatableItemTypes): Put the ->icon in the
5937         corba_type as well.
5938         (user_creatable_item_type_new): Get a new @icon argument.
5939         (evolution_shell_component_add_user_creatable_item): New arg
5940         @icon.
5942         * Evolution-ShellComponent.idl: New member `icon' in struct
5943         `UserCreatableItemType'.
5945         * evolution-test-component.c (register_component): Pass a NULL
5946         @icon to `evolution_shell_component_add_user_creatable_item()'.
5948         * e-shell-view.c (class_init): Add the signal to the class.
5949         (e_shell_view_display_uri): Emit "view_changed".
5950         (e_shell_view_get_current_component_id): New.
5952         * evolution-shell-component-client.c: New member `id' in
5953         EvolutionShellComponentClientPrivate.
5954         (init): Init to NULL.
5955         (impl_destroy): Free.
5956         (evolution_shell_component_client_new_for_objref): Removed.
5957         (evolution_shell_component_client_construct): New arg @id.
5958         Initialize ->id from it.
5959         (evolution_shell_component_client_get_id): New.
5961         * e-shell-view.h: New signal "view_changed".
5963         * evolution-activity-client.c (create_icon_from_pixbuf): Removed.
5964         (create_corba_animated_icon_from_pixbuf_array): Removed.
5965         (evolution_activity_client_construct): Use
5966         `e_new_corba_animated_icon_from_pixbuf_array()' instead.
5968         * e-shell-icon-utils.h: New.
5969         * e-shell-icon-utils.c: New.
5971 2002-01-23  Ettore Perazzoli  <ettore@ximian.com>
5973         [Patch by Michael Meeks <michael@ximian.com>.]
5975         * e-splash.c (e_splash_set_icon_highlight): g_return if there is
5976         no num-th icon.
5978 2002-01-15  Iain Holmes  <iain@ximian.com>
5980         * e-shell-importer.c (show_import_wizard): Set the importer druid
5981         as a transient window of the parent shell.
5983 2002-01-15  Ettore Perazzoli  <ettore@ximian.com>
5985         [Fix #17441, Crash trying to import Multiple VCard file into LDAP
5986         folder.]
5988         * e-shell-importer.c (show_error): Add a NULL in the call to
5989         `gnome_message_box_new()'.
5991 2001-12-14  Michael Meeks  <michael@ximian.com>
5993         * e-shell-view.c (set_current_notebook_page): re-order
5994         activate / de-activate to minimise flicker switching between
5995         identical components.
5997 2002-01-11  Damon Chaplin  <damon@ximian.com>
5999         * e-shell-startup-wizard.c (finish_func): handle translated timezone
6000         names.
6002         * Makefile.am (INCLUDES): added -I$(top_srcdir)/libical/src/libical.
6004 2001-12-17  Ettore Perazzoli  <ettore@ximian.com>
6006         * e-shell-about-box.c: Add Michael MacDonald.
6008 2001-12-17  Ettore Perazzoli  <ettore@ximian.com>
6010         [Fix #17377, Evolution doesn't work on multi-depth displays.]
6012         * main.c (main): Push GdkRGB visual and colormap.
6014 2001-12-17  Ettore Perazzoli  <ettore@ximian.com>
6016         [Fix #16693.  What happens there is that the user closed the
6017         dialog before the async operation was completed, so when the
6018         notification was received the shell crashed.]
6020         * e-shell-folder-creation-dialog.c: New member
6021         `creation_in_progress' in `DialogData'.
6022         (e_shell_show_folder_creation_dialog): Init to %FALSE.
6023         (async_create_cb): Set to %FALSE.  Also, if the
6024         dialog_data->dialog is %NULL, free the dialog_data before
6025         returning.
6026         (dialog_clicked_cb): Set to %TRUE.
6027         (dialog_destroy_cb): If a creation is in progress, just set the
6028         widget pointers in the DialogData struct to %NULL instead of
6029         freeing the whole struct.
6030         (async_create_cb): Make the OK and Cancel buttons sensitive.
6031         (dialog_clicked_cb): Make them insensitive here.
6033 2001-12-12  Ettore Perazzoli  <ettore@ximian.com>
6035         [Fix #17258, shell displays splash even if Evolution is already
6036         running.]
6038         * e-shell.c (e_shell_construct): Display the splash screen only if
6039         the registration succeeds.
6041 2001-12-10  Ettore Perazzoli  <ettore@ximian.com>
6043         [Fix #14838, saving passwords doesn't work.  It is actually a
6044         workaround for some obscure Bonobo-conf bug.]
6046         * e-setup.c (setup_bonobo_conf_private_directory): New helper
6047         function to create the `~/evolution/private' directory.
6048         (e_setup): Call it.
6050 2001-12-07  Iain Holmes  <iain@ximian.com>
6052         [Trying to fix #14701, importing locks up Evolution.]
6054         * e-shell-importer.c (show_error): Show an error message, but not
6055         modally.
6056         (start_import): Use above function so none of the errors are modal.
6057         (folder_selected): Hide the folder dialog.
6058         
6059 2001-12-04  Ettore Perazzoli  <ettore@ximian.com>
6061         [Fix #7827, Switching desktops leaves the folder bar popped up.]
6063         * e-shell-view.c (folder_bar_popup_map_callback): And grab the
6064         keyboard as well.
6065         (popdown_transient_folder_bar): Ungrab the keyboard as well.
6066         (switch_on_folder_tree_click): Likewise.
6068         [Fix #16507, Right Click -> View does nothing.]
6070         * e-shell-view-menu.c: New verb "ActivateView".
6071         (command_activate_view): New, callback for the "ActivateView"
6072         verb.
6074 2001-11-15  Zbigniew Chyla  <cyba@gnome.pl>
6076         * e-shell-folder-commands.c (e_shell_command_rename_folder): Convert
6077         folder name to locale's encoding before using it as part of the prompt.
6079 2001-11-28  Federico Mena Quintero  <federico@ximian.com>
6081         Fixes bug #3290.
6083         * e-shell-folder-selection-dialog.c
6084         (e_shell_folder_selection_dialog_construct): Use our own filename
6085         for the collapsation state of the tree, instead of sharing the one
6086         of shell view number 0.
6087         (save_expanded_state): New function, saves the collapsation state
6088         of the tree.
6089         (impl_destroy): Call save_expanded_state().
6091 2001-11-14  Ettore Perazzoli  <ettore@ximian.com>
6093         * e-shell-about-box.c: Add more contributors to the box.
6095 2001-11-14  Damon Chaplin  <damon@ximian.com>
6097         * e-shell-startup-wizard.c (finish_func): make timezone default to
6098         "UTC" rather than "".
6100 2001-11-12  Iain Holmes  <iain@ximian.com>
6102         * e-shell-startup-wizard.c (make_identity_page): Check for exception.
6103         (make_receive_page): Check for exception.
6104         (make_extra_page): Check for exception.
6105         (make_transport_page): Check for exception.
6106         (make_management_page): Check for exception.
6108 2001-11-06  Iain Holmes  <iain@ximian.com>
6110         * e-shell-startup-wizard.c (make_timezone_page): Move the call to
6111         e_timezone_dialog_new out of the the GTK_OBJECT macro to stop it
6112         being called 4 times, and leaking 3.
6114 2001-11-05  Ettore Perazzoli  <ettore@ximian.com>
6116         * e-storage-set-view.c (set_e_shortcut_selection): Get the storage
6117         name if we are dragging a storage instead of a folder.
6119 2001-11-01  Anna Marie Dirks  <anna@ximian.com>
6121         * e-shell-importer.c (prepare_intelligent_page): Fixed spacing and
6122         alignment probelms. (See bug #14281)
6124         * e-shell-startup-wizard.c (prepare_importer_page): Fixed
6125         spacing and alignment problems. (See bug #14281) 
6127 2001-11-05  Dan Winship  <danw@ximian.com>
6129         * e-storage-set-view.c (set_e_shortcut_selection): Set the
6130         shortcut name to be the folder name, not just the last component
6131         of its path, which may be different.
6133 2001-11-01  Ettore Perazzoli  <ettore@ximian.com>
6135         * glade/evolution-startup-wizard.glade: `timezone-48.png', not
6136         `timezone.png'.
6138 2001-11-01  Anna Marie Dirks  <anna@ximian.com>
6140         * glade/evolution-startup-wizard.glade: Changed the welcome
6141         message and the finishing message to be more descriptive. Also
6142         changed the window title to be "Evolution Setup Assistant". Finally,
6143         fixed a misnamed icon (replaced timezone.png with timezone-48.png).
6144         Partially fixes bug #14281 and totally fixes #14286. 
6146 2001-10-31  Christopher James Lahey  <clahey@ximian.com>
6148         * e-storage-set-view.c (cursor_activated): Don't do operations on
6149         a NULL path.
6150         (updated_folder_cb, folder_changed_cb): Send pre_change signal
6151         here.
6153 2001-10-31  Ettore Perazzoli  <ettore@ximian.com>
6155         * e-storage-set-view.c (handle_evolution_path_drag_motion): If the
6156         source folder is stock and the operation is GDK_ACTION_MOVE,
6157         always return %FALSE as we don't want that to be allowed ever.
6159 2001-10-30  Ettore Perazzoli  <ettore@ximian.com>
6161         * e-shell-view.c (bonobo_widget_is_dead): Removed.
6162         (show_existing_view): Don't call it.
6164 2001-10-30  Ettore Perazzoli  <ettore@ximian.com>
6166         * e-component-registry.c (sleep_with_g_main_loop): New utility
6167         function.
6168         (sleep_with_g_main_loop_timeout_callback): Callback function for
6169         `sleep_with_g_main_loop()'.
6170         (wait_for_corba_object_to_die): Use `sleep_with_g_main_loop()'
6171         instead of `sleep()'.
6173 2001-10-30  Ettore Perazzoli  <ettore@ximian.com>
6175         * main.c (development_warning): Removed.
6176         (idle_cb): Don't call it.
6177         (warning_dialog_clicked_callback): Removed.
6179 2001-10-30  Iain Holmes  <iain@ximian.com>
6181         * e-shell-view.c (e_shell_view_load_settings): If the display uri is
6182         NULL, set the view to the default.
6184 2001-10-30  Ettore Perazzoli  <ettore@ximian.com>
6186         * evolution-shell-component.c (owner_ping_callback): Duplicate the
6187         owner before pinging it.  Fixes #13802.
6189 2001-10-30  Ettore Perazzoli  <ettore@ximian.com>
6191         * evolution-shell-component.c (impl_owner_unset): New.
6192         (class_init): Install it.
6193         (impl_unsetOwner): Just emit the "owner_unset" signal as the
6194         default implementation for that signal does all the work now.
6195         (impl_owner_died): Set the owner_client to %NULL before unreffing
6196         it.
6197         (destroy): Likewise.
6198         (impl_owner_unset): Likewise.
6200 2001-10-30  Ettore Perazzoli  <ettore@ximian.com>
6202         * e-shell-view.c (e_shell_view_construct): Connect to the
6203         "removed_folder" signal with gtk_signal_connect_while_alive() so
6204         we don't crash if the view gets destroyed.  Fixes #13285.
6206 2001-10-29  Ettore Perazzoli  <ettore@ximian.com>
6208         * e-shell-startup-wizard.c (next_func): If we're not at the end of
6209         the druid list, tell the druid we're going to change the page.
6210         (back_func): Same for going back a page.  This way we can properly
6211         synchronise with the druid object and not race with the wizard
6212         object to set the right page.  Part of fix for #12127.
6214 2001-10-29  Ettore Perazzoli  <ettore@ximian.com>
6216         * evolution-shell-component.c (owner_ping_callback): Slightly
6217         change the debugigng message for when the shell has disappeared.
6219 2001-10-29  Ettore Perazzoli  <ettore@ximian.com>
6221         * evolution-shell-component.c (owner_ping_callback): Remove
6222         ping debugging messages.
6224 2001-10-29  Ettore Perazzoli  <ettore@ximian.com>
6226         * e-shell.c (set_interactive): Remove debugging message.
6228 2001-10-29  Damon Chaplin  <damon@ximian.com>
6230         * Makefile.am (evolution_LDADD): use libical-evolution.la
6232 2001-10-29  Ettore Perazzoli  <ettore@ximian.com>
6234         * e-shell-view.c (e_shell_view_construct): Ref the shell.
6235         (destroy): Unref the shell.
6236         (destroy): Free the delayed_selection.  No need to call
6237         `cleanup_delayed_selection()' as the signal handler will have
6238         already be disconnected at this point [as we are using
6239         connect_while_alive()'].
6241 2001-10-28  Ettore Perazzoli  <ettore@ximian.com>
6243         * e-shell-view.c (destroy): Call `cleanup_delayed_selection()' as
6244         there is a slight chance that the callback gets invoked during the
6245         cleanup phase.
6246         (e_shell_view_display_uri): For extra safety, make sure we don't
6247         get invoked on a dead object by connecting the "new_folder" signal
6248         with `e_gtk_signal_connect_full_while_alive()' instead of using
6249         plain `gtk_signal_connect_after()'.
6251 2001-10-28  Ettore Perazzoli  <ettore@ximian.com>
6253         * e-shell-view.c (new_folder_cb): Don't do the
6254         `gtk_signal_disconnect_by_func()' as it's already done in
6255         `cleanup_delayed_selection()'.
6256         (e_shell_view_construct): Set the ->shell member as the first
6257         thing.
6258         (set_current_notebook_page): Add a cast to make the compiler
6259         happy.
6260         (new_folder_cb): Don't set priv->uri before calling
6261         `e_shell_view_display_uri()', because the latter does it anyways,
6262         and also if you set it before calling it, the selection in the
6263         folder tree doesn't get updated properly.
6265 2001-10-29    <NotZed@Ximian.com>
6267         * evolution-storage.c (class_init): Set the return type of the
6268         signal handlers to GTK_TYPE_NONE.
6270 2001-10-28  Ettore Perazzoli  <ettore@ximian.com>
6272         [The following should fix #13802, crash on exit.]
6274         * evolution-shell-component.c (impl_unsetOwner): Set the ping
6275         timeout ID to -1 when removing the source.
6276         (impl_destroy): Likewise.
6277         (impl_unsetOwner): Remove the timeout before unreffing, not after
6278         unreffing.
6280 2001-10-28  Jon Trowbridge  <trow@ximian.com>
6282         * e-shell-about-box.c: Distribute credit equally.
6284 2001-10-27    <NotZed@Ximian.com>
6286         * evolution-storage.c (impl_Storage_async_xfer_folder): We want
6287         XFER_FOLDER not REMOVE_FOLDER!
6289 2001-10-26  Ettore Perazzoli  <ettore@ximian.com>
6291         * e-shell-offline-handler.c (prepare_for_offline): Remove
6292         debugging messages.
6293         (finalize_offline_hash_foreach): Likewise.
6295 2001-10-26  Ettore Perazzoli  <ettore@ximian.com>
6297         * e-shell-offline-handler.c: New member `finished' in
6298         `EShellOfflineHandlerPrivate'.
6299         (finalize_offline): Ref the handler as we might get destroyed
6300         while putting every component offline.
6301         (impl_OfflineProgressListener_updateProgress): Don't emit
6302         ::offline_procedure_finished if ->finished is %TRUE.  Also, set it
6303         to %TRUE after emitting the signal.
6304         (cancel_offline): Likewise.
6305         (finalize_offline): Likewise.
6306         (update_dialog_clist): Guard against NULL ->dialog_gui.
6308 2001-10-26  Ettore Perazzoli  <ettore@ximian.com>
6310         * evolution-storage.c (impl_Storage_async_xfer_folder): Implement.
6311         (class_init): Add the signal "xfer_folder" signal.
6313         * evolution-storage.h: New signal "xfer_folder".
6315 2001-10-26  Ettore Perazzoli  <ettore@ximian.com>
6317         * e-corba-storage.c
6318         (async_xfer_folder): New, implementation for the
6319         ::async_xfer_folder method.
6320         (class_init): Install it.
6322 2001-10-26  Ettore Perazzoli  <ettore@ximian.com>
6324         * e-shell.c (destroy): Set ->is_initialized to %FALSE.
6325         (e_shell_unregister_all): Same here.
6327 2001-10-26  Ettore Perazzoli  <ettore@ximian.com>
6329         * e-shell-importer.c (prepare_intelligent_page):
6330         gtk_widget_show_now() the dialog.
6331         * e-shell-startup-wizard.c (prepare_importer_page): Likewise.
6333 2001-10-26  Ettore Perazzoli  <ettore@ximian.com>
6335         * main.c (quit_box_new): Use gtk_widget_show_now() so the stupid
6336         dialog hopefully displays all the time.
6338 2001-10-26  Ettore Perazzoli  <ettore@ximian.com>
6340         * e-shell-view.c (set_current_notebook_page): Clear the folder bar
6341         label to be empty.  [#12553]
6343 2001-10-26  Ettore Perazzoli  <ettore@ximian.com>
6345         * e-shell-about-box.c (timeout_callback): Draw one more line.
6347 2001-10-26  Ettore Perazzoli  <ettore@ximian.com>
6349         * e-shell-view-menu.c (command_about_box): Set the GtkWindow
6350         policy so that @allow_shrink, @allow_grow and @auto_shrink are all
6351         %FALSE.
6353 2001-10-26  Ettore Perazzoli  <ettore@ximian.com>
6355         * e-shell-folder-commands.c (e_shell_command_rename_folder): Don't
6356         allow invalid folder names.  [#12027]
6358         * e-shell-folder-creation-dialog.c (entry_name_is_valid): Removed.
6359         (dialog_clicked_cb): Use `e_shell_folder_name_is_valid()' instead.
6361         * e-shell-utils.c (e_shell_folder_name_is_valid): New.  Sorry I18N
6362         people, it breaks the string freeze slighty.
6364         * e-component-registry.c (component_free): Add a cast.
6365         (e_component_registry_restart_component): Argh, use the
6366         corba_objref properly in calling `wait_for_corba_object_to_die()'.
6368 2001-10-25  Ettore Perazzoli  <ettore@ximian.com>
6370         * e-shell-view-menu.c (update_offline_menu_item): Add accelerators
6371         for "Work Offline" and "Work Online".
6373 2001-10-25  Ettore Perazzoli  <ettore@ximian.com>
6375         * e-shell-view.c (update_for_current_uri): Don't allow translators
6376         to translate "Ximian Evolution".
6378 2001-10-25  Ettore Perazzoli  <ettore@ximian.com>
6380         * e-component-registry.c (wait_for_corba_object_to_die): New
6381         helper function.
6382         (e_component_registry_restart_component): Use it.
6383         (component_free): Call it to wait for the unowned object to die.
6385 2001-10-25  Ettore Perazzoli  <ettore@ximian.com>
6387         * e-shell.c (impl_Shell_selectUserFolder): Handle failure from
6388         XGetClassHint properly.  Also, free res_name and res_class in case
6389         of success.  Fixes #13554.
6391 2001-10-25  Ettore Perazzoli  <ettore@ximian.com>
6393         * e-storage-set-view.c (etree_icon_at): Don't display an icon for
6394         storages that have subfolders.
6396 2001-10-25  Ettore Perazzoli  <ettore@ximian.com>
6398         * e-shell-importer.c: #include "e-util/e-gtk-utils.h".
6400         * e-shell-folder-creation-dialog.c
6401         (e_shell_show_folder_creation_dialog): Constify a local variable
6402         to placate a warning.
6404         * e-activity-handler.c (task_widget_cancel_callback): #if 0'ed
6405         out.
6407         * evolution-shell-component-client.c
6408         (evolution_shell_component_client_new): Remove unused variable
6409         `ior'.
6411 2001-10-25  Ettore Perazzoli  <ettore@ximian.com>
6413         * e-activity-handler.c (impl_destroy): Set ->priv to NULL.
6414         (impl_operationStarted): Check for priv not being NULL.
6415         (impl_operationProgressing): Likewise.
6416         (impl_operationFinished): Likewise.
6417         (impl_requestDialog): Likewise.
6419 2001-10-25  Ettore Perazzoli  <ettore@ximian.com>
6421         * e-shell-startup-wizard.c (make_mail_dialog_pages): Set the
6422         ->mailer to be CORBA_OBJECT_NIL in case of an exception, otherwise
6423         the caller will not realize about the problem.
6425 2001-10-25  Ettore Perazzoli  <ettore@ximian.com>
6427         * evolution-wizard.c (evolution_wizard_set_buttons_sensitive):
6428         Don't use __FUNCTION__.
6429         (evolution_wizard_set_show_finish): Likewise.
6430         (evolution_wizard_set_page): Likewise.
6432         * e-shell-startup-wizard.c (make_mail_dialog_pages): Do not use
6433         __FUNCTION__ and __LINE__.  This breaks the string freeze, but the
6434         old way made Evolution non-compilable with non-GNU compilers.
6436 2001-10-24  Ettore Perazzoli  <ettore@ximian.com>
6438         * e-shell-about-box.c: Add a few names to the box.
6440 2001-10-24  Dan Winship  <danw@ximian.com>
6442         * evolution-storage.c (evolution_storage_new_folder):
6443         g_return_if_fail if the display_name is NULL. "Fixes" 11182
6444         although there may be a few more cases lying around that pass
6445         NULLs in.
6447 2001-10-24  Ettore Perazzoli  <ettore@ximian.com>
6449         * main.c (quit_box_new): Set the WMClass of the quit dialog to be
6450         different from the default one in an attempt to fix #13441.
6452 2001-10-24  Ettore Perazzoli  <ettore@ximian.com>
6454         * e-local-storage.c (storage_result_from_component_result): New.
6455         (async_xfer_folder_callback): Use it so we get the right error
6456         message.
6457         (async_xfer_folder_complete): New arg @success.  Don't remove the
6458         directory and the metadata if @success is %FALSE.
6460 2001-10-23  Ettore Perazzoli  <ettore@ximian.com>
6462         * e-shell-folder-commands.c (rename_callback_data_new): Get the
6463         path and the shell view instead.
6464         (rename_callback_data_free): Updated accordingly.
6465         (rename_cb): Set the name on the folder based on the path, not the
6466         actual object [as the old object gets unreffed -- of course].
6468 2001-10-23  Ettore Perazzoli  <ettore@ximian.com>
6470         * e-shell-folder-commands.c (rename_callback_data_new): New.
6471         (rename_callback_data_free): New.
6472         (rename_cb): Rename the folder here.
6473         (e_shell_command_rename_folder): Don't rename the EFolder here.
6475 2001-10-23  Ettore Perazzoli  <ettore@ximian.com>
6477         * e-local-storage.c (async_xfer_folder_callback): Handle the
6478         return codes properly, and invoke the result callback too.
6480 2001-10-23  Ettore Perazzoli  <ettore@ximian.com>
6482         * e-activity-handler.c (show_cancellation_popup): #if 0'ed for
6483         now, per #7427.
6485 2001-10-23  Ettore Perazzoli  <ettore@ximian.com>
6487         * e-shell-view.c (storage_set_removed_folder_callback): Explicitly
6488         deactivate the control frame, and display the default URI before
6489         destroying the dead one.
6491         * e-shell.c (e_shell_component_maybe_crashed): If the URI is of a
6492         folder that doesn't exist anymore, don't assume that the
6493         corresponding component has crashed.  Also, try pinging the
6494         component first; if the component responds, don't pop up the
6495         dialog.
6497 2001-10-22  Ettore Perazzoli  <ettore@ximian.com>
6499         * e-shell-view-menu.c (command_open_folder_in_new_window): No need
6500         to gtk_widget_show() the view anymore.
6502         * e-shell-view.c (activate_shortcut_cb): No need to
6503         gtk_widget_show() the view anymore.
6505         * e-shell.c (impl_Shell_createNewView): Don't explicitly show the
6506         new view.
6507         (e_shell_create_view): gtk_widget_show() the new view and flush
6508         the GTK+ event loop before sending the ::interactive notification.
6509         (create_view): New helper function.
6510         (e_shell_create_view): Use it.
6511         (e_shell_create_view_from_settings): New.
6512         (e_shell_restore_from_settings): Use
6513         `e_shell_create_view_from_settings()'.
6515 2001-10-22  Ettore Perazzoli  <ettore@ximian.com>
6517         * e-shell-view-menu.c (command_open_folder_in_new_window): Don't
6518         explicitly show the new view.
6520 2001-10-22  Ettore Perazzoli  <ettore@ximian.com>
6522         * evolution-shell-component.c (impl_unsetOwner): Remove the ping
6523         timeout.
6525 2001-10-22  Ettore Perazzoli  <ettore@ximian.com>
6527         * e-shell.c (impl_Shell_selectUserFolder): Don't die if the parent
6528         window has no WMHints.
6530 2001-10-22  Ettore Perazzoli  <ettore@ximian.com>
6532         * e-shell-view.c (show_existing_view): If the view is dead, just
6533         return FALSE.  Prevents crash #12483.
6535 2001-10-22  Ettore Perazzoli  <ettore@ximian.com>
6537         * e-shell.c: New member `is_interactive' in `EShellPrivate'.
6538         (init): Init to %FALSE.
6539         (set_interactive): New.
6540         (e_shell_create_view): Make interactive.
6541         (view_destroy_cb): If no views are left, make non-interactive.
6543         * evolution-shell-component.c (class_init): Set up the
6544         "interactive" signal.
6545         (impl_interactive): New implementation for the ::interactive
6546         method.
6547         (class_init): Install.
6549         * evolution-shell-component.h: New signal `interactive'.
6551         * Evolution-ShellComponent.idl: New method ::interactive.
6553 2001-10-19  Ettore Perazzoli  <ettore@ximian.com>
6555         * e-storage-set-view.c (tree_drag_data_received): Pass the
6556         @folder_type to ::handleDrop.
6558         * evolution-shell-component-dnd.c
6559         (impl_GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleMotion):
6560         New arg @folder_type.
6561         (impl_GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleDrop):
6562         Likewise.
6564         * evolution-shell-component-dnd.h: Add @folder_type to
6565         `DndDestinationFolderHandleDropFn' and
6566         `DndDestinationFolderHandleMotionFn'.
6568         * e-storage-set-view.c (tree_drag_motion): Pass the folder type to
6569         `::handleMotion'.
6571         * Evolution-ShellComponentDnd.idl: Pass @folder_type in
6572         ::handleDrop and ::handleMotion.
6574 2001-10-19  Ettore Perazzoli  <ettore@ximian.com>
6576         * e-shell-view-menu.c (command_about_box): Use EShellAboutBox.
6577         (zero_pointer): Removed.
6579         * e-shell-about-box.h: New.
6580         * e-shell-about-box.c: New.
6582 2001-10-18  Ettore Perazzoli  <ettore@ximian.com>
6584         * Makefile.am (evolution_SOURCES): Ooops.  Remove stale files
6585         `e-shell-about-box.[ch]'.
6587 2001-10-17  Ettore Perazzoli  <ettore@ximian.com>
6589         * e-shell.c (impl_Shell_selectUserFolder): Set the parent
6590         according to the XID we get.
6592         * Evolution-Shell.idl: New arg @parent_xid in `::selectUserFolder'.
6594         * evolution-shell-client.c
6595         (evolution_shell_client_user_select_folder): New arg @parent.
6596         (user_select_folder): Likewise.  Pass it to the CORBA method.
6598 2001-10-17  Ettore Perazzoli  <ettore@ximian.com>
6600         * main.c (idle_cb): Urgh.  Remove stale line that caused
6601         `display_default' to be set to TRUE for all the non-NULL shell
6602         cases.
6604 2001-10-17  Ettore Perazzoli  <ettore@ximian.com>
6606         * e-shell.c (set_owner_on_components): Re-set the owner on the
6607         component that raised OldOwnerHasDied.
6609 2001-10-15  Iain Holmes  <iain@ximian.com>
6611         * e-shell-startup-wizard.c (prepare_importer_page): Stop the prepare
6612         running twice.
6614 2001-10-14  Dan Winship  <danw@ximian.com>
6616         * e-corba-storage.c (async_folder_cb): 
6617         * e-storage.c (e_storage_result_to_string): Add two missing codes.
6619 2001-10-13  Dan Winship  <danw@ximian.com>
6621         * evolution-shell-component-utils.c (e_activation_failure_dialog):
6622         New function to try to activate a component when you know it's
6623         going to fail, and then pop up a dialog explaining why it failed.
6625 2001-10-12  Iain Holmes  <iain@ximian.com>
6627         * e-shell-importer.c (prepare_intelligent_page): Flush the gdk 
6628         functions so that the window will be shown.
6630         * e-shell-startup-wizard.c (make_mail_dialog_pages): Fix some
6631         strings.
6632         (prepare_importer_page): Flush GDK functions so that the window 
6633         is shown.
6635 2001-10-12  Ettore Perazzoli  <ettore@ximian.com>
6637         [Fix #7643, Starting new view doesn't honor "view" settings.]
6639         * e-shell-view-menu.c (command_open_folder_in_new_window): Pass
6640         the parent @shell_view as the @template_view arg to
6641         `e_shell_create_view()'
6643         * e-shell-view.c (activate_shortcut_cb): Pass the _view as the
6644         @template_view arg to `e_shell_create_view()'.
6646         * e-shell-folder-commands.c
6647         (e_shell_command_open_folder_in_other_window): Pass the parent
6648         @shell_view as the @template_view arg to `e_shell_create_view()'.
6650         * e-shell.c (e_shell_create_view): New arg @template_view.
6651         (impl_Shell_createNewView): Pass %NULL as @template_view when
6652         calling it.
6653         (e_shell_restore_from_settings): Likewise.
6655 2001-10-12  Ettore Perazzoli  <ettore@ximian.com>
6657         * main.c (quit_box_new): Also flush GDK after flushing GTK.
6658         Otherwise GTK might queue draw requests to X that don't get
6659         executed.
6661 2001-10-12  Ettore Perazzoli  <ettore@ximian.com>
6663         [Hopefully really fix #8615 and friends.]
6665         * main.c (no_views_left_cb): Invoke `e_shell_disconnect_db()'
6666         before unreffing the shell.
6668         * e-shell.c (e_shell_disconnect_db): New.
6669         (destroy): Call it instead of unreffing the db manually here.
6671 2001-10-12  Ettore Perazzoli  <ettore@ximian.com>
6673         * e-shell-folder-commands.c
6674         (folder_selection_dialog_folder_selected_callback): Don't free the
6675         folder_command_data here.  It is supposed to be freed in the async
6676         callback.  The leak that Dan supposedly fixed was probably only
6677         due to the fact that the component that was supposed to perform
6678         the xfer didn't report a result.  Now that xfer actually works, it
6679         was triggering the crash instead.  [Fixes #9769.]
6681 2001-10-12  Ettore Perazzoli  <ettore@ximian.com>
6683         * e-shell-offline-handler.c (prepare_for_offline): Only invoke
6684         `progress_listener_servant_free()', no need to also do `__fini()'
6685         on it as `__fini()' is also called by the former.  [Fixes #12329.]
6686         Also, print out the CORBA exception that gets raised so we have
6687         some more clues about what is wrong.
6689 2001-10-11  Ettore Perazzoli  <ettore@ximian.com>
6691         * e-shell-view.c
6692         (reparent_storage_set_view_box_and_destroy_popup): Don't die if
6693         the folder_bar_popup is %NULL.  Fixes #10922.
6695 2001-10-11  Ettore Perazzoli  <ettore@ximian.com>
6697         * main.c (idle_cb): Display the default view only if we are
6698         starting our own shell, or if the command-line has no arguments
6699         and we are talking to an already existing shell.
6701         * e-uri-schema-registry.c
6702         (e_uri_schema_registry_set_handler_for_schema): Do not return a
6703         value.
6705 2001-10-11  Dan Winship  <danw@ximian.com>
6707         * Evolution-Storage.idl: Remove "display_name" arg from update
6708         methods. It was only there to do the "Inbox (5)" hack, which is
6709         supported directly now.
6711         * evolution-storage.c (impl_Storage_updateFolder): no longer takes
6712         display_name.
6713         (evolution_storage_update_folder,
6714         evolution_storage_update_folder_by_uri): Likewise.
6715         (class_init): Update signal signature.
6717         * evolution-storage-listener.c
6718         (impl_GNOME_Evolution_StorageListener_notifyFolderUpdated): No
6719         longer takes display_name, but make it pass the unread_count along
6720         in the signal it emits.
6721         (class_init): Update signal signature.
6723         * e-local-storage.c (bonobo_interface_update_folder_cb): 
6724         * e-corba-storage.c (impl_StorageListener_notifyFolderUpdated): No
6725         longer take display_name.
6727 2001-10-10  Ettore Perazzoli  <ettore@ximian.com>
6729         * e-storage-set-view.c (handle_evolution_path_drag_motion): Ooops,
6730         remove debugging message.
6732 2001-10-10  Ettore Perazzoli  <ettore@ximian.com>
6734         * e-storage.c (e_storage_async_xfer_folder): Make this a no-op if
6735         the source and the destination path are the same.
6737         * e-local-storage.c (impl_async_xfer_folder): return after
6738         returning `E_STORAGE_CANTCHANGESTOCKFOLDER' to the callback.
6740         * e-storage-set-view.c (handle_evolution_path_drag_motion): Make
6741         the check for dragging a folder over itself a little bit more
6742         accurate.
6744 2001-10-05  Jon Trowbridge  <trow@ximian.com>
6746         * e-shell-view-menu.c (command_work_offline): This is a message,
6747         not a warning!
6748         (command_work_online): This is also a message, not a warning!
6749         (I'm feeling very anal today.)
6751 2001-10-05  Ettore Perazzoli  <ettore@ximian.com>
6753         * main.c (idle_cb): Do not invoke
6754         `e_shell_restore_from_settings()' if `shell' is NULL.
6756 2001-10-05  Ettore Perazzoli  <ettore@ximian.com>
6758         * e-shell-view.c (e_shell_view_save_settings): Get the right
6759         hpaned positions for when the shortcut bar and/or the folder bar
6760         are visible.
6762 2001-10-05  Ettore Perazzoli  <ettore@ximian.com>
6764         * e-shell.c (impl_Shell_handleURI): Handle the return value from
6765         `evolution_shell_component_client_handle_external_uri()' as an
6766         EvolutionShellComponentClientResult instead of treating it as a
6767         boolean.  This prevents the incorrect NotFound exceptions we were
6768         getting for `mailto:' invocations.
6770 2001-10-05  Ettore Perazzoli  <ettore@ximian.com>
6772         * main.c (quit_box_new): Also `gdk_flush()'.
6773         (idle_cb): If the user doesn't specify at least one `evolution:'
6774         URI, restore from the settings.  [Fixes #6093.]
6776 2001-10-05  Ettore Perazzoli  <ettore@ximian.com>
6778         * evolution-shell-component.c: New member `ping_timeout_id' in
6779         `EvolutionShellComponentPrivate'.
6780         (setup_owner_pinging): New helper function.
6781         (impl_owner_died): Unref the owner and set ->owner_client to
6782         %NULL.
6783         (impl_setOwner): Don't unref here.
6784         (destroy): Remove the source for ->ping_timeout_id if not -1.
6786 2001-10-05  Ettore Perazzoli  <ettore@ximian.com>
6788         * main.c: #include "e-util/e-gtk-utils.h".
6789         (quit_box_new): Queue a draw on the window; otherwise it seems to
6790         fail to redraw in some cases for some reason [see #11412].
6792 2001-10-05  Ettore Perazzoli  <ettore@ximian.com>
6794         * evolution-shell-component.c (impl_setOwner): If the owner is
6795         dead, emit "owner_died" instead of "owner_unset".
6796         (impl_owner_died): New, default implementation for "owner_died".
6797         (class_init): Install it.
6799         * evolution-shell-component.h: New signal "owner_died".
6801 2001-10-05  Ettore Perazzoli  <ettore@ximian.com>
6803         * e-shell.c (set_owner_on_components): If setting the owner fails,
6804         print the a warning message out.  Then restart the component.
6806         * e-component-registry.c (component_free): Return a boolean value.
6807         %FALSE if ::unsetOwner raises an exception.
6808         (register_type): New arg @override_duplicate, to avoid complaining
6809         if a component gets re-registered.
6810         (register_component): Likewise.
6811         (e_component_registry_restart_component): New.
6813         * e-uri-schema-registry.c
6814         (e_uri_schema_registry_set_handler_for_schema): Changed return
6815         type to `void'.  Just remove the old handler and set up the new
6816         one.
6818         * evolution-shell-component-client.c (corba_exception_to_result):
6819         Translate ::OldOwnerHasDied into
6820         EVOLUTION_SHELL_COMPONENT_OLDOWNERHASDIED.
6822         * evolution-shell-component.h: New enum value
6823         `EVOLUTION_SHELL_COMPONENT_OLDOWNERHASDIED'.
6825         * evolution-shell-component.c (impl_setOwner): If the old owner is
6826         not alive anymore [use CORBA_Object_non_existent() to figure this
6827         out], emit OWNER_UNSET and raise `OldOwnerHasDied'.
6828         (evolution_shell_component_result_to_string): New.
6830         * Evolution-ShellComponent.idl: New exception `OldOwnerHasDied'.
6831         (ShellComponent::setOwner): Can raise it.
6833         * e-folder-type-registry.c
6834         (e_folder_type_register_type_registered): New.
6835         (e_folder_type_register_unregister_type): New.
6837 2001-10-04  Rodrigo Moya <rodrigo@ximian.com>
6839         * importer/Makefile.am: added BONOBO_GNOME_CFLAGS to make it compile
6840         with latest Bonobo
6842 2001-10-02  Ettore Perazzoli  <ettore@ximian.com>
6844         [Fix #11326, The folder list can become detached from its parent
6845         window.]
6847         * e-shell-view.c (folder_context_menu_popped_down_cb): Pop down
6848         the folder bar if it's popped up.
6850 2001-10-02  Ettore Perazzoli  <ettore@ximian.com>
6852         * e-shell.c (e_shell_component_maybe_crashed): Make the crash
6853         message less dorky.  [#10264]
6855 2001-10-02  Ettore Perazzoli  <ettore@ximian.com>
6857         [Don't allow dragging from a folder to one of its descendants or
6858         onto itself, when the operation is GDK_DRAG_MOVE.  This fixes bugs
6859         like #8737.]
6861         * e-storage-set-view.c (handle_evolution_path_drag_motion): Don't
6862         highlight if the user is attempting to move a folder to one of its
6863         descendants.
6865 2001-10-02  Ettore Perazzoli  <ettore@ximian.com>
6867         * e-shell-view.c (e_shell_view_construct): Use
6868         `bonobo_ui_component_new_default()', not
6869         `bonobo_ui_component_new()'.
6871 2001-10-02  Ettore Perazzoli  <ettore@ximian.com>
6873         * e-shell-view.c (storage_set_removed_folder_callback): New,
6874         callback for the ::removed_folder signal on the shell's
6875         EStorageSet.
6876         (e_shell_view_construct): Connect.
6877         (e_shell_view_remove_control_for_uri): Removed.
6879         * e-shell-folder-commands.c
6880         (folder_selection_dialog_folder_selected_callback): Don't call
6881         `e_shell_view_remove_control_for_uri()'.
6882         (e_shell_command_delete_folder): Not here either.  And don't
6883         display the default URI either.
6885 2001-09-28  Ettore Perazzoli  <ettore@ximian.com>
6887         [Fix #8053, `GNOME_Evolution_Shortcuts' doesn't seem to work.]
6889         * e-shell.c (e_shell_construct): Don't create the EShortcuts
6890         object a second time.
6892 2001-09-28  Ettore Perazzoli  <ettore@ximian.com>
6894         [Fix #8434, Shortcut bar not shown properly.]
6896         * e-shell-view.c (e_shell_view_show_shortcut_bar): Set the
6897         hpaned_position from the EPaned *before* hiding it -- otherwise,
6898         the position will of course always be zero.
6899         (e_shell_view_save_settings): Save from ->hpaned_position and
6900         ->view_hpaned_position.
6902 2001-09-28  Iain Holmes  <iain@ximian.com>
6904         * importer/import.glade: Add new pages.
6906         * e-shell-importer.c (show_import_wizard): Set up new pages.
6907         (import_druid_finish): Check which type of importer to run.
6909 2001-09-26  Iain Holmes  <iain@ximian.com>
6911         * Evolution-Shell.idl: Added a default_type parameter for setting the
6912         default folder creation type.
6914         * e-shell-folder-commands.c (e_shell_command_create_new_folder): Add NULL
6915         for default type.
6916         (e_shell_command_move_folder): Add NULL for default type.
6918         * e-shell-folder-creation-dialog.c (add_folder_types): Check for the
6919         default_type instead of for mail.
6920         (get_type_from_parent_path): Get the folder type from the parent folder
6921         (e_shell_show_folder_creation_dialog): Get the default folder type
6922         before creating the menu.
6924         * e-shell-folder-creation-dialog.h: Update headers.
6926         * e-shell-folder-selection-dialog.c (impl_clicked): Add default type.
6927         (e_shell_folder_selection_dialog_construct): Add default type.
6928         (e_shell_folder_selection_dialog_new): Add default type.
6930         * e-shell-folder-selection-dialog.h: Update headers.
6932         * e-shell-importer.c (import_druid_finish): Add NULL for default type.
6934         * e-shell-view-menu.c (command_new_folder): Set NULL for default type.
6935         (command_goto_folder): Set NULL for default type.
6937         * e-shell.c (impl_Shell_selectUserFolder): Update for the new default
6938         type.
6940         * evolution-shell-client.c (user_select_folder): Add "" for default type
6942 2001-09-27  Ettore Perazzoli  <ettore@ximian.com>
6944         * e-shell-view-menu.c (DEFINE_UNIMPLEMENTED): Remove.
6945         (command_new_mail_message): Removed.
6946         (command_pilot_settings): New.
6947         (e_shell_view_menu_setup): Add tools verbs.
6949 2001-09-26  Ettore Perazzoli  <ettore@ximian.com>
6950         * e-shell-view.c (setup_verb_sensitivity_for_folder): New helper
6951         function.
6952         (folder_selected_cb): Call it.
6953         (folder_context_menu_popping_up_cb): New callback for the
6954         "folder_context_menu_popping_up" signal on the folder bar's
6955         EStorageSetView; set the sensitivities of the verbs according to
6956         the right-clicked folder.
6957         (folder_context_menu_popped_down_cb): New, callback for the
6958         "folder_context_menu_popped_down" signal on the folder bar's
6959         EStorageSetView; set the sensitivities of the verbs according to
6960         the currently displayed folder.
6961         (e_shell_view_get_folder_bar_right_click_path): Add a cast to
6962         placate a warning.
6964         * e-storage-set-view.c (class_init): Set up the
6965         "folder_context_menu_popping_up" and
6966         "folder_context_menu_popped_down" signals.
6967         (right_click): Emit "folder_context_menu_popping_up" before
6968         popping up the menu, "folder_context_menu_popped_down" after the
6969         menu is gone.
6971         * e-storage-set-view.h: New signals
6972         "folder_context_menu_popping_up" and
6973         "folder_context_menu_popped_down".
6975 2001-09-25  Ettore Perazzoli  <ettore@ximian.com>
6977         * e-shell-folder-commands.c (e_shell_command_rename_folder):
6978         Change the name on the EFolder object too.
6980 2001-09-25  Ettore Perazzoli  <ettore@ximian.com>
6982         * e-storage.c (e_storage_async_xfer_folder): Ooops.  Make the
6983         check for CANTMOVETODESCENDANT really work.
6985         * e-storage-set-view.c (tree_drag_data_received): Pass the
6986         EStorageSetView as the data for the async_xfer function.
6987         (folder_xfer_callback): Display an error dialog if something goes
6988         wrong.
6990         * e-shell-view-menu.c (command_rename_folder): Enable again.
6992         * e-shell-folder-commands.c (e_shell_command_rename_folder):
6993         Re-implemented.
6994         (delete_dialog): Use double quotes instead of single quotes around
6995         the folder name, for consistency with the other dialogs.
6997 2001-09-25  Ettore Perazzoli  <ettore@ximian.com>
6999         * e-shell-view-menu.c (get_path_for_folder_op): New helper
7000         function.
7001         (command_move_folder): Pass the @folder_path argument to
7002         `e_shell_command_move_folder' by using it.
7003         (command_copy_folder): Pass the @folder_path argument to
7004         `e_shell_command_copy_folder' by using it.
7005         (command_delete_folder): Pass the @folder_path argument to
7006         `e_shell_command_delete_folder()' by using it.
7007         (command_add_folder_to_shortcut_bar): Pass the @folder_path
7008         argument to `e_shell_command_add_to_shortcut_bar()' by using it.
7009         (command_create_folder): Pass the @parent_folder_path argument to
7010         `e_shell_command_create_new_folder()' by using it.
7011         (command_new_folder): Use `get_path_for_folder_op()'.
7013         * e-shell-folder-commands.c (e_shell_command_add_to_shortcut_bar):
7014         New arg @folder_path.
7015         (e_shell_command_copy_folder): New arg @folder_path.
7016         (e_shell_command_move_folder): New arg @folder_path.
7017         (e_shell_command_open_folder_in_other_window): New arg @folder_path.
7018         (e_shell_command_create_new_folder): New arg @parent_folder_path.
7019         (e_shell_command_delete_folder): New arg @folder_path.
7021         * e-shell-view.c (e_shell_view_get_folder_bar_right_click_path): New.
7023         * e-storage-set-view.c: New member `right_click_row_path'.
7024         (init): Init to NULL.
7025         (destroy): Free.
7026         (right_click): Set.
7027         (popup_folder_menu): Use `gnome_popup_menu_do_popup_modal()' so we
7028         are stuck in here until the menu disappears.  After that, destroy
7029         the menu and  call `e_tree_right_click_up()'.
7030         (e_storage_set_view_get_right_click_path): New.
7032 2001-09-21  Iain Holmes  <iain@ximian.com>
7034         * e-shell-importer.c (folder_selected): Use GNOME functions to get
7035         full expanded path from file entry.
7037 2001-09-20  Ettore Perazzoli  <ettore@ximian.com>
7039         * e-storage-set-view.c (tree_drag_motion): Check for a component
7040         for the given row *after* trying to handle
7041         EVOLUTION_PATH_TARGET_TYPE.  Otherwise, we always fail in the case
7042         of dnd between a folder and the toplevel node of its storage.
7043         (find_matching_target_for_drag_context): If not on a folder,
7044         always return EVOLUTION_PATH_TARGET_TYPE.
7046 2001-09-20  Ettore Perazzoli  <ettore@ximian.com>
7048         * e-shell-view.c (storage_set_view_box_event_cb): Removed.
7049         (folder_bar_popup_map_callback): Don't connect.
7050         (reparent_storage_set_view_box_and_destroy_popup): Don't ungrab
7051         here.
7052         (popdown_transient_folder_bar): Ungrab here.
7053         (popdown_transient_folder_bar_idle): New.
7054         (switch_on_folder_tree_click): Invoke it in the idle loop.  Also,
7055         ungrab.
7057 2001-09-20  Iain Holmes  <iain@ximian.com>
7059         * e-shell-startup-wizard.c (e_shell_startup_wizard_create): Check
7060         the number of mail accounts that exist and display the dialog it this
7061         is 0.
7063 2001-09-19  Ettore Perazzoli  <ettore@ximian.com>
7065         * e-task-widget.c: New member `tooltips' in `ETaskWidgetPrivate'.
7066         (init): Init to NULL.
7067         (e_task_widget_construct): Create a GtkTooltips and make
7068         `tooltips' point to it.
7069         (e_task_widget_update): Set the tooltip for the label too.
7071 2001-09-19  Ettore Perazzoli  <ettore@ximian.com>
7073         * evolution-test-component.c: Removed globals `activity_client',
7074         `progress'.
7075         (timeout_callback_3): Get the activity client from @data.
7076         (timeout_callback_2): Likewise here.  Pass the activity client as
7077         the user data pointer for `gtk_timeout_add()'.  Put the progress
7078         count in a "my_progress" GtkObject data key.
7079         (timeout_callback_1): Pass the newly created EActivityClient as
7080         the user data pointer for `gtk_timeout_add()'.  Also, dispatch
7081         itself again with a random timeout delay, for a maximum of
7082         NUM_ACTIVITES times.  Initialize the "my_progress" GtkObject data
7083         to be -1.
7085         [Lame hack to reduce the number of parallel operations reported by
7086         the same component displayed in the task bar.]
7088         * e-activity-handler.c: New member `component_id' in
7089         `ActivityInfo'.
7090         (activity_info_new): New arg @component_id.  Init the
7091         `component_id' member accordingly.
7092         (activity_info_free): Free the `component_id' member.
7093         (impl_operationStarted): Pass the component_id to
7094         `activity_info_new()'.
7095         (task_widget_new_from_activity_info): Pass the component_id to the
7096         activity_info.
7098         * e-task-widget.c: New member `component_id' in
7099         `ETaskWidgetPrivate'.
7100         (impl_destroy): Free it.
7101         (init): Init to NULL.  Also init all the other members to NULL as
7102         well.
7103         (e_task_widget_construct): New arg @component_id.  Assign
7104         ->component_id to match it.
7105         (e_task_widget_new): New arg @component_id here as well.  Pass it
7106         over to `e_task_widget_construct()'.
7107         (e_task_widget_get_component_id): New.
7109 2001-09-18  Ettore Perazzoli  <ettore@ximian.com>
7111         * e-storage-set-view.c (handle_evolution_path_drag_motion): New
7112         arg @row.  Highlight that row.
7113         (tree_drag_motion): Pass @row to
7114         `handle_evolution_path_drag_motion()'.
7116 2001-09-18  Ettore Perazzoli  <ettore@ximian.com>
7118         * e-splash.c: #include "e-gtk-utils.h".
7120 2001-09-18  Ettore Perazzoli  <ettore@ximian.com>
7122         * e-splash.c (e_splash_construct): Make the canvas backing stored.
7124 2001-09-17  Ettore Perazzoli  <ettore@ximian.com>
7126         * main.c (quit_box_new): Call `e_make_widget_backing_stored()' on
7127         the widget so it refreshes properly even when we are busy waiting
7128         on CORBA calls.
7130 2001-09-17  Ettore Perazzoli  <ettore@ximian.com>
7132         * main.c (quit_box_new): New.
7133         (quit_box_destroyed_callback): New.
7134         (no_views_left_cb): Use these two functions to display a warning
7135         message when Evolution is quitting.
7137 2001-09-17  Ettore Perazzoli  <ettore@ximian.com>
7139         * e-shell.c (impl_Shell_getLocalStorage): Only raise NotReady if
7140         the local storage pointer is actually NULL.  This way it is
7141         possible for the components to access the local storage during
7142         initialization even if the shell is not quite finished
7143         initializing yet.
7145 2001-09-17  Ettore Perazzoli  <ettore@ximian.com>
7147         [Fix #9060, Shell crash after mailer crash.]
7149         * e-shell-view.c (hash_foreach_destroy_view): Renamed from
7150         `hash_forall_destroy_view'.  Don't free `name'.
7151         (socket_destroy_cb): Use `g_hash_table_lookup()' instead of
7152         `g_hash_table_lookup_extended()'.  Don't free the URI.
7153         (e_shell_view_remove_control_for_uri): Likewise.
7154         (show_existing_view): Use view->uri as the key when inserting the
7155         view.  Remove the old view from the hash when destroying it.
7156         (create_new_view_for_uri): Same here.
7158 2001-09-16  Ettore Perazzoli  <ettore@ximian.com>
7160         * e-shell-view.c (e_shell_view_show_folder_bar): Hide the
7161         storage_set_view_box *before* getting the child1_size [otherwise,
7162         the latter will, um, always be zero].
7164 2001-09-16  Christopher James Lahey  <clahey@ximian.com>
7166         * e-storage-set-view.c (etree_get_node_by_id): Made save_id const
7167         here.
7169 2001-09-14  Ettore Perazzoli  <ettore@ximian.com>
7171         [Automake 1.5 fixes pointed out by Richard Boulton
7172         <richard@tartarus.org>, as per #9258.]
7174         * importer/Makefile.am (CLEANFILES): Assign directly using `=',
7175         instead of `+='.
7176         * Makefile.am (CLEANFILES): Likewise.
7178 2001-09-14  Ettore Perazzoli  <ettore@ximian.com>
7180         * e-shell.c (impl_Shell_getLocalStorage): Return a proper value.
7181         (impl_Shell_createStorageSetView): Likewise.
7182         (impl_Shell_setLineStatus): Likewise.
7183         (impl_Shell__get_displayName): Likewise.
7184         (impl_Shell_getComponentByType): Likewise.
7185         (impl_Shell_createNewView): Likewise.
7186         (impl_Shell_handleURI): Likewise.
7188 2001-09-14  Iain Holmes  <iain@ximian.com>
7190         * e-shell-importer.c (start_import): Only check for local path if the
7191         folderpath != NULL.
7193         * e-shell-startup-wizard.c (prepare_importer_page): Remove GTK_CLIST 
7194         cast.
7196 2001-09-12  Iain Holmes  <iain@ximian.com>
7198         * evolution-wizard.c: Remove spewage.
7200 2001-09-14  Ettore Perazzoli  <ettore@ximian.com>
7202         * e-shell-importer.c (start_import): Removed unused variable.
7204 2001-09-14  Ettore Perazzoli  <ettore@ximian.com>
7206         [Fix #8204 and the other bugs caused by allowing invocations on
7207         the ::Shell interface to happen before the shell is actually fully
7208         initialized.  This is a lame hack and not a nice, complete
7209         solution for the problem, but it should do for now.]
7211         * e-shell.c: New member `is_initialized' in `EShellPrivate'.
7212         (init): Initialize to %FALSE.
7213         (e_shell_construct): Set `is_initialized' to %TRUE after the
7214         initialization sequence is finished.
7215         (raise_exception_if_not_ready): New utility function to raise the
7216         notReady exception if the shell is not ready.
7217         (impl_Shell__get_displayName): Call it.
7218         (impl_Shell_getComponentByType): Likewise.
7219         (impl_Shell_createNewView): Likewise.
7220         (impl_Shell_handleURI): Likewise.
7221         (impl_Shell_selectUserFolder): Likewise.
7222         (impl_Shell_getLocalStorage): Likewise.
7223         (impl_Shell_createStorageSetView): Likewise.
7224         (impl_Shell_setLineStatus): Likewise.
7225         (e_shell_construct): Print out the repo_id of the exception from
7226         `bonobo_get_object()' if it fails.  Also, register on OAF just
7227         before displaying the splash.
7229         * Evolution-Shell.idl: New exception `NotReady'.  All the CORBA
7230         methods on ::Shell can now raise this exception.
7232 2001-09-13  Ettore Perazzoli  <ettore@ximian.com>
7234         [Fix #5990, Remembering Evolution window geometry.]
7236         * e-shell.c (impl_Shell_createNewView): gtk_widget_show() the new
7237         view returned by `e_shell_create_view()'.
7238         (e_shell_restore_from_settings): Same here, after loading the
7239         settings.
7241         * e-shell-view.c (activate_shortcut_cb): gtk_widget_show() the new
7242         view returned by `e_shell_create_view()'.
7244         * e-shell-view-menu.c (command_open_folder_in_new_window):
7245         gtk_widget_show() the view returned by `e_shell_create_view()'.
7247         * e-shell-folder-commands.c
7248         (e_shell_command_open_folder_in_other_window): gtk_widget_show()
7249         the view returned by `e_shell_create_view()'.
7251         * e-shell.c (e_shell_create_view): Don't show the view
7252         automatically anymore.
7254         * e-shell-view.c (e_shell_view_save_settings): Save the width and
7255         height of the window.
7256         (e_shell_view_load_settings): Restore the width and the height and
7257         gtk_window_set_default_size() based on them.
7259 2001-09-13  Ettore Perazzoli  <ettore@ximian.com>
7261         [Remove a bunch of debugging messages, as per #7741.]
7263         * evolution-wizard.c (impl_GNOME_Evolution_Wizard_notifyAction):
7264         Removed debugging messages.
7266         * e-storage-set.c (storage_removed_folder_cb): Removed debugging
7267         message.
7269         * e-storage-set-view.c (tree_drag_begin): Removed debugging
7270         message.
7271         (tree_drag_data_received): Removed debugging messages.
7273         * e-shortcuts.c (idle_cb): Removed debugging message.
7275         * e-shortcuts-view-model.c (get_icon_for_item): Removed debugging
7276         message.
7278         * e-shell.c (setup_components): Removed debugging message.
7280         * e-shell-startup-wizard.c (druid_event_notify_cb): Removed
7281         debugging message.
7282         (e_shell_startup_wizard_create): Removed debugging message.
7284         * e-shell-offline-handler.c (finalize_offline_hash_foreach):
7285         Removed debugging message.
7287         * e-shell-importer.c (start_import): Removed debugging message.
7288         (item_selected): Same here.
7290         * e-local-storage.c (async_xfer_folder_step): Removed debugging
7291         message.
7293         * e-corba-storage.c (impl_StorageListener_notifyFolderCreated):
7294         Changed the error from a g_print() into a g_warning().  Removed
7295         debugging message.
7297         * e-corba-storage-registry.c (impl_StorageRegistry_addStorage):
7298         Removed debugging message.
7299         (impl_StorageRegistry_removeStorageByName): Likewise.
7301         * e-component-registry.c (component_free): Removed debugging
7302         message.
7303         (register_component): Don't printf() about the registered folder
7304         type.
7305         (register_component): Don't printf() about the registered schema
7306         type.
7308 2001-09-13  Ettore Perazzoli  <ettore@ximian.com>
7310         * e-shell-view.c (pop_up_folder_bar): Disable DnD on the
7311         EStorageSetView to avoid strange behaviors.
7312         (reparent_storage_set_view_box_and_destroy_popup): Re-enable DnD
7313         here.
7314         (popdown_transient_folder_bar): And here as well.
7316         * evolution-storage-set-view-factory.c
7317         (evolution_storage_set_view_factory_new_view): Disable DnD on the
7318         EStorageSetView.
7320         * e-shell-folder-selection-dialog.c
7321         (e_shell_folder_selection_dialog_construct): Disable DnD on the
7322         EStorageSetView.
7324         * e-shell-folder-creation-dialog.c (add_storage_set_view): Disable
7325         DnD on the EStorageSetView.
7327         * e-storage-set-view.c: New member `allow_dnd' in
7328         `EStorageSetViewPrivate'.
7329         (init): Init to `allow_dnd' %TRUE.
7330         (tree_start_drag): If `allow_dnd' is false, don't start the drag
7331         and return %FALSE.
7332         (tree_drag_motion): If `allow_dnd' is false, return %FALSE.
7333         (e_storage_set_view_get_allow_dnd): New.
7334         (e_storage_set_view_set_allow_dnd): New.
7336 2001-09-12  Ettore Perazzoli  <ettore@ximian.com>
7338         * main.c (main): Add SUB_VERSION to the version string passed to
7339         `gnome_init_with_popt_table()'.
7341 2001-09-12  Chris Toshok  <toshok@ximian.com>
7343         * e-shell-importer.c (start_import): only allow importing to
7344         /local folders.
7346 2001-09-12  Ettore Perazzoli  <ettore@ximian.com>
7348         [Fix #4962, "Highlighting is left after a drag".]
7350         * e-storage-set-view.c (tree_drag_motion): Only highlight when
7351         moving over allowed targets.
7353 2001-09-12  Ettore Perazzoli  <ettore@ximian.com>
7355         * e-shell-folder-title-bar.c (unrealize): Only
7356         gtk_widget_destroy() the icon_widget if it's not NULL.
7358 2001-09-12  Iain Holmes  <iain@ximian.com>
7360         * importers/evolution-importer-client.c 
7361         (evolution_importer_client_process_item): Remove spew.
7363 2001-09-10  Dan Winship  <danw@ximian.com>
7365         * e-shell-view.c (socket_destroy_cb): Oops. Remove duplicate free.
7367 2001-09-09  Dan Winship  <danw@ximian.com>
7369         Purify run. All small leaks.
7370         
7371         * e-shell-folder-commands.c
7372         (folder_selection_dialog_folder_selected_callback): Free the
7373         folder_command_data when destroying the dialog.
7375         * e-local-storage.c (remove_folder): Free physical_uri if we
7376         allocated it.
7378         * e-shortcuts-view.c (pop_up_right_click_menu_for_group): Unref
7379         the popup menu, don't destroy it.
7380         (destroy_group_cb): Free the question string.
7381         (rename_group_cb): Free the new_name.
7383         * e-shell-importer.c (create_plugin_menu): Free the list of
7384         importers.
7385         (get_iid_for_filetype): Likewise.
7386         (import_druid_finish): #ifdef out some g_strdups that are only
7387         used by other #ifdef'ed-out code.
7389         * e-shell-view.c: Make sure the keys in the uri_to_view hash get
7390         freed.
7392         * e-shell-folder-title-bar.c (set_title_bar_label_style): Unref
7393         the style after setting it on the widget.
7395         * e-shell-offline-handler.c (impl_destroy): free priv.
7397         * e-storage-set-view.c (tree_drag_data_received): Make sure
7398         target_type always gets freed.
7400         * e-shell-folder-creation-dialog.c (add_folder_types): Don't leak
7401         the type names.
7403 2001-09-07  Iain Holmes  <iain@ximian.com>
7405         * e-shell-startup-wizard.c (prepare_importer_page): New design.
7406         (make_importer_page): Remove the extra widgets for the new design.
7408 2001-09-07  Christopher James Lahey  <clahey@ximian.com>
7410         * e-storage-set-view.c (tree_start_drag): Changed this to use the
7411         new ETable/ETree drag stuff.
7413 2001-09-07  Dan Winship  <danw@ximian.com>
7415         * evolution-shell-component-client.c
7416         (evolution_shell_component_client_new): Remove the "see previous
7417         error messages?" comment from the error message when starting a
7418         component, since oafd eats the output of the components it
7419         launches now, so it's just misleading.
7421 2001-09-06  Chris Toshok  <toshok@ximian.com>
7423         * evolution-storage.c (impl_Storage_async_remove_folder): change
7424         to match create_folder.
7425         (e_marshal_NONE__POINTER_POINTER_POINTER): new marshaller for
7426         remove_folder.
7427         (class_init): make sure to use the right marshaller for
7428         create/remove_folder.
7430         * evolution-storage.h: change the signature of both the
7431         create_folder and remove_folder signals to be more in line with
7432         what's in evolution-storage.c.  They both take a Bonobo_Listener
7433         which the signal func notifies, instead of synchronously returning
7434         the result.
7436 2001-09-06  Ettore Perazzoli  <ettore@ximian.com>
7438         * evolution-activity-client.c (evolution_activity_client_update):
7439         Allow a value of -1.0 for @progress [which means "unknown
7440         progress"].
7442 2001-09-05  Ettore Perazzoli  <ettore@ximian.com>
7444         [Fix #958, ShellComponents should not be created by factories, for
7445         the test component.]
7447         * GNOME_Evolution_TestComponent.oaf: Remove the factory.
7449         * evolution-test-component.c (COMPONENT_FACTORY_ID): Removed.
7450         (component_factory_init): Removed.
7451         (register_component): Rename from `component_fn'.  No args, no
7452         return value.  Register the thing on OAF by yourself instead of
7453         using a factory.
7455 2001-09-05  Ettore Perazzoli  <ettore@ximian.com>
7457         * e-shortcuts-view.c (get_shortcut_info): New.
7458         (get_efolder_from_shortcut): Removed.
7459         (impl_shortcut_dropped): Use `get_shortcut_info()' instead.
7461 2001-09-05  Ettore Perazzoli  <ettore@ximian.com>
7463         * main.c (development_warning): s/Evolution/Ximian Evolution/.
7464         (idle_cb): Likewise.
7466         * e-splash.c (e_splash_construct): s/Evolution/Ximian Evolution/.
7468         * e-shell-view.c (e_shell_view_construct): s/Evolution/Ximian
7469         Evolution/.
7470         (update_for_current_uri): Likewise.
7471         (update_offline_toggle_status): Likewise.
7473         * e-shell-view-menu.c (command_about_box): s/Evolution/Ximian
7474         Evolution/.
7476 2001-09-04  Ettore Perazzoli  <ettore@ximian.com>
7478         [Fix #6474 and friends, crash when selecting things from the
7479         context activity context menu.]
7481         * e-activity-handler.c: New member `menu' in struct
7482         `ActivityInfo'.
7483         (activity_info_new): Init to NULL.
7484         (show_cancellation_popup): Set the `menu' member to point to this
7485         newly created pop-up, use `gnome_popup_menu_do_popup_modal()'
7486         instead of `gnome_popup_menu_do_popup()', and set the `menu'
7487         member to NULL when the menu is gone.
7488         (activity_info_free): Destroy `menu' member.
7489         (impl_requestDialog): Return
7490         `GNOME_Evolution_Activity_DIALOG_ACTION_ERROR' instead of nothing.
7492 2001-09-04  Ettore Perazzoli  <ettore@ximian.com>
7494         [Fix #6971, Default folder should be the Summary.]
7496         * main.c (idle_cb): s/DEFAULT_URI/E_SHELL_VIEW_DEFAULT_URI/.
7498         * e-shell.c (e_shell_create_view):
7499         s/DEFAULT_URI/E_SHELL_VIEW_DEFAULT_URI/.
7501         * e-shell-view.c (socket_destroy_cb):
7502         s/DEFAULT_URI/E_SHELL_VIEW_DEFAULT_URI/.
7503         (e_shell_view_save_settings): Likewise.
7505         * e-shell-folder-commands.c (e_shell_command_delete_folder):
7506         s/DEFAULT_URI/E_SHELL_VIEW_DEFAULT_URI/.
7508         * e-shell-view.h (DEFAULT_URI): Rename to
7509         `E_SHELL_VIEW_DEFAULT_URI'.  Change from "evolution:/local/Inbox"
7510         to be "evolution:/summary".
7512 2001-09-04  Ettore Perazzoli  <ettore@ximian.com>
7514         [Fix ^#7675, Crashes trying to empty trash folder.]
7516         * e-shortcuts.c (e_shortcuts_construct): Use
7517         `gtk_signal_connect_while_alive()' so we don't invoke the
7518         callbacks on dead EShortcuts objects.
7520 2001-09-04  Iain Holmes  <iain@ximian.com>
7522         * e-shell-importer.c (start_importer): Report errors in a dialog.
7524 2001-09-04  Ettore Perazzoli  <ettore@ximian.com>
7526         * e-activity-handler.c (impl_operationProgressing): Just ignore
7527         the request if the activity handler has the GTK_OBJECT_DESTROYED()
7528         flag set.  This should prevent crashes like #7542 and friends when
7529         the components are not well-behaved enough to respect the Bonobo
7530         refcounting.
7531         (impl_operationStarted): Likewise.
7532         (impl_operationFinished): Likewise.
7533         (impl_requestDialog): Likewise.
7535 2001-09-04  Iain Holmes  <iain@ximian.com>
7537         * e-shell-importer.c (start_import): Check the file exists before trying
7538         to do anything.
7540 2001-09-04  Iain Holmes  <iain@ximian.com>
7542         * e-shell.c (e_shell_construct): Make the other components shut down
7543         correctly when the first time dialog is cancelled.
7545 2001-09-04  Ettore Perazzoli  <ettore@ximian.com>
7547         * e-storage-set-view.c (tree_drag_motion): Remove debugging
7548         message.
7549         (tree_drag_motion): Likewise.
7551 2001-09-04  Ettore Perazzoli  <ettore@ximian.com>
7553         [Patch from Richard Boulton <richard@tartarus.org> to fix #8497,
7554         "Warning when shutting view: RootNode not found".]
7556         * e-storage-set-view.c (e_storage_set_view_construct): Add the
7557         root node to the hash.
7558         (e_storage_set_view_set_show_folders): Likewise.
7560 2001-08-30  Peter Williams  <peterw@ximian.com>
7562         * e-local-storage.c (async_xfer_folder_complete): Remove the folder from
7563         the EvolutionStorage as well as the EStorage.
7565 2001-08-29  Peter Williams  <peterw@ximian.com>
7567         * e-storage-set-view.c (etree_node_destroy_func): Only call
7568         remove_node_from_hash if it's not the root node.
7569         (removed_storage_cb): Don't remove the node from the hash here,
7570         because it will be removed in the node_destroyed callback.
7571         (removed_folder_cb): Same.
7573         * e-shell-view.c (e_shell_view_remove_control_for_uri): Disconnect
7574         from the destroy signal so as not to confuse ourselves. Also, the
7575         page remove in the notebook destroys the control and the socket, so don't
7576         do that explicitly.
7578         * e-shell-folder-commands.c
7579         (folder_selection_dialog_folder_selected_callback): Remove the control
7580         for the source view if we're moving.
7582 2001-08-31  Zbigniew Chyla  <cyba@gnome.pl>
7584         * e-local-storage.c
7585         (setup_folder_as_stock): Don't convert folder name to UTF-8 manually...
7586         (setup_stock_folders): ... just use U_() here.
7587         (impl_get_display_name): Marked string for translation (with U_).
7589         * e-storage-set-view.c
7590         (storage_sort_callback): s/strcasecmp/g_utf8_collate/
7591         (folder_sort_callback): ditto
7593         * e-summary-storage.c (impl_get_display_name):
7594         Marked string for translation (with U_).
7596 2001-08-29  Iain Holmes  <iain@ximian.com>
7598         * e-local-storage.c (notify_listener): Function to create CORBAany
7599         and notify listeners.
7600         (component_async_create_folder_callback): Notify the listener again.
7601         (create_folder): Handle the Bonobo_Listener again and make it async.
7602         (impl_async_create_folder): Pass CORBA_OBJECT_NIL as the listener.
7603         (bonobo_interface_create_folder_cb): Make async.
7605         * evolution-storage.c (notify_bonobo_listener): Removed this broken
7606         broken function.
7607         (impl_Storage_async_create_folder): Make async, duplicate the listener
7608         instead of notifying it.
7609         (impl_Storage_async_remove_folder): Notify listener by hand.
7610         (e_marshal_NONE__POINTER_POINTER_POINTER_POINTER_POINTER): Return of the
7611         worst signal marshaller in Scotland.
7612         (class_init): Use the above marshaller for the create_folder signal.
7614 2001-08-30  Jeffrey Stedfast  <fejj@ximian.com>
7616         * e-shell-folder-creation-dialog.c (entry_name_is_valid): Check
7617         for \r in the folder name, this is an invalid char. Also take a
7618         "reason" argument so we can inform the user why his folder name is
7619         invalid.
7620         (dialog_clicked_cb): Tell the user why the folder name is invalid.
7622 2001-08-28  Ettore Perazzoli  <ettore@ximian.com>
7624         [Fix #8125, Evolution crashes while starting.]
7626         * e-shortcuts.c (load_shortcuts): Handle the case when there is no
7627         URI without crashing.  Only add shortcuts when they are evolution:
7628         URIs.
7630 2001-08-27  Ettore Perazzoli  <ettore@ximian.com>
7632         * Evolution-ShellComponent.idl: Studlycapsize all the IDs that are
7633         not.
7634         * Evolution-common.idl: Likewise.
7635         * evolution-activity-client.c: Updated accordingly.
7636         * evolution-shell-component.c: Likewise.
7637         * evolution-storage.c: Likewise.
7638         * e-activity-handler.c: Likewise.
7639         * e-component-registry.c: Likewise.
7640         * e-corba-storage.c: Likewise.
7641         * e-shell-user-creatable-items-handlers.c: Likewise.
7643         * e-local-storage.c (remove_folder): Remove unused variable.
7645         * e-shell-view.c (update_for_current_uri): Assign zero to
7646         `unread_count', not NULL.
7648         * e-shell-importer.c (import_druid_finish): Remove unused
7649         variable.
7651         * e-shell-user-creatable-items-handler.c: #include
7652         "e-corba-utils.h".
7654         * e-shell-startup-wizard.c: #include "e-shell-startup-wizard.h".
7656         * e-shell-startup-wizard.h: #include <glib.h>
7658 2001-08-24  Ettore Perazzoli  <ettore@ximian.com>
7660         * e-shell-view.c (update_for_current_uri): Also display the unread
7661         count in the title bar.
7663 2001-08-24  Ettore Perazzoli  <ettore@ximian.com>
7665         * e-setup.c (copy_default_stuff): Remove the stupid "do you want
7666         me to initialize stuff?" dialog.
7668 2001-08-24  Ettore Perazzoli  <ettore@ximian.com>
7670         * e-storage-set-view.c: Change the `selected_row_path' to be
7671         non-const.
7672         (destroy): Free it.
7673         (e_storage_set_view_set_current_folder): Set the selected_row_path
7674         to be this path.
7675         (tree_drag_begin): Free the selected_row_path and strdup() the
7676         value we assign.
7678 2001-08-24  Ettore Perazzoli  <ettore@ximian.com>
7680         * e-shell-view.c (e_shell_view_remove_control_for_uri): Ooops.
7681         Save the pointer to the control for use after the view struct is
7682         freed.
7684 2001-08-24  Ettore Perazzoli  <ettore@ximian.com>
7686         * e-shell-view.c: New struct `View'.  Replace `uri_to_control' in
7687         `EShellViewPrivate' with `uri_to_view'.
7688         (view_new): New.
7689         (hash_forall_destroy_view): New, replacing
7690         `hash_forall_destroy_control'.
7691         (destroy): Updated to match the uri_to_control -> uri_to_view
7692         changes.
7693         (socket_destroy_cb): Likewise.
7694         (get_view_for_uri): Renamed from `get_control_for_uri'.  Return a
7695         View instead of a GtkWidget.
7696         (show_existing_view): Updated to use `get_view_from_uri', get a
7697         @view instead of a @control.
7698         (e_shell_view_display_uri): Updated to use `uri_to_view' instead
7699         of `uri_to_control'.
7700         (e_shell_view_remove_control_for_uri): Likewise.
7702 2001-08-24  Ettore Perazzoli  <ettore@ximian.com>
7704         * e-shell-view.c (update_folder_title_bar): Changed to get a
7705         @title and a @type.
7706         (update_for_current_uri): Updated accordingly.
7707         (update_window_icon): Get a @type instead of a @folder.
7708         (update_for_current_uri): Updated accordingly.
7710 2001-08-24  Ettore Perazzoli  <ettore@ximian.com>
7712         [Fix #5978, "If a component dies, it's toolbar buttons remain".]
7714         * e-shell-view.c (socket_destroy_cb): If the view belongs to a
7715         toplevel storage node, get the right type information with
7716         `e_storage_get_toplevel_node_uri()' instead of trying to get the
7717         [non-existing] folder for it.
7719 2001-08-24  Iain Holmes  <iain@ximian.com>
7721         * e-shell-startup-wizard.c (druid_event_notify_cb): Implement the other
7722         missing events.
7723         (make_identity_page):
7724         (make_receive_page):
7725         (make_extra_page):
7726         (make_transport_page):
7727         (make_management_page): Add the GnomeDruidPages to the page_list.
7729 2001-08-24  Ettore Perazzoli  <ettore@ximian.com>
7731         * e-shortcuts-view.c: Added accelerators for the right-click
7732         shortcut menu.
7734 2001-08-23  Zbigniew Chyla  <cyba@gnome.pl>
7736         * e-shortcuts.c (e_shortcuts_add_default_group): Convert names of the
7737         default group and shortcuts to UTF-8 (still no U_ :().
7739 2001-08-23  Zbigniew Chyla  <cyba@gnome.pl>
7741         * e-shortcuts-view.c (destroy_group_cb): Convert the name of the group
7742         to GTK+ locale before displaying it in a dialog.
7744 2001-08-23  Ettore Perazzoli  <ettore@ximian.com>
7746         * e-storage-set-view.c (tree_drag_data_received): If we get no
7747         data, don't notify the receiving component at all.
7749 2001-08-23  Ettore Perazzoli  <ettore@ximian.com>
7751         [Fix #5736, crashing when copying a message with drag and drop.]
7753         * e-storage-set-view.c (tree_drag_data_received): Handle NULL data
7754         gracefully.
7756 2001-08-22  Ettore Perazzoli  <ettore@ximian.com>
7758         * e-storage.c (e_storage_async_xfer_folder): If the remove_source
7759         is %TRUE and destination is a descendant of the parent, pass an
7760         `E_STORAGE_CANTMOVETODESCENDANT' error code to the callback.
7762         * e-storage.h: New value `E_STORAGE_CANTMOVETODESCENDANT' in
7763         `EStorageResult'.
7765 2001-08-22  Ettore Perazzoli  <ettore@ximian.com>
7767         * e-shell-folder-commands.c
7768         (folder_selection_dialog_folder_selected_callback): Actually
7769         return if the folder is being moved into one of its descendants.
7771 2001-08-22  Ettore Perazzoli  <ettore@ximian.com>
7773         * e-shell-folder-title-bar.c (label_realize_callback): `#if 0'ed
7774         out.
7775         (make_bold): Likewise.
7776         (e_shell_folder_title_bar_construct): Don't call it.
7778         * e-local-storage.c (component_async_remove_folder_callback): Only
7779         remove the directory if the component succeeds.
7781 2001-08-22  Peter Williams  <peterw@ximian.com>
7783         * e-local-storage.c (async_xfer_folder_callback): Fix the improper
7784         construction of the new folder's physical URI.
7786 2001-08-22  Ettore Perazzoli  <ettore@ximian.com>
7788         * e-local-storage.c (remove_folder): Don't remove the folder
7789         directory here.
7790         (component_async_remove_folder_callback): Remove it here instead.
7792 2001-08-22  Ettore Perazzoli  <ettore@ximian.com>
7794         [Fix #7775, crash trying to do New Task]
7796         * e-shell-user-creatable-items-handler.c (verb_fn): Make sure we
7797         don't pass NULL strings to
7798         `GNOME_Evolution_ShellComponent_userCreateNewItem()'.
7800 2001-08-21  Damon Chaplin  <damon@ximian.com>
7802         * e-gray-bar.c (endarken_style): unref the rc_style.
7804 2001-08-21  Ettore Perazzoli  <ettore@ximian.com>
7806         * e-shell.c: #include "e-shell-startup-wizard.h".
7808         * e-shell-startup-wizard.h: New.
7810 2001-08-21  Iain Holmes  <iain@ximian.com>
7812         * e-shell-startup-wizard.c (make_mail_dialog_pages): Show an error
7813         window if mailer doesn't respond.
7815 2001-08-21  Ettore Perazzoli  <ettore@ximian.com>
7817         * e-shell-folder-title-bar.c (label_realize_callback): Fix a leak:
7818         unref the EFont after we have used it.  Also, don't crash if
7819         `e_font_to_gdk_font()' returns NULL.  [This should fix #7666,
7820         Folder View crashes Evo.]
7822 2001-08-21  Iain Holmes  <iain@ximian.com>
7824         * e-shell-importer.c (start_import): Don't print a NULL.
7826 2001-08-20  Iain Holmes  <iain@ximian.com>
7828         * e-shell-importer.c (import_druid_finish): Do the correct thing when
7829         the new folder button is clicked.
7830         (folder_selected): Import the file.
7831         (folder_cancelled): Kill the dialog.
7833 2001-08-18  Iain Holmes  <iain@ximian.com>
7835         * e-shell-startup-wizard.c (make_identity_page):
7836         (make_receive_page):
7837         (make_extra_page):
7838         (make_transport_page):
7839         (make_management_page): Check that the mailer has been inited correctly.
7840         (e_shell_startup_wizard_create): If some of the pages could not be 
7841         created, just stop trying to show the startup wizard.
7843 2001-08-20  Ettore Perazzoli  <ettore@ximian.com>
7845         * e-shell-view.c (e_shell_view_load_settings): Don't set the
7846         paneds' positions if the respective left-hand elements [i.e. the
7847         shortcut bar and the folder bar] are hidden.
7848         (e_shell_view_show_folder_bar): Set the paned position to zero
7849         when hiding.
7850         (e_shell_view_show_shortcut_bar): Likewise.
7852 2001-08-20  Ettore Perazzoli  <ettore@ximian.com>
7854         * e-shell-startup-wizard.c (finish_func): Don't free the returned
7855         displayname.
7857 2001-08-20  Ettore Perazzoli  <ettore@ximian.com>
7859         * e-shell-view.c (pop_up_folder_bar): Make sure we display a pin
7860         when we are popped up.
7862 2001-08-20  Ettore Perazzoli  <ettore@ximian.com>
7864         * e-shell-view.c (setup_widgets): Don't set the paned tree
7865         position.
7867 2001-08-19  Chris Toshok  <toshok@ximian.com>
7869         * evolution-shell-component.c (impl__get_supported_types): fill
7870         the corba sequence for the accepted_dnd_types.
7872 2001-08-20  Ettore Perazzoli  <ettore@ximian.com>
7874         * e-shell-view.c (setup_storage_set_subwindow): Don't show the
7875         vbox here.
7876         (setup_widgets): Don't show the storage_set_view_box here.
7878 2001-08-20  Ettore Perazzoli  <ettore@ximian.com>
7880         * evolution-test-component.c: Added display_name and description
7881         to the type.
7883         * evolution-shell-component.c (impl__get_supported_types): Pass
7884         `display_name' and `description' here.
7885         (evolution_shell_component_construct): Likewise.
7887         * evolution-shell-component.h: New members `display_name',
7888         `description' in `EvolutionShellComponentFolderType'.
7890         * e-component-registry.c (register_type): New args @description
7891         and @display_name.  Pass to
7892         `e_folder_type_registry_register_type()'.
7893         (register_component): Pass the values returned in the sequence
7894         from __get_supported_types.
7896         * e-folder-type-registry.c: New members `display_name' and
7897         `description' in `struct _FolderType'.
7898         (folder_type_new): New args @description and @display_name.
7899         Initialize the respective fields in the `FolderType' accordingly.
7900         (folder_type_free): Free `display_name' and `description'.
7901         (register_folder_type): New args @display_name, @description.
7902         (e_folder_type_registry_register_type): New args @display_name,
7903         @description.
7904         (e_folder_type_registry_get_description_for_type): New.
7905         (e_folder_type_registry_get_display_name_for_type): New.
7907         * Evolution-ShellComponent.idl: Added `display_name' and
7908         `description' fields to the `FolderType' struct.
7910 2001-08-19  Ettore Perazzoli  <ettore@ximian.com>
7912         * e-shell.c (destroy): Put the bonobo_object_release_unref() for
7913         the db at the top in an attempt to fix #7542.
7915 2001-08-19  Ettore Perazzoli  <ettore@ximian.com>
7917         * e-summary-storage.c (e_summary_storage_new): Change type of
7918         toplevel node from "Summary" to "summary".  [All the other folder
7919         types use lowercase names.]
7921         * e-shortcuts.c (load_shortcuts): Also use the display name for
7922         the storage.
7924 2001-08-19  Ettore Perazzoli  <ettore@ximian.com>
7926         * e-shortcuts.c (load_shortcuts): Use xmlMemStrdup() to override
7927         the type as it's expected to be allocated by libxml later on.
7928         Also, get the icon for the storage if the shortcut points to a
7929         storage.
7931         * e-storage-set-view.c (etree_icon_at): Don't special case the
7932         Summary storage.  Rather, use `e_storage_get_toplevel_node_type()'
7933         for getting the type of the node.
7935         * e-shortcuts-view-model.c (get_icon_for_item): New helper
7936         function.
7937         (shortcuts_update_shortcut_cb): Use it.
7938         (shortcuts_new_shortcut_cb): Use it.
7939         (load_group_into_model): Use it.
7941 2001-08-18  Ettore Perazzoli  <ettore@ximian.com>
7943         * e-shell-view.c: New constant `MIN_POPUP_TREE_WIDTH'.
7944         (pop_up_folder_bar): Make sure the pop-up is always this size or
7945         more.
7946         (setup_widgets): Pass %FALSE for @shrink to `e_paned_pack1()'.
7947         (reparent_storage_set_view_box_and_destroy_popup): Likewise.
7949 2001-08-18  Ettore Perazzoli  <ettore@ximian.com>
7951         * e-shell-view-menu.c (shortcut_bar_visibility_changed_cb): New,
7952         replacing `shortcut_bar_mode_changed_cb'.
7953         (folder_bar_visibility_changed_cb): New, replacing
7954         `folder_bar_mode_changed_cb'.
7955         (command_toggle_folder_bar): Use `e_shell_view_show_folder_bar()'
7956         instead of `e_shell_view_set_folder_bar_mode()'.
7957         (command_toggle_shortcut_bar): Use
7958         `e_shell_view_show_shortcut_bar()' instead of
7959         `e_shell_view_set_shortcut_bar_mode()'.
7960         (e_shell_view_menu_setup): Updated for the
7961         "shortcut_bar_visibility_changed" and
7962         "folder_bar_visibility_changed" signals and the above changes.
7964         * e-shell-view.c: New member `folder_bar_popup' in
7965         `EShellViewPrivate'.  Replaced `folder_bar_mode' and
7966         `shortcut_bar_mode' with `folder_bar_shown' and
7967         `shortcut_bar_shown', respectively.
7968         (init): Updated to initialize these correctly.
7969         (reparent): New helper function.
7970         (reparent_storage_set_view_box_and_destroy_popup): New helper
7971         function.
7972         (popdown_transient_folder_bar): Updated to use the
7973         `folder_bar_popup'.
7974         (folder_bar_popup_map_callback): Renamed from
7975         `storage_set_view_box_map_cb'.
7976         (e_shell_view_set_shortcut_bar_mode): Removed.
7977         (e_shell_view_set_folder_bar_mode): Removed.
7978         (e_shell_view_show_shortcut_bar): New.  All the calls to
7979         `e_shell_view_set_shortcut_bar_mode()' replaced with calls to this
7980         one.
7981         (e_shell_view_show_folder_bar): New.  All the calls to
7982         `e_shell_view_set_folder_bar_mode()' replaced with calls to this
7983         one.
7984         (e_shell_view_folder_bar_shown): New.  All the calls to
7985         `e_shell_view_get_folder_bar_mode()' replaced with calls to this
7986         one.
7987         (e_shell_view_shortcut_bar_shown): New.  All the calls to
7988         `e_shell_view_get_shortcut_bar_mode()' replaced with calls to this
7989         one.
7990         (class_init): Replace signal `folder_bar_mode_changed' with
7991         `folder_bar_visibility_changed' and `shortcut_bar_mode_changed'
7992         with `shortcut_visibility_changed'.
7993         (e_shell_view_save_settings): Use keys "ShortcutBarShown" and
7994         "FolderBarShown" instead of "ShortcutBarMode" and "FolderBarMode",
7995         respectively.
7996         (e_shell_view_load_settings): Likewise.
7998         * e-shell-view.h: Removed enum `EShellViewSubwindowMode'.  Renamed
7999         signal `shortcut_bar_mode_changed' to
8000         `shortcut_bar_visibility_changed' and `folder_bar_mode_changed' to
8001         `folder_bar_visibility_changed'.
8003 2001-08-17  Iain Holmes  <iain@ximian.com>
8005         * Makefile.am: Add the Evolution-Wizard.idl file
8007 2001-08-17  Iain Holmes  <iain@ximian.com>
8009         * e-shell-folder-selection-dialog.c (folder_creation_dialog_result_cb):
8010         Check the priv isn't NULL before dereferencing it.
8012 2001-08-17  Ettore Perazzoli  <ettore@ximian.com>
8014         * evolution-shell-client.c
8015         (evolution_shell_client_set_line_status): g_return_if_fail(), not
8016         g_return_val_if_fail().
8018 2001-08-17  Ettore Perazzoli  <ettore@ximian.com>
8020         * evolution-shell-client.c
8021         (evolution_shell_client_get_local_storage): Added some g_warnings
8022         for when we return CORBA_OBJECT_NIL; this might help to figure out
8023         what is wrong with bug #6625.  Also, added a missing
8024         CORBA_exception_free().
8026 2001-08-17  Jeffrey Stedfast  <fejj@ximian.com>
8028         * e-shell.c (e_shell_construct): Don't destroy the splash twice.
8030         * e-local-storage.c (setup_folder_as_stock): utf_name should not
8031         be const as e_utf8_from_locale_string() returns an allocated
8032         buffer.
8034 3001-08-17  Iain Holmes  <iain@ximian.com>
8036         * Evolution.idl: Add Evolution-Wizard.idl
8038         * Evolution-Wizard.idl: New file implementing a wizard interface.
8040         * Makefile.am: Add the wizard stuff and the startup dialog stuff
8042         * e-shell.c (e_shell_construct): Hide the splash screen and try to
8043         start the startup assistant.
8045         * glade/Makefile.am: Add the evolution-startup-wizard.glade
8047 2001-08-16  Jason Leach  <jleach@ximian.com>
8049         * e-shell-view-menu.c (authors): Add myself.
8051         * e-shell-view.c (folder_selected_cb): Desensitize the
8052         move/copy/delete/rename in the menus (including right click) for
8053         stock folders.
8055         * Evolution-Icon.idl: Actually remove this file from CVS (its
8056         contents are now in Evolution-common.idl).
8058 2001-08-16  Ettore Perazzoli  <ettore@ximian.com>
8060         * e-shell-view-menu.c: Remove the Help menu verbs and add a
8061         "HelpFAQ" verb.
8062         (command_help): Removed.
8063         (command_help_faq): New, implementation for the "HelpFAQ" verb.
8065 2001-08-16  Ettore Perazzoli  <ettore@ximian.com>
8067         * e-shell-folder-title-bar.c (label_realize_callback): New
8068         callback for the realize signal.
8069         (make_bold): New.  Hooks up the label_realize_callback.
8070         (e_shell_folder_title_bar_construct): Make the name of the folder
8071         bold using it.
8073 2001-08-16  Ettore Perazzoli  <ettore@ximian.com>
8075         * e-gray-bar.c (endarken_style): Just hardcode the colors.
8077         * e-shell-folder-title-bar.c (set_title_bar_label_style): New.
8078         (e_shell_folder_title_bar_construct): Call it on the labels here,
8079         so we get nice white labels.
8081 2001-08-16  Ettore Perazzoli  <ettore@ximian.com>
8083         * e-shell.c (e_shell_component_maybe_crashed): s/the view for `%s'
8084         have/the views for `%s' have/.
8086 2001-08-16  Ettore Perazzoli  <ettore@ximian.com>
8088         * e-storage-set-view.c (etree_icon_at): Remove debugging message.
8090 2001-08-15  Jason Leach  <jleach@ximian.com>
8092         * e-shell-view-menu.c (command_help): Don't hardcode/build a help
8093         URI here, use gnome_help_display() instead, which will figure out
8094         what language the user needs, etc.
8095         (help_verbs): Adapt these menu items to above changes, they don't
8096         need to pass "evolution/foo.html" to command_help, just
8097         "foo.html".
8099         * e-folder.c (e_folder_set_child_highlight): Emit a "changed"
8100         signal at the end of this function.  Bug #7232.
8102 2001-08-15  Aaron Weber  <aaron@ximian.com>
8104         * e-shell-view-menu.c (command_about_box): Changed help menus to
8105         point to evolution/ and not evolution-guide/.
8107 2001-08-15  Iain Holmes  <iain@ximian.com>
8109         * e-summary-storage.c: s/My Evolution/Summary
8111         * e-storage-set-view.c: s/My Evolution/Summary
8113 2001-08-15  Jason Leach  <jleach@ximian.com>
8115         * Evolution-Shell.idl: Add a new IDL function,
8116         Evolution::Shell::setLineStatus (in boolean).  Bug #3030.
8118         * e-shell.c (impl_Shell_setLineStatus): Implementation of the
8119         above.
8121         * evolution-shell-client.c
8122         (evolution_shell_client_set_line_status): A wrapper function for
8123         the above, this is what a component can call to set the shell
8124         on/offline.
8126 2001-08-14  Dan Winship  <danw@ximian.com>
8128         * evolution-storage.c (evolution_storage_new_folder): Use the
8129         passed-in unread_count.
8131         * e-corba-storage.c (impl_StorageListener_notifyFolderCreated):
8132         Pass the passed-in unread_count to e_storage_new_folder.
8134 2001-08-13  Ettore Perazzoli  <ettore@ximian.com>
8136         * e-gray-bar.c (impl_style_set): Chain to the parent class.
8137         (endarken_style): Hardcode the colors here.
8139 2001-08-13  Anna Marie Dirks  <anna@ximian.com> 
8141         * importer/intelligent.c : Changed the "Evolution has found the 
8142         following data sources" text in the import dialog to "Evolution
8143         can import data from the following files" in an attempt to 
8144         increase user-friendliness.
8146 2001-08-13  Ettore Perazzoli  <ettore@ximian.com>
8148         * e-shell-view.c (setup_widgets): Add some little padding to the
8149         title bar so it looks nicer.
8151 2001-08-13  Ettore Perazzoli  <ettore@ximian.com>
8153         [Fix #7109, Evolution crashes when the splash screen dialog is
8154         killed by clicking the "X" button.]
8156         * e-shell.c (e_shell_construct): Connect
8157         `gtk_widget_hide_on_delete()' correctly.
8158         
8159 2001-08-13  Anna Marie Dirks  <anna@ximian.com>
8161         * importer/import.glade : Changed all instances of "druid"
8162         and "wizard" to "assistant". 
8164 2001-08-13  Ettore Perazzoli  <ettore@ximian.com>
8166         * main.c (idle_cb): Replaced the chained `if' statements with a
8167         `switch' statement for clarity.  Also, don't ref the created
8168         shell, and release the object reference properly.
8170 2001-08-13  Ettore Perazzoli  <ettore@ximian.com>
8172         * e-corba-shortcuts.c (shortcut_list_to_corba): set_release on the
8173         sequence, not the buffer.
8175 2001-08-13  Ettore Perazzoli  <ettore@ximian.com>
8177         * e-shell.c (view_destroy_cb): Restore the shell reffing/unreffing
8178         here.
8180 2001-08-13  Peter Williams  <peterw@ximian.com>
8182         * e-corba-shortcuts.c (shortcut_list_to_corba): Don't cause an abort
8183         if the shortcut group is empty.
8185 2001-08-13  Ettore Perazzoli  <ettore@ximian.com>
8187         * Makefile.am (IDLS): Add `Evolution-common.idl'.
8189 2001-08-13  Dan Winship  <danw@ximian.com>
8191         * evolution-shell-component.c (init): Initialize
8192         priv->user_creatable_item_types. [Score: g_new: 0, g_new0: 2]
8194 2001-08-13  Jason Leach  <jleach@ximian.com>
8196         * e-local-storage.c (remove_folder_directory): Remove unused
8197         variable @folder.
8199         * e-shell-folder-commands.c (e_shell_command_add_to_shortcut_bar):
8200         Give icons to shortcuts added via Right-click->Add to Shortcut
8201         Bar.
8203 2001-08-12  Ettore Perazzoli  <ettore@ximian.com>
8205         * e-shell-folder-selection-dialog.c
8206         (e_shell_folder_selection_dialog_construct): Grab focus on the
8207         storage set view.
8209 2001-08-12  Ettore Perazzoli  <ettore@ximian.com>
8211         * e-local-storage.c (setup_folder_as_stock): Use utf 8 to set the
8212         name.
8214 2001-08-12  Ettore Perazzoli  <ettore@ximian.com>
8216         * e-storage-set-view.c (etree_value_at): Remove debugging message.
8218 2001-08-12  Ettore Perazzoli  <ettore@ximian.com>
8220         * e-shell-view.c (setup_widgets): Put the folder title bar into an
8221         EGrayBar.
8223         * e-gray-bar.c: New.
8224         * e-gray-bar.h: New.
8226 2001-08-12  Ettore Perazzoli  <ettore@ximian.com>
8228         [Finally!  Fix #413, "Support for stock folders", and #786, "i18n:
8229         default folder names are not translated".]
8231         * e-local-storage.c (setup_folder_as_stock): New helper function.
8232         (setup_stock_folders): Use it to set the default folders as
8233         "stock" folders.  This will give them a translated name and also
8234         make them unmodifiable.
8235         (load_all_folders): Call `setup_stock_folders()' here.
8237         * e-shell-folder-commands.c (delete_cb): Display an error dialog
8238         if the deletion fails.
8239         (e_shell_command_delete_folder): Pass the shell view to the delete
8240         callback.
8242         * e-storage.c (e_storage_result_to_string): Add a string for
8243         `E_STORAGE_CANTCHANGESTOCKFOLDER' as well.
8245         * e-local-storage.c (remove_folder): Don't allow a stock folder to
8246         be removed.
8247         (impl_async_xfer_folder): Don't allow a stock folder to be moved.
8249         * e-corba-storage.c (async_remove_folder): Don't allow a stock
8250         folder to be removed.
8252         * e-storage.h: New enum value `E_STORAGE_CANTCHANGESTOCKFOLDER' in
8253         `EStorageResult'.
8255         * e-folder.c: Make member `self_highlight' a :1 int.  New :1 int
8256         member `is_stock'.
8257         (init): Init `is_stock' to %FALSE.
8258         (e_folder_set_is_stock): New.
8259         (e_folder_get_is_stock): New.
8261         * e-local-storage.c (bonobo_interface_update_folder_cb): For now,
8262         don't set the display name.
8264 2001-08-10  Ettore Perazzoli  <ettore@ximian.com>
8266         * Evolution-common.idl: Add Folder struct here.
8268         * Evolution-Storage.idl: Removed Folder struct.
8270         * Evolution.idl: #include <Evolution-common.idl>, not
8271         <Evolution-Icon.idl>.
8273         * Evolution-common.idl: New.
8275         * Evolution-Icon.idl: Removed.
8277 2001-08-10  Ettore Perazzoli  <ettore@ximian.com>
8279         * e-shell-folder-commands.c (rename_clicked): `#if 0'ed out.
8280         (rename_cb): Likewise.
8282         * evolution-shell-component.c (destroy): Fixed a confusion between
8283         GList and GSList.
8285 2001-08-10  Ettore Perazzoli  <ettore@ximian.com>
8287         * e-shell-user-creatable-items-handler.c (component_free): Only
8288         free the `type_list' if not NULL.
8289         (setup_menu_xml): Deal with the case of `type_list' being NULL
8290         gracefully.
8291         (verb_fn): Same here.
8292         (add_verbs_to_ui_component): Likewise.
8294 2001-08-10  Ettore Perazzoli  <ettore@ximian.com>
8296         [Fix #6787, Removing a storage with children and then re-adding it
8297         causes a crash.]
8299         * e-storage-set-view.c (convert_corba_drag_action_set_to_gdk):
8300         Removed `#if 0'ed function.
8301         (etree_node_destroy_func): New destroy function.
8302         (e_storage_set_view_construct): Set this as the new destroy
8303         function on the ETreeMemory.
8305 2001-08-09  Ettore Perazzoli  <ettore@ximian.com>
8307         * evolution-test-component.c (user_create_new_item_callback):
8308         Updated to display the parent folder's URI and its type as well.
8310         * evolution-shell-component.c (impl_userCreateNewItem): Updated to
8311         get the @parent_folder_physical_uri and the @parent_folder_type.
8312         (class_init): Update the "user_create_new_item" signal to have
8313         @parent_folder_physical_uri and @parent_folder_type args.
8315         * e-shell-view.c (get_type_for_folder): Don't bork on a NULL
8316         @physical_uri_return.
8317         (e_shell_view_get_current_physical_uri): New.
8318         (e_shell_view_get_current_folder_type): New.
8320         * e-shell-user-creatable-items-handler.c
8321         (e_shell_user_creatable_items_handler_setup_menus): Replace
8322         @ui_component arg with a @shell_view arg.  Set it on the
8323         UIComponent using gtk_object_set_data().
8324         (verb_fn): Pass the type and physical URI of the current folder;
8325         retrieve that from the shell_view got with gtk_object_get_data().
8327         * Evolution-ShellComponent.idl
8328         (userCreateNewItem): New args @parent_folder_uri,
8329         @parent_folder_type.
8331 2001-08-09  Ettore Perazzoli  <ettore@ximian.com>
8333         * e-shortcuts-view.c (show_new_group_dialog): Cast the toplevel to
8334         be passed to `e_request_string()' to GtkWindow, not GtkWidget.
8335         Also, remove unused variables.
8336         (get_efolder_from_shortcut): Constify @item_url.
8337         (get_storage_set_path_from_uri): Removed.
8339         * evolution-shell-component.c (destroy): `p' shall be a GList, not
8340         a GSList.
8342 2001-08-09  Ettore Perazzoli  <ettore@ximian.com>
8344         * e-shell-view.c (e_shell_view_construct): Add the menu items
8345         using the EShellUserCreatableItemsHandler.
8347         * e-shell-user-creatable-items-handler.c: New.
8348         * e-shell-user-creatable-items-handler.h: New.
8350         * e-shell.c: New member `user_creatable_items_handler' in
8351         `EShellPrivate'.
8352         (init): Initialize to NULL.
8353         (destroy): Unref.
8354         (e_shell_construct): Create here.
8355         (e_shell_get_user_creatable_items_handler): New accessor.
8356         (setup_components): Add the registered components to the
8357         user_creatable_items_handler.
8359         * evolution-test-component.c (factory_fn): Add a couple sample
8360         user-creatable items.
8361         (user_create_new_item_callback): New callback for the
8362         "user_create_new_item" signal on the EvolutionShellComponent.
8363         (factory_fn): Connect.
8365         * e-shell.c (e_shell_get_component_registry): New.
8367         * evolution-shell-component.c: New enum value
8368         `USER_CREATE_NEW_ITEM'.  New member `user_create_item_types' in
8369         `_EvolutionShellComponentPrivate'.
8370         (init): Init to NULL.
8371         (impl_destroy): Free it.
8372         (user_creatable_item_type_free): New helper function.
8373         (user_creatable_item_type_new): New helper function.
8374         (impl_userCreateNewItem): New, implementation for
8375         ::userCreateNewItem.
8376         (class_init): Install the "user_create_new_item" signal and the
8377         userCreateNewItem impl.
8378         (impl__get_external_uri_schemas): Renamed from
8379         `impl_ShellComponent__get_external_uri_schemas'.
8380         (impl___get_supported_types): Renamed from
8381         `impl_ShellComponent__get_supported_types'.
8382         (impl__get_user_creatable_item_types): New, implementation for the
8383         `user_creatable_item_types' attribute.
8384         (class_init): Install it.
8385         (evolution_shell_component_add_user_creatable_item): New.
8387         * evolution-shell-component.h: Added signal
8388         `user_create_new_item'.
8390         * Evolution-ShellComponent.idl: Added typedefs
8391         `UserCreatableItemType', `UserCreatableItemTypeList'.  New
8392         attribute `user_creatable_item_types'.
8393         (userCreateNewItem): New.
8395 2001-08-09  Federico Mena Quintero  <federico@ximian.com>
8397         * e-component-registry.c (destroy): Chain to the destroy handler
8398         in the parent class!
8400         * e-shortcuts-view-model.c (impl_destroy): Likewise.  Sigh.
8402 2001-08-08  Ettore Perazzoli  <ettore@ximian.com>
8404         [Fixes, among other things, #5705, "Ampersands not handled
8405         correctly in drag + drop".  Thanks to Nat for actually discovering
8406         the problem.]
8408         * e-shortcuts.c (save_shortcuts): Use `xmlNewTextChild()' instead
8409         of `xmlNewChild()'.
8411         * e-local-folder.c (save_metadata): Use `xmlNewTextChild' instead
8412         of `xmlNewChild()'.
8414 2001-08-08  Ettore Perazzoli  <ettore@ximian.com>
8416         * evolution-shell-component.c
8417         (fill_corba_sequence_from_null_terminated_string_array): Set the
8418         release flag on the sequence, and CORBA_string_dup() the strings
8419         anyway.
8421 2001-08-08  Ettore Perazzoli  <ettore@ximian.com>
8423         * evolution-shell-component.c
8424         (impl_ShellComponent__get_supported_types): Set the release flag
8425         on the returned folder type list too.
8427         * evolution-activity-client.c (create_icon_from_pixbuf): Set the
8428         release flag on the sequence, not the struct that contains it.
8430 2001-08-08  Ettore Perazzoli  <ettore@ximian.com>
8432         * e-corba-shortcuts.c (shortcut_list_to_corba): Set the release
8433         flag for the newly allocated sequence.
8435         * e-activity-handler.c (impl_operationStarted): Unref the
8436         icon_pixbuf.
8438         * e-task-widget.c (impl_destroy): g_free the private struct.
8440 2001-08-08  Jason Leach  <jleach@ximian.com>
8442         * e-storage-set-view.c (etree_icon_at): Set the My Evolution icon
8443         for the folder tree correctly.
8445 2001-08-08  Ettore Perazzoli  <ettore@ximian.com>
8447         * evolution-shell-component.c
8448         (impl_ShellComponent__get_supported_types): Fill the CORBA
8449         sequence once.
8451         * e-activity-handler.c (activity_info_free): Unref the icon.
8453 2001-08-08  Ettore Perazzoli  <ettore@ximian.com>
8455         * e-task-bar.c (e_task_bar_prepend_task): Sigh.  If the function
8456         says "prepend", of course the function to call is
8457         `g_list_prepend()', not `g_list_append()'.  You dumbass.
8459 2001-08-08  Jason Leach  <jleach@ximian.com>
8461         * e-shell-folder-creation-dialog.c
8462         (storage_set_view_storage_selected_cb): Set the sensitivity for
8463         the OK button when a storage is selected too.  Bug #6473.
8465 2001-08-08  Ettore Perazzoli  <ettore@ximian.com>
8467         * evolution-activity-client.c (create_icon_from_pixbuf): Set the
8468         release flag on the returned icon to %TRUE.
8470 2001-08-07  Ettore Perazzoli  <ettore@ximian.com>
8472         * e-shortcuts.c (load_shortcuts): If the shortcut points to some
8473         folder in the storage set, get the type from it.
8475         * e-storage-set.c (signal_new_folder_for_all_folders_under_paths):
8476         New helper function.
8477         (signal_new_folder_for_all_folders_in_storage): New helper
8478         function.
8479         (e_storage_set_add_storage): Call the latter to emit a
8480         "new_folder" signal for all the folders contained in the newly
8481         added storage.
8483 2001-08-07  Ettore Perazzoli  <ettore@ximian.com>
8485         [This should fix #5407, application crash on re-opening.]
8487         * e-shell.c (e_shell_construct): Call
8488         `gtk_widget_hide_on_delete()' on the splash.
8490         * e-splash.c (e_splash_add_icon): Don't check for destruction
8491         here.
8492         (e_splash_set_icon_highlight): Not even here.
8493         (button_press_event): Use a GTK+ cast.
8495 2001-08-07  Ettore Perazzoli  <ettore@ximian.com>
8497         * e-shortcuts-view-model.c (load_group_into_model): Get the icon
8498         from the folder type registry.
8499         (shortcuts_new_shortcut_cb): Likewise.
8500         (shortcuts_update_shortcut_cb): Likewise.
8502         * e-shortcuts-view.c (icon_callback): Removed.
8503         (e_shortcuts_view_construct): Don't set the icon callback anymore.
8505 2001-08-07  Jason Leach  <jleach@ximian.com>
8507         * e-storage-set-view.c (etree_value_at): Don't use a leaky hash to
8508         get folder names with unread count, use gtk_object_set_data_full
8509         and gtk_object_get_data on the EFolder.
8510         (etree_icon_at): Give the "My Evolution" storage an icon through a
8511         non-generic way.  Will be replaced by a generic method when other
8512         storages get icons too.
8514 2001-08-07  Ettore Perazzoli  <ettore@ximian.com>
8516         * evolution-activity-client.c
8517         (evolution_activity_client_construct): Free the CORBA version of
8518         the animated icon.
8520 2001-08-07  Not Zed  <NotZed@Ximian.com>
8522         * evolution-activity-client.c (impl_destroy): Unref the listener
8523         when done.
8525 2001-08-06  Ettore Perazzoli  <ettore@ximian.com>
8527         * e-shell-folder-title-bar.c: Remove member `hbox' from `struct
8528         _EShellFolderTitleBarPrivate'.
8529         (make_icon_pixmap): Removed.
8530         (rgb_from_gdk_color): Removed.
8531         (endarken_style): Removed.
8532         (set_style_cb): Removed.
8533         (create_arrow_pixmap): Renamed from `create_icon_pixmap'.
8534         (get_max_clipped_label_width): New helper function.
8535         (size_allocate_icon): New helper function.
8536         (size_allocate_button): New helper function.
8537         (size_allocate_label): New helper function.
8538         (add_icon_widget): New helper function.
8539         (realize): Changed to use `add_icon_widget()'.
8540         (size_allocate): New function, handler for the ::size_allocate
8541         method.
8542         (class_init): Install it.
8543         (e_shell_folder_title_bar_construct): Changed so that the widget
8544         get added to this widget instead of adding an hbox to it and
8545         adding the widgets to the hbox.
8546         (e_shell_folder_title_bar_set_icon): Changed to use
8547         `add_icon_widget()'.
8549         * e-shell-folder-title-bar.h, e-shell-folder-title-bar.c: Changed
8550         to derive from GtkHBox, not GtkEventBox.
8552 2001-08-06  Christopher James Lahey  <clahey@ximian.com>
8554         * e-storage-set-view.c (tree_drag_motion): Turn on highlighting on
8555         a row by row basis.
8557 2001-08-04  Ettore Perazzoli  <ettore@ximian.com>
8559         * e-shell-folder-title-bar.c (e_shell_folder_title_bar_construct):
8560         Add some padding to the label so that the title doesn't move
8561         around when you switch between pop-up and non-pop-up folder bar.
8562         Also, change all the GtkLabels to be GtkClippedLabels instead.
8563         (e_shell_folder_title_bar_set_title): Updated to use
8564         EClippedLabels instead of GtkLabels.
8565         (e_shell_folder_title_bar_set_folder_bar_label): Likewise.
8567         * e-shell.c (impl_Shell__get_displayName): New, implementation for
8568         the `displayName' attribute.
8570         * Evolution-Shell.idl: Added readonly attribute `displayName' to
8571         get the canonicalized X11 display name for the shell.
8573         * e-shell.c (e_shell_construct): Ooops.  Return
8574         `E_SHELL_CONSTRUCT_RESULT_CANNOTREGISTER' if the OAF registration
8575         fails, not `E_SHELL_CONSTRUCT_RESULT_GENERICERROR'.
8577         * e-shortcuts-view.c (rename_group_cb): Get the toplevel from the
8578         shortcuts view, not the widget.
8579         (rename_shortcut_cb): Likewise.
8580         (show_new_group_dialog): Changed to use `e_request_string()'.
8582         * evolution-test-component.c: Add the %FALSE value for the
8583         `user_creatable' field in the `folder_types' entry.
8585         * evolution-shell-client.c: New member `shortcuts_interface' in
8586         `EvolutionShellClientPrivate'.
8587         (destroy): Unref it if not CORBA_OBJECT_NIL.
8588         (init): Init to CORBA_OBJECT_NIL.
8589         (query_shell_interface): New helper function to query an interface
8590         on the shell and spit out warnings if it fails.
8591         (evolution_shell_client_construct): Use it to query the ::Activity
8592         interface.  Also query the ::Shortcuts interface and set the
8593         `shortcuts_interface' member to point to it.
8595         * e-shell.c: New member `corba_shortcuts' in `EShellPrivate'.
8596         (init): Init to NULL.
8597         (setup_shortcuts_interface): Helper function to add the
8598         ::Shortcuts CORBA interface to the shell.
8599         (e_shell_construct): Call it.
8601         * e-corba-shortcuts.c, e-corba-shortcuts.h: New objects
8602         implementing the `Evolution::Shortcuts' CORBA interface.
8604         * Evolution-Shortcuts.idl: New interface for accessing the
8605         shortcuts in the shell.
8607         * e-shell.c (e_shell_get_config_db): Moved down.
8609 2001-08-03  Christopher James Lahey  <clahey@ximian.com>
8611         * e-storage-set-view.c (tree_drag_data_received): Some paths here
8612         don't set handled properly so lets initialize it to FALSE.
8613         (update_folder_with_unread_hash, etree_value_at): constified
8614         folder_name here.
8615         (init): Initialize priv->drag_path here to NULL.
8617 2001-08-03  Jason Leach  <jleach@ximian.com>
8619         [Removing Evolution::LocalStorage interface, abstracting the
8620         unread counts from a folder's name, also abstract unread counts
8621         from a shortcut's name.  Fixes #4489 and #5497]
8623         * e-shortcuts.c (shortcut_item_new): Take an unread_count argument
8624         now.
8625         (shortcut_item_update): Ditto.
8626         
8627         * e-shortcuts-view-model.c (get_name_with_unread): Get a string
8628         containing a shortcut name and it's unread, because these are
8629         abstracted now.
8630         (load_group_into_model): Use the above function to make shortcuts
8631         that have unread counts.
8633         * e-storage-set-view.c (update_folder_with_unread_hash): Keep a
8634         hash of folder names with unread counts, because the folder name
8635         and it's unread count are to be separated, only the ETree is
8636         supposed to present it as one string.
8638         * e-shell-view.c: Renamed EShellView::view_title_bar to
8639         folder_title_bar, to closer match the 
8641         * e-shell-view-menu.c (new_shortcut_dialog_folder_selected_cb):
8642         Make a shortcut with the unread count.
8644         * e-shell-folder-commands.c (e_shell_command_add_to_shortcut_bar):
8645         Make a shortcut with the unread count.
8647         * e-local-storage.c: Updated for API changes.
8649         * e-folder.c (e_folder_get_unread_count): New function, does what
8650         it says.
8651         (e_folder_set_unread_count): Ditto.
8653         * e-corba-storage.c (impl_StorageListener_new_folder): Renamed to
8654         match the IDL function name.
8655         (impl_StorageListener_update_folder): Ditto.
8656         (impl_StorageListener_removed_folder): Ditto.
8658         * Evolution-Storage.idl (struct Folder): Replace the boolean
8659         highlighted with a long unread_count.
8660         (updateFolder): Brought in from the now dead
8661         Evolution::LocalStorage.
8663         * Evolution-Shell.idl (getLocalStorage): Return a Storage instead
8664         of a LocalStorage.
8666         * Evolution-LocalStorage.idl: Removed, no longer needed, only used
8667         function, updateFolder, has been moved into Evolution::Storage
8668         interface.
8669         
8670         * evolution-local-storage.[ch]: Ditto.
8672         * evolution-storage.c (impl_Storage_updateFolder): Implementation
8673         of the updateFolder taken from ::LocalStorage.
8674         (class_init): New "update_folder" signal, taken from
8675         evolution-local-storage.c too.
8676         (evolution_storage_update_folder): Take an @unread_count int
8677         instead of a @highlighted boolean.
8678         (evolution_storage_new_folder): Same for here.
8679         (evolution_storage_update_folder_by_uri): And here.
8681         * evolution-storage-listener.h: "update_folder" signal no longer
8682         sends a @highlighted boolean.
8684 2001-08-03  Jason Leach  <jleach@ximian.com>
8686         * e-shell-view-menu.c (update_offline_menu_item): Use Jakub's new
8687         "Work Online" icon and fix a typo.
8689 2001-08-03  Ettore Perazzoli  <ettore@ximian.com>
8691         [Fix #6232, the thirty-four-splash-screens-at-startup bug.]
8693         * e-shell.c (setup_local_storage): Add an E_STORAGE() cast to
8694         prevent a warning.
8696         * main.c (idle_cb): Only try to activate from the shell ID if the
8697         result is `E_SHELL_CONSTRUCT_RESULT_CANNOTREGISTER'; if there is a
8698         different error, spit out a dialog box with a description of it
8699         and exit instead.
8701         * e-shell.c (e_shell_construct): Return an `EShellConstructResult'
8702         describing what kind of result we had.  Show the splash after the
8703         DB has been reached, not before.
8704         (e_shell_construct_result_to_string): New function to get a
8705         descriptive string out of an `EShellConstructResult'.
8706         (e_shell_new): New arg @construct_result_return to return a
8707         description of the result of the operation.
8709         * e-shell.h: New enum `EShellConstructResult'.
8711         * e-shell.c (impl_Shell_createNewView): Raise `InternalError'
8712         instead of crashing if the shell_view returns a CORBA_OBJECT_NIL.
8714         * Evolution-Shell.idl: New exception `InternalError'.
8715         `createNewView' and `handleURI' can raise it.
8717 2001-08-03  Ettore Perazzoli  <ettore@ximian.com>
8719         * e-storage-set-view.c (storage_sort_callback): Put the storage
8720         named E_SUMMARY_STORAGE_NAME on top.
8722         * e-shell.c: New member `summary_storage' in `EShellPrivate'.
8723         (init): Init to NULL.
8724         (destroy): Unref if not NULL.
8726         * e-summary-storage.c: New.
8727         * e-summary-storage.h: New.
8729         * e-storage-set-view.c: New #define `ROOT_NODE_NAME', defined to
8730         be "/RootNode".
8731         (e_storage_set_view_set_show_folders): Use that instead of "My
8732         Evolution".
8733         (e_storage_set_view_construct): Hide the root node.  Use
8734         `ROOT_NODE_NAME' instead of "My Evolution".
8736         * e-shortcuts-view.c (icon_callback): No bad special hack for "My
8737         Evolution" here.
8739         * e-shell-view.c (update_window_icon): Remove kludgey
8740         @is_my_evolution arg and stop doing special "My Evolution" things.
8741         (update_folder_title_bar): Likewise.
8742         (update_for_current_uri): Don't do special "My Evolution" things
8743         here either.
8744         (get_control_for_uri): Don't do the "My Evolution" hack here.
8746 2001-08-03  Ettore Perazzoli  <ettore@ximian.com>
8748         * e-storage-set-view.c (tree_drag_data_received): Call
8749         `gtk_drag_finish()' here.
8751 2001-08-03  Ettore Perazzoli  <ettore@ximian.com>
8753         * e-shell-offline-handler.c (progress_listener_servant_free):
8754         Actually __fini the servant and deactivate the object too.
8755         (component_info_free): Updated accordingly [i.e. don't do the
8756         deactivation stuff here].
8758 2001-08-03  Ettore Perazzoli  <ettore@ximian.com>
8760         [Fixes #4663, startup crash.]
8762         * e-shell.c (e_shell_construct): Make sure the pointer to the db
8763         object is CORBA_OBJECT_NIL if `bonobo_get_object()' raises an
8764         exception.
8766 2001-08-03  Ettore Perazzoli  <ettore@ximian.com>
8768         [Fixes #3818, crash when going off-line.]
8770         * e-shell-offline-handler.c (component_info_free): Also call
8771         `PortableServer_POA_deactivate_object()' on the progress listener
8772         object so it gets deactivated.
8774 2001-08-02  Ettore Perazzoli  <ettore@ximian.com>
8776         * e-shell.c (e_shell_construct): Spit out a warning if we cannot
8777         resolve "Bonobo/ConfigDatabase" on "wombat:".  Also, register on
8778         OAF only after we are sure we are not going to return FALSE.
8780 2001-08-01  Ettore Perazzoli  <ettore@ximian.com>
8782         * e-shell-view.c (switch_on_folder_tree_click): Set the
8783         `set_folder_uri' to NULL when freeing it.
8785         * e-task-bar.c (e_task_bar_remove_task): Just destroy the widget.
8786         No need to `gtk_container_remove()' it.
8788 2001-08-01  Jeffrey Stedfast  <fejj@ximian.com>
8790         * e-shell-view-menu.c (command_new_folder): Do a NULL-check on
8791         current_uri - socket is being closed? (as per the comments for the
8792         NULL-check in e-shell-view.c:socket_destroy_cb).
8794 2001-07-31  Ettore Perazzoli  <ettore@ximian.com>
8796         * evolution-activity-client.c: Removed debugging messages.
8798 2001-07-31  Not Zed  <NotZed@Ximian.com>
8800         * evolution-activity-client.c (evolution_activity_client_update):
8801         Also update have_pending_update before calling corba, as below.
8803 2001-07-30  Ettore Perazzoli  <ettore@ximian.com>
8805         [This should fix #5110, shell crash when switching folders.]
8807         * evolution-activity-client.c (update_timeout_callback): Set the
8808         `have_pending_update' flag before doing the CORBA call.
8809         (evolution_activity_client_update): Set the timeout before doing
8810         the CORBA call.
8812 2001-07-30  Jason Leach  <jleach@ximian.com>
8814         * e-shortcuts-view.c (rename_group_cb): Remember the current group
8815         so after renaming a group it doesn't flip to the next group.  Bug
8816         #3857.
8818         * e-shortcuts.c (e_shortcuts_rename_group): Comparing two
8819         separately allocated strings, use strcmp() instead of !=.
8821 2001-07-30  Jason Leach  <jleach@ximian.com>
8823         * e-shell-folder-creation-dialog.c (async_create_cb): If we can't
8824         create a folder because it already exists, select that folder that
8825         exists.  Bug #1716.
8827 2001-07-30  Frederic Crozat  <fcrozat@mandrakesoft.com>
8829         * main.c (main): call gconf_init if gtkhtml is compiled with gconf
8830         support.
8832         * Makefile.am (INCLUDES): add $(GTKHTML_CFLAGS) since we might
8833         need to link with GConf (if gtkhtml is compiled with GConf
8834         support)
8836 2001-07-26  Ettore Perazzoli  <ettore@ximian.com>
8838         * evolution-activity-client.c (impl_destroy): Remove the source
8839         for the timeout *before* invoking the CORBA method, as we might
8840         get the timeout callback while invoking the CORBA method, thus
8841         screwing things up.
8843         * evolution-shell-component-client.c (destroy_listener_interface):
8844         New helper function.
8845         (dispatch_callback): Use it.
8846         (impl_destroy): Call it when destroying the listener interface
8847         instead of just freeing the servant.
8849 2001-07-26  Jason Leach  <jleach@ximian.com>
8851         * e-shell-view-menu.c (update_offline_menu_item): Little UI thing:
8852         capitalize the words Offline/Online for the File menu.
8854 2001-07-25  Jason Leach  <jleach@ximian.com>
8856         * e-shell-folder-selection-dialog.c (folder_selected_cb): New
8857         function.  When a folder is selected set the OK button to be
8858         sensitive (but before that have it desensitized).  Bug #5483.
8859         
8860 2001-07-25  Jason Leach  <jleach@ximian.com>
8862         * e-shortcuts-view.c (icon_callback): A warning fix from Jacob.
8863         Bug #5057.
8865         * Makefile.am (INCLUDES): $(BONOBO_CONF_CFLAGS) was here twice,
8866         took out one of them.
8868         * e-shell-view.c (socket_destroy_cb): Mem leak fix.  Thanks to the
8869         amazing Jacob B.  Bug #5054.
8871 2001-07-25  Jason Leach  <jleach@ximian.com>
8873         * e-task-widget.c: #include <libgnome/gnome-defs.h> and
8874         <libgnome/gnome-i18n.h> instead of the full <libgnome/libgnome.h>,
8875         as noted by a comment here.
8877 2001-07-24  Jason Leach  <jleach@ximian.com>
8879         * e-storage-set-view.c (e_storage_set_view_construct): Add the
8880         "/My Evolution" path to the path_to_etree_node hash so that
8881         storage_set_view_set_current_folder() can select the My Evolution
8882         node when it's the current one.  Fixes #5114 and #3956.
8884 2001-07-23  Ettore Perazzoli  <ettore@ximian.com>
8886         * main.c (development_warning): Only show the warning dialog
8887         instead of using `gnome_dialog_run()' so it is not modal.  Modal
8888         would be nice, but unfortunately it works bad with Bonobo.  Plus
8889         Sawfish doesn't like to keep the modal dialog on top, so it gets
8890         very confusing for users.
8892 2001-07-23  Ettore Perazzoli  <ettore@ximian.com>
8894         * e-task-widget.c (e_task_widget_construct): Uhm, set the usize to
8895         `1, -1' instead.
8897 2001-07-23  Ettore Perazzoli  <ettore@ximian.com>
8899         * e-task-widget.c (e_task_widget_construct): Set the usize for the
8900         contained hbox to 0x0.
8902 2001-07-23  Ettore Perazzoli  <ettore@ximian.com>
8904         * e-shell-view-menu.c: Get the manuals from the `evolution-guide'
8905         dir as that's where they get installed.
8907 2001-07-23  Ettore Perazzoli  <ettore@ximian.com>
8909         * e-shell-view.c (storage_set_view_box_button_release_event_cb):
8910         Don't handle button events whose button number is not 1.
8912 2001-07-22  Ettore Perazzoli  <ettore@ximian.com>
8914         * e-local-storage.c (remove_folder): Pass the folder type to
8915         `evolution_shell_component_client_async_remove_folder()'.
8916         (async_xfer_folder_step): Likewise with
8917         `evolution_shell_component_client_async_xfer_folder()'.
8919         * evolution-shell-component-client.c
8920         (evolution_shell_component_client_async_remove_folder): New arg
8921         @type.  Pass it to the `ShellComponent::removeFolder' CORBA
8922         method.
8923         (evolution_shell_component_client_async_xfer_folder): Likewise
8924         with `::xferFolder'.
8926         * evolution-shell-component.c (impl_removeFolderAsync): Add @type
8927         arg according to the IDL.
8928         (impl_xferFolderAsync): Likewise.
8930         * evolution-shell-component.h: Add arg @type to
8931         `EvolutionShellComponentRemoveFolderFn' and
8932         EvolutionShellComponentXferFolderFn'.
8934         * Evolution-ShellComponent.idl: Add @type arg to
8935         `::removeFolderAsync' and `::xferFolderAsync'.
8937 2001-07-21  Ettore Perazzoli  <ettore@ximian.com>
8939         * e-shell-folder-creation-dialog.c (add_folder_types): Only put
8940         the types that are user-creatable in the folder type option menu.
8942         * evolution-shell-component.c
8943         (impl_ShellComponent__get_supported_types): Set the
8944         `user_creatable' member too.
8945         (evolution_shell_component_construct): Copy the `user_creatable'
8946         member too.
8948         * evolution-shell-component.h: New member `user_creatable' in
8949         `EvolutionShellComponentFolderType'.
8951         * e-component-registry.c (register_type): Pass the user_creatable
8952         member of the CORBA FolderType struct.
8954         * e-folder-type-registry.c: New member `user_creatable' in struct
8955         FolderType.
8956         (e_folder_type_registry_register_type): New arg @user_creatable.
8957         (register_folder_type): Likewise.
8958         (folder_type_new): Likewise.
8959         (e_folder_type_registry_type_is_user_creatable): New.
8961         * Evolution-ShellComponent.idl: New member `user_creatable' in
8962         `struct FolderType'.
8964 2001-07-21  Ettore Perazzoli  <ettore@ximian.com>
8966         * evolution-activity-client.c (impl_destroy): Use
8967         `g_source_remove()' instead of `gtk_timeout_remove()' here, as we
8968         are using `g_timeout_add()' and not `gtk_timeout_add()' to set up
8969         the timeout callback.
8970         (update_timeout_callback): Reset `have_pending_update' when
8971         returning %TRUE.  Set the timeout id to zero when returning
8972         %FALSE.
8974 2001-07-20  Jason Leach  <jleach@ximian.com>
8976         [Fix a crash if you start evolution with a bad URI.]
8977         
8978         * e-shell.c (e_shell_create_view): If we can't display the URI,
8979         display the default uri.  This is because it's necessary for
8980         e_shell_view_display_uri() to run all the way through so corba
8981         interfaces get setup.
8982         
8983         * e-shell-view.c (e_shell_view_display_uri): If we fail to create
8984         a new view for a URI (happens if you pass in an invalid URI), be
8985         sure to return FALSE.
8987 2001-07-20  Jason Leach  <jleach@ximian.com>
8989         [This is a better way to have "Local Folders" be shown as the
8990         local storage name without breaking current user's shortcuts.]
8992         * e-corba-storage.c (get_display_name): Implement this, but it's
8993         only returning the real name now.  Need to change the IDL soon to
8994         let corba storages have separated display names.
8995         
8996         * e-shortcuts.c (e_shortcuts_add_default_group): Set these default
8997         shortcut URI's back to evolution:/local/
8999         * e-shell-view.h (DEFAULT_URI): Set this back to
9000         "evolution:/local/Inbox"
9001         
9002         * e-storage-set-view.c (etree_value_at): Get the display name for
9003         a storage rather than it's true name.
9005         * e-local-storage.c (impl_get_display_name): Implemented for the
9006         local folder (to return a translated "Local Folders").
9008         * e-storage.c (e_storage_get_display_name): New virtual function
9009         for retrieving the display name.
9011 2001-07-19  Jason Leach  <jleach@ximian.com>
9013         * e-local-storage.h: Make the local storage name "Local Folders"
9014         instead of "local", looks better with "My Evolution", "VFolders",
9015         and "Other Contacts".
9017         * e-shell-view.h: Put the #define DEFAULT_URI here instead of in
9018         e-shell-view.c.
9020         * main.c: Remove the duplicated #define STARTUP_URI, actually make
9021         use of the nice defines.
9023         * e-shell-folder-commands.c (e_shell_command_delete_folder): Use
9024         the DEFAULT_URI here instead of a hard coded string.
9026         * e-shortcuts.c (e_shortcuts_add_default_group): Fix the URI's
9027         here to use "Local Folder".
9029 2001-07-19  Jason Leach  <jleach@ximian.com>
9031         * e-shell-folder-title-bar.c (e_shell_folder_title_bar_construct):
9032         Line up the padding for the folder title bar labels when you have
9033         the folder bar enabled or disabled (previously when disabled it
9034         was padding ~8 pixels to the right while the other had 0).
9036         * e-shell-view.c (setup_widgets): Take out a 2 pixel padding
9037         around the vbox containing the title bar, folder bar, message list
9038         and mail display.  Also remove 2 more extra pixels of padding on
9039         the bottom.
9041 2001-07-16  Ettore Perazzoli  <ettore@ximian.com>
9043         * e-shortcuts.c
9044         (override_shortcut_name_and_type_from_storage_set): Removed.
9045         (load_shortcuts): Don't call it.
9047 2001-07-15  Ettore Perazzoli  <ettore@ximian.com>
9049         [Fix #4387, Shortcut bar items don't keep the name after rename.]
9051         * e-shortcuts.c (update_shortcuts_by_path): Do not change the name
9052         of the shortcut if the folder's name changes.
9054 2001-07-15  Ettore Perazzoli  <ettore@ximian.com>
9056         * e-storage-set-view.c (etree_icon_at): Return an icon for depths
9057         greater than 2 as well.
9059 2001-07-15  Ettore Perazzoli  <ettore@ximian.com>
9061         * e-shell-view-menu.c (e_shell_view_menu_setup): Connect the
9062         "line_status_changed" signal with
9063         `gtk_signal_connect_while_alive()' for the shell views, so we
9064         don't crash if a view gets destroyed.
9065         * e-shell-view.c (e_shell_view_construct): Likewise.
9067 2001-07-12  Jason Leach  <jleach@ximian.com>
9069         * e-shell-view-menu.c (command_submit_bug): Because
9070         bugzilla.ximian does have a mail gateway now, we can have
9071         Help->Submit Bug Report open up bug-buddy.
9073 2001-07-12  Iain Holmes  <iain@ximian.com>
9075         * importers/intelligent.c (create_gui): Remove the g_warnings as
9076         they are an annoying red herring
9078 2001-07-12  Dan Winship  <danw@ximian.com>
9080         * e-shell.c (init): Initialize priv->db and priv->iid so that
9081         destroy() won't crash if e_shell_construct bails out before
9082         setting them. Reduces bug #4173 to #4169.
9084 2001-07-11  Iain Holmes  <iain@ximian.com>
9086         * importers/intelligent.c (intelligent_importer_init): Sync the config
9087         so that the Don't Ask Again gets saved.
9089 2001-07-11  Kjartan Maraas  <kmaraas@gnome.org>
9091         * importers/intelligent.c: Mark a string for translation.
9092         
9093 2001-07-11  Jason Leach  <jleach@ximian.com>
9095         * e-shell-view.c (e_shell_view_save_settings): Make sure to create
9096         ~/evolution/config/ if it doesn't exist.  (ShellView settings get
9097         saved before component settings, so when the mailer comes around
9098         to saving ETree stuff, this dir will be there). Fixes bug #4279.
9100 2001-07-10  Jason Leach  <jleach@ximian.com>
9102         * e-setup.c (copy_default_stuff): Add a temporary block of code to
9103         not use the $GNOME/share/evolution/default_user/shortcuts.xml for
9104         users who might be upgrading, so they'll get the shell-generated
9105         default set of shortcuts.  See notes on #4394.
9107 2001-07-09  Larry Ewing  <lewing@ximian.com>
9109         * e-shell-folder-commands.c (delete_dialog): convert the folder
9110         name from utf8 before displaying them in the dialog and set the
9111         dialog parent.
9113 2001-07-09  Federico Mena Quintero  <federico@ximian.com>
9115         * e-shortcuts-view.c: Make the "Rename" item be a
9116         GNOMEUIINFO_ITEM_NONE() since we don't have a stock icon; likewise
9117         for the "Open in New Window".  This gets rid of warnings from
9118         gnome-libs.  Use a better stock icon for the "Remove" command, and
9119         add a stock icon to the "Open" command.
9121 2001-07-09  Jason Leach  <jleach@ximian.com>
9123         * e-shell-view.c (updated_folder_cb): It's very possible that
9124         get_storage_set_path_from_uri() returns NULL (5 of the 6 return
9125         cases), so check that it's not NULL before trying to strcmp() it.
9126         Fixes a startup crash.
9128 2001-07-06  Dan Winship  <danw@ximian.com>
9130         * e-shortcuts.c (shortcut_item_update): Return a gboolean saying
9131         whether or not the shortcut changed. Use strcmp rather than
9132         pointer comparisons to determine this.
9133         (update_shortcut_and_emit_signal): propagate the gboolean from
9134         shortcut_item_update (and only emit the signal if it's TRUE).
9135         (update_shortcuts_by_path): Only call make_dirty if something
9136         changed.
9137         (storage_set_new_folder_callback,
9138         storage_set_updated_folder_callback): Don't call make_dirty:
9139         update_shortcuts_by_path will have called it if necessary.
9141         * e-shell-view.c (updated_folder_cb): Don't call
9142         update_for_current_uri if the folder that was updated isn't the
9143         one being displayed.
9145 2001-07-06  Jason Leach  <jleach@ximian.com>
9147         * e-shortcuts-view.c: Little UI tweak for right click menu,
9148         pronouns shouldn't be capitalized ("This" in this case).
9150         [Misc fixes and part of #2228, There should be no dialog boxes
9151         during startup.]
9152         
9153         * e-setup.c (e_setup): Check for searches.xml instead of
9154         shortcuts.xml, since shortcuts.xml doesn't really need to exist
9155         (and thus wouldn't be a necessary test whether ~/evolution was
9156         invalid) because shell can generate shortcuts.
9157         (copy_default_stuff): For first time users, only present a dialog
9158         if a problem occurred.  We've already clicked "Ok" on a dialog
9159         about copying files.
9160         (check_evolution_directory): Take out the "successfully installed"
9161         dialog on updates too.
9163 2001-07-06  Ettore Perazzoli  <ettore@ximian.com>
9165         [This should fix #3873, Bizzarre crash after deleting a few
9166         folders.]
9168         * e-local-storage.c (remove_folder): Don't free the
9169         `physical_path' on error, as it gets freed when freeing the
9170         callback data.
9172 2001-07-06  Ettore Perazzoli  <ettore@ximian.com>
9174         [Fix #3959, copying a folder over itself crashes Evolution.]
9176         * e-shell-folder-commands.c
9177         (folder_selection_dialog_folder_selected_callback): Sanity checks:
9178         don't allow copying a folder over itself, or moving it under one
9179         of its descendants.  In such cases, pop up an error dialog.
9181 2001-07-05  Iain Holmes  <iain@ximian.com>
9183         * e-shortcuts-view.c (icon_callback): Special case the evolution:/My
9184         Evolution uri.
9186 2001-07-05  Ettore Perazzoli  <ettore@ximian.com>
9188         * e-shell-view-menu.c: Removed handler for verb
9189         "ChangeFolderProperties".
9190         (command_folder_properties): Removed.
9192         * e-shell-folder-commands.c (e_shell_command_folder_properties):
9193         Removed.
9195 2001-07-03  Ettore Perazzoli  <ettore@ximian.com>
9197         * main.c (development_warning): Use both `VERSION' and
9198         `SUB_VERSION' here.
9199         (main): Likewise.
9201 2001-07-04  Gediminas Paulauskas <menesis@delfi.lt>
9203         * evolution-shell-component-utils.c (e_pixmaps_update): set
9204         "pixname" value only if pixbuf was loaded successfully. Otherwise
9205         component crashes if image is not found. Should be checked for
9206         sanity in bonobo_ui_component_set_prop IMHO.
9208 2001-07-03  Aaron Weber  <aaron@ximian.com>
9210         * main.c (development_warning): Revised to make it less scary.
9212 2001-07-03  Ettore Perazzoli  <ettore@ximian.com>
9214         [Fix a problem with not being able to save a newly created
9215         `shortcuts.xml' file, and another bug that caused the default
9216         group to be added at every start-up, even there were groups
9217         already.]
9219         * e-shortcuts.c (e_shortcuts_new): If loading the shortcuts fails,
9220         set the file_name.
9221         (load_shortcuts): Update `num_groups'.
9223 2001-07-03  Iain Holmes  <iain@ximian.com>
9225         * importer/Makefile.am: Add bonobo-conf stuff
9227 2001-07-03  Ettore Perazzoli  <ettore@ximian.com>
9229         [The following makes the shell able to create the `shortcuts.xml'
9230         file by itself when the file is not present or corrupted.  Fixes
9231         #3668, failure to handle malformed shortcuts.xml file.]
9233         * e-shell.c (e_shell_construct): If the `e_shortcuts_new()'
9234         returns an object with no shortcuts in it, fill it in with
9235         `e_shortcuts_add_default_group()'.
9237         * e-shortcuts.c: New member `num_groups' in EShortcutsPrivate.
9238         (init): Init to zero.
9239         (e_shortcuts_add_group): Increment.
9240         (e_shortcuts_remove_group): Decrement.
9241         (e_shortcuts_get_num_groups): New.
9242         (e_shortcuts_add_default_group): New function to set up the
9243         default shortcuts.
9244         (e_shortcuts_new): Return an empty EShortcuts object if loading
9245         the file files, instead of returning NULL.
9247 2001-07-03  Ettore Perazzoli  <ettore@ximian.com>
9249         * e-shell-offline-handler.c
9250         (e_shell_offline_handler_put_components_offline): Ref/unref the
9251         handler so the signal handlers can unref it safely.  Also, if
9252         `prepare_for_offline()' fails, don't say that there was an
9253         internal error, as that's confusing.  Just say we couldn't put the
9254         components off-line.
9256         [Fix #3758, clicking on the online/offline button crashed
9257         Evolution.]
9259         * Evolution-Offline.idl: Don't derive OfflineProgressListener from
9260         Bonobo::Unknown.
9262 2001-07-03  Ettore Perazzoli  <ettore@ximian.com>
9264         [Fixed #3643, Shell crash when component crashed]
9266         * e-shell-view.c (socket_destroy_cb): Fix Jason's broken fix for
9267         #3205 that was causing #3643.  It is not safe to strcmp() the
9268         return value from `e_shell_view_get_current_uri()' as it might be
9269         NULL already.
9271 2001-07-02  Christopher James Lahey  <clahey@ximian.com>
9273         * Makefile.am (INCLUDES): Added $(BONOBO_CONF_CFLAGS).
9274         (evolution_LDADD): Added $(BONOBO_CONF_LIBS).
9276 2001-07-02  Ettore Perazzoli  <ettore@ximian.com>
9278         * e-storage-set-view.c (popup_folder_menu): Don't assert that
9279         there is a handler, so we don't crash if user clicks on a folder
9280         whose type we cannot handle for some reason [such as an
9281         uninstalled component].
9283         * evolution-test-component.c (activity_client_cancel_callback):
9284         New callback for the "cancel" signal on the
9285         EvolutionActivityClient object.
9286         (activity_client_show_details_callback): New callback for the
9287         "show_details" signal.
9288         (timeout_callback_1): Connect these two signal handlers.
9290         * e-activity-handler.c (task_widget_button_press_event_callback):
9291         Ahem, right-click is button 3, not button 2.
9292         (show_cancellation_popup): Actually pop up the menu.
9293         (get_corba_null_value): New helper function to create a CORBA_any
9294         null value.
9295         (report_task_event): New helper function to report events to the
9296         listener.
9297         (task_widget_cancel_callback): Use it.  Report "Cancel" instead of
9298         "Cancelled".
9299         (task_widget_show_details_callback): New, callback for the "Show
9300         Details" right-click menu item.
9302         * evolution-activity-client.c: Updated to dispatch the "Cancel"
9303         and "ShowDetails" events as "cancel" and "show_details" signals.
9304         (class_init): Install the signals.
9305         (listener_callback): Updated to update the signals corresponding
9306         to the "ShowDetails" and "Cancel" events.
9308         * Evolution-Activity.idl: Changed the docs about the events sent
9309         to the Bonobo::Listener.  We now only have "ShowDetails" and
9310         "Cancelled".
9312         * evolution-test-component.c (timeout_callback_1): Make the
9313         activity cancellable so we can test the right-click cancel menu
9314         too.
9316         * main.c (idle_cb): Actually exit if we cannot reach to the shell.
9318 2001-07-01  Ettore Perazzoli  <ettore@ximian.com>
9320         * e-uri-schema-registry.c (init): Unset the FLOATING flag on the
9321         object.
9323 2001-07-01  Ettore Perazzoli  <ettore@ximian.com>
9325         * e-shell-view.c: Fixing a bug that could cause Evolution to crash
9326         if a new ShellView was created and then destroyed, and then a new
9327         folder would appear in the folder tree.  Sigh, this code with the
9328         delayed_selection is pretty messed up, but at least this will add
9329         some consistency to it and make it safe.
9330         (cleanup_delayed_selection): New function to disconnect the
9331         "new_folder_cb" callback if the `delayed_selection' is not NULL,
9332         and also free the `delayed_selection' itself.
9333         (new_folder_cb): Use it.
9334         (destroy): Call it here, otherwise we might [a] leak [b] cause a
9335         crash as soon as a new folder appears in the folder tree, as
9336         "new_folder" gets emitted and our connected signal handler has no
9337         EShellView to handle the signal on.
9338         (e_shell_view_display_uri): Call it here before re-setting the
9339         `delayed_selection'.
9341         * e-shortcuts-view.c (open_shortcut_in_new_window_cb): Add
9342         invocation for `open_shortcut_helper()' back in [it was gone, for
9343         unknown reasons].
9345 2001-07-01  Ettore Perazzoli  <ettore@ximian.com>
9347         * e-storage-set-view.c (tree_drag_begin): If the node doesn't have
9348         a component, just don't start the whole CORBA drag thing instead
9349         of crashing with an assertion.
9351 2001-07-01  Ettore Perazzoli  <ettore@ximian.com>
9353         * e-shell-view-menu.c (command_new_shortcut): New, implementation
9354         for the "New Shortcut" command create a new shortcut.
9355         (goto_folder_dialog_cancelled_cb): Renamed from
9356         `folder_selection_dialog_cancelled_callback'.
9357         (goto_folder_dialog_folder_selected_cb): Renamed from
9358         `folder_selection_dialog_cancelled_callback'.
9360         * e-shell-folder-selection-dialog.c: New member `allow_creation'
9361         in `EShellFolderSelectionDialogPrivate'.
9362         (e_shell_folder_selection_dialog_get_allow_creation): New; return
9363         the value of `allow_creation'.
9364         (e_shell_folder_selection_dialog_set_allow_creation): New; hide or
9365         show the "New" button according to the @allow_creation arg.
9367 2001-07-01  Ettore Perazzoli  <ettore@ximian.com>
9369         * e-shortcuts-view.c: Added "Rename Group" command to the
9370         right-click group menu item.
9371         (rename_group_cb): New callback for the "Rename Group" command.
9373         * e-shortcuts-view-model.c (shortcuts_rename_group_cb): New,
9374         callback for the EShortcuts::rename_group signal.  It renames the
9375         group by removing it and creating a new one which is the same;
9376         this sucks, but there is no other way with the current shortcut
9377         bar widget.
9378         (e_shortcuts_view_model_construct): Connect it.
9380         * e-shortcuts.c
9381         (class_init): Install signal "rename_group".
9382         (e_shortcuts_rename_group): New.
9384         * e-shortcuts.h: New signal "rename_group".
9386 2001-07-01  Ettore Perazzoli  <ettore@ximian.com>
9388         * e-shortcuts.c: Removed `title_to_group' hash from
9389         `EShortcutsPrivate'.
9390         (init): Don't initialize it anymore.
9391         (unload_shortcuts): Don't remove the groups from the hash, and
9392         don't destroy/realloc the hash.
9393         (load_shortcuts): Don't check for duplicate group names.  Don't
9394         add the groups to the hash.
9395         (destroy): Don't free the hash.
9396         (e_shortcuts_get_shortcuts_in_group): Changed to get a @group_num
9397         instead of a @group_title.
9399         * e-shortcuts-view-model.c (load_group_into_model): Updated to
9400         pass the group number to `e_shortcuts_get_shortcuts_in_group()'.
9401         Removed arg @group_title.
9403 2001-07-01  Ettore Perazzoli  <ettore@ximian.com>
9405         * e-shortcuts-view.c: Added a "Rename" right-click command.
9406         (rename_shortcut_cb): New function, implementation for the "Rename
9407         command".
9408         (rename_shortcut_dialog_cb): Callback for the gnome_request_dialog
9409         function to ask the new name.
9411         * e-shortcuts.c (e_shortcuts_update_shortcut): Call `make_dirty()'
9412         so we get saved too.
9414 2001-07-01  Ettore Perazzoli  <ettore@ximian.com>
9416         * e-shell-view.c (activate_shortcut_cb): Receive an @in_new_window
9417         arg as well.
9419         * e-shortcuts-view.c: Added a new "Open in New Window" right-click
9420         menu item.  Renamed "Activate" to "Open".
9421         (class_init): Update the installation of the "activate_shortcut"
9422         signal for the additional @in_new_window_arg.
9423         (open_shortcut_helper): New helper function.
9424         (open_shortcut_cb): Renamed from `open_shortcut_cb'.  Changed to
9425         use `open_shortcut_helper'
9426         (open_shortcut_in_new_window_cb): New.
9427         (item_selected): Pass %FALSE as the @in_new_window arg for
9428         "activate_shortcut".
9430         * e-shortcuts.c (save_shortcuts): Set the "name" and "type"
9431         properties for the <item> nodes too.
9432         (load_shortcuts): Change `shortcut_group_title' to be an `xmlChar
9433         (shortcut_set): New helper function.
9434         (shortcut_update): New helper function.
9435         (update_shortcut_and_emit_signal): New helper function.
9436         (e_shortcuts_update_shortcut): Use it.
9438 2001-07-01  Ettore Perazzoli  <ettore@ximian.com>
9440         This is a first shoot at making shortcuts renameable [#3719];
9441         unfinished.  Also, it causes the shortcut bar to stop displaying
9442         message unread count, but this is unfixable until we get rid of
9443         the ::LocalStorage interface, which should hopefully happen soon.
9445         * e-shortcuts-view.c (icon_callback): Get the icon from the type
9446         member of the shortcut item instead of going to the actual folder.
9448         * e-shell-view.c (updated_folder_cb): Don't update the shortcuts
9449         here for now.
9451         * e-shortcuts-view.c (item_selected): Use
9452         `e_shortcuts_get_shortcut()' instead of `e_shortcuts_get_uri()'.
9453         (impl_shortcut_dropped): Pass a NULL @name and @type.
9455         * e-shortcuts-view-model.c (load_group_into_model): Updated to
9456         match the new `e_shortcuts_get_shortcuts_in_group()' function that
9457         doesn't allocate the list anymore and returns a list of
9458         EShortcutItems instead of a list of strings.
9459         (load_group_into_model): Likewise.
9460         (load_all_shortcuts_into_model): Likewise.
9461         (shortcuts_new_shortcut_cb): Get the URI and the name from the
9462         EShortcutItem instead of retrieving them from the storage.
9463         (shortcuts_update_shortcut_cb): Likewise.
9464         (get_storage_set_path_from_uri): Removed [now unused].
9466         * e-shortcuts.c: Define the shortcuts to be EShortcutItems instead
9467         of just strings.
9468         (shortcut_new): New helper function to allocate a Shortcut.
9469         (shortcut_free): New helper function to free a Shortcut.
9470         (shortcut_group_new): New helper function to allocate a
9471         ShortcutGroup.
9472         (shortcut_group_free): New helper function to free a
9473         ShortcutGroup.
9474         (load_shortcuts): Use `shortcut_group_new()' here.
9475         (e_shortcuts_add_group): Same here.
9476         (unload_shortcuts): Use `shortcut_group_free()' here.
9477         (e_shortcuts_remove_group): Here too.
9478         (load_shortcuts): Update to handle `Shortcut's instead of simple
9479         `char *'s representing the URIs.
9480         (save_shortcuts): Likewise.
9481         (e_shortcuts_get_shortcuts_in_group): Likewise.  The returned list
9482         now doesn't belong to the caller anymore; the return type is now
9483         const.
9484         (removed_folder_cb): Removed.
9485         (e_shortcuts_construct): Don't connect.
9486         (e_shortcuts_get_group_titles): Dont' re-allocate the string.
9487         (e_shortcuts_get_uri): Removed.
9488         (e_shortcuts_get_shortcut): New.
9489         (e_shortcuts_add_shortcut): new args @name, @type.
9490         (e_shortcuts_update_shortcut_by_uri): Remove.
9491         (e_shortcuts_remove_shortcut_by_uri): Remove.
9492         (get_item): New helper function.
9493         (e_shortcuts_get_shortcut): Use it.
9494         (find_positions_by_uri): Removed.
9496         * e-shortcuts.h: New typedef EShortcutItem.
9498 2001-06-30  Federico Mena Quintero  <federico@ximian.com>
9500         * e-storage-set-view.c (popup_folder_menu): Pass the event time to
9501         gtk_menu_popup() so that we can release the button and have the
9502         menu stay up.
9504 2001-06-29  Christopher James Lahey  <clahey@ximian.com>
9506         * e-shortcuts-view-model.c (load_all_shortcuts_into_model):
9507         Replaced GList with GSList here to fix a type mismatch.
9509 2001-06-29  Christopher James Lahey  <clahey@ximian.com>
9511         * Makefile.am (INCLUDES): Changed $(datadir)/evolution/etspec to
9512         "$(etspecdir)" here.
9514 2001-06-29  Christopher James Lahey  <clahey@ximian.com>
9516         * e-shortcuts-view-model.c (load_group_into_model): Replaced GList
9517         with GSList here to fix a type mismatch.
9519 2001-06-29  Ettore Perazzoli  <ettore@ximian.com>
9521         * e-shortcuts-view-model.c (load_group_into_model): Updated to
9522         match the fact that `e_shortcuts_in_group()' now returns a GSList
9523         instead of a GList.
9524         (load_all_shortcuts_into_model): Likewise for
9525         `e_shortcuts_get_group_titles()'.
9527         * e-shortcuts.c: Change all `groups' and `views' from GLists to
9528         GSLists in EShortcutsPrivate.
9529         (e_shortcuts_get_group_titles): Return a GSList instead of a
9530         GList.
9531         (e_shortcuts_get_shortcuts_in_group): Likewise.
9533 2001-06-28  Ettore Perazzoli  <ettore@ximian.com>
9535         [Fix #3756, `--debug' option not working anymore.]
9537         * main.c (main): Get the URI list from popt with `poptGetArgs'
9538         instead of just using argv.  Sigh, I am rusty.
9540 2001-06-28  Ettore Perazzoli  <ettore@ximian.com>
9542         [Fix #3382, shortcut bar crashes when checking mail, and all the
9543         different incarnations involving updates to an shortcut bar having
9544         shortcuts to non-existent folders.  Also, this fixes #1643,
9545         shortcuts not visible until you enable an IMAP account, and #2436,
9546         misbehavior of shortcut groups when IMAP or invalid shortcuts are
9547         involved.]
9549         * e-shortcuts-view-model.c (load_group_into_model): Add the
9550         shortcuts that point to folders that don't exist yet, too.
9552 2001-06-28  Dan Winship  <danw@ximian.com>
9554         * e-storage.c (e_storage_new_folder): Call folder_changed_cb after
9555         adding the new folder so that if it was added highlighted, its
9556         parent will get its child_highlight set.
9557         (e_storage_new_folder): Move the folder_changed_cb() call to avoid
9558         a g_warning.
9560 2001-06-28  Ettore Perazzoli  <ettore@ximian.com>
9562         * e-shell.c (e_shell_create_view): Renamed from
9563         `e_shell_new_view'.
9565 2001-06-28  Ettore Perazzoli  <ettore@ximian.com>
9567         * main.c (idle_cb): Re-implemented to get a GSList of URIs and
9568         open them on a running shell [if any] or on a newly created shell.
9569         If no args are provided [i.e. the list is NULL], it either
9570         restores from settings [if any], or it just opens the Inbox.
9571         (main): Set up the GSList of arguments and have it passed to the
9572         idle callback.
9574         * e-shell.c (init): Ooops.  Init `uri_schema_registry' to NULL as
9575         well.
9577         * evolution-shell-component-client.c
9578         (evolution_shell_component_client_handle_external_uri): New.
9579         (corba_exception_to_result): Handle the `UnsupportedSchema'
9580         exception too.
9582         * evolution-shell-component.h: New
9583         EvolutionShellComponentResult value
9584         `EVOLUTION_SHELL_COMPONENT_UNSUPPORTEDSCHEMA'.
9586         * Evolution-ShellComponent.idl: New exception `UnsupportedSchema'.
9587         (handleExternalURI): This can now raise `NotFound',
9588         `UnsupportedSchema' and `InternalError'.
9589         (createView): This can now raise `UnsupportedSchema' too.
9591         * e-shell.c (impl_Shell_handleURI): Finish implementation.
9592         (class_init): Install it.
9594         * e-uri-schema-registry.c
9595         (e_uri_schema_registry_get_handler_for_schema): Ooops.  Rename
9596         from `e_uri_schema_get_handler_for_schema'.  Also, return NULL if
9597         no handler is found.
9599 2001-06-27  Ettore Perazzoli  <ettore@ximian.com>
9601         * e-component-registry.c (register_component): Get the supported
9602         schemas and register them into the schema registry.
9604         * e-shell.c: New member `uri_schema_registry' in `EShellPrivate'.
9605         (e_shell_construct): Init.
9606         (destroy): Unref.
9607         (impl_Shell_createNewView): Raise exception `UnsupportedSchema' if
9608         it's not an `evolution:' URI.  Raise exception `NotFound' if
9609         `e_shell_new_view()' returns NULL.
9610         (impl_Shell_handleURI): New, implementation for the `::handleURI'
9611         method.
9612         (e_shell_get_uri_schema_registry): New.
9614         * Evolution-Shell.idl: New exceptions `UnsupportedSchema' and
9615         `InvalidURI'.
9616         (createNewView): Make this able to raise `NotFound',
9617         `UnsupportedSchema' and `InvalidURI'.
9618         (handleURI): New method.
9620         * e-uri-schema-registry.h: New.
9621         * e-uri-schema-registry.c: New.
9623 2001-06-27  Ettore Perazzoli  <ettore@ximian.com>
9625         * evolution-shell-component-client.c: Remove redundant declaration
9626         for `free_ShellComponentListener_servant()'.
9628 2001-06-27  Ettore Perazzoli  <ettore@ximian.com>
9630         * evolution-shell-component.c (impl_handleExternalURI):
9631         Implementation for the `::handleExternalURI' CORBA method; just
9632         emit the `HANDLE_EXTERNAL_URI' signal.
9633         (class_init): Install.
9635 2001-06-27  Ettore Perazzoli  <ettore@ximian.com>
9637         * evolution-shell-component.c (impl_setOwner): Renamed from
9638         `impl_ShellComponent_set_owner'.
9639         (impl_unsetOwner): Renamed from `impl_ShellComponent_unset_owner'.
9640         (impl_debug): Renamed from `impl_ShellComponent_debug'.
9641         (impl_createView): Renamed from `impl_ShellComponent_create_view'.
9642         (impl_createFolderAsync): Renamed from
9643         `impl_ShellComponent_async_create_folder'.
9644         (impl_removeFolderAsync): Renamed from
9645         `impl_ShellComponent_async_remove_folder'.
9646         (impl_xferFolderAsync): Renamed from
9647         `impl_ShellComponent_async_xfer_folder'.
9648         (impl_populateFolderContextMenu): Renamed from
9649         `impl_ShellComponent_populate_folder_context_menu'.
9650         (class_init): Updated accordingly.
9652 2001-06-27  Ettore Perazzoli  <ettore@ximian.com>
9654         * evolution-test-component.c (factory_fn): Pass NULL as the
9655         @external_uri_schemas arg to `evolution_shell_component_new'.
9657         * evolution-shell-component.c: New enum value
9658         `HANDLE_EXTERNAL_URI'.  New member `external_uri_schemas' in
9659         `EvolutionShellComponentPrivate'.
9660         (init): Initialize `external_uri_schemas' to NULL.
9661         (destroy): Free it.
9662         (destroy):
9663         (class_init): Add the "handler_external_uri" signal.
9664         (evolution_shell_component_new): Added precondition on
9665         @folder_types.  New arg @external_uri_schemas.
9666         (evolution_shell_component_construct): Added preconditions.  New
9667         arg @external_uri_schemas.  Initialize the `external_uri_schemas'
9668         member in the EvolutionShellComponentPrivate part.
9669         (impl_ShellComponent__get_external_uri_schemas): New,
9670         implementation for reading the `external_uri_schemas' attribute.
9671         (class_init): Install it in the EPV.
9673         * evolution-shell-component.h: New signal `handle_external_uri'.
9675         * Evolution-ShellComponent.idl: New attribute `extra_uri_schemas'.
9676         (handleExternalURI): New method.
9678 2001-06-26  Ettore Perazzoli  <ettore@ximian.com>
9680         * e-storage-set-view.c (etree_value_at): Don't strdup "My
9681         Evolution"!  It was getting leaked every time the e-table wanted
9682         to read the value this way.
9684 2001-06-26  Ettore Perazzoli  <ettore@ximian.com>
9686         * e-local-storage.c: Removed member `BonoboListener' from
9687         `AsyncCreateFolderCallbackData' and
9688         `AsyncRemoveFolderCallbackData'.
9689         (bonobo_interface_remove_folder_cb) : Return the value from
9690         `create_folder()'.
9691         (bonobo_interface_remove_folder_cb): Return the value from
9692         `remove_folder()'.
9693         (notify_bonobo_listener): Removed.
9694         (component_async_create_folder_callback): Don't notify the
9695         listener here.
9696         (component_async_remove_folder_callback): Ditto.
9697         (create_folder): Removed @listener arg.  Not here either.  Return
9698         a valid E_STORAGE error code instead.  Also, don't set the
9699         `listener' field in `callback_data'.
9700         (remove_folder): Likewise.
9701         (bonobo_interface_create_folder_cb): Remove @listener arg.
9702         (bonobo_interface_remove_folder_cb): Likewise.
9704 2001-06-25  jacob berkman  <jacob@ximian.com>
9706         * e-shell-view.c: (set_folder_timeout): display a selected uri in
9707         a timeout rather than right away, so the UI feels a bit more
9708         responsive, and the tree is more navigable via keyboard
9709         (switch_on_folder_tree_click): use the timeout rather than setting
9710         the URI right away
9711         (destroy): remove the timeout if it still exists
9712         (update_for_current_uri): if there is a timeout set, don't update
9713         (e_shell_view_display_uri): remove the timeout if it exists
9715 2001-06-25  Ettore Perazzoli  <ettore@ximian.com>
9717         * main.c (no_views_left_cb): Call `e_shell_unregister_all()'.
9719         * e-shell.c (e_shell_unregister_all): New.
9721 2001-06-25  Ettore Perazzoli  <ettore@ximian.com>
9723         * e-storage-set-view.c (convert_gdk_drag_action_to_corba): Remove
9724         trailing "\n" from g_warning.
9725         (convert_corba_drag_action_to_gdk): Likewise.
9726         (tree_drag_data_received): Likewise.
9727         (new_folder_cb): Likewise.
9729         * e-shortcuts-view-model.c (load_group_into_model): Remove
9730         trailing "\n" from g_warning.
9732 2001-06-25  Ettore Perazzoli  <ettore@ximian.com>
9734         * main.c (no_views_left_cb): Unref the shell here.
9736         * e-storage-set.c (destroy): Use
9737         `name_to_named_storage_foreach_destroy()' as the function argument
9738         to `g_hash_table_foreach()', not `named_storage_destroy()', which
9739         is just plainly wrong.
9741         * e-shell.c (setup_corba_storages): Don't ref the
9742         corba_storage_registry here.
9743         (destroy): Don't unref here.
9744         (setup_activity_interface): Don't ref the activity_handler either.
9745         (destroy): Don't unref it here.
9747         * e-component-registry.c (e_component_registry_construct): Don't
9748         ref the shell here.
9749         (destroy): Don't unref it here.
9751 2001-06-25  Ettore Perazzoli  <ettore@ximian.com>
9753         * main.c (no_views_left_cb): Don't call `e_shell_quit()' anymore.
9755         * e-shell-view-menu.c (command_quit): Call
9756         `e_shell_destroy_all_views()' instead of `e_shell_quit()', which
9757         does not exist anymore.
9759         * e-shell.c (e_shell_quit): Removed.
9760         (e_shell_destroy_all_views): New.
9762 2001-06-24  Ettore Perazzoli  <ettore@ximian.com>
9764         * Makefile.am: s/\.oafinfo/.oaf/g.
9766         * GNOME_Evolution_TestComponent.oafinfo: Renamed to
9767         `GNOME_Evolution_TestComponent.oaf'.
9769 2001-06-24  Ettore Perazzoli  <ettore@ximian.com>
9771         * e-shell.c: New member `iid' in EShellPrivate.
9772         (init): Init to NULL.
9773         (e_shell_construct): Set it to the value of the @iid argument.
9774         (destroy): Unregister that IID.
9775         (register_shell): Removed.
9776         (e_shell_construct): Just do all the work here.  The function was
9777         too simple to really be useful as separate.
9779         * e-shell.c, e-shell.h: Changed to derive from BonoboXObject
9780         instead of deriving from BonoboObject and doing all the nasty
9781         CORBA work by hand.
9783 2001-06-24  Ettore Perazzoli  <ettore@ximian.com>
9785         * evolution-test-component.c (activity_client_clicked_callback):
9786         New callback for the "clicked" signal on the EActivityClient.
9787         Just spit out a warning now, for testing purposes.
9788         (timeout_callback_1): Connect it.
9790         * evolution-activity-client.c (listener_callback): Emit the
9791         "clicked" signal if we get the "Clicked" event from the Bonobo
9792         listener.
9794 2001-06-24  Ettore Perazzoli  <ettore@ximian.com>
9796         * e-shell-folder-commands.c: #include <gtk/gtklabel.h>.
9797         (delete_dialog): Constify @folder_name properly.
9798         (delete_cb): Change the first arg to be an EStorageSet as expected
9799         for EStorageSetResultCallbacks.
9800         (rename_dialog): #if 0.
9802 2001-06-24  Ettore Perazzoli  <ettore@ximian.com>
9804         * e-task-widget.h, e-task-widget.c: Changed to derive from
9805         GtkEventBox.
9807         * e-activity-handler.c (task_widget_button_press_event_callback):
9808         New callback for the "button_press_event" signal on the
9809         ETaskWidgets.  Dispatch the "Clicked" event through the Bonobo
9810         listener.
9811         (task_widget_new_from_activity_info): Connect here.
9813 2001-06-24  Ettore Perazzoli  <ettore@ximian.com>
9815         * evolution-test-component.c: Changed to use the
9816         `EvolutionActivityClient' object.  New global static variable
9817         `activity_client'.
9818         (create_animated_icon): Removed.
9819         (create_icon_from_pixbuf): Removed.
9820         (task_bar_event_listener_callback): Removed.
9821         (timeout_callback_1): Create an EvolutionActivityClient object and
9822         put a pointer to it into `activity_client'.  Lower the timeout
9823         delay from 1000 msecs to 100 msecs, so we can stress-test the
9824         speed control code in EvolutionActivityClient.
9825         (timeout_callback_2): Use the EvolutionActivityClient.  Increment
9826         progress by 1, instead of 10.
9827         (timeout_callback_3): Destroy the EvolutionActivityClient.
9829         * Makefile.am (libeshell_la_SOURCES): Add
9830         `evolution-activity-client.c'.
9831         (eshellinclude_HEADERS): Add `evolution-activity-client.h'.
9833         * evolution-activity-client.c: New.
9834         * evolution-activity-client.h: New.
9836         * e-activity-handler.c: Updated all instances of `ActivityID' with
9837         `ActivityId'.
9839         * Evolution-Activity.idl: Renamed `ActivityID' to `ActivityID'.
9840         Added value `DIALOG_ACTION_ERROR' to `DialogAction'.
9842 2001-06-24  Ettore Perazzoli  <ettore@ximian.com>
9844         * evolution-test-component.c: Remove the `activity_interface'
9845         global.
9846         (timeout_callback_3): Get the ::Activity interface using
9847         `evolution_shell_client_get_activity_interface()' on
9848         `parent_shell' instead.
9849         (timeout_callback_2): Likewise.
9850         (timeout_callback_2): Likewise.
9851         (timeout_callback_1): Likewise.
9852         (owner_set_callback): Don't query interface here.  Check if the
9853         shell has an ::Activity interface by using
9854         `evolution_shell_client_get_activity_interface()' here as well.
9856         * evolution-shell-client.c: New member `activity_interface' in
9857         `EvolutionShellClientPrivate'.
9858         (destroy): unref/release it.
9859         (evolution_shell_client_construct): Initialize it by querying the
9860         shell CORBA Object for the ::Activity interface.
9861         (evolution_shell_client_get_activity_interface): New.
9863 2001-06-23  Jason Leach  <jleach@ximian.com>
9865         * e-shell-folder-selection-dialog.c
9866         (e_shell_folder_selection_dialog_construct): Make the folder tree
9867         have a similar expanded state as the shell's folder tree.
9869         * e-local-storage.c (remove_folder): New function that does the
9870         meat of actual deletion stuff.
9871         (remove_folder_directory): A helper function that remove_folder()
9872         uses.
9873         (component_async_remove_folder_callback): A new callback to do the
9874         removing stuff from shell (if there weren't errors from the
9875         component).
9876         (impl_async_remove_folder): Implemented this.
9878         * evolution-shell-component-client.c
9879         (evolution_shell_component_client_async_remove_folder):
9880         Implemented this.
9882         * e-shell-view.c (e_shell_view_remove_control_for_uri): New
9883         function.
9885 2001-06-23  Ettore Perazzoli  <ettore@ximian.com>
9887         * e-shell-view.c (e_shell_view_set_current_shortcuts_group_num):
9888         Moved at the bottom, as it's public API.  Also add preconditions.
9889         (e_shell_view_get_current_shortcuts_group_num): Likewise.
9891 2001-06-23  Ettore Perazzoli  <ettore@ximian.com>
9893         * e-shell-view.c: Get rid of some `#if 0'ed code.
9895 2001-06-23  Ettore Perazzoli  <ettore@ximian.com>
9897         * e-shell-view.c (corba_interface_set_message_cb): Replaced with
9898         an empty stub, as the "set_message" method is going to be
9899         deprecated.
9900         (corba_interface_unset_message_cb): Likewise for the
9901         "unset_message" method.
9903 2001-06-23  Ettore Perazzoli  <ettore@ximian.com>
9905         * e-shell.c (e_shell_construct): Set `splash' to NULL when
9906         @show_splash is false, so the compiler doesn't complain.
9908         * e-shell-view-menu.c: #include <gtk/gtkmain.h>.
9910         * e-setup.c: #include <unistd.h>.
9912         * importer/intelligent.c: #include <gtk/gtkhbox.h> and
9913         <gtk/gtkdrawingarea.h>.
9915 2001-06-23  Ettore Perazzoli  <ettore@ximian.com>
9917         * e-shell-view.c: New member `menu_hint_label' in
9918         `EShellViewPrivate'.
9919         (init): Init to NULL.
9920         (ui_engine_add_hint_callback): Set the label in the menu hint
9921         label, show the menu hint label, hide the task bar.
9922         (ui_engine_remove_hint_callback): New callback for the
9923         "remove_hint" signal on the BonoboUIEngine; hide the hint label,
9924         show the task bar.
9925         (setup_statusbar_hints): Connect it.
9926         (setup_menu_hint_label): New helper function to create the menu
9927         hint label.
9928         (create_status_bar): Call it.
9930 2001-06-23  Ettore Perazzoli  <ettore@ximian.com>
9932         * e-shell-view-menu.c (command_quit): Add a `gtk_main_quit()' at
9933         the end here.
9935 2001-06-23  Ettore Perazzoli  <ettore@ximian.com>
9937         * Makefile.am: Add rules to build the test component and an
9938         `install-test-component' target to install it.
9940         * GNOME_Evolution_TestComponent.oafinfo: New OAF file for the test
9941         component.
9943         * evolution-test-component.c: New component, currently to test the
9944         activity interfaces.  We will be able use it for testing more
9945         things in the future.
9947         * e-shell.c: New member `activity_handler' in `EShellViewPrivate'.
9948         (init): Init here.
9949         (class_init): Unref.
9950         (setup_activity_interface): New helper function to create an
9951         `EActivityHandler' object and aggregate it to the `EShell'.
9952         (e_shell_construct): Call here.
9953         (e_shell_new_view): Attach the task bar of the newly created view
9954         to the activity handler by using
9955         `e_activity_handler_attach_task_bar()'.
9957         * e-shell-view.c: Removed old progress bar code.  New members
9958         `status_bar' and `task_bar' in EShellViewPrivagte; removed member
9959         `progress_bar'.
9960         (init): Initialize the new fields; remove initialization for
9961         `progress_bar'.
9962         (impl_destroy): Handle the new fields here too.
9963         (setup_task_bar): New helper function to set up an ETaskBar.
9964         (create_status_bar): New helper function to create the status bar
9965         with an ETaskBar in it.
9966         (ui_engine_add_hint_callback): New callback for the "add_int"
9967         BonoboUIEngine signal.
9968         (setup_statusbar_hints): New helper function to set up the menu
9969         hints for the status bar; connect `ui_engine_add_hint_callback()'
9970         here.
9971         (setup_widgets): Call `create_status_bar()' and
9972         `setup_statusbar_hints()'; pack the status bar in a vbox instead
9973         of using the Bonobo status bar stuff, which is kinda broken.
9974         (e_shell_view_get_task_bar): New.
9975         (get_type_for_folder): No use to get the EFolderTypeRegistry here.
9977         * Evolution.idl: #include <Evolution-Activity.idl> and
9978         <Evolution-Icon.idl>.
9980         * Evolution-Activity.idl: New.
9982         * Evolution-Icon.idl: New.
9984         * e-activity-handler.c: New.
9985         * e-activity-handler.h: New.
9987         * e-task-bar.c: New.
9988         * e-task-bar.h: New.
9990         * e-task-widget.c: New.
9991         * e-task-widget.h: New.
9993 2001-06-21  Jason Leach  <jleach@ximian.com>
9995         * evolution-storage.c (evolution_storage_deregister_on_shell): New
9996         function, uses the StorageRegistry::removeStoragebyName corba call
9997         to properly make the storage vanish from the shell.
9998         
9999 2001-06-18  Dan Winship  <danw@ximian.com>
10001         * Makefile.am (evolution_LDADD): Remove DB3_LDADD
10003         * e-shell-view-menu.c: Fix the help URLs
10005 2001-06-13  Not Zed  <NotZed@Ximian.com>
10007         * e-shell-view.c (switch_on_folder_tree_click): Check priv->uri
10008         isn't null before strcmp'ing it here too.
10010 2001-06-11  Dan Winship  <danw@ximian.com>
10012         * e-shell-view.c (destroy): Don't destroy the
10013         offline_toggle_pixmap: the offline_toggle 0wnz it.
10014         (update_for_current_uri): Check priv->uri isn't NULL before
10015         strcmp()ing it.
10017 2001-06-11  Jason Leach  <jleach@ximian.com>
10019         * evolution-storage.c (impl_Storage_async_create_folder): Fixed
10020         folder creation on IMAP storages (by notifying bonobo listener
10021         with the result).
10023         * evolution-storage-listener.c: Some cleaning.
10025 2001-06-08  Iain Holmes  <iain@ximian.com>
10027         * e-setup.c (check_dir_recur): Don't copy the old Executive-Summary dir.
10028         (e_setup): If there is an Executive-Summary dir in ~/evolution/local
10029         ask it the user wants to remove it.
10030         (e_shell_rm_dir): Function to completely delete a directory.
10032 2001-06-07  Iain Holmes  <iain@ximian.com>
10034         * evolution-storage.c (impl_Storage_async_create_folder): Removed
10035         debug spew.
10037         * e-shell-importer.c (start_import): Removed spew.
10039         * e-shell-view.c (update_window_icon): Take a gboolean to say if
10040         the folder is my evolution. Do special cased things for My Evolution.
10041         (update_folder_title_bar): Same.
10042         (update_for_current_uri): Find out if the uri is the my evolution one
10043         and act accordingly.
10044         (get_control_for_uri): Handle the toplevel My Evolution.
10045         
10046         * e-storage-set-view.c (etree_icon_at): Get an icon for the toplevel
10047         My Evolution.
10048         (etree_value_at): Default is to return "My Evolution"
10049         (e_storage_set_view_construct): Set the toplevel to be called "My 
10050         Evolution" and show it.
10051         (e_storage_set_view_set_show_folders): Same.
10053 2001-06-08  Ettore Perazzoli  <ettore@ximian.com>
10055         * e-shell-folder-commands.c (e_shell_command_add_to_shortcut_bar):
10056         Allow a NULL @shell_view arg.
10058 2001-06-08  Jason Leach  <jleach@ximian.com>
10060         * e-shell.c (e_shell_construct): Fix splash setup to keep it from
10061         giving two Gtk-CRITICAL assertions when you do --no-splash.
10063 2001-06-06  Jon Trowbridge  <trow@ximian.com>
10065         * evolution-storage.c (impl_Storage_async_create_folder): Changed
10066         purely informational debug spew from a g_warning to a g_message.
10068         * e-shell-importer.c (show_import_wizard): The import wizard
10069         defined in import.glade only has three pages... yet we were trying
10070         to manipulate "page4" as the finish page, with the expected bad
10071         results.  My guess is that the .glade file got changed, but the
10072         code didn't get updated.
10073         (start_import): We were trying to bonobo_object_unref
10074         (BONOBO_OBJECT (icd->client)), which is fine except for the
10075         fact that icd->client is just a GtkObject, not a BonoboObject.
10076         Changed to a gtk_object_unref.
10077         (start_import): Changed a purely informational bit of debug
10078         spew from a g_warning to a g_message.
10080 2001-06-06  Iain Holmes  <iain@ximian.com>
10082         * importers/intelligent.c (create_gui): Make a few boxes, and make
10083         the whole dialog horizontal. Add better buttons, and a "Don't ask 
10084         again button" (And the world rejoices).
10085         Fixed the notebook so it displayed the blank page on startup.
10086         (intelligent_importer_init): Handle the "Don't ask me again" button.
10088 2001-06-06  Jason Leach  <jleach@ximian.com>
10090         (Fix bug #3205: Component crash causes folder switch even when not
10091          needed)
10092         
10093         * e-shell-view.c (socket_destroy_cb): Only flip around the
10094         ShellView to different folders when we're currently viewing the
10095         URI that's being closed/crashed.
10097 2001-06-06  Jason Leach  <jleach@ximian.com>
10099         (Fix bug #418: Save state of folder tree view)
10100         
10101         * e-shell-view.c (e_shell_view_save_settings): Changed the char *
10102         @prefix argument to an int @view_num.
10103         (e_shell_view_load_settings): Ditto.
10104         (get_local_prefix_for_view): New function that gets us a prefix
10105         from a view_num.
10107         * e-shell-view.c (e_shell_view_save_settings): Save the
10108         expanded/collapsed information for each storage-set-view here.
10109         (e_shell_view_load_settings): Load it here.
10111         * e-storage-set-view.c (e_storage_set_view_construct): Make it so
10112         new storage set views have their storages expanded by default, but
10113         will respsect the expanded state information that we load into it.
10114         (insert_storages): Minor change here too.
10115         (new_folder_cb): Ditto.
10116         
10117 2001-06-05  Jason Leach  <jleach@ximian.com>
10119         * e-shell-view-menu.c: Plug in all the folder tree right click
10120         menu verbs so bonobo-warnings aren't emitted (even though the
10121         respective implementation functions are currently unimplemented).
10122         (command_delete_folder): New function, see above.
10123         (command_rename_folder): Ditto.
10124         (command_folder_properties): Ditto.
10126         * e-shell-folder-commands.c (e_shell_command_delete_folder): New
10127         function, currently unimplemented.
10129 2001-06-04  Jason Leach  <jleach@ximian.com>
10131         (Fixing bug #1299: Shell saves shortcuts when display name
10132          changes)
10133         
10134         * e-shortcuts.c (class_init): New signal: "update_shortcut".
10136         * e-shortcuts-view-model.c (e_shortcuts_view_model_construct):
10137         Connect thew new signal here.
10139         * e-shortcuts-view-model.c (shortcuts_update_shortcut_cb): New
10140         function, uses the new e_shortcut_model_update_item().
10142         * e-shell-view.c (corba_interface_set_folder_bar_label): Fix a
10143         warning here.
10145 2001-06-03  Ettore Perazzoli  <ettore@ximian.com>
10147         * Makefile.am (evolution_LDADD): Move `$(DB3_LDADD)' before
10148         libeutil.
10150 2001-06-01  Ettore Perazzoli  <ettore@ximian.com>
10152         * Makefile.am (evolution_LDADD): Add `$(DB3_LDADD)'.
10154 2001-05-30  Jason Leach  <jleach@ximian.com>
10156         * e-shell-view.c (e_shell_view_set_current_shortcuts_group_num):
10157         New function (probably should just be static).
10158         (e_shell_view_load_settings): Load the current shortcut group here
10159         using the above new function.
10160         (e_shell_view_save_settings): Save current shortcut group in here.
10162 2001-05-30  Jason Leach  <jleach@ximian.com>
10164         * e-shell-folder-title-bar.c: New 'folder_bar_label' member for
10165         EShellFolderTitleBar, it's for information that's shown to the
10166         left of the icon like the dates in the calendar (or, potentially
10167         total and unread numbers for mailer).
10168         (e_shell_folder_title_bar_set_folder_bar_label): New function,
10169         lets others set the title bar extra label.
10171         * Evolution-ShellView.idl: New method 'setFolderBarLabel' for our
10172         exposed ShellView interface.
10173         
10174         * evolution-shell-view.h: New signal "set_folder_bar_label" for
10175         EvolutionShellView.
10177         * evolution-shell-view.c (impl_ShellView_set_message): Emit the
10178         new signal here.
10180         * e-shell-view.c (setup_corba_interface): Connect the signal here.
10182         * e-shell-view.c (corba_interface_set_folder_bar_label): New
10183         function, callback for the above signals, does the actual extra
10184         label setting for the folder title bar.
10186         * e-shell-folder-commands.c (e_shell_command_add_to_shortcut_bar):
10187         Fix a warning here.
10189 2001-05-30  Jason Leach  <jleach@ximian.com>
10191         * e-shell.c (e_shell_construct): Removed an unecessary sleep(2)
10192         call, so evolution will start up 2 seconds faster now.
10194 2001-05-30  Jason Leach  <jleach@ximian.com>
10196         * e-shell-view-menu.c: Connect the AddFolderToShortcutBar verb to
10197         their implementation functions.
10199         * e-shell-view.c (e_shell_view_get_current_shortcuts_group_num):
10200         New function, use it to find out which shourtcut group is
10201         currently open on the shortcut bar.
10203         * e-shell-folder-commands.c (e_shell_command_add_to_shortcut_bar):
10204         Implement this using new function described above.
10206 2001-05-29  Federico Mena Quintero  <federico@ximian.com>
10208         * e-shell-view.c (setup_progress_bar): Added missing castt.
10209         (setup_offline_toggle): Likewise.
10211 2001-05-29  JP Rosevear  <jpr@ximian.com>
10213         * e-shell-view.c (setup_progress_bar): unref the control when
10214         finished with it
10215         (setup_offline_toggle): ditto
10216         (destroy): destroy offline and progress widgets
10218 2001-05-28  Dan Winship  <danw@ximian.com>
10220         * e-storage-set-view.c (new_storage_cb): Call
10221         e_tree_node_set_expanded on the storage_set_view, not the
10222         storage_set (which is not an ETree).
10224 2001-05-27  Dan Winship  <danw@ximian.com>
10226         * evolution-shell-component-utils.c: New file.
10227         (e_pixmaps_update): Moved here from e-util to break e-util bonobo
10228         dependency.
10230         * e-shell-view-menu.c: #include
10231         "evolution-shell-component-utils.h" instead of "e-gui-utils.h"
10233         * Makefile.am (libeshell_la_SOURCES, eshellinclude_HEADERS): Add
10234         evolution-shell-component-utils.[ch]
10236 2001-05-26  Dan Winship  <danw@ximian.com>
10238         * e-storage-set-view.c (destroy): Don't free the hash keys in
10239         priv->path_to_etree_node, because they're owned by the ETree now.
10240         (e_storage_set_view_set_show_folders): Likewise.
10242 2001-05-25  Peter Williams  <peterw@ximian.com>
10244         * Makefile.am: Change libeshell from a noinst_LIBRARIES to
10245         a lib_LTLIBRARIES. Install its headers in 
10246         $includedir/evolution/shell.
10248         * evolution-storage.c (safe_corba_string): New, copy of e_safe_corba_string
10249         in libeutil. This way libeshell doesn't have a missing symbol when programs
10250         that don't have libeutil link to it.
10251         (evolution_storage_register): s,e_safe_corba_string,safe_corba_string,g.
10253 2001-05-25  jacob berkman  <jacob@ximian.com>
10255         * e-shell-view.c (setup_widgets): place the shortcut bar in a
10256         frame
10258 2001-05-21  Christopher James Lahey  <clahey@ximian.com>
10260         * Makefile.am (INCLUDES): Added ETSPECDIR.  Added
10261         e-storage-set-view.etspec to get installed.
10263         * e-local-storage.c (remove_folder_directory): Commented out this
10264         function since it is unused.
10266         * e-shell-folder-commands.c
10267         (folder_selection_dialog_folder_selected_callback), e-shell-view.c
10268         (update_offline_toggle_status): Fixed warnings here by adding a
10269         return; after the g_assert_not_reached();.
10271         * e-shell-importer.c (start_import): Got rid of real_folderpath
10272         here and just reused folderpath (It was causing uninitialized
10273         variable warnings.)
10275         * e-shell.c (impl_Shell_getLocalStorage): Use
10276         bonobo_object_dup_ref here.  It makes things simpler.
10278         * e-storage-set-view.c: Removed ETREE_SPEC since it's no longer
10279         needed.
10280         (convert_corba_drag_action_set_to_gdk,
10281         folder_context_menu_activate_cb, remove_cb,
10282         folder_context_menu_remove_cb): Commented out these functions
10283         since they're unused.
10284         (new_storage_cb, new_folder_cb, insert_folders, insert_storages):
10285         Don't bother using insert_id here since it no longer does
10286         anything.
10287         (new_storage_cb, removed_storage_cb, removed_folder_cb): Don't
10288         free the data returned from e_tree_memory_node_remove.
10289         (e_storage_set_view_construct): Set the destroy func here so that
10290         memory will automatically get freed when nodes are destroyed.
10291         g_strdup the root node string here.  Use
10292         e_tree_construct_from_spec_file here to use an external file.
10293         (e_storage_set_view_set_show_folders): g_strdup the root node
10294         string here.
10296         * e-storage-set-view.etspec: New etspec file.
10298         * evolution-shell-component-client.c
10299         (free_ShellComponentListener_servant): Added a prototype here.
10301 2001-05-23  Chris Toshok  <toshok@ximian.com>
10303         * evolution-shell-component.h
10304         (EVOLUTION_SHELL_COMPONENT_POPUP_PLACEHOLDER): track change to the
10305         path to the ComponentPlaceholder.
10307 2001-05-20  Ettore Perazzoli  <ettore@ximian.com>
10309         * e-shell-view.c: New static members `offline_pixmap',
10310         `offline_mask', `online_pixmap', `online_mask'.  Add members
10311         `tooltips', `offline_toggle' and `offline_toggle_pixmap' to
10312         `EShellViewPrivate'.
10313         (init): Init to NULL.  Also init the `progress_bar' member to NULL
10314         as well, as we were not initializing it.
10315         (destroy): Unref the tooltips.
10316         (load_images): New static function to load the offline and online
10317         icons into the pixmaps/masks.
10318         (class_init): Call it.
10319         (update_offline_toggle_status): New.
10320         (shell_line_status_changed_cb): Call it.
10321         (offline_toggle_clicked_cb): New, callback for the "clicked"
10322         signal on the offline/online button.
10323         (setup_offline_button): New function to set up the
10324         `offline_button'.
10325         (setup_widgets): Call it.
10326         (setup_progress_bar): Changed to get an `EShellView' pointer,
10327         instead of an `EShellViewPriv' pointer.
10328         (setup_widgets): Updated accordingly.
10330 2001-05-20  Ettore Perazzoli  <ettore@ximian.com>
10332         * e-shell-view-menu.c: Define the verb for "CopyFolder" as well.
10333         (command_copy_folder): Implementation for the "CopyFolder" verb.
10335         * e-shell-folder-commands.c: New struct `FolderCommandData'.
10336         (folder_command_data_new): New function to allocate and initialize
10337         it.
10338         (folder_command_data_free): New function to free it.
10339         (e_shell_command_move_folder): Pass a pointer to a filled-in
10340         `FolderCommandData' struct to the callbacks instead of just
10341         passing a pointer to the shell object.
10342         (move_folder_selected_callback): Removed.
10343         (move_folder_cancelled_callback): Removed.
10344         (folder_selection_dialog_folder_selected_callback): New generic
10345         callback for the folder selection dialog.
10346         (folder_selection_dialog_cancelled_callback): New generic callback
10347         for the folder selection dialog.
10348         (connect_folder_selection_dialog_signals): New function to connect
10349         these two handlers to a folder selection dialog.
10350         (xfer_result_callback): New callback for the async xfer function.
10351         (get_folder_name): New utility function.
10352         (e_shell_command_copy_folder): Implement.
10354 2001-05-19  Ettore Perazzoli  <ettore@ximian.com>
10356         * e-shell-folder-commands.c
10357         (e_shell_command_create_new_folder): Changed to use
10358         `e_shell_view_get_current_path()' to get the default path, instead
10359         of computing it itself.
10360         (move_folder_cancelled_callback) (move_folder_selected_callback):
10361         New, callbacks for the "cancelled" and "folder_selected" signals
10362         on the folder selection dialog for the "Move folder" operation.
10363         (e_shell_command_move_folder): Implemented.
10365         * e-shell-view-menu.c (command_move_folder): New, implementation
10366         for the "MoveFolder" verb.
10368         * e-shell-view.c (e_shell_view_get_current_path): New.
10370 2001-05-19  Ettore Perazzoli  <ettore@ximian.com>
10372         * e-shell-folder-selection-dialog.h: Rename @default_path to
10373         @default_uri.
10375         * e-shell.c (impl_Shell_selectUserFolder): Pass a NULL @caption to
10376         `e_shell_folder_selection_dialog_new()'.
10378         * e-shell-importer.c (import_druid_finish): Add a caption to the
10379         folder selection dialog.  Constify local variable `foldername',
10380         and avoid g_strdupping/g_freeing it, as it's useless.
10382         * e-shell-view-menu.c (command_goto_folder): Add a caption to
10383         the folder selection dialog.
10385         * e-shell-folder-selection-dialog.c
10386         (e_shell_folder_selection_dialog_new): New arg @caption.
10387         (e_shell_folder_selection_dialog_construct): Likewise.  Also
10388         cleaned up a bit.
10390 2001-05-19  Ettore Perazzoli  <ettore@ximian.com>
10392         * e-shell-view-menu.c: Removed "NewView" verb.  Added
10393         `folder_verbs', with "OpenFolderInNewWindow" in it.
10394         (e_shell_view_menu_setup): Set up the `folder_verbs' too.
10395         (command_new_view): Renamed to
10396         `command_open_folder_in_new_window'.
10398         * e-shell-folder-commands.c
10399         (e_shell_command_open_folder_in_other_window): Implement.
10401 2001-05-19  Ettore Perazzoli  <ettore@ximian.com>
10403         * e-shell-view-menu.c (command_create_folder): Call
10404         `e_shell_command_create_new_folder()' implemented in
10405         `e-shell-folder-commands.c'.
10407         * e-shell-folder-commands.c: New.
10408         * e-shell-folder-commands.h: New.
10410 2001-05-17  Ettore Perazzoli  <ettore@ximian.com>
10412         * e-storage-set-view.c
10413         (populate_folder_context_menu_with_common_items): Removed.
10414         (popup_folder_menu): Instead of creating the component and the
10415         folder popup definition here, just do `bonobo_window_add_popup()'
10416         and assume that "/popups/FolderPopup" is defined in the toplevel
10417         window's UI xml file.
10419 2001-05-16  Ettore Perazzoli  <ettore@ximian.com>
10421         * evolution-shell-component-client.c: Moved some functions around
10422         to avoid the warning about the static
10423         `free_ShellComponentListener_servant()' function being used prior
10424         to declaration.
10426 2001-05-15  Ettore Perazzoli  <ettore@ximian.com>
10428         * e-shell-view-menu.c (command_run_bugbuddy): `#if 0'ed out.
10429         (command_submit_bug): New.  Just fire up the web browser with
10430         `http://bugzilla.ximian.com' in it.
10431         (menu_do_misc): Associate the latter instead of the former to the
10432         "HelpSubmitBug" verb.
10434 2001-05-15  Ettore Perazzoli  <ettore@ximian.com>
10436         * e-shell-view-menu.c: Add an `HelpFAQ' verb.
10438 2001-05-14  jacob berkman  <jacob@ximian.com>
10440         * e-folder-tree.c (remove_folder): set the subfolder's parent to
10441         NULL so the subfolder list doesn't change whilst we are using it
10442         (folder_remove_subfolder): this function didn't used to work at
10443         all
10445 2001-05-12  Chris Toshok  <toshok@ximian.com>
10447         * e-storage-set-view.c (tree_drag_data_received): implement the
10448         CORBA side of dragging.
10449         (convert_gdk_drag_action_set_to_corba): rename
10450         convert_gdk_drag_action_to_corba to this.
10451         (convert_corba_drag_action_set_to_gdk): rename
10452         convert_corba_drag_action_to_gdk to this.
10453         (convert_gdk_drag_action_to_corba): new function that doesn't
10454         build a bitmask, useful for the Action types, instead of
10455         ActionSet.
10456         (convert_corba_drag_action_to_gdk): same.
10458 2001-05-11  Chris Toshok  <toshok@ximian.com>
10460         * e-storage-set-view.c
10461         (populate_folder_context_menu_with_common_items): add RemoveFolder
10462         menu item and verb.
10463         (folder_context_menu_remove_cb): new function, call
10464         e_storage_set_async_remove_folder.
10465         (remove_cb): callack for e_storage_set_async_remove_folder.
10467         * evolution-shell-component-client.c
10468         (evolution_shell_component_client_populate_folder_context_menu):
10469         fix prototype to reflect Component -> Container.
10471         * evolution-shell-component-client.h: same.
10473 2001-05-11  Chris Toshok  <toshok@ximian.com>
10475         * evolution-shell-component.h
10476         (EVOLUTION_SHELL_COMPONENT_POPUP_PLACEHOLDER): add this define for
10477         the xml path to use when adding menu items to the folder popup.
10479         * e-storage-set-view.c
10480         (populate_folder_context_menu_with_common_items): add (#ifdef
10481         DEBUG_XML) a menu item to dump the bonobo xml.
10482         (popup_folder_menu): pass the BonoboUIContainer to the
10483         populate_folder_context_menu CORBA call, instead of the component.
10484         Also, reorder things a bit so the component doesn't get an error
10485         when setting xml the first time.
10487 2001-05-11  Iain Holmes  <iain@ximian.com>
10489         * e-shell-folder-selection-dialog.c (dbl_click_cb): Use gnome_dialog_close
10490         instead of gtk_widget_destroy.
10491         (impl_clicked): Use gnome_dialog_close instead of gtk_widget_destroy.
10493         * e-shell-view-menu.c: #include e-shell-importer.h instead of importer/importer.h
10495         * importer/Makefile.am: Remove importer.c and importer.h.
10497         * importer/importer.[ch]: Moved these to e-shell-importer.[ch]
10499         * e-shell-importer.c (start_import): Take a folderpath to import into.
10500         (importer_druid_finish): Show the EShellFolderSelectionDialog to get a folder to
10501         import into.
10503 2001-05-11  JP Rosevear  <jpr@ximian.com>
10505         * e-component-registry.c (register_component): component_new refs
10506         the object itself, so unref ours when we finish with it
10508         * e-shell.c (e_shell_construct): There is no need to explicitly
10509         ref the folder type registry, storage set and shortcuts because we
10510         are the creator and hold the initial ref count of 1.
10512 2001-05-11  Dan Winship  <danw@ximian.com>
10514         * e-local-storage.c (load_folder): Lots of people seem to have
10515         "broken" local storage hierarchies. So ignore errors (like the old
10516         code did) and just print a warning.
10518 2001-05-11  Chris Toshok  <toshok@ximian.com>
10520         * evolution-storage-set-view-factory.c
10521         (evolution_storage_set_view_factory_new_view): the only
10522         problematic area - pass NULL for now in as the BonoboUIContainer.
10523         how do we pass this container to the control?
10525         * e-storage-set-view.c (folder_context_menu_activate): un-#if 0
10526         this function.
10527         (populate_folder_context_menu_with_common_items): build our popup
10528         using the new xml bonobo stuffs.
10529         (popup_folder_menu): convert to using the new xml bonobo stuffs.
10530         (right_click): only do the popup menu if we have a
10531         BonoboUIContainer.
10532         (e_storage_set_view_new): add BonoboUIContainer* arg.
10533         (e_storage_set_view_construct): same.
10535         * e-storage-set-view.h: add BonoboUIContainer* args to
10536         e_storage_set_view_new and e_storage_set_view_construct.
10538         * e-shell-folder-creation-dialog.c (add_storage_set_view): pass
10539         NULL for the BonoboUIContainer, since we shouldn't (?) have a
10540         popup in this dialog.
10541         
10542         * e-shell-folder-selection-dialog.c
10543         (e_shell_folder_selection_dialog_construct): pass NULL for the
10544         BonoboUIContainer, since we shouldn't (?) have a popup in this
10545         dialog.
10547         * e-storage-set.h: add BonoboUIContainer* arg to
10548         e_storage_set_new_view.
10550         * e-storage-set.c (e_storage_set_new_view): add arg, and track
10551         change to e_storage_set_view_new.
10553         * e-shell-view.h: add prototype for
10554         e_shell_view_get_bonobo_ui_container.
10556         * e-shell-view.c (setup_storage_set_subwindow): track change to
10557         e_storage_set_view_new.
10558         (e_shell_view_construct): the BonoboUIContainer is now part of our
10559         private structure.
10560         (e_shell_view_get_bonobo_ui_container): new function.
10562 2001-05-09  Christopher James Lahey  <clahey@ximian.com>
10564         * importer/intelligent.c (create_gui): Made this function static.
10565         Removed the unused variable placeholder.
10566         (intelligent_importer_init): Cast from gpointer to int here
10567         properly using GPOINTER_TO_INT.
10569 2001-05-09  Dan Winship  <danw@ximian.com>
10571         * e-local-storage.c: Remove get_physical_path and load_folders,
10572         and replace the calls to them with calls to the e_path_* functions
10573         they inspired.
10575 2001-05-08  Dan Winship  <danw@ximian.com>
10577         * glade/e-active-connection-dialog.glade: Rename "port" to "type"
10578         here too.
10580 2001-05-08  Iain Holmes  <iain@ximian.com>
10582         * importer/evolution-importer-client.c (evolution_importer_client_load_file):
10583         Actually use the duplicated value.
10585         * e-local-storage.c (create_folder_directory): Assign 
10586         physical_path_return before trying to create the directory.
10587         (create_folder): Return the physical_path even if the directory
10588         creation failed. Free the physical path.
10590         * importer/evolution-importer-client.[ch]: Make EvolutionImporterClient
10591         from a GtkObject instead of a BonoboObject.
10593         * importer/importer.c: Use gtk_object_unref instead of 
10594         bonobo_object_unref on the clients.
10596         * importer/intelligent.c: New prettier dialog, and multiple importers
10597         done in the same window. 
10599 2001-05-07  Dan Winship  <danw@ximian.com>
10601         * e-shell-offline-handler.c (update_dialog_clist_hash_foreach):
10602         Fix a free of non-malloc'ed memory introduced by my last change.
10604 2001-05-07  Jon Trowbridge  <trow@ximian.com>
10606         * e-shell-view-menu.c (update_offline_menu_item): Changed some
10607         references to /commands/WorkOffline to /commands/ToggleOffline.
10609 2001-05-04  Chris Toshok  <toshok@ximian.com>
10611         * evolution-shell-component-dnd.c
10612         (impl_GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleMotion):
10613         take a physical_uri and pass it to the callback.
10614         (impl_GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleDrop):
10615         same.
10617         * evolution-shell-component-dnd.h: add physical_uri args to the
10618         destination folder HandleMotion and HandleDrop types.
10620         * Evolution-ShellComponentDnd.idl: add "in string physical_uri" to
10621         DestinationFolder::handleMotion and DestinationFolder::handleDrop.
10623         * e-storage-set-view.c (tree_drag_motion): pass the physical uri
10624         of the folder to handleMotion.
10626 2001-05-04  Dan Winship  <danw@ximian.com>
10628         * e-shell-offline-handler.c (update_dialog_clist_hash_foreach,
10629         (duplicate_connection_list): Use type instead of portNumber.
10630         (e_shell_offline_handler_put_components_offline): Fix the logic of
10631         when to show the connection dialog here. (Show it when there *are*
10632         connections, not when there aren't.)
10634         * Evolution-Offline.idl: Have a "string type" instead of "short
10635         portNumber" in Connection.
10637 2001-05-04  Ettore Perazzoli  <ettore@ximian.com>
10639         * e-shell-offline-handler.c
10640         (e_shell_offline_handler_put_components_offline): Only display the
10641         dialog if there are active connections.  [It was displaying it all
10642         the time before just for testing purposes.]
10644 2001-05-04  Ettore Perazzoli  <ettore@ximian.com>
10646         * evolution-storage.c (evolution_storage_new_folder): Ooops.  The
10647         `corba_folder' is needed after returning; don't free it.
10649 2001-05-04  Ettore Perazzoli  <ettore@ximian.com>
10651         * evolution-storage.c (evolution_storage_new_folder): Free the
10652         `corba_folder' when not needed anymore.
10654         * e-local-storage.c (create_folder_directory): Free the parent
10655         path, and don't allocate it when we don't need it.
10657         * evolution-shell-component-client.c (dispatch_callback): Free the
10658         listener servant too.
10659         (impl_destroy): Release the listener object and free the servant
10660         if it exists.
10662 2001-05-04  Ettore Perazzoli  <ettore@ximian.com>
10664         * e-shell-folder-creation-dialog.c (dialog_clicked_cb): Don't
10665         strdup `path' before copying it into the `dialog_data'.
10667 2001-05-04  Ettore Perazzoli  <ettore@ximian.com>
10669         * importer/intelligent.c (get_intelligent_importers): Free the
10670         `info_list' returned by `oaf_query()', thus plugging a leak.
10672 2001-05-04  Ettore Perazzoli  <ettore@ximian.com>
10674         * e-shell-utils.c (get_icon_path): Don't use
10675         `gnome_pixmap_file()', which is broken as it looks in the current
10676         working directory first.  Instead, if the path is not absolute,
10677         just look up the file in the `EVOLUTION_IMAGES' directory.
10679 2001-05-03  Ettore Perazzoli  <ettore@ximian.com>
10681         * glade/e-active-connection-dialog.c: Change the GtkCList mode to
10682         GTK_BROWSE_SINGLE.
10684 2001-05-03  Ettore Perazzoli  <ettore@ximian.com>
10686         * e-shell-offline-handler.c
10687         (impl_OfflineProgressListener_updateProgress): Update the GtkCList
10688         before emitting the "offline_procedure_finished" signal.  In fact,
10689         we might be destroyed from within the signal handlers and then
10690         things would get messy.
10692         * evolution-shell-component-client.c
10693         (evolution_shell_component_client_get_offline_interface):
10694         "IDL:GNOME/Evolution/Offline:1.0", not
10695         "IDL:GNOME/Evolution/ShellComponent/Offline:1.0".  Sigh.
10697         * e-shell-view-menu.c: Update to match the rename of the
10698         `WorkOffline' menu item in the `File' menu into `ToggleOffline'.
10699         Now the `WorkOffline' verb actually puts the shell offline, while
10700         `WorkOnline' puts in online, so we don't use one single verb to
10701         toggle the online/offline status.
10702         (command_work_offline): Only go offline.
10703         (command_work_online): New.  Make the shell go online.
10704         (update_offline_menu_item): New.
10705         (shell_line_status_changed_cb): New, callback for the
10706         "line_status_changed" signal on the associated EShell.
10708 2001-05-03  Ettore Perazzoli  <ettore@ximian.com>
10710         * e-shell-offline-handler.c: New member `dialog_gui' in
10711         `EShellOfflineHandlerPrivate'.
10712         (impl_destroy): Unref here if not NULL.
10713         (init): Init to NULL.
10714         (update_dialog_clist_hash_foreach): New.
10715         (update_dialog_clist): New.
10716         (dialog_clicked_cb): New, callback for the "clicked" signal on the
10717         active connection dialog.
10718         (pop_up_confirmation_dialog): Implemented.
10719         (init): Init `procedure_in_progress' to `FALSE' instead of `TRUE'.
10720         (cancel_offline): Emit `offline_procedure_finished'.
10721         (impl_OfflineProgressListener_updateProgress): Call
10722         `update_dialog_clist()'.
10724         * glade/e-active-connection-dialog.glade: New.
10726         * e-shell-view-menu.c: Update to use the `WorkOffline' verb
10727         instead of the `WorkOffLine' one.
10728         (command_work_offline): New, temporary implementation for the
10729         "WorkOffline" verb.
10731         * e-shell-view.c (shell_line_status_changed_cb): New, callback for
10732         the shell's `line_status_changed' signal.
10733         (e_shell_view_construct): Connect it.
10735         * e-shell.c: New member `line_status' in `EShellPrivate'.
10736         (init): Init to `E_SHELL_LINE_STATUS_ONLINE'.
10737         (class_init): Set up the `line_status_changed' signal.
10738         (e_shell_is_offline): Removed.
10739         (e_shell_get_line_status): New.
10740         (e_shell_go_online): Set the `line_status' member to
10741         `E_SHELL_LINE_STATUS_ONLINE' and emit `line_status_changed'.
10742         (offline_procedure_started_cb): New, signal for the
10743         `offline_procedure_started' signal in EShellOfflineHandler.
10744         (offline_procedure_finished_cb): New, signal for the
10745         `offline_procedure_finished' signal in EShellOfflineHandler.
10746         (e_shell_go_offline): Implemented.
10748         * e-shell.h: New enum `EShellLineStatus'.  New signal
10749         `line_status_changed'.
10751 2001-05-03  Ettore Perazzoli  <ettore@ximian.com>
10753         * e-shell-offline-handler.c (e_shell_offline_handler_construct):
10754         Unset the `GTK_FLOATING' flag.
10756 2001-05-02  Ettore Perazzoli  <ettore@ximian.com>
10758         * e-shell.c: New members `is_offline' and `offline_handler' in
10759         `EShellPrivate'.
10760         (init): Init `is_offline' to %FALSE, `offline_handler' to %NULL.
10761         (e_shell_is_offline): New.
10762         (e_shell_go_online): New.
10763         (e_shell_go_offline): New.
10765         * e-shell-offline-handler.c: New.
10766         * e-shell-offline-handler.h: New.
10768         * evolution-shell-component-client.c: New member
10769         `offline_interface' in `EvolutionShellComponentClientPrivate'.
10770         (init): Init to `CORBA_OBJECT_NIL'.
10771         (impl_destroy): Unref/release if not NIL.
10772         (evolution_shell_component_client_get_offline_interface): New.
10774         * Evolution-Offline.idl: New.
10776 2001-05-02  Chris Toshok  <toshok@ximian.com>
10778         * evolution-shell-component-dnd.c: new file.
10780         * evolution-shell-component-dnd.h: new file.
10782         * Makefile.am (libeshell_a_SOURCES): add
10783         evolution-shell-component-dnd.[ch].
10785 2001-04-25  Dan Winship  <danw@ximian.com>
10787         * Makefile.am (evolution_LDADD): Remove $(UNICODE_LIBS).
10789         * main.c (main): Remove call to unicode_init.
10791 2001-04-25  JP Rosevear  <jpr@ximian.com>
10793         * evolution-shell-client.c (destroy): free the private member
10795 2001-04-25  Kjartan Maraas  <kmaraas@gnome.org>
10797         * e-component-register.c, e-corba-storage.c, e-folder-tree.c,
10798         e-folder-tree.h, e-folder.c, e-local-folder.c, e-shell.c,
10799         e-shortcuts-view-model.c, e-shortcuts.c, e-splash.c, 
10800         e-storage-set-view.c, e-storage-set.c, evolution-local-storage.c,
10801         evolution-shell-component-client.c, evolution-shell-component.c,
10802         evolution-storage.[ch], importer/evolution-importer-client.[ch],
10803         importer/evolution-importer-listener.[ch],
10804         importer/evolution-importer.[ch],
10805         importer/evolution-intelligent-importer.[ch], importer/intelligent.c:
10806         #include <glib.h> and move corresponding local includes to the top.
10807         
10808 2001-04-23  Jeffrey Stedfast  <fejj@ximian.com>
10810         * e-splash.c: #include gnome-window-icon.h
10812 2001-04-21  Duncan Mak  <duncan@ximian.com>
10814         * e-splash.c (e_splash_construct): Set window_icon to
10815         "evolution.png" in the splash screen.
10817 2001-04-18  Ettore Perazzoli  <ettore@ximian.com>
10819         * e-local-folder.c: #include <unistd.h>.
10821 2001-04-17  Christopher James Lahey  <clahey@ximian.com>
10823         * e-shell-view.c (storage_set_view_box_event_cb): Proxy events to
10824         the tooltip object properly.
10826 2001-04-15  Ettore Perazzoli  <ettore@ximian.com>
10828         * e-shell-folder-selection-dialog.c
10829         (folder_creation_dialog_result_cb): Set the current folder only if
10830         @result is `E_SHELL_FOLDER_CREATION_DIALOG_RESULT_SUCCESS'.
10832         * e-shell-folder-creation-dialog.c (folder_name_entry_changed_cb):
10833         Changed to get a pointer to the DialogData instead of just a
10834         pointer to the dialog itself.  Don't set the OK button sensitive
10835         if there is no folder selected in the storage set view.
10836         (setup_folder_name_entry): Don't connect
10837         `folder_name_entry_changed_cb' anymore.
10838         (e_shell_show_folder_creation_dialog): Connect here instead.
10839         (storage_set_view_folder_selected_cb): New callback for the
10840         "folder_selected" signal in the EStorageSetView.  Make the OK
10841         button sensitive if the entry is non-empty.
10842         (e_shell_show_folder_creation_dialog): Connect it.
10844 2001-04-14  Michael Meeks  <michael@ximian.com>
10846         * Makefile.am (dist-hook): remove built sources from dist.
10848 2001-04-13  Ettore Perazzoli  <ettore@ximian.com>
10850         * e-splash.c (impl_destroy): Call the parent class' ::destroy
10851         method.
10853 2001-04-12  Christopher James Lahey  <clahey@ximian.com>
10855         * e-storage-set-view.c (etree_has_get_node_by_id,
10856         etree_get_node_by_id): Implemented these.
10858 2001-04-11  Dan Winship  <danw@ximian.com>
10860         * e-shell-view.c (switch_on_folder_tree_click): Don't get into an
10861         infinite loop when clicking on an IMAP storage. Might not be the
10862         best fix?
10864 2001-04-08  Chris Toshok  <toshok@ximian.com>
10866         * e-storage-set-view.c (tree_drag_motion): fix type.  we want the
10867         destination interface, not source.
10869 2001-04-04  Kjartan Maraas  <kmaraas@gnome.org>
10871         * e-local-folder.c: Fix headers.
10872         * e-shell-view.c: Same here.
10873         * e-shortcuts-view.c: Same here.
10874         * e-shortcuts.c: Same here.
10875         * e-storage-set-view.c: Same here.
10876         
10877 2001-04-04  Gediminas Paulauskas <menesis@delfi.lt>
10879         * importer/importer.c (create_html): copied newer and fixed function
10880         from mail/mail-config-druid.c.
10881         (html_new, put_html): removed.
10882         (show_import_wizard): use create_html instead of html_new/put_html pair.
10883         * importer/importer.glade: a try to set logo. removed source generation
10884         options.
10886 2001-04-03  Dan Winship  <danw@ximian.com>
10888         * main.c:
10889         * evolution-shell-component-client.c: Don't declare debug_log as
10890         extern in evolution-shell-component-client.c, because that's part
10891         of libeshell and so gets linked into the other components.
10892         Instead, declare it there and extern it from main.c.
10893         (Noticed by Peter Williams)
10895 2001-04-03  Ettore Perazzoli  <ettore@ximian.com>
10897         * e-shell-view.c (get_control_for_uri): Change `! folder_type'
10898         with `folder_type == NULL'.
10900         * e-corba-storage-registry.c (impl_StorageRegistry_addStorage): If
10901         the toplevel node URI or the toplevel node type are an empty
10902         string, use NULL Instead.
10904 2001-04-03  Ettore Perazzoli  <ettore@ximian.com>
10906         * e-shell-view.c: Fix bug #1878 "folder sometimes fails to
10907         display?".  Thanks to Dan for finding out an explanation for the
10908         problem.
10909         (e_shell_view_display_uri): Don't set `priv->uri' here.
10910         (show_existing_view): Set it here instead, and before showing the
10911         control.
10912         (create_new_view_for_uri): And here, likewise.
10914 2001-04-03  Christopher James Lahey  <clahey@ximian.com>
10916         * e-shell-folder-selection-dialog.c (dbl_click_cb): Made double
10917         clicking not crash here.
10919 2001-04-02  Ettore Perazzoli  <ettore@ximian.com>
10921         * e-setup.c (e_setup): If we have a local folder named "Trash" of
10922         type "mail", rename it to "Trash.old" so that the new
10923         vfolder-based trash type gets installed.
10925 2001-04-03  Gediminas Paulauskas <menesis@delfi.lt>
10927         * importer/evolution-importer-client.c (evolution_importer_client_load_file):
10928         fix Iain's fix which did nothing. closes #1914.
10930 2001-03-31  Christopher James Lahey  <clahey@ximian.com>
10932         * evolution-storage-set-view.c: Include <gal/util/e-util.h> here.
10934 2001-04-01  Gediminas Paulauskas <menesis@delfi.lt>
10936         * e-shell-view-menu.c: set up menu icons for new folder, import and work
10937         offline.
10939 2001-03-30  Iain Holmes  <iain@ximian.com>
10941         * importer/importer.c (start_import): If the importer can't be started, then
10942         don't continue.
10944 2001-03-29  Iain Holmes  <iain@ximian.com>
10946         * importer/evolution-importer-client.c (evolution_importer_client_load_file):
10947         Duplicate the folderpath, or set it to \0
10949 2001-03-30  Christopher James Lahey  <clahey@ximian.com>
10951         * e-shell-folder-selection-dialog.c (dbl_click_cb): Since this is
10952         an ETree now, the signature of the double click callback has
10953         changed.
10955 2001-03-30  Dan Winship  <danw@ximian.com>
10957         * Evolution-ShellComponent.idl: add a "debug" method to tell a
10958         component to output debugging messages to a given file.
10960         * main.c (main): Add a "--debug filename" argument, to direct
10961         debugging output for all components to a file. Redirect the
10962         shell's stdout/stderr to that file if this argument is used.
10964         * evolution-shell-component-client.c
10965         (evolution_shell_component_client_set_owner): If debug_log is set,
10966         call the component's debug method as well.
10968         * evolution-shell-component.c (impl_ShellComponent_debug):
10969         redirect stdout/stderr to the named file and emit a "debug"
10970         signal.
10972 2001-03-29  Kjartan Maraas  <kmaraas@gnome.org>
10974         * e-component-registry.c: Remove/replace  unneeded includes and
10975         move around stuff so that system headers are included first.
10976         * e-corba-storage.c: Replace #include <bonobo.h>
10977         * e-folder-tree.c: Shuffle.
10978         * e-folder.c: Remove #include <gtk/gtkobject.h>
10979         * e-local-storage.c: Replace #include <gnome.h> and <bonobo.h>
10980         * e-setup.c: Replace #include <glib.h> and <gnome.h>
10981         * e-shell-folder-creation-dialog.c: Replace #include <gnome.h>
10982         * e-shell-folder-title-bar.c: Replace <gnome.h>
10983         * e-shell-utils.c: Same here.
10984         * e-shell-view-menu.c: Same here (and <bonobo.h>)
10985         * e-shell-view.c: Replace <gnome.h> and <bonobo.h>
10986         * e-shell.c: Replace <gnome.h>
10987         * e-shell.h: Shuffle.
10988         * e-shortcuts-view-model.c: Replace <gnome.h>
10989         * e-shortcuts-view.c: Remove #include <gnome.h>
10990         * e-shortcuts.c: Move <string.h> up.
10991         * e-splash.c: Replace <gnome.h>
10992         * e-storage-set-view.c: Replace <gnome.h>
10993         * e-storage-set.c: Shuffle
10994         * e-storage.c: Replace <gnome.h>
10995         * evolution-local-storage.c: Same here
10996         * evolution-local-storage.h: And here.
10997         * evolution-session.c: Same here too.
10998         * evolution-session.h: Replace <bonobo.h>
10999         * evolution-shell-client.c: Here too.
11000         * evolution-shell-component-client.c: Shuffle.
11001         * evolution-shell-component.c: Replace <bonobo.h>
11002         * evolution-shell-view.c: Remove #include <bonobo.h>
11003         * evolution-shell-view.h: Replace <gnome.h>
11004         * evolution-storage-listener.c: Replace <gnome.h> and <bonobo.h>
11005         * evolution-storage-listener.h: Replace <gnome.h>
11006         * evolution-storage-set-view-listener.c: Replace <gnome.h> and <bonobo.h>
11007         * evolution-storage-set-view.c: Remove <gnome.h>
11008         * evolution-storage.c: Replace <bonobo.h>
11009         * main.c: Replace <gnome.h> and <bonobo.h>
11010         * importer/importer.c: Replace <gnome.h>
11011         * importer/intelligent.c: Replace <gnome.h>. Add prototype for
11012         intelligent_importer_init().
11013         * importer/intelligent.h: Added this file.
11014         
11015 2001-03-28  Ettore Perazzoli  <ettore@ximian.com>
11017         * e-storage-set-view.c (folder_sort_callback): Use
11018         `g_strcasecmp()' instead of `strcasecmp()'.
11020 2001-03-28  Christopher James Lahey  <clahey@ximian.com>
11022         * e-storage-set-view.c (storage_sort_callback,
11023         folder_sort_callback): Use strcasecmp instead of strcmp.
11025 2001-03-28  Ettore Perazzoli  <ettore@ximian.com>
11027         * e-local-storage.c (async_xfer_folder_callback):
11028         s/new_folder/destination_folder/ where appropriate, idiot.
11030 2001-03-28  Jon Trowbridge  <trow@gnu.org>
11032         * e-shell-view-menu.c: In a fit of egomania, added myself to the
11033         authors array.
11035 2001-03-26  Ettore Perazzoli  <ettore@ximian.com>
11037         * evolution-shell-component-client.c
11038         (shell_component_result_from_corba_exception): Implement.
11040 2001-03-26  Ettore Perazzoli  <ettore@ximian.com>
11042         * evolution-shell-component-client.c
11043         (evolution_shell_component_client_async_xfer_folder): Handle CORBA
11044         exception.
11045         (evolution_shell_component_client_async_create_folder): Likewise.
11047         * e-local-storage.c (create_folder_directory): Create the
11048         `subfolders' directory if it doesn't exist.
11050         * e-storage-set-view.c (tree_drag_data_received): Build the
11051         correct target path by appending the basename from the source
11052         path.
11054         * evolution-shell-component.c
11055         (impl_ShellComponent_async_xfer_folder): Enabled again.
11056         (class_init): Install it.
11058         * e-local-folder.c (METADATA_FILE_NAME_LEN): Removed #define.
11059         (METADATA_FILE_NAME): Removed #define.
11060         (save_metadata): Use the public
11061         `E_LOCAL_FOLDER_METADATA_FILE_NAME' value instead.
11062         (construct_loading_metadata): Likewise.
11064         * e-local-folder.h (E_LOCAL_FOLDER_METADATA_FILE_NAME_LEN): New
11065         #define.
11066         (E_LOCAL_FOLDER_METADATA_FILE_NAME): New #define.
11068         * e-local-storage.c (remove_folder_directory): New helper
11069         function.
11070         (async_xfer_folder_step): New.
11071         (async_xfer_complete): New.
11072         (async_xfer_folder_callback): New.
11073         (impl_async_xfer_folder): Implement.
11075         * e-storage.h: Added value `E_STORAGE_NOTEMPTY' to
11076         `EStorageResult'.
11078         * evolution-shell-component-client.c
11079         (evolution_shell_component_clinet_async_xfer_folder): New.
11081 2001-03-23  Ettore Perazzoli  <ettore@ximian.com>
11083         * e-local-storage.c (impl_async_xfer_folder): New, implementation
11084         for `EStorage::async_xfer_folder'.
11085         (class_init): Install it.
11086         (check_valid_name): Removed.  Conflicts shouldn't be handled this
11087         way, and hardcoding the names is *bad*.
11088         (create_folder_directory): New helper function.
11089         (real_do_folder_create): Removed.
11090         (create_folder): New.  Do things here using
11091         `create_folder_directory'.
11092         (impl_async_create_folder): Use `create_folder'.
11093         (notify_bonobo_listener): Renamed from `notify_listener'.  Moved
11094         on top for clarity.
11096 2001-03-22  Iain Holmes  <iain@ximian.com>
11098         * importer/evolution-importer-listener.c (evolution_importer_listener_new):
11099         Remove the usage of the corba_object thing.
11100         (evolution_importer_listener_construct): Ditto.
11102         * e-local-storage.c (real_do_folder_create): Revert the e_mkdir_hier call
11103         to two seperate calls to mkdir. If the directory exists, just call the 
11104         callback and notify the listener.
11106         * importer/GNOME_Evolution_Importer.idl: Add a folderpath paramater to the
11107         loadFile method.
11109         * importer/evolution-importer.[ch]: Update for the new folderpath param.
11110         
11111         * importer/evolution-importer-client.[ch]: Ditto.
11113         * importer/importer.c: Ditto.
11115 2001-03-22  Ettore Perazzoli  <ettore@ximian.com>
11117         * e-storage-set-view.c (motion_notify_event): Unref the target
11118         list we create on the fly.
11120 2001-03-22  Ettore Perazzoli  <ettore@ximian.com>
11122         * e-shell-folder-creation-dialog.c (async_create_cb): Changed
11123         signature to match `EStorageSetResultCallback' instead of
11124         `EStorageResultCallback', to match the changes in the async_create
11125         API call.
11127 2001-03-22  Ettore Perazzoli  <ettore@ximian.com>
11129         * e-storage-set-view.c: Removed some unused static variables.
11130         (set_evolution_path_selection): Removed unused variable
11131         `evolution_path'.
11133         * e-storage-set.c (e_storage_set_async_xfer_folder): Get an
11134         `EStorageSetResultCallback', instead of an
11135         `EStorageResultCallback'.
11136         (e_storage_set_async_remove_folder): Likewise.
11137         (e_storage_set_async_create_folder): Likewise.
11138         (storage_callback_converter): New callback to convert from the
11139         EStorageResultCallback to the EStorageSetResultCallback.
11141         * e-storage-set.h: New typedef `EStorageSetResultCallback'.
11143         * Evolution-ShellComponent.idl: Renamed `copyFolderAsync' into
11144         `xferFolderAsync' for consistency.
11146         * e-storage-set-view.c (tree_drag_data_received): Updated to use
11147         `e_storage_set_async_xfer_folder()' instead of
11148         `e_storage_set_async_move_folder()' or
11149         `e_storage_set_async_copy_folder()'.
11150         (folder_xfer_callback): New, callback for the xfer function.
11152         * e-storage-set.c (e_storage_set_async_move_folder): Removed.
11153         (e_storage_set_async_copy_folder): Removed.
11154         (e_storage_set_async_xfer_folder): New.
11156 2001-03-22  Ettore Perazzoli  <ettore@ximian.com>
11158         * e-storage.c (e_storage_async_xfer_folder): New.
11159         (impl_async_xfer_folder): New, default implementation for the
11160         `async_xfer_folder' method.
11161         (class_init): Install it.
11163         * e-storage.h: New virtual method `async_xfer_folder'.
11165         * evolution-storage.c (impl_Storage_async_xfer_folder): New.  Just
11166         a stub for now.
11167         (evolution_storage_get_epv): Install it as the implementation for
11168         the `asyncXferFolder' method.
11170         * Evolution-Storage.idl: New method `asyncXferFolder'.
11172 2001-03-22  Ettore Perazzoli  <ettore@ximian.com>
11174         * e-storage-set-view.c: Removed `source_drag_types',
11175         `num_source_drag_types', `destination_drag_types',
11176         `num_destination_drag_types', `target_list'.
11177         (E_SHORTCUT_TARGET_TYPE): Renamed from "E_SHORTCUT_TYPE".
11178         (EVOLUTION_PATH_TARGET_TYPE): Define to "_EVOLUTION_PRIVATE_PATH".
11179         (find_matching_target_for_drag_context): If any of the targets
11180         matches it, return it.
11181         (handle_evolution_path_drag_motion): New.
11182         (tree_drag_motion): Use it if we are matching an
11183         `EVOLUTION_PATH_TARGET_TYPE' target.
11184         (e_storage_set_view_construct): Call `e_tree_drag_dest_set()' on
11185         the view so that we become a possible DnD target.
11186         (get_folder_at_node): Don't die if you don't find a folder there.
11187         (create_target_entries_from_dnd_type_list): Make the first entry
11188         an `EVOLUTION_PATH_TARGET_TYPE', the second one an
11189         `E_SHORTCUT_TYPE', and the following ones the ones defined by the
11190         folder.
11191         (set_evolution_path_selection): New function to set the private
11192         Evolution path selection.
11193         (set_e_shortcut_selection): Assert @selection_data to be not NULL.
11194         (class_init): Don't set up the `target_list' anymore.
11195         (storage_sort_callback): Actually compare the two nodes, not the
11196         first node with itself.
11198         * e-storage-set.c (e_storage_set_async_copy_folder): New.
11199         (e_storage_set_async_move_folder): New.
11201 2001-03-22  Christopher James Lahey  <clahey@ximian.com>
11203         * e-storage-set-view.c (etree_get_save_id): Changed get_save_id to
11204         just return a strdup of the path.
11205         (new_storage_cb, new_folder_cb, insert_folders, insert_storages):
11206         Call e_tree_memory_sort_node.
11208 2001-03-21  Ettore Perazzoli  <ettore@ximian.com>
11210         * e-storage-set-view.c (etree_get_save_id): If we have no
11211         associated StorageSet yet, just return "root".  [This can happen
11212         when this function is called at construction time.]
11214 2001-03-21  Ettore Perazzoli  <ettore@ximian.com>
11216         * Evolution-ShellComponentDnd.idl: StudlyCapsify struct members to
11217         match the new IDL naming standards.
11218         * e-storage-set-view.c: Updated accordingly.
11220 2001-03-21  Ettore Perazzoli  <ettore@ximian.com>
11222         * e-storage-set-view.c (tree_drag_data_get): Get the target type
11223         from the atom, and pass it through the `SourceFolder::getData'
11224         invocation.  Also, signal an error by passing `-1' as the length
11225         value to `gtk_selection_data_set()'.
11226         (find_matching_target_for_drag_context): New helper function.
11227         (tree_drag_motion): Use it to figure out a suitable type for the
11228         drop action, and pass it to the `DestinationFolder::handleMotion'
11229         method.
11231         * e-storage-set-view.c (get_component_at_node): New helper
11232         function.
11233         (table_drag_begin): Use it.
11234         (convert_corba_drag_action_to_gdk): New helper function.
11235         (table_drag_motion): Use the `DestinationFolder::handleMotion'
11236         method to handle the "drag_motion" signal.
11238         * Evolution-ShellComponentDnd.idl: Change the signature for the
11239         `handleMotion' method so that it only has @suggested_action
11240         parameter.
11242 2001-03-20  JP Rosevear  <jpr@ximian.com>
11244         * importer/Makefile.am: make sure intelligent.h gets disted
11246 2001-03-19  Christopher James Lahey  <clahey@ximian.com>
11248         * Merged e-tree-rework-branch:
11250         2001-03-19  Christopher James Lahey  <clahey@ximian.com>
11252         * e-storage-set-view.c (etree_get_save_id): Made "root" detection
11253         deal properly with removed nodes.
11255         2001-03-18  Christopher James Lahey  <clahey@ximian.com>
11257         * e-shell-view.c (e_shell_view_save_settings): Added some unused
11258         code to implement saving of the expanded state.
11260         * e-storage-set-view.c: Added has_save_id and get_save_id methods.
11262         2001-03-13  Christopher James Lahey  <clahey@ximian.com>
11264         * e-storage-set-view.c (ETREE_SPEC): Set draw-grid here to false.
11266         2001-03-09  Christopher James Lahey  <clahey@ximian.com>
11268         * e-storage-set-view.c, e-storage-set-view.h: Chaned this to use
11269         ETree instead of ETable.
11271 2001-03-19  Ettore Perazzoli  <ettore@ximian.com>
11273         * evolution-shell-component-client.c: New members
11274         `dnd_source_folder_interface' and
11275         `dnd_destination_folder_interface' in
11276         `EvolutionShellCompoentClientPrivate'.
11277         (init): Initialize.
11278         (impl_destroy): Clean up.
11279         (evolution_shell_component_client_get_dnd_source_interface): New.
11280         (evolution_shell_component_client_get_dnd_destination_interface):
11281         New.
11283 2001-03-19  Ettore Perazzoli  <ettore@ximian.com>
11285         * e-storage-set-view.c (init): Ooops.  Initialize the
11286         `drag_corba_source_context' member.  correctly.
11287         (table_drag_begin): Don't crash if queryInterface returns
11288         `CORBA_OBJECT_NIL'.
11289         (table_drag_end): Don't do anything if the
11290         `drag_corba_source_interface' is `CORBA_OBJECT_NIL'.
11292 2001-03-19  Ettore Perazzoli  <ettore@ximian.com>
11294         * e-storage-set-view.c New members `drag_data',
11295         `drag_corba_source_interface' and `drag_corba_source_context in
11296         `EStorageSetViewPrivate'.
11297         (init): Init the new members.
11298         (destroy): Clean up the new members.
11299         (table_drag_begin): Query for the
11300         `EvolutionShellComponentDnd::SourceFolder' interface on the
11301         handler for the folder we are dragging from, and initialize all
11302         the CORBA context information for the drag, after invoking
11303         `::beginDrag()' on it.
11304         (convert_gdk_drag_action_to_corba): New helper function.
11305         (table_drag_data_get): Get the data using
11306         `::SourceFolder::getData'.
11307         (table_drag_end): New, override for the "ETable::table_drag_end"
11308         signal.  Invoke `::endDrag' on the SourceFolder interface,
11309         unref/release the interface, and clean up the source context.
11310         (table_drag_data_delete): New, override for the
11311         "ETable::table_drag_data_delete" signal.
11312         (class_init): Install `table_drag_end' and
11313         `table_drag_data_delete'.
11315         * Evolution-ShellComponentDnd.idl: Derive `::DestinationFolder'
11316         and `SourceFolder' from `Bonobo::Unknown'.
11318 2001-03-19  Ettore Perazzoli  <ettore@ximian.com>
11320         * e-storage-set-view.c (table_drag_data_get): Don't get the
11321         selection through
11322         `evolution_shell_component_client_get_dnd_selection()'.
11324         * evolution-shell-component.c
11325         (impl_ShellComponent_getDndSelection): Removed.
11326         (class_init): Don't install.
11328         * evolution-shell-component-client.c
11329         (evolution_shell_component_client_get_dnd_selection): Removed.
11331         * Evolution-ShellComponentDnd.idl: New file with the DnD stuff.
11333         * Evolution-ShellComponent.idl: Removed the dnd stuff.
11335 2001-03-15  Pablo Saratxaga  <pablo@mandrakesoft.com>
11337         * main.c: fixed a no-c-format tag
11339 2001-03-14  Ettore Perazzoli  <ettore@ximian.com>
11341         * importer/Makefile.am (INCLUDES): Remove `-g Wall' and friends.
11342         Use `$(EXTRA_GNOME_CFLAGS)' instead of `$(GNOME_INCLUDEDIR)'.  Add
11343         `-I$(top_builddir)/shell'.
11345 2001-03-13  Iain Holmes  <iain@ximian.com>
11347         * importer/intelligent.c (start_importer): Add a "Don't ask me again"
11348         checkbox and don't ask about an importer if the box was ticked.
11350 2001-03-12  Iain Holmes  <iain@ximian.com>
11352         * Evolution-Storage.idl: Add a FolderResult structure.
11354         * e-local-storage.c (struct _AsyncCreateFolderCallbackData): Add a
11355         Bonobo_Listener.
11356         (notify_listener): Function to...notify the listener.
11357         (component_async_create_folder_callback): Use the notify_listener
11358         function.
11359         (real_do_folder_create): New prototype. Replace all returns with
11360         a call to notify_listener. Make the directory with a call to
11361         e_mkdir_hier instead of multiple calls to mkdir. Only emit a fail
11362         on a bad error, not on EEXIST.
11363         (bonobo_interface_create_folder_cb): Namespace create_folder_cb to match
11364         the others.     
11366         e-shell.c: Run the intelligent importer.
11368         evolution-storage.c (impl_Storage_async_create_folder): Just emit the signal,
11369         not the callback.
11370         (e_marshal_NONE__POINTER_POINTER_POINTER_POINTER_POINTER): Lovely signal
11371         marshaller.
11372         (class_init): Change the signal definition for the create_folder signal.
11374         importer/GNOME_Evolution_Importer.idl: Add an IntelligentImporter inteface.
11376         importer/Makefile.am: Add the evolution-intelligent-importer.c, intelligent.c
11377         and evolution-intelligent-importer.h to the files.
11379         importer/evolution-importer-listener.[ch]: Convert to BonoboXObject.
11381         importer/evolution-importer.[ch]: BonoboXObjectification.
11383         importer/evolution-intelligent-importer.[ch]: BonoboXObject for the
11384         GNOME:Evolution:IntelligentImporter interface.
11386         importer/intelligent.c: Code for running the intelligent importers.
11388 2001-03-08  Ettore Perazzoli  <ettore@ximian.com>
11390         * e-storage-set-view.c (get_folder_at_row): New helper function.
11391         (create_target_list_for_row): Use it.
11392         (table_drag_data_get): Get the selection from the shell component
11393         using `evolution_shell_component_client_get_dnd_selection()'.
11394         (set_e_shortcut_selection): Turn a `g_return_if_fail()' into a
11395         `g_assert()'.
11397         * evolution-shell-component.c: New member `get_dnd_selection_fn'
11398         in `EvolutionShellComponentPrivate'.
11399         (evolution_shell_component_construct): New arg
11400         @get_dnd_selection_fn.
11401         (evolution_shell_component_new): Likewise.
11402         (impl_ShellComponent_getDndSelection): New, implementation for
11403         `ShellComponent::getDndSelection'.
11404         (class_init): Install it.
11406         * evolution-shell-component-client.c
11407         (evolution_shell_component_client_get_dnd_selection): New, wrapper
11408         for `ShellComponent::getDndSelection'.
11410         * evolution-shell-component.h: Renamed
11411         `EvolutionShellComponentPopulateFolderContextMenu' into
11412         `EvolutionShellComponentPopulateFolderContextMenuFn'.  New
11413         function pointer typedef `EvolutionShellComponentGetDndSelectionFn'.
11415         * Evolution-ShellComponent.idl: New method
11416         `ShellComponent::getDndSelection'.
11418         * e-storage-set-view.c (create_target_entries_from_dnd_type_list):
11419         Always add an `E_SHORTCUT_TYPE' type at least.
11420         (create_target_list_for_row): Don't return NULL if the list of
11421         exported DND types is NULL.  Don't create an unused target list.
11422         Actually return the created target list.
11423         (table_drag_data_get): If the @info is zero, set the e-shortcut
11424         selection.
11425         (set_uri_list_selection): Temporarily disabled.
11427 2001-03-07  Ettore Perazzoli  <ettore@ximian.com>
11429         * e-component-registry.c (register_type): New args
11430         @num_exported_dnd_types, @exported_dnd_types,
11431         @num_accepted_dnd_types, @accepted_dnd_types.  Pass them to
11432         `e_folder_type_registry_register_type()'.
11433         (register_component): Updated accordingly, getting the values from
11434         the CORBA `GNOME::Evolution::FolderType' struct.
11436         * e-folder-type-registry.c: New members `accepted_dnd_types' and
11437         `exported_dnd_types' in `struct _FolderType'.
11438         (e_folder_type_registry_register_type): New args
11439         @num_accepted_dnd_types, @accepted_dnd_types,
11440         @num_exported_dnd_types, @exported_dnd_types.
11441         (register_folder_type): Likewise.
11442         (folder_type_new): Likewise.  Use them to initialize
11443         `accepted_dnd_types' and `exported_dnd_types' in the newly created
11444         `FolderType' struct.
11445         (e_folder_type_registry_get_accepted_dnd_types_for_type): New.
11446         (e_folder_type_registry_get_exported_dnd_types_for_type): New.
11448         * e-storage-set-view.c: New #defined constant `DRAG_RESISTANCE'.
11449         New members `drag_x', `drag_y', `drag_column', `drag_row' in
11450         `EStorageSetViewPrivate'.
11451         (init): Initialize them.
11452         (button_press_event): New function, overriding for the
11453         `::button_press_event' method.
11454         (motion_notify_event): New function, overriding for the
11455         `::motion_notify_event' method.
11456         (class_init): Install them.
11458         * evolution-shell-component.c
11459         (duplicate_null_terminated_string_array): New helper function.
11460         (evolution_shell_component_construct): Copy the values for
11461         `accepted_dnd_types' and `exported_dnd_types' from the original
11462         folder type list using it.
11463         (destroy): Free the `exported_dnd_types' and `accepted_dnd_types'
11464         members too.
11465         (fill_corba_sequence_from_null_terminated_string_array): New
11466         helper function.
11467         (impl_ShellComponent__get_supported_types): Also set the
11468         `exported_dnd_types' and `accepted_dnd_types' values in the folder
11469         type elements we return.
11471         * evolution-shell-component.h: Added `accepted_dnd_types' and
11472         `exported_dnd_types' members to `EvolutionShellComponentFolderType'.
11474         * Evolution-ShellComponent.idl: Renamed `accepted_dnd_mime_types'
11475         to `accepted_dnd_types' and `exported_dnd_mime_types' to
11476         `exported_dnd_types'.  These are not necessarily MIME types.
11478 2001-03-05  Christopher James Lahey  <clahey@ximian.com>
11480         * e-storage-set-view.c: Override cursor_activated signal instead
11481         of cursor_changed signal.
11483 2001-02-27  Dan Winship  <danw@ximian.com>
11485         * main.c (development_warning): Update this again.
11487 2001-02-26  Ettore Perazzoli  <ettore@ximian.com>
11489         * Evolution-Shell.idl: Rename `FolderTypeList' to
11490         `FolderTypeNameList' as it was confusing.
11492         * Evolution-ShellComponent.idl: New members
11493         `accepted_dnd_mime_types' and `exported_dnd_mime_types' in `struct
11494         FolderType'.
11496 2001-02-24  Jeffrey Stedfast  <fejj@ximian.com>
11498         * e-storage.c (folder_changed_cb): Don't free a const pointer.
11500 2001-02-23  Iain Holmes  <iain@ximian.com>
11502         * e-local-storage.c (construct): Connect to the create-folder signal.
11503         (impl_async_create_folder): Move this into the real_do_folder_create
11504         function.
11505         (real_do_folder_create): Function that creates the folder.
11506         (create_folder_cb): Creates the folder form a callback.
11508 2001-02-21  Michael Meeks  <michael@ximian.com>
11510         * importer/importer.c: add include.
11511         (show_import_wizard): update signature to that of a verb.
11513         * evolution-shell-component.c (corba_class_init): move into
11514         (class_init): here & upd.
11515         (evolution_shell_component_construct): upd.
11516         (create_servant): kill.
11517         (E_MAKE_TYPE) -> E_MAKE_X_TYPE.
11519 2001-02-20  Dan Winship  <danw@ximian.com>
11521         * e-folder.c (_EFolderPrivate): split "highlighted" into
11522         self_highlight and child_highligh.
11523         (e_folder_get_highlighted): Return TRUE if either self_highlight
11524         is true or any child is highlighted.
11525         (e_folder_set_child_highlight): New function to tell the folder
11526         about a child highlight change.
11528         * e-storage.c (folder_changed_cb): Update child highlights
11529         correctly on folders so that folders will be highlighted whenever
11530         their children are.
11532 2001-02-17  Christopher James Lahey  <clahey@ximian.com>
11534         * e-shell-view-menu.c (file_verbs): Cast this fucntion pointer.
11536         * e-storage-set-view.c (ETABLE_SPEC): Turn on horizontal scrolling
11537         here.
11539         * evolution-shell-component.c
11540         (impl_ShellComponent_async_copy_folder): Commented out this unused
11541         function.
11543         * evolution-storage.c (storage_gtk_to_corba_result): Removed an
11544         unused variable here.
11546         * importer/importer.c: Include gal/widets/e-gui-utils.h.
11548 2001-02-14  Dan Winship  <danw@ximian.com>
11550         * Evolution-Storage.idl: add asyncCreateFolder and
11551         asyncRemoveFolder interfaces. (Use Bonobo::Listener rather than
11552         creating a new listener interface.)
11554         * Evolution-LocalStorage.idl: Remove the
11555         Evolution::LocalStorageOpsListener interface, which wasn't being
11556         used.
11558         * evolution-storage.c (impl_Storage_async_create_folder,
11559         impl_Storage_async_remove_folder): implement by emitting signals
11560         on the EvolutionStorage object. Convert from
11561         EvolutionStorageResult to GNOME_Evolution_Storage_Result (blah!)
11562         (class_init): Set up the new "create_folder" and "remove_folder"
11563         signals.
11565         * e-corba-storage.c (async_create_folder, async_remove_folder):
11566         Implement, using the new Evolution::Storage IDL. Convert from
11567         GNOME_Evolution_Storage_Result to EStorageResult (blah!)
11569         * e-storage-set.c (e_storage_set_async_create_folder): Don't allow
11570         a NULL description (since it doesn't allow a NULL anythign else).
11572         * e-shell-folder-creation-dialog.c (dialog_clicked_cb): Pass ""
11573         rather than NULL for the description.
11575 2001-02-12  Kjartan Maraas  <kmaraas@gnome.org>
11577         * Makefile.am: xml-i18n-tools setup.
11578         * GNOME_Evolution_Shell.oaf.in: Mark strings for translation.
11579         
11580 2001-02-10  Ettore Perazzoli  <ettore@ximian.com>
11582         * e-shell-view-menu.c: Moved the author list to the top of the
11583         file.
11584         (command_about_box): Display the `SUB_VERSION' as well.
11586 2001-02-08  Ettore Perazzoli  <ettore@ximian.com>
11588         * e-shell-folder-creation-dialog.c (dialog_clicked_cb): Destroy
11589         the dialog instead of using `gnome_dialog_close()'.
11590         (dialog_clicked_cb): Likewise.
11591         (dialog_close_cb): Removed.
11592         (e_shell_show_folder_creation_dialog): Don't connect to the
11593         "close" signal anymore.
11595         * e-shell-folder-selection-dialog.c
11596         (folder_creation_dialog_result_cb): New callback.  Set the default
11597         folder to be the newly created one.
11598         (impl_clicked): Use it.
11600         * e-shell-folder-creation-dialog.c: Add members `folder_path',
11601         `result_callback' and `result_callback_data' to `struct
11602         _DialogData'.
11603         (e_shell_show_folder_creation_dialog): New args @result_callback
11604         and @result_callback_data.
11605         (async_create_cb): Notify the result through the specified
11606         callback.
11607         (dialog_clicked_cb): Likewise.  Set the `folder_path' in the
11608         DialogData so that we can pass it over when we get the async
11609         notification of the result of the operation.
11611         * e-shell-folder-creation-dialog.h: New type
11612         `EShellFolderCreationDialogCallback'.
11614         * e-storage-set-view.c (e_storage_set_view_set_current_folder):
11615         Show the node too, using `e_tree_model_show_node()'.
11617 2001-02-05  Ettore Perazzoli  <ettore@ximian.com>
11619         * e-setup.c (copy_default_stuff): s/first time you run/first time
11620         you are running/.
11622 2001-02-02  Ettore Perazzoli  <ettore@ximian.com>
11624         * e-component-registry.h: Don't #include <config.h>.
11625         * e-corba-storage-registry.h: Likewise.
11626         * e-corba-storage.h: Likewise.
11627         * e-folder-type-registry.h: Likewise.
11628         * e-folder.h: Likewise.
11629         * e-local-folder.h: Likewise.
11630         * e-local-storage.h: Likewise.
11631         * e-shell-folder-title-bar.h: Likewise.
11632         * e-shell-view.h: Likewise.
11633         * e-shell.h: Likewise.
11634         * e-shortcuts-view.h: Likewise.
11635         * e-shortcuts.h: Likewise.
11636         * e-splash.h: Likewise.
11637         * e-storage-set-view.h: Likewise.
11638         * e-storage-set.h: Likewise.
11639         * e-storage.h: Likewise.
11640         * evolution-local-storage.h: Likewise.
11641         * evolution-session.h: Likewise.
11642         * evolution-shell-client.h: Likewise.
11643         * evolution-shell-component.h: Likewise.
11644         * evolution-shell-view.h: Likewise.
11645         * evolution-storage-listener.h: Likewise.
11646         * evolution-storage.h: Likewise.
11648 2001-02-02  Iain Holmes  <iain@ximian.com>
11650         * importer/evolution-importer-client.c:
11651         (evolution_importer_client_new_from_id): Free the CORBA_Environment.
11653 2001-01-30  Iain Holmes  <iain@ximian.com>
11655         * importer/importer.c: (start_import): Added a notice if there is no
11656         importer that can handle the file.
11657         (get_iid_for_filetype): Free the list of multiple items before returning.
11658         (importer_timeout_fn): Removed notice.
11659         (import_cb): Removed notice.    
11661 2001-01-30  Iain Holmes  <iain@ximian.com>
11663         * importer/importer.c: Added a nasty hack to change the druids Finish
11664         button to be Import.
11666         * importer/import.glade: Remove the FIXME warning.
11668 2001-01-30  Kjartan Maraas  <kmaraas@gnome.org>
11670         * importer/importer.c: Fixed some typos.
11671         
11672 2001-01-28  Ettore Perazzoli  <ettore@ximian.com>
11674         * e-shell-folder-creation-dialog.c (add_storage_set_view): Set the
11675         shadow type to be `GTK_SHADOW_IN' in the EScrollFrame.
11677 2001-01-27  Ettore Perazzoli  <ettore@ximian.com>
11679         * e-shell-view.c (storage_set_view_box_button_release_event_cb):
11680         Don't pop down the folder bar if the button release happens in the
11681         e-paned's handle.
11682         (storage_set_view_box_button_release_event_cb): Changed the return
11683         value to be int.  Stupid me.
11685 2001-01-27  Jason Leach  <jasonleach@usa.net>
11687         * e-shortcuts-view.h: Fix #include to point to gal instead of
11688         widgets/shortcut-bar/
11689         
11690         * e-shortcuts.c: Here too.
11691         * e-shortcuts-view-model.h: And lastly here.
11692         
11693         * Makefile.am (evolution_LDADD): Don't link with the old
11694         widgets/shortcut-bar/libshortcut-bar.la anymore, gal has the new
11695         shortcut-bar.
11697 2001-01-27  Ettore Perazzoli  <ettore@ximian.com>
11699         * e-storage-set-view.c (get_pixbuf_for_folder): Don't scale if the
11700         size is the same.  `gdk_pixbuf_scale()' seems to be blurring the
11701         image even if the scaling factor is 1.0.
11703 2001-01-26  Ettore Perazzoli  <ettore@ximian.com>
11705         * e-corba-storage.c: Remove all instances of `__FUNCTION__'.
11706         * e-folder-tree.c: Likewise.
11707         * e-folder-type-registry.c: Likewise.
11708         * e-shell-view.c: Likewise.
11709         * e-shell-view-menu.c: Likewise.
11711 2001-01-25  Ettore Perazzoli  <ettore@ximian.com>
11713         * e-shell-view.c (e_shell_view_construct): Connect the
11714         "updated_folder" with `gtk_signal_connect_while_alive()' so that
11715         it gets disconnected when the shell view dies.
11717 2001-01-24  Jason Leach  <jasonleach@usa.net>
11719         (Fix #1252: Need a File->Close way to close a view)
11720         
11721         * e-shell-view-menu.c (command_close): New function, destroys the
11722         current view.
11724         * e-shell.c (view_destroy_cb): Make sure shell settings get saved
11725         when the last view is destroyed.
11726         
11727 2001-01-24  Kjartan Maraas  <kmaraas@gnome.org>
11729         * importer/GNOME_Evolution_Importer.idl: Fix missing ';'.
11730         
11731 2001-01-23  Ettore Perazzoli  <ettore@ximian.com>
11733         * e-corba-storage.c (impl_StorageListener_update_folder): Don't
11734         call `e_storage_updated_folder()' as it's supposed to happen
11735         automatically now.
11737         * e-storage.c (e_storage_updated_folder): Removed.
11738         (folder_changed_cb): New callback for the "changed" signal on the
11739         EFolders.
11740         (e_storage_new_folder): Connect it.
11742         * e-folder-tree.c: New member `data_to_path' in `EFolderTree'.
11743         (e_folder_tree_new): Init here.
11744         (e_folder_tree_destroy): Destroy it here.
11745         (e_folder_tree_add): Add to the `data_to_path' hash.  Make sure
11746         we are not adding the same folder twice.
11747         (remove_folder): Remove from the `data_to_path' hash.
11748         (e_folder_tree_get_path_for_folder): New.
11750         * e-shell-view.c (e_shell_view_construct): Don't connect to the
11751         "folder_updated" signal of the local storage anymore.
11752         (folder_updated_cb): Removed.
11753         (updated_folder_cb): New.
11754         (e_shell_view_construct): Connect it to the "updated_folder"
11755         signal.
11757         * e-local-storage.c: Remove `FOLDER_UPDATED' enum value and the
11758         `signals' variable, as we don't want to define any custom signals
11759         here anymore.
11760         (bonobo_interface_update_folder_cb): No need to emit the
11761         "folder_updated" signal here.  The base class will take care of
11762         this already.
11763         (class_init): Don't install the "folder_updated" signal here.
11765         * e-local-storage.h: Removed signal "folder_updated".  It is not
11766         necessary, as we already have an `updated_folder' in `EStorage',
11767         which is the parent class of `ELocalStorage'.
11769 2001-01-24  Iain Holmes  <iain@ximian.com>
11771         * importer/GNOME_Evolution_Importer.idl: Removed the busy exception.
11773 2001-01-19  Iain Holmes  <iain@ximian.com>
11775         * importer/GNOME_Evolution_Importer.idl: Make the processItem oneway.
11776         Make the Listener interface inherit from Bonobo::Unknown.
11778         * importer/evolution-importer-client.[ch]: Remove all the crap to deal
11779         with creating the Listener object.
11781         * importer/evolution-importer-listener.[ch]: A new bonobo object to 
11782         implement the ImporterListener interface.
11784         * importer/importer.c: Fix it up to use the new Listener object.
11786 2001-01-18  Iain Holmes  <iain@ximian.com>
11788         * e-shortcuts-view.c (show_new_group_dialog): Don't make the dialog
11789         modal. 
11791 2001-01-16  Iain Holmes  <iain@ximian.com>
11793         * importer/GNOME_Evolution_Importer.idl: Removed the ImporterFactory
11794         interface and put the methods from it into the Importer interface.
11796         * importer/evolution-importer-factory.[ch]: Removed.
11798         * importer/evolution-importer.[ch]: Added the new methods.
11799         Added inline documentation for all public functions.
11801         * importer/evolution-importer-client.[ch]: Added new client support for
11802         the new methods.
11803         Added inline documentation for all public functions.
11805         * importer/importer.c (create_plugin_menu): Changed the query to look for
11806         IDL:GNOME/Evolution/Importer:1.0.
11807         (start_import): Do all CORBA methods through the EvolutionImporterClient.
11808         (get_iid_for_filetype): Change query to search for 
11809         IDL:GNOME/Evolution/Importer:1.0.
11811 2001-01-19  Dan Winship  <danw@ximian.com>
11813         * evolution-storage.c (evolution_storage_folder_exists): New
11814         function. Obvious.
11816 2001-01-19  Jason Leach  <jasonleach@usa.net>
11818         (Bug #883: Shortcut bar does not update when a folders display
11819          name changes)
11821         * e-local-storage.c (class_init): Define a new "folder_updated"
11822         signal here.
11823         (bonobo_interface_update_folder_cb): Emit the new folder_updated
11824         signal here.
11826         * e-shell-view.c (e_shell_view_construct): Connect the
11827         EShell::ELocalStorage folder_updated signal here.  Also connect
11828         the updated_folder signal coming from EShell::EStorageSet to the
11829         new callback.
11831         * e-shell-view.c (folder_updated_cb): Callback that actually
11832         initiates the shell updating.
11833         
11834         * e-shortcuts.c (e_shortcuts_update_shortcut_by_uri): New
11835         function.  Given a URI for a shortcut bar item, we'll update it.
11837         * e-shortcuts.c (e_shortcuts_remove_shortcut_by_uri): New
11838         function.  Given a URI for a shortcut bar item, we'll remove it.
11840         * e-shortcuts.c (removed_folder_cb): Connect this callback that
11841         will remove a renamed vfolder from the shortcut bar.  Temporary
11842         fix to the problem of renaming vfolders and having the shortcut
11843         bar think the old vfolder still exists.
11844         
11845         (Bug #1168: Shortcut bar and icon size persistence)
11846         
11847         * e-shell-view.c (save_shortcut_bar_icon_modes): New static
11848         function, save the icon modes (for all shortcut bar groups, even
11849         though we only have one group now).
11850         (load_shortcut_bar_icon_modes): New static function, load the
11851         saved shortcut bar group icon modes and apply them to our shortcut
11852         bar.
11854 2001-01-17  Federico Mena Quintero  <federico@ximian.com>
11856         * importer/evolution-importer.h: Use "typedef enum { ... } Blah;"
11857         instead of "typedef enum _Blah Blah; enum _Blah { ... };" so that
11858         gtk-doc can parse it.  Sigh.
11860 2001-01-17  Ettore Perazzoli  <ettore@ximian.com>
11862         * e-shell-folder-selection-dialog.c
11863         (e_shell_folder_selection_dialog_construct): Set the shadow type
11864         for the EScrollFrame.  Also, make the EStorageSetView widget grab
11865         the focus.  For some reason it doesnt' seem to work, but I'll
11866         blame ETree for now.
11868 2001-01-17  Ettore Perazzoli  <ettore@ximian.com>
11870         * e-shell-view.c (update_for_current_uri): Display the folder name
11871         before "Evolution" instead of after it.  Also, display the
11872         sub-version string if it was defined when configuring.
11874 2001-01-17  Ettore Perazzoli  <ettore@ximian.com>
11876         * e-storage-set-view.c (table_drag_drop): Don't emit the
11877         "dnd_action" signal here.  Instead, do a `gtk_drag_get_data()' to
11878         retrieve information about the drop.
11879         (table_drag_data_received): New, implementation for
11880         `ETable::table_drag_data_received'.
11881         (class_init): Install it.
11882         (table_drag_data_get): Use `unsigned int' instead of `guint' for
11883         consistency.
11884         (table_drag_motion): Same here.  Also use `int' instead of `gint'.
11885         (table_drag_drop): Likewise.
11886         (treepath_compare): Likewise.
11887         (marshal_NONE__ENUM_STRING_STRING_STRING): Removed.
11888         (marshal_NONE__GDKDRAGACTION_STRING_STRING_STRING): New.
11889         (class_init): Use it; update signal "dnd_action" so that it passes
11890         a `GdkDragAction *' instead of .
11892         * e-storage-set-view.h: Change signal "::dnd_action" so that it
11893         provides a `GdkDragContext' instead of just a `GdkDragAction'.
11895 2001-01-16  Michael Meeks  <michael@helixcode.com>
11897         * e-shell-view.c (e_shell_view_construct): set config
11898         path on window.
11900 2001-01-16  JP Rosevear  <jpr@ximian.com>
11902         * e-shell-folder-title-bar.c (e_shell_folder_title_bar_new): pop the
11903         visual/cm after the construct
11905 2001-01-15  JP Rosevear  <jpr@ximian.com>
11907         * e-shell-folder-title-bar.c (e_shell_folder_title_bar_new): push/pop
11908         the color map
11909         (e_shell_folder_title_bar_new): and the visual...
11911 2001-01-15  Iain Holmes  <iain@ximian.com>
11913         * importer/importer.c (import_druid_cancel): Just destroy the wizard.
11914         All other freeing code is moved into import_druid_destroy.
11915         (show_import_wizard): Connect the destroy signal to import_druid_destroy.
11916         (start_import): Connect to the destroy signal of the dialog and the
11917         clicked as well.
11918         (dialog_destroy_cb): Stop the import after the current item has finished.
11919         (dialog_clicked_cb): Stop the import.
11920         (import_cb): Only process the next item if the dialog hasn't been stopped.
11921         Destroy the dialog if it hasn't been destroyed already.
11923         * e-splash.c (e_splash_construct): Set the window title to Evolution.
11925 2001-01-13  Jason Leach  <jasonleach@usa.net>
11927         (Fix bug #934: Add Right-click item to hide the shortcut bar)
11929         * e-shortcuts-view.c (class_init): Create a new hide_requested
11930         signal.
11931         (hide_shortcut_bar_cb): New function that gets called from the
11932         right click menu items, it emits the hide_requested signal.
11934         * e-shell-view.c (setup_widgets): Connect the hide_requested from
11935         the shortcut bar.
11936         (hide_requested_cb): New function.
11938 2001-01-13  Ettore Perazzoli  <ettore@ximian.com>
11940         * e-storage-set-view.h: New signal `dnd_action'.
11942         * e-storage-set-view.c: Renamed `drag_types' to
11943         `source_drag_types' and `num_drag_types' to
11944         `num_source_drag_types'.  New variables `destination_drag_types'
11945         and `num_destination_drag_types'.
11946         (e_storage_set_view_construct): Set the ETree as a drag
11947         destination.  Allow both GDK_ACTION_MOVE and GDK_ACTION_COPY.
11949         * e-storage-set-view.c (table_drag_begin): Renamed from
11950         `etable_drag_begin'.
11951         (table_drag_data_get): Renamed from `etable_drag_data_get'.
11952         Changed to be a method override instead of a signal handler.
11953         (table_drag_motion): New; implementation for the
11954         `ETable::table_drag_motion' method. Changed to be a method
11955         override instead of a signal handler.
11956         (table_drag_drop): New, implementation for `::table_drag_drop'.
11957         (cursor_change): Renamed from `on_cursor_change'.
11958         (e_storage_set_view_construct): Don't connect the signals here.
11959         (class_init): Instead, override the methods here.  Also, install
11960         our override for `::table_drag_motion' and for
11961         `::table_drag_drop'.
11962         (right_click): Changed to be a method instead of a signal handler.
11963         (cursor_change): Likewise.
11965 2001-01-13  Miguel de Icaza  <miguel@gnu.org>
11967         * e-shell.c (e_shell_construct): Unref our copy, and then destroy.
11969         * e-splash.c (e_splash_set_icon_highlight): Do not execute code if
11970         we have been destroyed.
11971         (e_splash_add_icon): ditto.
11973 2001-01-12  Miguel de Icaza  <miguel@gnu.org>
11975         * e-splash.c (e_splash_construct): Ok, talked to Ettore.  Going
11976         back to TOPLEVEL non-POPUP.
11977         (e_splash_construct): Remove nice toplevel window.
11979 2001-01-12  Ettore Perazzoli  <ettore@ximian.com>
11981         * evolution-shell-component.c: Add member `copy_folder_fn' to
11982         `EvolutionShellComponentPrivate'.
11983         (init): Init to NULL.
11984         (impl_ShellComponent_async_copy_folder): New function,
11985         implementation for `::asyncCopyFolder'.
11986         (evolution_shell_component_construct): New arg @copy_folder_fn.
11987         Set the corresponding member in `EvolutionShellComponentPrivate'.
11988         (evolution_shell_component_new): New arg @copy_folder_fn.  Pass it
11989         to `evolution_shell_component_construct'.
11991         * evolution-shell-component.h: New type
11992         `EvolutionShellComponentCopyFolderFn'.
11994 2001-01-12  Ettore Perazzoli  <ettore@helixcode.com>
11996         * Evolution-ShellComponent.idl: Add method `::removeFolderAsync'.
11998 2001-01-12  Ettore Perazzoli  <ettore@ximian.com>
12000         * evolution-shell-component.c (corba_class_init):
12001         s/addFolderAsync/createFolderAsync/.
12003         * evolution-shell-component-client.c
12004         (evolution_shell_component_client_async_create_folder):
12005         s/addFolderAsync/createFolderAsync/.
12007         * Evolution-ShellComponent.idl: Rename `addFolder' into
12008         `createFolder'.
12010 2001-01-12  Dan Winship  <danw@ximian.com>
12012         * importer/.cvsignore: Create
12014 2001-01-12  Miguel de Icaza  <miguel@ximian.com>
12016         * e-storage-set-view.c: Added translation strings.
12018         * e-shell-view-menu.c (command_about_box): Update our name
12019         (command_new_mail_message): Remove "window"
12020         from the moniker path.
12022         * e-splash.c (e_splash_construct): Make the spalsh screen a
12023         toplevel instead of a popup.
12025 2001-01-11  Dan Winship  <danw@ximian.com>
12027         * e-shell-view.c (show_existing_view): Remove the "Already have
12028         view for..." message. People keep assuming it's an error.
12030 2001-01-11  Iain Holmes  <iain@ximian.com>
12032         * importer/*: New directory containing the importer framework.
12034         * e-shell-view-menu.c (file_verbs): Add the FileImporter verb.
12036 2001-01-10  Miguel de Icaza  <miguel@helixcode.com>
12038         * e-shell-view-menu.c (command_goto_folder): Fix prototype
12039         (command_new_view): ditto.
12040         (command_new_mail_message): Implement command_new_mail_message.
12042         verbs: Use BONOBO_UI_VERB instead of BONOBO_UI_UNSAFE_VERB
12044 2001-01-04  Dan Winship  <danw@helixcode.com>
12046         * evolution-storage.c (evolution_storage_update_folder_by_uri):
12047         New function to update a folder given its URI. Plus associated
12048         changes to other functions to keep track of the path<->URI
12049         mappings.
12051 2000-12-28  Ettore Perazzoli  <ettore@helixcode.com>
12053         * evolution-shell-client.c (user_select_folder): Make sure the
12054         `*uri_return' and `*physical_uri_return' are always initialized on
12055         return, as that's what the caller expects.
12057 2000-12-23  Jason Leach  <jasonleach@usa.net>
12059         * e-shell-view-menu.c (command_run_bugbuddy): Fix a crash when the
12060         user tries to "Submit bug report" but doesn't have bug-buddy
12061         installed.  Bug #633.
12063 2000-12-23  Jason Leach  <jasonleach@usa.net>
12065         * e-setup.c (copy_default_stuff): Make the "Evolution
12066         installation" dialog resizable. Bug #742.
12067         (check_evolution_directory): Here too.
12069 2000-12-14  Iain Holmes  <iain@helixcode.com>
12071         * e-shell-folder-selection-dialog.c (dbl_click_cb): Modify to suit the
12072         new double click callback signature. Destroy the dialog after the double
12073         click as well.
12075 2000-12-14  Ettore Perazzoli  <ettore@helixcode.com>
12077         * main.c (development_warning): Slightly updated the text for the
12078         release.
12080 2000-12-14  Ettore Perazzoli  <ettore@helixcode.com>
12082         * e-splash.c (ICON_Y): Update for the size of the new splash.
12084 2000-12-12  Jeffrey Stedfast  <fejj@helixcode.com>
12086         * e-splash.c (button_press_event): Return TRUE as we have handled
12087         the event.
12089 2000-12-12  Dan Winship  <danw@helixcode.com>
12091         * e-shell-view.c (get_control_for_uri): Pass path+1 rather than
12092         path to get_type_for_storage, to match the convention used by its
12093         other callers.
12095 2000-12-11  Jeffrey Stedfast  <fejj@helixcode.com>
12097         * e-splash.c (e_splash_construct): Connect a button-press-event
12098         signal on the splash screen so users can click it to hide it.
12099         (button_press_event): New callback to hide the splash screen.
12101 2000-12-11  Dan Winship  <danw@helixcode.com>
12103         * e-shell-view.c (get_type_for_{folder,storage}): return NULL if
12104         no {folder,storage} is found.
12105         (get_control_for_uri): return NULL if no folder_type is found.
12107 2000-12-08  Ettore Perazzoli  <ettore@helixcode.com>
12109         * e-shortcuts-view.c (e_shortcuts_view_construct): Ooops.  We were
12110         reffing a bogus pointer that was not assigned yet.
12112         * e-corba-storage-registry.c (impl_StorageRegistry_addStorage):
12113         Updated according to the new IDL.
12115         * e-local-storage.c (construct): Pass `NULL' to
12116         `e_storage_construct' as the @toplevel_node_type arg.
12118         * evolution-shell-component-client.c
12119         (evolution_shell_component_client_new_for_objref): New.
12120         (evolution_shell_component_client_new): Refactored to use it.
12122         * e-corba-storage.c (e_corba_storage_construct): New arg
12123         @toplevel_node_type.  Pass it to `e_storage_construct'.
12124         (e_corba_storage_new): New arg @toplevel_node_type.  Pass it to
12125         `e_corba_storage_construct'.
12127         * e-storage.c: New member `toplevel_node_uri_type' in
12128         `EStoragePrivate'.
12129         (init): Init to NULL.
12130         (destroy): Unref.
12131         (e_storage_construct): New arg @toplevel_node_type.  Set the
12132         private member value accordingly.
12133         (e_storage_new): New arg @toplevel_node_type.  Pass to
12134         `e_storage_construct'.
12135         (e_storage_get_toplevel_node_type): New.
12137         * e-shell-view.c (get_physical_uri_for_evolution_uri): New arg
12138         @shell_view.
12139         (get_physical_uri_for_storage): Filled in.  New arg @shell_view.
12140         (get_physical_uri_for_folder): Filled in.  New arg @shell_view.
12142         * evolution-local-storage.c (evolution_local_storage_construct):
12143         Pass `NULL' as the @toplevel_node_type arg to
12144         `evolution_storage_construct'.
12146         * evolution-storage.c: New member `toplevel_node_type' in
12147         `EvolutionStoragePrivate'.
12148         (destroy): Free.
12149         (init): Init to NULL.
12150         (evolution_storage_construct): New arg @toplevel_node_handler
12151         to initialize the corresponding field in `->priv'.
12152         (evolution_storage_new): New arg @toplevel_node_type.  Pass
12153         it to `evolution_storage_construct'.
12154         (evolution_storage_register): Pass the @toplevel_node_type
12155         arg to `::addStorage'.
12157         * Evolution-Storage.idl: Add arg @toplevel_node_type to
12158         `StorageRegistry::addStorage'.
12160         * main.c (new_view_on_running_shell): Deal with an exception in
12161         `::createNewView' gracefully.
12163         * e-shell-view.c (switch_on_folder_tree_click): New.
12164         (folder_selected_cb): Refactored to use it.
12165         (storage_selected_cb): Use it.
12167 2000-12-07  Michael Meeks  <michael@helixcode.com>
12169         * Makefile.am (oaf_DATA): update to GNOME_Evolution_Shell.oafinfo
12171         * e-shell.h: upd.
12173 2000-12-04  Ettore Perazzoli  <ettore@helixcode.com>
12175         * Evolution-StorageSetView.idl: Arg @uri renamed to @name in
12176         `StorageSetViewListener::notifyStorageSelected'.
12178         * evolution-storage-set-view.c
12179         (storage_set_view_widget_storage_selected_cb): Renamed arg @uri to
12180         @name.
12182         * e-storage-set-view.c (on_cursor_change): Only emit the name of
12183         the storage for the "storage_selected" signal [i.e. remove the
12184         leading slash].
12186         * e-shell-view.c (storage_selected_cb): New callback for the
12187         "storage_selected" signal on the EStorageSetView used for the
12188         folder tree.
12189         (setup_storage_set_subwindow): Connect it.
12191         * evolution-local-storage.c (evolution_local_storage_construct):
12192         Pass NULL as the @toplevel_node_uri arg to
12193         `evolution_storage_construct()'.
12195         * evolution-storage.c: New member `toplevel_node_uri' in
12196         `EvolutionStoragePrivate'.
12197         (init): Init to NULL.
12198         (destroy): Free.
12199         (evolution_storage_construct): New arg @toplevel_node_uri.  Set
12200         the @toplevel_node_uri member in the private part to its value.
12201         (evolution_storage_new): New arg @toplevel_node_uri.  Pass it to
12202         `evolution_storage_construct()'.
12203         (evolution_storage_register): Pass the @toplevel_node_uri value to
12204         the `::addStorage' CORBA method.
12206         * e-corba-storage-registry.c (impl_StorageRegistry_addStorage):
12207         New arg @toplevel_node_uri, to go with the IDL change.
12209         * Evolution-Storage.idl (StorageRegistry::addStorage): New arg
12210         @toplevel_node_uri.
12212         * e-local-storage.c (construct): Pass NULL as the
12213         @toplevel_node_uri arg to `e_storage_construct()'.
12215         * e-corba-storage.c (e_corba_storage_construct): New arg
12216         @toplevel_node_uri.  Pass it to `e_storage_construct()'.
12217         (e_corba_storage_new): New arg @toplevel_node_uri.  Pass it to
12218         `e_corba_storage_construct()'.
12220         * e-storage.c: New member `toplevel_node_uri' in
12221         `EStoragePrivate'.
12222         (init): Init to NULL.
12223         (destroy): Free.
12224         (e_storage_construct): New arg @toplevel_node_uri.  Set the
12225         `toplevel_node_uri' member in the private part to its value.
12226         (e_storage_new): New arg @toplevel_node_uri.  Pass it to
12227         `e_storage_construct()'.
12228         (e_storage_get_toplevel_node_uri): New.
12230         * e-corba-storage-registry.c (impl_StorageRegistry_addStorage):
12231         Renamed from `impl_StorageRegistry_register_storage'.
12232         (impl_StorageRegistry_removeStorageByName): Renamed from
12233         `impl_StorageRegistry_unregister_storage'.
12234         (corba_class_init): Updated accordingly.
12236 2000-12-04  Ettore Perazzoli  <ettore@helixcode.com>
12238         * main.c (new_view_on_running_shell): Don't crash if the object
12239         returned from `oaf_activate_from_id' is NIL and the exception
12240         isn't set.  Just handle this as a normal error condition.
12242 2000-12-04  Michael Meeks  <michael@helixcode.com>
12244         * e-shell-view.c (get_control_for_uri): return NULL if we can't
12245         create a view.
12246         (setup_evolution_shell_view_interface): add precondition.
12248 2000-12-04  Ettore Perazzoli  <ettore@helixcode.com>
12250         * e-shortcuts-view.c (e_shortcuts_view_construct): Ref the
12251         shortcuts.
12253         * main.c (new_view_on_running_shell): New.
12254         (idle_cb): If the shell cannot be created, then call
12255         `new_view_on_running_shell'.
12257         * e-shell-view.c: New member `shell_view_interface' in
12258         `EShellViewPrivate'.
12259         (init): Init to NULL.
12260         (setup_evolution_shell_view_interface): Set up.
12261         (destroy): Unref.
12263         * e-shell.c (impl_Shell_getComponentByType): Renamed from
12264         `impl_Shell_get_component_for_type'.
12265         (impl_Shell_selectUserFolder): Renamed from
12266         `impl_Shell_user_select_folder'.
12267         (impl_Shell_getLocalStorage): Renamed from
12268         `impl_Shell_get_local_storage'.
12269         (impl_Shell_createStorageSetView): Renamed from
12270         `impl_Shell_create_storage_set_view'.
12271         (corba_class_init): Updated accordingly.
12272         (impl_Shell_createNewView): New, implementation for the
12273         `createNewView' CORBA method.
12274         (corba_class_init): Install it.
12276         * Evolution-Shell.idl: New method `::createNewView'.
12278         * e-shell.c (register_shell): New.
12279         (e_shell_construct): Return value changed to `gboolean'.  New arg
12280         @iid.  Construct the Bonobo object before displaying the splash,
12281         then try to register it with the specified @iid.  If registration
12282         fails, return %FALSE.  Otherwise, just do everything normally and
12283         return %TRUE.
12284         (e_shell_new): Pass the OAFIID to `e_shell_construct()'.  If it
12285         fails, unref the object and return NULL.
12287         * evolution.oafinfo: New.
12289 2000-11-27  JP Rosevear  <jpr@helixcode.com>
12291         * e-shell-view-menu.c (command_about_box): Add myself, anna, jesse
12293 2000-11-15  Michael Meeks  <michael@helixcode.com>
12295         * e-shell.c (e_shell_component_maybe_crashed): de-register
12296         a component's UI if it dies.
12298 2000-11-25  Peter Williams  <peterw@helixcode.com>
12300         * Makefile.am (idldir): Install our IDL's into $(datadir)/idl.
12302 2000-11-25  Federico Mena Quintero  <federico@helixcode.com>
12304         * e-setup.c (check_dir_recur): Plug leaks of the fullname and
12305         fulldefaultname.
12306         (check_evolution_directory): Plug leaks of defaultdir and newfiles
12307         and the list's data; made the code have a single return point.
12309         * e-shell.c (e_shell_restore_from_settings): Plug leak of prefix.
12310         (corba_class_init): Plug leak; we were not assigning the
12311         vepv->_base_epv.
12313         * evolution-storage.c (corba_class_init): Likewise.
12315         * evolution-local-storage.c (corba_class_init): Likewise.
12317 2000-11-24  Federico Mena Quintero  <federico@helixcode.com>
12319         * evolution-shell-component.c
12320         (impl_ShellComponent__get_supported_types): Plug leak; mark the
12321         CORBA sequence so that it will be released.
12323 2000-11-14  Michael Meeks  <michael@helixcode.com>
12325         * e-shell-view.c (unmerge_on_error): add
12326         (e_shell_view_construct): hook up to system_exception on
12327         ui_container.
12329 2000-11-11  Matt Bissiri  <bissiri@eecs.umich.edu>
12331         * e-shell.c: (setup_components), (save_settings_for_component):
12332         * evolution-storage.c: (evolution_storage_register_on_shell):
12333         Update the remaining "IDL:Evolution*" to "IDL:GNOME/Evolution*"
12334         to sync up with yesterday's IDL re-scoping.
12336 2000-11-06  Michael Meeks  <michael@helixcode.com>
12338         * e-shell-view.c (unrealize): remove.
12339         (e_shell_view_construct): ditto.
12341 2000-11-09  Christopher James Lahey  <clahey@helixcode.com>
12343         * e-shell-view.c: Make the panes of the EPaned not shrinkable
12344         beyond their minimum size.
12346 2000-11-08  Matt Bissiri  <bissiri@eecs.umich.edu>
12348         * e-shell-folder-selection-dialog.c: Fix typo in a comment.
12350 2000-11-06  Dan Winship  <danw@helixcode.com>
12352         * e-storage-set-view.c (insert_folders): Pass full_name, not
12353         folder_name to callback.
12355 2000-11-06  Ettore Perazzoli  <ettore@helixcode.com>
12357         * evolution-shell-view.c (impl_ShellView_change_current_view):
12358         Constified @uri.
12359         (impl_ShellView_set_title): Constified @title.
12361 2000-11-06  Ettore Perazzoli  <ettore@helixcode.com>
12363         * e-shell.c: New member `crash_type_names' in `EShellPrivate'.
12364         (init): Init to NULL.
12365         (destroy): Free.
12366         (e_shell_component_maybe_crashed): New.
12368 2000-11-06  Ettore Perazzoli  <ettore@helixcode.com>
12370         * evolution-shell-component.c (impl_ShellComponent_create_view):
12371         `CORBA_Object_duplicate()' the return value.
12373 2000-11-06  Kjartan Maraas  <kmaraas@gnome.org>
12375         * e-setup.c: Added #include <config.h>
12376         
12377 2000-11-03  Ettore Perazzoli  <ettore@helixcode.com>
12379         * main.c: New local static variables `evolution_directory',
12380         `no_splash'.
12381         (main): Removed local variable `evolution_directory'.  Add a
12382         `--no-splash' command-line option for setting the value of
12383         `no_splash'.
12384         (idle_cb): Use the static `evolution_directory'.  Make the newly
12385         created shell show the splash or not according to the value of
12386         `no_splash'.
12388         * e-shell.c (setup_components): Deal with a NULL @splash
12389         parameter.
12390         (e_shell_construct): New arg `show_splash'.  Don't create a splash
12391         screen if FALSE; instead, pass NULL to `setup_components()' as the
12392         @splash arg.
12393         (e_shell_new): New arg `show_splash'.  Pass it to
12394         `e_shell_construct()'.
12396 2000-11-03  Dan Winship  <danw@helixcode.com>
12398         * evolution-storage-listener.c (class_init): Fix the name of the
12399         signal passed to gtk_signal_new so that this actually works.
12401 2000-11-01  Dan Winship  <danw@helixcode.com>
12403         * evolution-storage.c (evolution_storage_new_folder): Make this
12404         take "highlighted" as well.
12406         * e-local-storage.c (new_folder): 
12407         * e-corba-storage.c (impl_StorageListener_new_folder): set
12408         highlighted on the new folder.
12410         * e-storage-set-view.c (updated_folder_cb): Remove an unused
12411         variable.
12413 2000-10-26  Iain Holmes  <iain@helixcode.com>
12415         * Evolution-ShellView.idl: Added a change_current_view method and 
12416         a set_title.
12418         * evolution-shell-view.c (class_init): Added signals for the above methods.
12419         (impl_ShellView_change_current_view), (impl_ShellView_set_title): Implementations
12420         for above methods.
12421         (corba_class_init): Connect the implemenations.
12423         * e-shell-view.c (shell_view_interface_change_current_view): Change
12424         the display to the new uri.
12425         (shell_view_interface_set_title): Set the window title.
12426         (setup_evolution_shell_view_interface): Connect the signals to the above
12427         functions.
12429 2000-11-01  Dan Winship  <danw@helixcode.com>
12431         * Evolution-Storage.idl: Add "highligted" field to Folder. Add
12432         update_folder method to StorageListener to change display_name and
12433         highlight status.
12435         * e-folder.c: Add "highlighted" to EFolder to match the
12436         Evolution::Folder type.
12437         (e_folder_get_highlighted, e_folder_set_highlighted): Added
12439         * evolution-storage-listener.c
12440         (impl_Evolution_StorageListener_update_folder, etc):
12441         * e-storage.c (e_storage_updated_folder, etc):
12442         * e-corba-storage.c (impl_StorageListener_update_folder, etc):
12443         Implement update_folder.
12445         * e-storage-set.c (storage_updated_folder_cb, etc): Re-emit
12446         updated_folder signals received from EStorage.
12448         * e-storage-set-view.c (various): Add another model column to the
12449         ETable and set it up as a bold_column based on
12450         e_folder_get_highligted.
12451         (updated_folder_cb, etc): Listen to EStorageSet update_folder
12452         signal and emit ETree node_changed signals.
12454         * evolution-storage.c (evolution_storage_update_folder): Client
12455         function to update a folder's display_name and highlighted status.
12457         * Evolution-LocalStorage.idl:
12458         * evolution-local-storage.c: 
12459         * e-local-storage.c: Change set_display_name to update_folder to
12460         match Evolution::StorageListener
12462 2000-10-25    <jpr@helixcode.com>
12464         * e-shortcuts-view-model.c (load_group_into_model): Set folder to NULL to
12465         kill warning
12467 2000-10-23  Dan Winship  <danw@helixcode.com>
12469         * Makefile.am (INCLUDES): Update EVOLUTION_LOCALEDIR
12471 2000-10-20  Michael Meeks  <michael@helixcode.com>
12473         * evolution-shell-component-client.c
12474         (evolution_shell_component_client_populate_folder_context_menu),
12475         (evolution_shell_component_client_create_view): update to new UI handler
12477         * e-shell-view-menu.c (command_create_folder): ditto.
12479         * e-storage-set-view.c (popup_folder_menu): ditto.
12481         * evolution-shell-component-client.h: kill ui-compat include.
12483 2000-10-19  Iain Holmes  <iain@helixcode.com>
12485         *e-shell-view.c (e_shell_view_save_settings): If there is no view
12486         save the default uri instead.
12487         (socket_destroy_cb): When a view crashes, change the view to the
12488         default one.
12490 2000-10-18  Michael Meeks  <michael@helixcode.com>
12492         * evolution-shell-component.c (impl_ShellComponent_populate_folder_context_menu):
12493         update for new UI handler.
12495 2000-10-18  Iain Holmes  <iain@helixcode.com>
12497         * e-shell-view.c (start_progress_bar): If the widget is not realized
12498         don't do anything, to prevent BadGC's at shut down.
12499         (stop_progress_bar): Don't draw anything if the widget is not realized.
12500         Same reason.
12502         * e-shell-folder-selection-dialog.c (dbl_click_cb): Emit the
12503         folder-selected signal.
12504         (e_shell_folder_selection_dialog_construct): Connect to the e-table's
12505         double-click signal.
12507 2000-10-17  Iain Holmes  <iain@helixcode.com>
12508         
12509         * e-shell.c (view_deleted_cb): Save the settings before the
12510         view is destroyed.
12511         (e_shell_quit): Don't save the settings when there are no views.
12513 2000-10-16  Iain Holmes  <iain@helixcode.com>
12515         * e-setup.c (check_evolution_directory): Better dialog.
12517         * e-splash.c (icon_free): Don't unref the canvas item.
12518         (e_splash_construct): Add a frame round the splash screen.
12520 2000-10-16  Dan Winship  <danw@helixcode.com>
12522         * evolution-storage-set-view-factory.c
12523         (evolution_storage_set_view_factory_new_view): Add a typecast.
12525         * e-storage-set-view.c (popup_folder_menu): Move variable
12526         declarations into the #if 0 to kill warnings.
12527         (populate_folder_context_menu_with_common_items,
12528         folder_context_menu_activate_cb): Move these into #if 0 too.
12530         * e-shell.c: Add prototype.
12532         * e-shell-view.c (storage_set_view_box_map_cb): 
12533         * e-shell-folder-title-bar.c (e_shell_folder_title_bar_construct):
12534         Remove unused variables.
12536         * e-setup.c: Fix warning caused by e-util -> gal migration.
12538 2000-10-11  Iain Holmes  <iain@helixcode.com>
12540         * e-setup.c (check_evolution_directory): Check if there are any
12541         files in default_user that are not in ~/evolution and if so
12542         copy them over.
12543         (check_dir_recur): Recursive function to check the directory.
12545         * e-shell-view-menu.c: Look Maw! I'm an Evolution hacker too.
12547         * e-shell-view.c: Don't quit on when a view is destroyed.
12549         * e-shell.c: Save the settings for the remaining views whenever
12550         a view is destroyed.
12552 2000-10-15  Ettore Perazzoli  <ettore@helixcode.com>
12554         * e-shell-view.c (setup_storage_set_subwindow): Use an
12555         EScrollFrame instead of a GtkScrolledWindow.
12557 2000-10-14  Ettore Perazzoli  <ettore@helixcode.com>
12559         * e-shell.c (e_shell_construct): Display a splash screen.
12560         (setup_components): New arg @splash, pointer to an ESplash.
12561         Display the icons of the components in the splash and highlight
12562         them as the components are activated.
12564         * e-splash.c: New.
12565         * e-splash.h: New.
12567 2000-10-13  Anna Marie Dirks  <anna@helixcode.com>
12568         
12569         * e-shell-folder-creation-dialog.glade: Added focus to the
12570         folder-name text entry.
12572 2000-10-11  Christopher James Lahey  <clahey@helixcode.com>
12574         * e-storage-set-view.c: Fixed the spec on this.
12576 2000-10-11  Christopher James Lahey  <clahey@helixcode.com>
12578         * e-storage-set-view.c: Changed this to use the built in cells.
12580 2000-10-11  Christopher James Lahey  <clahey@helixcode.com>
12582         * e-storage-set-view.c: Adapted this for the new ETable system.
12584 2000-10-09  Michael Meeks  <michael@helixcode.com>
12586         * e-shell-view-menu.c: Change paths in such a way as to require
12587         HEAD bonobo.
12588         (command_toggle_folder_bar, command_toggle_shortcut_bar): only
12589         respond to state changes.
12591 2000-10-07  Matt Wilson  <msw@redhat.com>
12593         * e-shell-view.c (init): initialize priv->sockets to NULL, fixes
12594         startup crash on non-ia32 platforms
12596 2000-10-06  Ettore Perazzoli  <ettore@helixcode.com>
12598         * e-shell-view.c: New member `sockets.
12599         (init): Init to NULL.
12600         (destroy): Free.  Also, disconnect the "destroy" signal from them
12601         before the controls get destroyed.
12602         (find_socket): New function.  [Thanks Dan.]
12603         (socket_destroy_cb): New callback for the destruction of a socket.
12604         (get_control_for_uri): Get the socket through `find_socket()' and
12605         connect the "destroy" signal to `socket_destroy_cb'.
12607 2000-10-06  Chris Toshok  <toshok@helixcode.com>
12609         * e-storage-set-view.c (insert_storages): call
12610         _set_compare_function after inserting the storage.
12612 2000-10-06  Michael Meeks  <michael@helixcode.com>
12614         * e-shell-view.c (e_shell_view_display_uri): add a freeze / thaw
12615         pair to reduce flicker on switching controls.
12617 2000-10-05  Michael Meeks  <michael@helixcode.com>
12619         * e-shell-view-menu.c (command_xml_dump): fix.
12621 2000-10-05  Chris Toshok  <toshok@helixcode.com>
12623         * e-shell-folder-creation-dialog.c: #include <gal/widgets/e-gui-utils.h>
12624         
12625         * e-shell-folder-selection-dialog.c: same.
12627 2000-10-05  Chris Toshok  <toshok@helixcode.com>
12629         * e-shell-folder-selection-dialog.c: add #include for
12630         libgnomeui/gnome-messagebox.h
12632 2000-10-05  Michael Meeks  <michael@helixcode.com>
12634         * e-shell-view-menu.c (shortcut_bar_mode_changed_cb): upd.
12635         (folder_bar_mode_changed_cb): upd.
12636         (command_xml_dump): clobber.
12637         (e_shell_view_menu_setup): upd.
12639         * e-shell-view.c (shell_view_interface_set_message_cb): upd.
12640         (shell_view_interface_unset_message_cb): upd.
12641         (e_shell_view_construct): upd.
12642         (get_control_for_uri): upd.
12643         (e_shell_view_get_bonobo_ui_component): upd.
12645 2000-10-04  Michael Meeks  <michael@helixcode.com>
12647         * e-shell-view.c (setup_progress_bar): remove evil usize set.
12649 2000-10-03  Matt Bissiri  <bissiri@eecs.umich.edu>
12651         * e-shell-view-menu.c (e_shell_view_menu_setup): Use
12652         `bonobo_ui_component_add_verb_list' instead of
12653         `bonobo_ui_component_add_verb_list_with_data' for help_verbs,
12654         so that `command_help' gets an html filename as user_data,
12655         instead of a ptr to EShellView.
12656         (menu_do_misc): Move DumpXML from help_verbs to here, because
12657         `command_xml_dump' needs to get EShellView as user_data.
12659 2000-10-02  Ettore Perazzoli  <ettore@helixcode.com>
12661         * e-shortcuts-view.c (show_new_group_dialog): Destroy the dialog
12662         if the user has clicked on "OK" or "Cancel".
12664 2000-10-02  Chris Toshok  <toshok@helixcode.com>
12666         * e-storage-set-view.c (e_storage_set_view_get_current_folder): if
12667         we're not displaying folders, the current folder is NULL.
12668         (class_init): fix typo.
12670         * Makefile.am (libeshell_a_SOURCES):
12671         evolution-storage-set-view-listener.[ch] should be here, not
12672         evolution_SOURCES.
12674 2000-10-02  Chris Toshok  <toshok@helixcode.com>
12676         * evolution-storage-set-view.c: add storage_selected behavior -
12677         loop over the listeners calling _storage_selected.
12679         * Evolution-StorageSetView.idl: add storage_selected to the
12680         Listener interface.
12682         * e-storage-set-view.c add storage_selected signal.
12683         (on_cursor_change): if the depth is less than 2, emit
12684         "storage_selected", otherwise emit "folder_selected".
12686         * e-storage-set-view.h: add storage_selected signal.
12688         * evolution-storage-set-view-listener.h: add storage_selected
12689         signal.
12691         * evolution-storage-set-view-listener.c: add storage_selected
12692         signal.
12694 2000-10-02  Ettore Perazzoli  <ettore@helixcode.com>
12696         * evolution-storage-set-view-listener.c: New.
12697         * evolution-storage-set-view-listener.h: New.
12699 2000-10-02  Chris Toshok  <toshok@helixcode.com>
12701         * evolution-storage-set-view.c (impl_StorageSetView_add_listener): fix typo.
12702         (impl_StorageSetView_remove_listener): same.
12703         (impl_StorageSetView__get_show_folders): implementation of getter for show_folders.
12704         (impl_StorageSetView__set_show_folders): implementation of setter for show_folders.
12705         (corba_class_init): install _set_show_folders and _get_show_folders.
12707         * Evolution-StorageSetView.idl: add show_folders attribute to
12708         StorageSetView.
12710         * e-storage-set-view.h: add prototypes for
12711         e_storage_set_view_{get,set}_show_folders.
12713         * e-storage-set-view.c (insert_storages): split this code out from
12714         e_storage_set_view_construct so we can call it when "show_folders"
12715         has been changed.
12716         (e_storage_set_view_construct): remove the code to insert
12717         storages.
12718         (e_storage_set_view_set_show_folders): new function.  tears down
12719         existing tree and node/path hashtable and calls insert_storages.
12720         (e_storage_set_view_get_show_folders): new function, retrieves
12721         current show_folders state.
12723 2000-10-02  Chris Toshok  <toshok@helixcode.com>
12725         * evolution-storage-set-view-factory.c
12726         (evolution_storage_set_view_factory_new_view): pass
12727         storage_set_view_interface as second argument to
12728         bonobo_object_add_interface, and call gtk_widget_show on the
12729         storage_set_view widget.
12731 2000-10-03  Michael Meeks  <michael@helixcode.com>
12733         * e-shell-view.c (setup_bonobo_ui_handler): kill.
12735         * e-shell-view-menu.c (e_shell_view_menu_setup): strip
12736         out the XML UI merge; move it to
12738         * e-shell-view.c (e_shell_view_construct): here, +
12739         freeze / thaw pair.
12741         * e-shell-view.c (setup_progress_bar): impl.
12742         (setup_widgets): hook in.
12743         (progress_bar_timeout_cb): fix.
12744         (start_progress_bar): fix.
12745         (stop_progress_bar): fix.
12746         (e_shell_view_construct): setup ui handler first.
12748 2000-09-22  Michael Meeks  <michael@helixcode.com>
12750         * e-shell-view-menu.c (e_shell_view_menu_setup): upd.
12752 2000-10-02  Chris Toshok  <toshok@helixcode.com>
12754         * e-storage-set-view.c (new_folder_cb): set the new node's compare function.
12755         (insert_folders): same.
12757         (new_storage_cb): remove uunecessary cast.
12759 2000-10-02  Chris Toshok  <toshok@helixcode.com>
12761         * e-storage-set-view.c (new_storage_cb): track e-tree sort api change.
12762         (treepath_compare): same.
12763         (new_folder_cb): same.
12764         
12765 2000-10-02  Chris Toshok  <toshok@helixcode.com>
12767         * e-storage-set-view.c (e_storage_set_view_construct): pass NULL
12768         for the open/closed pixbuf of the tree renderer.  we'll let it
12769         supply the default.
12770         (destroy): remove the expanded/unexpanded pixbuf references.
12771         (new_storage_cb): use e_tree_model_node_insert_id so we can (soon)
12772         save expanded/collapsed state.
12773         (new_folder_cb): same.
12774         (insert_folders): same.
12775         (e_storage_set_view_construct): same.
12777 2000-10-02  Ettore Perazzoli  <ettore@helixcode.com>
12779         * e-shell.c (impl_Shell_create_storage_set_view): New,
12780         implementation for `::create_storage_set_view'.
12781         (corba_class_init): Install.
12783         * evolution-storage-set-view-factory.c: New.
12784         * evolution-storage-set-view-factory.h: New.
12786         * evolution-storage-set-view.c: New.
12787         * evolution-storage-set-view.h: New.
12789         * Evolution-Shell.idl: New method
12790         `Shell::create_storage_set_view'.
12792         * Evolution.idl: #include <Evolution-StorageSetView.idl>.
12794         * Evolution-StorageSetView.idl: New.
12796 2000-10-02  Ettore Perazzoli  <ettore@helixcode.com>
12798         * evolution-storage.c (find_listener_in_list): New helper
12799         function.
12800         (impl_Storage_remove_listener): New, implementation for
12801         `Storage::remove_listener'.
12802         (remove_listener): Helper function for
12803         `impl_Storage_remove_listener'.
12804         (evolution_storage_get_epv): Install the implementation for
12805         `::remove_listener'.
12806         (add_listener): Return a boolean indicating success or failure.
12807         Reject multiple additions of the same listener.
12808         (impl_Storage_add_listener): Updated accordingly: raise an
12809         exception if `add_listener' fails.
12811         * Evolution-Storage.idl: Added `Storage::remove_listener'.  Added
12812         exception `AlreadyListening' for `::add_listener'.
12814 2000-09-29  Ettore Perazzoli  <ettore@helixcode.com>
12816         * e-shell-view.c (popup_storage_set_view_button_clicked): Renamed
12817         from `popup_storage_set_view_close_button_clicked'.
12818         (storage_set_view_box_map_cb): Updated accordingly.  Connect to
12819         "button_clicked" instead of "close_button_clicked".
12820         (disconnect_popup_signals): Updated accordingly.
12821         (e_shell_view_set_folder_bar_mode): Update the button mode of the
12822         title bar according to the folder bar mode.
12824 2000-09-28  Dan Winship  <danw@helixcode.com>
12826         * e-corba-storage.c (impl_StorageListener_new_folder): Don't print
12827         "Folder registered successfully" if it didn't. (Duh. :)
12829 2000-09-28  Ettore Perazzoli  <ettore@helixcode.com>
12831         * e-shell-view.c: New constant `DEFAULT_URI'.
12832         (e_shell_view_load_settings): If the `DisplayedURI' from
12833         `gnome_config' cannot be displayed, display the `DEFAULT_URI'.
12835 2000-09-26  Ettore Perazzoli  <ettore@helixcode.com>
12837         * e-shortcuts.c (e_shortcuts_get_group_title): Cast the data
12838         pointer, not the node pointer.
12839         (e_shortcuts_add_group): If @group_num is -1, emit the effective
12840         group number with the "new_group" signal instead of -1, which is
12841         going to confuse the signal handler.
12842         (e_shortcuts_add_shortcut): Likewise with the shortcut.
12844         * e-shortcuts-view-model.c (shortcuts_new_group_cb): We are @data,
12845         not @shortcuts.
12846         (class_init): Install the `::destroy' handler.
12848         * e-shortcuts-view.c (e_shortcuts_view_construct): Set
12849         `priv->shortcuts'.
12850         (remove_shortcut_cb): Don't remove the item both on the data and
12851         the model.
12852         (toggle_small_icons_cb): Removed some crufty checks.
12853         (toggle_large_icons_cb): Likewise.
12854         (show_new_group_dialog): New, implementation for the "Create new
12855         shortcut group" dialog.
12856         (destroy_group_cb): Callback for the "Destroy this group" item.
12857         (create_new_group): Callback for the "Create new group" item.
12859 2000-09-25  Ettore Perazzoli  <ettore@helixcode.com>
12861         * e-shortcuts-view.c (item_selected): Renamed from
12862         `selected_item'.
12863         (class_init): Updated accordingly.
12864         (impl_shortcut_dropped): New function, implementation for
12865         `EShortcutBar::shortcut_dropped'.
12866         (impl_shortcut_dragged): New function, implementation for
12867         `EShortcutBar::shortcut_dragged'.
12868         (e_shortcuts_view_construct): Update to use EShortcutsViewModel.
12869         (class_init): Install them.
12871         * e-shortcuts.c (e_shortcuts_get_group_title): New.
12873         * e-shortcuts-view-model.c: New.
12874         * e-shortcuts-view-model.h: New.
12876 2000-09-24  Ettore Perazzoli  <ettore@helixcode.com>
12878         * e-shell.c (setup_local_storage): Don't unref the local storage.
12880 2000-09-22  Michael Meeks  <michael@helixcode.com>
12882         * e-shell-view-menu.c (e_shell_view_menu_setup): upd.
12884 2000-09-21  Federico Mena Quintero  <federico@helixcode.com>
12886         * e-shell-view-menu.c: Fix mis-spelling of "calendar".
12888 2000-09-21  Michael Meeks  <michael@helixcode.com>
12890         * e-shell-view.c (show_existing_view): upd.
12892         * Evolution-ShellComponent.idl: upd.
12894         * evolution-shell-component.c (impl_ShellComponent_populate_folder_context_menu):
12895         upd.
12897 2000-09-18  Michael Meeks  <michael@helixcode.com>
12899         * e-shell-view-menu.c (command_xml_dump): add xml dump option.
12901 2000-09-18  Christopher James Lahey  <clahey@helixcode.com>
12903         * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and
12904         $(EXTRA_GNOME_LIBS).  Removed unneeded libraries.
12906         * e-component-registry.c, e-corba-storage-registry.c,
12907         e-corba-storage.c, e-folder-type-registry.c, e-folder.c,
12908         e-local-folder.c, e-local-storage.c,
12909         e-shell-folder-creation-dialog.c,
12910         e-shell-folder-selection-dialog.c, e-shell-folder-title-bar.c,
12911         e-shell-view.c, e-shell.c, e-shortcuts-view.c, e-shortcuts.c,
12912         e-storage-set-view.c, e-storage-set-view.h, e-storage-set.c,
12913         e-storage.c, evolution-local-storage.c, evolution-session.c,
12914         evolution-shell-client.c, evolution-shell-component-client.c,
12915         evolution-shell-component.c, evolution-shell-view.c,
12916         evolution-storage-listener.c, evolution-storage.c, main.c: Fixed
12917         the #include lines to deal properly with gal.
12919 2000-09-16  Michael Meeks  <michael@helixcode.com>
12921         * e-shell-view-menu.c (e_shell_view_menu_setup): use datadir.
12923 2000-09-16  Ettore Perazzoli  <ettore@helixcode.com>
12925         * e-shell-view.h: #include "bonobo-win.h", not "bonobo-app.h".
12927 2000-09-15  Dan Winship  <danw@helixcode.com>
12929         * e-storage.c (get_path_for_physical_uri_foreach): foreach_data
12930         should be set to the caller-supplied data, not the tree item data.
12932 2000-09-14  Iain Holmes  <iain@helixcode.com>
12934         * e-shell-folder-title-bar.c (e_shell_folder_title_bar_construct):
12935         Remove the *kludge* so that the button width is set properly.
12936         Fixes bug #XXXX
12938 2000-09-14  Michael Meeks  <michael@helixcode.com>
12940         * e-shell-view-menu.c: Remove sillies in toggle paths.
12942 2000-09-14  Michael Meeks  <michael@helixcode.com>
12944         * e-shell-view.c: move fn to bonobo.
12946 2000-09-14  Christopher James Lahey  <clahey@helixcode.com>
12948         * Makefile.am: Added $(GNOME_PRINT_LIBS) to evolution_LDADD.
12950 2000-09-14  Michael Meeks  <michael@helixcode.com>
12952         * e-shell-view.c (e_shell_view_construct): prune cruft.
12953         (shell_view_interface_unset_message_cb),
12954         (shell_view_interface_set_message_cb): impl.
12956 2000-09-14  Michael Meeks  <michael@helixcode.com>
12958         * e-shell-view-menu.c (e_shell_view_menu_setup): re-order to suit and
12959         add freeze / thaw, update paths to toggles, remove warnings
12961 2000-09-07  Michael Meeks  <michael@helixcode.com>
12963         * e-shell-view-menu.c: Re-hash pretty much the whole file
12965         * ui.xml: Add.
12967         * e-shell-view.c (e_shell_view_construct): connect unrealize & delete_event
12968         to theit signals on the window (class_init): remove widget_class bits.
12970 2000-09-06  Michael Meeks  <michael@helixcode.com>
12972         * e-shell.c (view_destroy_cb, destroy, e_shell_new_view, e_shell_quit): 
12973         update to track object type change.
12975         * e-shell.c (e_shell_restore_from_settings): ditto.
12977         * main.c (idle_cb): ditto.
12979         * e-shell-view.c (e_shell_view_new, e_shell_view_construct, setup_widgets): 
12980         updated for BonoboApp.
12981         (progress_bar_timeout_cb, start_progress_bar, stop_progress_bar),
12982         (shell_view_interface_set_message_cb, shell_view_interface_unset_message_cb): 
12983         emasculated for now.
12985         * e-storage-set-view.c (popup_folder_menu): disable popup menu for now.
12987 2000-09-13  Ettore Perazzoli  <ettore@helixcode.com>
12989         * e-shell-view.c (popdown_transient_folder_bar): New.
12990         (storage_set_view_box_button_release_event_cb): Rewritten to use
12991         it.
12992         (folder_selected_cb): Pop down the transient folder bar if the
12993         folder bar mode is `TRANSIENT'.
12995 2000-09-12  Ettore Perazzoli  <ettore@helixcode.com>
12997         * ($(IDL_GENERATED)): Stupid `orbit-idl' wants a space after the
12998         `-I'.
13000 2000-09-12  Lauris Kaplinski  <lauris@helixcode.com>
13002         * e-shell-view.c (update_folder_title_bar): Translate UTF-8
13004 2000-09-12  Ettore Perazzoli  <ettore@helixcode.com>
13006         * Makefile.am: Remove the `ui.xml' stuff.
13008 2000-09-11  Dan Winship  <danw@helixcode.com>
13010         * main.c (main): Initialize libunicode
13012 2000-09-11  Christopher James Lahey  <clahey@helixcode.com>
13014         * e-local-storage.c: Fixed some warnings.
13016 2000-09-11  Ettore Perazzoli  <ettore@helixcode.com>
13018         * e-shell-folder-selection-dialog.c (set_default_folder): Work on
13019         the assumption that @default_uri is not NULL.
13020         (e_shell_folder_selection_dialog_construct): Only call if the
13021         @default_uri is not NULL.
13023 2000-09-11  Ettore Perazzoli  <ettore@helixcode.com>
13025         * e-local-storage.c (new_folder): Removed debugging message.
13027 2000-09-11  Ettore Perazzoli  <ettore@helixcode.com>
13029         * evolution-storage.c (evolution_storage_new_folder): If
13030         description is NULL, use the empty string instead.
13032         * e-local-storage.c (new_folder): New utility function to add a
13033         new folder by keeping both the Bonobo interface and the EStorage
13034         up-to-date.
13035         (load_folders): Use it here instead of just
13036         `e_storage_new_folder()'.
13037         (component_async_create_folder_callback): Likewise.
13039         * e-shell-view.c (update_for_current_uri): Prevent an
13040         EStorageSetView warning if the path is NULL.
13042         * evolution-storage.c (impl_Storage_add_listener): New,
13043         implementation for `Evolution::Storage::add_listener'.
13044         (evolution_storage_get_epv): Install it.
13046         * evolution-storage-listener.c
13047         (evolution_storage_listener_corba_objref): New.
13048         (create_servant): Create the servant with `g_new0()' instead of
13049         `g_new()'.
13051 2000-09-11  Ettore Perazzoli  <ettore@helixcode.com>
13053         * evolution-storage-listener.c
13054         (evolution_storage_listener_construct): Unset the `GTK_FLOATING'
13055         flag as `EvolutionStorageListener' is self-owned.
13057 2000-09-11  Ettore Perazzoli  <ettore@helixcode.com>
13059         * e-storage.c (impl_list_folders): Removed.
13060         (impl_get_subfolder_paths): New static function, implementation
13061         for `::get_subfolder_paths'.
13062         (class_init): Install it.
13063         (e_storage_get_subfolder_paths): New.
13065         * e-storage.h: `list_folders' virtual method removed.  New virtual
13066         method `list_subfolder_paths'.
13068         * e-storage-set-view.c (etree_icon_at): If the folder is not
13069         found, return NULL.
13071         * e-local-storage.c (bonobo_interface_set_display_name_cb): New
13072         function, callback for the `set_display_name' signal on the
13073         EvolutionLocalStorage.
13074         (construct): Connect it.
13076         * e-storage-set-view.c (folder_changed_cb): New callback for the
13077         "changed" signal emitted by the EFolders.  It makes the model emit
13078         the "changed" signal for the appropriate row.
13079         (insert_folders): Connect it.
13081 2000-09-09  Ettore Perazzoli  <ettore@helixcode.com>
13083         * e-storage-set-view.c (etree_value_at): Return the name of the
13084         folder or the storage instead of just returning the last segment
13085         of the path.
13087         * e-storage-set.c (e_storage_set_get_folder): If the storage is
13088         not found, just return NULL to avoid a g_warning.
13090 2000-09-09  Christopher James Lahey  <clahey@helixcode.com>
13092         * e-shell-view.c: Fixed some warnings.
13094 2000-09-09  Ettore Perazzoli  <ettore@helixcode.com>
13096         * e-shell-view.c (update_for_current_uri): Make sure `folder_name'
13097         is always dynamically allocated, as we `g_free()' it.
13099 2000-09-08  Lauris Kaplinski  <lauris@helixcode.com>
13101         * e-shell-view.c (update_for_current_uri): Translate UTF-8 string
13103 2000-09-08  Ettore Perazzoli  <ettore@helixcode.com>
13105         * evolution-storage.c (list_through_listener_foreach): Don't crash
13106         on nodes with no data.  [The root node has none indeed.]
13108 2000-09-08  Ettore Perazzoli  <ettore@helixcode.com>
13110         * e-folder-tree.c (e_folder_tree_get_folder): Return NULL if there
13111         is no folder with that @path, instead of segfaulting.
13113 2000-09-08  Ettore Perazzoli  <ettore@helixcode.com>
13115         * evolution-storage.c: New member `folder_tree' in
13116         `EvolutionStoragePrivate'.
13117         (init): Initialize it.
13118         (destroy): Destroy it.
13119         (list_through_listener): New.
13120         (add_listener): Use it to list all the current folders through the
13121         listener.
13122         (evolution_storage_new_folder): Add the thingie to the
13123         `folder_tree'.
13124         (evolution_storage_removed_folder): Remove the thingie from the
13125         `folder_tree'.
13127 2000-09-08  Ettore Perazzoli  <ettore@helixcode.com>
13129         * e-storage.c: Replaced the `path_to_folder' GHashTable with an
13130         EFolderTree named `folder_tree'.
13131         (init): Updated accordingly.
13132         (destroy): Updated accordingly.
13133         (free_private): Removed.
13134         (remove_folder): Removed.
13135         (folder_new): Removed.
13136         (folder_remove_subfolder): Removed.
13137         (folder_add_subfolder): Removed.
13138         (folder_destroy): Removed.
13139         (get_parent_path): Removed.
13140         (impl_list_folders): Reimplemented by using the `EFolderTree'
13141         methods.
13142         (e_storage_construct): Don't create the root folder here.
13143         (get_path_for_physical_uri_foreach): Updated to be an
13144         `EFolderTreeForeachFunc'.
13145         (e_storage_get_path_for_physical_uri): Likewise, updated to use
13146         `e_folder_tree_foreach()'.
13147         (e_storage_new_folder): Updated to use the EFolderTree.
13148         (e_storage_removed_folder): Likewise.
13149         (folder_destroy_notify): New function, for the destroy
13150         notification of `EFolder'.
13152         * evolution-storage-listener.c: Change the `servant' member in
13153         `EvolutionStorageListenerPrivate' into an
13154         `EvolutionStorageListenerServant'.
13156         * e-folder-tree.c: New.
13157         * e-folder-tree.h: New.
13159 2000-09-08  Ettore Perazzoli  <ettore@helixcode.com>
13161         * evolution-storage-listener.c (create_servant): Return an
13162         `EvolutionStorageListenerServant' instead of a
13163         `POA_Evolution_StorageListener'.
13164         (evolution_storage_listener_new): Add a cast accordingly.
13166         * evolution-storage.c (corba_class_init): Remove `NO_WARNINGS'
13167         madness.
13169 2000-09-08  Christopher James Lahey  <clahey@helixcode.com>
13171         * e-storage-set-view.c: Added base ETableModel functions.
13173         * evolution-storage-listener.c, evolution-storage.c: Fixed some
13174         warnings.
13176 2000-09-08  Ettore Perazzoli  <ettore@helixcode.com>
13178         * e-shell.c (set_owner_on_components): New.
13179         (e_shell_construct): Call it after setting up the local storage.
13181         * e-component-registry.c (register_component): Don't set the owner
13182         here.
13184         * evolution-shell-client.c
13185         (evolution_shell_client_get_local_storage): New.
13187 2000-09-08  Ettore Perazzoli  <ettore@helixcode.com>
13189         * evolution-shell-view.c (destroy): Chain to the parent's
13190         destroy method.
13192         * evolution-shell-component.c (destroy): Chain to the parent's
13193         destroy method.
13195         * evolution-storage.c: `corba_storage_listener' in
13196         `EvolutionStoragePrivate' replaced with a list of listeners,
13197         `corba_storage_listeners'.
13198         (init): Init to NULL.
13199         (add_listener): New utility function.
13200         (destroy): Destroy all the listeners.
13201         (evolution_storage_new_folder): Notify all the listeners.
13202         (evolution_storage_removed_folder): Likewise.
13204         * e-local-storage.c: New member `bonobo_interface' in
13205         `ELocalStoragePrivate'.
13206         (init): Init to NULL.
13207         (e_local_storage_get_corba_interface): New.
13209         * e-shell.c: New member `local_storage' in `EShellPrivate'.
13210         (init): Init to NULL.
13211         (setup_local_storage): Make it point to the newly created local
13212         storage.
13213         (destroy): Unref if not NULL.
13214         (impl_Shell_get_local_storage): New, implementation for
13215         `Evolution::Shell::get_local_storage'.
13216         (corba_class_init): Set it up.
13218         * evolution-local-storage-client.c: New.
13219         * evolution-local-storage-client.h: New.
13220         * evolution-local-storage.c: New.
13221         * evolution-local-storage.h: New.
13222         * evolution-storage-listener.c: New.
13223         * evolution-storage-listener.h: New.
13225         * Evolution-Storage.idl: New method `Storage::add_listener'.
13227         * Evolution-Shell.idl: New method `Shell::get_local_storage'.
13229         * Evolution-LocalStorage.idl: New.
13231 2000-09-02  Lauris Kaplinski  <lauris@helixcode.com>
13233         * e-shell-folder-creation-dialog.c: Use e_utf8 wrappers
13235 2000-09-01  Chris Toshok  <toshok@helixcode.com>
13237         * e-storage-set-view.c (removed_folder_cb): free node_data.
13238         (removed_storage_cb): same.
13239         (new_storage_cb): don't free the path we put in the node's
13240         node_data.
13241         (e_storage_set_view_set_current_folder): remove calls to
13242         set_cursor_row (-1), and clean up a little bit.
13244 2000-09-01  Christopher James Lahey  <clahey@helixcode.com>
13246         * e-local-storage.c: Strdup path when setting the callback data.
13248         * evolution-storage.c: Removed an unused variable.
13250 2000-08-31  Chris Toshok  <toshok@helixcode.com>
13252         * e-shell-view.c (init): initialize delayed_selection = NULL;
13254 2000-09-01  Ettore Perazzoli  <ettore@helixcode.com>
13256         * evolution-storage.c (evolution_storage_new_folder): Handle @path
13257         as the full path.
13259         * e-storage.c (e_storage_new_folder): Consider @path to be the
13260         full path, not the parent path.
13261         * e-local-storage.c (load_folders): Updated accordingly.
13263         * Evolution-Storage.idl: Member `name' of `struct Folder' renamed
13264         to `display_name'.
13266 2000-08-31  Chris Toshok  <toshok@helixcode.com>
13268         * e-shell-view.c: add delayed_selection to _EShellViewPrivate.
13269         (new_folder_cb): new function.  check if the path is our
13270         delayed_selection and if so, select it.
13271         (folder_selected_cb): if the user selects something using a UI
13272         gesture, clear out a pending delayed selection.
13273         (e_shell_view_display_uri): if the uri isn't available, save it in
13274         the delayed_selection field, and set up the new_folder signal.
13276 2000-08-29  Ettore Perazzoli  <ettore@helixcode.com>
13278         * e-shell-view.c (shell_view_interface_set_message_cb): If the
13279         message contains a newline, only display the part until the
13280         newline, excluding the newline.  Otherwise the status bar resizes
13281         nastily.
13283 2000-08-28  Ettore Perazzoli  <ettore@helixcode.com>
13285         * e-shell.c (setup_components): Removed the hardcoding of the
13286         shell component IDs.  Rather, do an OAF query looking for the
13287         `Evolution::ShellComponent' interface and activate all the
13288         components in the result.
13289         (MAIL_COMPONENT_ID): Removed.
13290         (CALENDAR_COMPONENT_ID): Removed.
13291         (ADDRESSBOOK_COMPONENT_ID): Removed.
13293         * e-storage-set-view.c: Make `sort_model' static.
13295 2000-08-25  Chris Toshok  <toshok@helixcode.com>
13297         * e-storage-set-view.c: convert to use ETree instead of GtkCTree.
13299         * e-storage-set-view.h: change superclass from GtkCTree to ETable.
13301         * main.c (main): call e_cursors_init.
13303         * Makefile.am (evolution_LDADD): add libetable.a
13305 2000-08-25  Peter Williams  <peterw@helixcode.com>
13307         Silence some obvious assertions.
13308         
13309         * e-shell.c (e_shell_construct): Ref our shortcut bar to
13310         sink it. Same with the folder_type_registry.
13312         * e-shell-folder-title-bar.c (destroy): Only attempt to unref
13313         priv->icon if nonnull.
13315         * e-shell-view.c (update_folder_title_bar): Don't attempt to set
13316         the folder_icon/_name if they're NULL.
13318 2000-08-24  Ettore Perazzoli  <ettore@helixcode.com>
13320         * evolution-shell-component-client.c
13321         (evolution_shell_component_client_new): Don't abort if the
13322         component cannot be activated.  Rather, just return NULL.
13324 2000-08-20  arik devens  <arik@helixcode.com>
13326         * Makefile.am (evolution_LDADD): Added UNICODE_LIBS to link in the
13327         new e-text stuff.
13329 2000-08-19  Christopher James Lahey  <clahey@helixcode.com>
13331         * e-shell-folder-title-bar.c: Fixed a warning.
13333 2000-08-19  Christopher James Lahey  <clahey@helixcode.com>
13335         * e-shell-view.c: Fixed a warning.
13337 2000-08-18  Larry Ewing  <lewing@helixcode.com>
13339         * e-shell-folder-title-bar.c (style_set_cb): update the pixmap
13340         define E_USE_STYLES to disable the current darkening behavior
13341         (destroy): free the icon.
13342         (e_shell_folder_title_bar_construct): style_set_cb does everything
13343         important now.
13344         (e_shell_folder_title_bar_set_icon): actually store the pixbuf
13345         when we set it so that we still have it if the style changes and
13346         take care of refcounting them properly.
13348 2000-08-17  Ettore Perazzoli  <ettore@helixcode.com>
13350         * e-shell-view-menu.c (menu_create_file): Make capitalization of
13351         menu items consistent.
13352         (menu_create_view): Likewise.
13353         (menu_create_help): Likewise.
13354         (e_shell_view_menu_setup): Create a component menu placeholder so
13355         that components can add their own component-specific menus there.
13356         (menu_create_actions): Removed.
13357         (e_shell_view_menu_setup): Don't call it.
13358         (menu_create_tools): Removed.
13359         (e_shell_view_menu_setup): Don't call it.
13360         (menu_create_settings): New.
13361         (e_shell_view_menu_setup): Call it.
13363 2000-08-13  Ettore Perazzoli  <ettore@helixcode.com>
13365         * e-shell-view.c (delete_event): New.  Make the parent shell quit.
13367 2000-08-13  Ettore Perazzoli  <ettore@helixcode.com>
13369         * e-shell-view.c (shell_view_interface_set_message_cb): Removed
13370         debugging message.
13371         (shell_view_interface_unset_message_cb): Likewise.
13373 2000-08-13  Ettore Perazzoli  <ettore@helixcode.com>
13375         * e-shell-view.c: New members `progress_bar_timeout_id',
13376         `progress_bar_value' in `EShellViewPrivate'.
13377         (init): Init them.
13378         (destroy): If the timeout id is not zero, remove the associated
13379         timeout.
13380         (progress_bar_timeout_cb): New.
13381         (start_progress_bar): New.
13382         (stop_progress_bar): New.
13383         (shell_view_interface_set_message_cb): If busy, start the progress
13384         bar.  Otherwise, stop it.
13385         (shell_view_interface_unset_message_cb): Stop the progress bar.
13387         * e-shell-view.c (setup_widgets): Enable the progress bar in the
13388         appbar.
13390         * e-shell-view.c (shell_view_interface_unset_message_cb): New
13391         function, callback for the `EvolutionShellView::unset_message'
13392         signal.
13393         (shell_view_interface_set_message_cb): New function, callback for
13394         the `EvolutionShellView::set_message' signal.
13395         (setup_evolution_shell_view_interface): Connect these signals to a
13396         newly created EvolutionShellView object, add ::add_interface this
13397         object to the control's frame.
13399         * evolution-shell-view.c: New.
13400         * evolution-shell-view.h: New.
13402         * Evolution-ShellView.idl: New interface.
13404 2000-08-10  Dan Winship  <danw@helixcode.com>
13406         * Evolution-ShellComponent.idl: add "in string evolution_homedir"
13407         to ShellComponent::set_owner's arguments.
13409         * e-shell.c (e_shell_get_local_directory): Expose local_directory.
13411         * e-component-registry.c (register_component): Pass the shell's
13412         "local_directory" to the component as its evolution_homedir.
13414         * evolution-shell-component.c (impl_ShellComponent_set_owner):
13415         Update to include evolution_homedir.
13416         (class_init): Update signal prototype.
13418         * evolution-shell-component-client.c
13419         (evolution_shell_component_client_set_owner): Update to include
13420         evolution_homedir.
13422         * e-init.c: Remove. This wasn't being used.
13424 2000-08-10  Peter Williams  <peterw@helixcode.com>
13426         * e-shell-view-menu.c (command_about_box): Add lil' ol'
13427         me to the about box.
13429 2000-08-09  Christopher James Lahey  <clahey@helixcode.com>
13431         * e-setup.c, e-shell.c: Fixed some warnings.
13433 2000-08-09  Christopher James Lahey  <clahey@helixcode.com>
13435         * e-shell-view.c: Fixed a warning.
13437 2000-08-09  Ettore Perazzoli  <ettore@helixcode.com>
13439         * e-shell-view-menu.c (menu_create_file_new): Create a placeholder
13440         for the print items.
13442 2000-08-08  Dan Winship  <danw@helixcode.com>
13444         * e-setup.c (e_setup): Check for ~/evolution/shortcuts.xml in
13445         addition to ~/evolution, to make sure it's really the directory
13446         we're expecting it to be. Also, convert from old-style config file
13447         to new-style config directory.
13449 2000-08-04  Michael Meeks  <michael@helixcode.com>
13451         * evolution-shell-component.c (impl_ShellComponent_populate_folder_context_menu):
13452         unref.
13454         * e-shell.c (e_shell_construct): Remove erroneous refs on
13455         folder_type_registry, storage_set.
13457         * e-shortcuts-view.c (destroy): unref the shortcuts, causing a
13458         massive ripple chain ref-count reaction.
13460 2000-08-03  JP Rosevear  <jpr@helixcode.com>
13462         * e-shell.h: Remove gconf references
13464         * e-shell-view.h: Remove gconf references
13466         * main.c (idle_cb): Remove gconf references
13468         * Makefile.am: Remove gconf cflags and libs 
13470         * e-shell-view.c (e_shell_view_load_settings): Change to use
13471         gnome-config
13472         (e_shell_view_save_settings): ditto
13474         * e-shell.c (e_shell_restore_from_settings): Change to
13475         use gnome_config
13476         (save_settings_for_views): ditto
13478 2000-08-03  Michael Meeks  <michael@helixcode.com>
13480         * e-shell-view.c (destroy): unref the UI handler.
13482 2000-08-03  Jeffrey Stedfast  <fejj@helixcode.com>
13484         * e-shell-folder-selection-dialog.c (set_default_folder): Make
13485         sure default_uri isn't NULL!!
13487 2000-08-03  Ettore Perazzoli  <ettore@helixcode.com>
13489         * e-shell-view-menu.c (command_goto_folder): Just use the current
13490         URI as the @default_uri parameter for
13491         `e_shell_folder_selection_dialog_new()'.
13493         * evolution-session.c (class_init): Call `corba_class_init()'.
13495         * e-shell-folder-selection-dialog.c
13496         (e_shell_folder_selection_dialog_new): @default_path renamed to
13497         @default_uri.
13498         (e_shell_folder_selection_dialog_construct): Likewise.  If the
13499         @default_uri is an `evolution:' one, use it as a path; if it is
13500         different, assume it is a physical URI and consequently look for
13501         the folder that has that physical URI and make it the default.
13502         (set_default_folder): New helper function.
13503         (e_shell_folder_selection_dialog_construct): Use it.
13505         * e-storage-set.c (e_storage_set_get_path_for_physical_uri): New.
13507         * e-storage.c (e_storage_get_path_for_physical_uri): New.
13509 2000-07-27  Dan Winship  <danw@helixcode.com>
13511         * main.c (idle_cb): work with either gconf 0.5 or newer
13513 2000-07-26  Peter Williams  <peterw@helixcode.com>
13515         * e-storage.c (e_storage_new_folder): Fix tiny mem leak.
13517 2000-07-26  Ettore Perazzoli  <ettore@helixcode.com>
13519         * e-shell-view.c (disconnect_popup_signals): Disconnect the "map"
13520         signal handler too.
13522 2000-07-25  Ettore Perazzoli  <ettore@helixcode.com>
13524         * e-shell-folder-creation-dialog.c (add_folder_types): Work around
13525         GtkOptionMenu utter brokenness by destroying the associated
13526         Glade-built GtkMenu and creating a new one from scratch.
13528 2000-07-24  Dan Winship  <danw@helixcode.com>
13530         * e-shell.c, main.c: Remove GOAD support.
13532         * evolution-shell-component-client.c: Remove GOAD support.
13533         (evolution_shell_component_client_new): Give the "maybe
13534         OAF_INFO_PATH" message if no oafinfo file was found, and give a
13535         "consult previous error messages" message if the component was
13536         found but not activated. Abort in either case.
13538 2000-07-23  Ettore Perazzoli  <ettore@helixcode.com>
13540         * e-shell-view-menu.c: Converted to use `bonobo_ui_handler_*()'
13541         stuff directly, instead of converting from GnomeUIInfo.
13542         (command_quit): Update arg types for BonoboUIHandler.
13543         (command_run_bugbuddy): Likewise.
13544         (command_about_box): Likewise.
13545         (command_new_task): Removed.
13546         (command_new_journal_entry): Removed.
13547         (menu_create_file_new): New.
13548         (menu_create_file): New.
13549         (menu_create_edit): New.
13550         (menu_create_view): New.
13551         (menu_create_tools): New.
13552         (menu_create_actions): New.
13553         (e_shell_view_menu_setup): Create menus using them instead of
13554         converting from GnomeUIInfo.
13556 2000-07-22  Ettore Perazzoli  <ettore@helixcode.com>
13558         * e-shell.c (e_shell_construct): Don't unref NULL shortcuts, you
13559         idiot.
13561 2000-07-22  Ettore Perazzoli  <ettore@helixcode.com>
13563         * e-shell-view.c (e_shell_view_set_folder_bar_mode): Make the
13564         title bar non-clickable when the folder tree is visible.
13566         * e-shell-folder-title-bar.c: New members `button_arrow' and
13567         `clickable' in `EShellFolderTitleBarPrivate'.  Renamed `label'
13568         into `button_label'.  Added `label'.
13569         (init): Init them.
13570         (e_shell_folder_title_bar_construct): Pass a pointer to the title
13571         bar as the user data for the "realize" signal.  Create `label'.
13572         (title_button_box_realize_cb): Use the `button_arrow' member
13573         instead of using `gtk_object_{set,get}_data()'.
13574         (setup_style): Set the style for `label' too.
13575         (e_shell_folder_title_bar_set_clickable): New.
13576         (e_shell_folder_title_bar_set_title): Set both `label' and
13577         `button_label'.
13579 2000-07-21  Peter Williams  <peterw@helixcode.com>
13581         * evolution-shell-client.c (user_select_folder): Don't use
13582         g_main_loop to block the caller; this will break when 
13583         threads are enabled and GDK_THREADS_ENTER deadlocks. Use
13584         gtk_main / gtk_main_exit to enter and exit the main loop,
13585         which handles the recursive case correctly.
13586         (impl_FolderSelectionListener_selected): Same.
13587         (impl_FolderSelectionListener_cancel): Same.
13588         (struct _FolderSelectionListenerServant): No more main_loop member.
13590 2000-07-21  Ettore Perazzoli  <ettore@helixcode.com>
13592         * e-shell-view.c (storage_set_view_box_button_release_event_cb):
13593         Set the toggle state to FALSE on the title bar.
13595         * e-shell-folder-title-bar.c: Signal "title_clicked" replaced by
13596         "title_toggled".
13597         (setup_style): Change the style for the button too.
13598         (e_shell_folder_title_bar_construct): Use a GtkToggleButton, not a
13599         GtkButton.
13600         (e_shell_folder_title_bar_set_toggle_state): New.
13602 2000-07-21  Ettore Perazzoli  <ettore@helixcode.com>
13604         * e-shell-folder-title-bar.c (create_icon_pixmap): New.  Create a
13605         small arrow-shaped GtkPixmap.
13606         (title_button_box_realize_cb): New.  Callback for the "realize"
13607         signal of the button's inner box.
13609         * e-shell-view.c (title_bar_clicked_cb): New function, callback
13610         for the "title_clicked" signal of the title bar.
13611         (setup_widgets): Connect it.
13613         * e-shell-view.c: New member `storage_set_title_bar' in
13614         `EShellViewPrivate'.
13615         (setup_storage_set_subwindow): Set it.
13617         * e-shell-folder-title-bar.c: Use a GtkLabel instead of an
13618         EClippedLabel for the title.
13619         (title_button_clicked_cb): New.
13620         (e_shell_folder_title_bar_construct): Put the label into a button.
13621         Connect the button's "clicked" signal to
13622         `title_button_clicked_cb'.
13624 2000-07-21  Ettore Perazzoli  <ettore@helixcode.com>
13626         * evolution-shell-component.c
13627         (impl_ShellComponent_populate_folder_context_menu): If the pointer
13628         to the function to populate the folder context menu is NULL, don't
13629         do anything.
13631 2000-07-21  Ettore Perazzoli  <ettore@helixcode.com>
13633         * e-storage-set-view.c (popup_folder_menu): New.  Create a
13634         BonoboUIHandler-managed pop-up menu, let the component fill it in
13635         with `::populate_folder_context_menu', and display it.  Then
13636         destroy it with the associated BonoboUIHandler.
13637         (handle_right_button_selection): New.
13638         (handle_left_button_selection): New.  This pops up the right-click
13639         menu.
13640         (button_release_event): Use them.
13641         (init): Set the `GTK_BUTTON_SELECTS' flag for button #3's actions.
13643         * evolution-shell-component-client.c
13644         (evolution_shell_component_client_populate_folder_context_menu):
13645         New.
13646         (evolution_shell_component_client_async_create_folder): Added
13647         preconditions.
13649         * e-shell-view.c (e_shell_view_save_settings): Add missing cast.
13651         * evolution-shell-component.c: New member
13652         `populate_folder_context_menu' in
13653         `EvolutionShellComponentPrivate'.
13654         (impl_ShellComponent_populate_folder_context_menu): New,
13655         implementation for
13656         `Evolution::ShellComponent::populate_folder_context_menu'.
13657         (corba_class_init): Install it.
13658         (evolution_shell_component_new): New arg
13659         @populate_folder_context_menu.
13660         (evolution_shell_component_construct): Likewise.
13662         * Evolution-ShellComponent.idl: New method
13663         `::populate_folder_context_menu'.
13665 2000-07-20  Ettore Perazzoli  <ettore@helixcode.com>
13667         * e-shell-view.c (e_shell_view_save_settings): Save the paned
13668         positions.
13669         (e_shell_view_load_settings): Restore them.
13671 2000-07-20  Ettore Perazzoli  <ettore@helixcode.com>
13673         * e-shell.c (save_settings_for_views): New.  Code moved out of
13674         `e_shell_save_settings'.
13675         (e_shell_save_settings): Use it.
13676         (save_settings_for_component): New.
13677         (save_settings_for_components): New.
13678         (e_shell_save_settings): Use it, so that we make all the
13679         components save settings too.
13681         * e-component-registry.c
13682         (e_component_registry_get_id_list): New.
13683         (e_component_registry_get_component_by_id): New.
13685         * Makefile.am (libeshell_a_SOURCES): Add
13686         `evolution-shell-component-client' and `evolution-session'.
13688         * evolution-session.c: New.
13689         * evolution-session.h: New.
13691         * Makefile.am (evolution_SOURCES): Removed files that were already
13692         in `libeshell.a'.
13694         * Evolution.idl: #include <Evolution-Session.idl>.
13696         * Evolution-Session.idl: New.
13698 2000-07-20  Ettore Perazzoli  <ettore@helixcode.com>
13700         * main.c (no_views_left_cb): Call `e_shell_quit()' on the shell
13701         before getting out of the GTK+ main loop.
13702         (view_delete_event_cb): Removed.
13703         (idle_cb): Don't call it.
13705         * e-shell-view-menu.c (command_new_view): New, implementation of
13706         the "New view" command.
13708 2000-07-16  Damon Chaplin  <damon@helixcode.com>
13710         * e-shortcuts-view.c (e_shortcuts_view_construct): created a model
13711         for the EShortcutBar. This will probably have to be moved to support
13712         multiple views.
13713         (class_init): #if'd out overriding the class functions. They don't
13714         exist any more (they are in the model instead).
13716 2000-07-12  Christopher James Lahey  <clahey@helixcode.com>
13718         * main.c: Fixed to match gconf API change.
13720 2000-07-10  Dan Winship  <danw@helixcode.com>
13722         * main.c (development_warning): Update the message.
13724 2000-07-10  Ettore Perazzoli  <ettore@helixcode.com>
13726         * e-shell-folder-title-bar.c (title_button_clicked_cb):
13727         Temporarily `#if 0'ed out.
13729 2000-07-10  Dan Winship  <danw@helixcode.com>
13731         * e-shell.c (impl_Shell_user_select_folder): Translate a
13732         default_folder of "" into NULL (which can't be passed over CORBA).
13734 2000-07-10  Ettore Perazzoli  <ettore@helixcode.com>
13736         * e-storage.c (e_storage_new_folder): Removed debugging message.
13738         * e-storage-set.c (storage_new_folder_cb): Removed debugging
13739         message.
13741 2000-07-10  Federico Mena Quintero  <federico@helixcode.com>
13743         * e-shell-view.c (unrealize): As a quasi-hack, do a gdk_flush()
13744         when the shell view is unrealized so that the DeleteEvent gets
13745         sent to the remote plugs as soon as possible before we start
13746         making other CORBA calls.  The problem is that our CORBA pipe is
13747         synchronous while our X pipe is asynch.  We have to ensure
13748         ordering for certain operations.  This is NOT the correct and
13749         complete fix, which should go in Bonobo.
13751 2000-07-08  Ettore Perazzoli  <ettore@helixcode.com>
13753         * e-shell-view.c (e_shell_view_display_uri): Don't update the
13754         current URI if there are problems creating a view for it.
13755         (show_error): Remove.  Not used anymore.
13757 2000-07-08  Ettore Perazzoli  <ettore@helixcode.com>
13759         * e-shell-view-menu.c: Cleanup some unused menu items and added
13760         "FIXMEs" for the ones we plan to add in the short term but are not
13761         implemented yet.
13762         (command_create_folder): Get rid of an unused variable.
13764 2000-07-07  Ettore Perazzoli  <ettore@helixcode.com>
13766         * evolution-shell-client.c (user_select_folder): Fix small warning
13767         by adding proper cast when filling in the CORBA sequence struct.
13769 2000-07-07  Ettore Perazzoli  <ettore@helixcode.com>
13771         * e-shell.c (setup_corba_storages): Ref the CORBA storage
13772         registry.
13774 2000-07-06  Ettore Perazzoli  <ettore@helixcode.com>
13776         * evolution-storage.c: Removed `corba_storage_registry' member
13777         from `EvolutionStoragePrivate'.
13778         (destroy): Don't unref/release it.  Call
13779         `StorageListener::destroy' to notify that we are dead.
13780         (evolution_storage_register): Don't ref and store the registry.
13782 2000-07-05  Dan Winship  <danw@helixcode.com>
13784         * e-shell.c (e_shell_save_settings): Use the correct gconf path
13785         (/apps, not /app), and call gconf_client_suggest_sync at the end.
13786         (e_shell_restore_from_settings): Use the correct gconf path.
13788 2000-07-05  Ettore Perazzoli  <ettore@helixcode.com>
13790         * e-shell-view-menu.c (command_goto_folder): Set the folder
13791         selection dialog as transient for the shell view.
13792         (command_create_folder): New, bound to the "Create folder"
13793         command in the "File" menu.
13795 2000-07-01  Ettore Perazzoli  <ettore@helixcode.com>
13797         * e-shell.c (impl_Shell_user_select_folder): New arg
13798         @allowed_types.  Pass it to the EShellFolderSelectionDialog.
13799         Connect to the "cancelled" and "folder_selected" signals instead
13800         of "clicked".
13801         (corba_listener_destroy_notify): New callback.
13802         (impl_Shell_user_select_folder): Associate it to the DestroyNotify
13803         for the "corba_listener" GtkObject data, so we don't leak it.
13804         (folder_selection_dialog_clicked_cb): Don't release the listener
13805         interface here.
13806         (folder_selection_dialog_cancelled_cb): New callback for the
13807         "cancelled" signal.
13808         (folder_selection_dialog_folder_selected_cb): New callback for the
13809         "folder_selected" signal.
13811         * e-shell-view-menu.c (command_goto_folder): Don't connect to
13812         "clicked".  Connect to "cancelled" and "folder_selected" instead.
13813         (folder_selection_dialog_cancelled_cb): New, callback for the
13814         "cancelled" signal.
13815         (folder_selection_dialog_folder_selected_cb): New, callback for
13816         the "folder_selected" signal.
13818         * e-shell-folder-selection-dialog.c New members `allowed_types',
13819         `storage_set' in `EShellFolderSelectionDialogPrivate'.
13820         (class_init): Install signals "folder_selected", "cancelled".
13821         (init): Init to NULL.
13822         (impl_destroy): Free/unref them.
13823         (e_shell_folder_selection_dialog_new): New arg @allowed_types.
13824         (e_shell_folder_selection_dialog_construct): New arg
13825         @allowed_types.  Initialize `priv->allowed_types' from it.
13826         (check_folder_type): New function.  Check if the selected folder
13827         is of the appropriate type and, if not, return FALSE and pop up an
13828         error dialog.  Otherwise, return TRUE.
13829         (impl_clicked): Use `check_folder_type()' to check if the folder
13830         type is OK.  If it is not, stop emission of the "clicked" signal.
13832         * e-shell-folder-selection-dialog.h: New signals
13833         "folder_selected", "cancelled".
13835         * evolution-shell-client.c
13836         (evolution_shell_client_user_select_folder): New arg
13837         @allowed_types.
13838         (user_select_folder): New arg @allowed_types.  Pass this to the
13839         ::user_select_folder method.
13841         * Evolution-Shell.idl: New arg @required_types in
13842         ::user_select_folder.
13844 2000-07-01  Ettore Perazzoli  <ettore@helixcode.com>
13846         * e-shell.c (setup_components): Don't ref the component registry.
13848 2000-06-30  Dan Winship  <danw@helixcode.com>
13850         * Evolution-Shell.idl: add "cancel" to FolderSelectionListener.
13852         * evolution-shell-client.c (impl_FolderSelectionListener_cancel):
13853         Implement cancel (set *uri and *physical_uri to NULL).
13854         (evolution_shell_client_user_select_folder): document %NULL uri
13855         and physical_uri return values.
13856         
13857         * e-shell.c (folder_selection_dialog_clicked_cb): If the user
13858         clicked "Cancel" or used the wm to close the dialog, call _cancel
13859         instead of _selected.
13861 2000-06-30  Ettore Perazzoli  <ettore@helixcode.com>
13863         * evolution-shell-component.c (impl_ShellComponent_set_owner):
13864         Duplicate the object before storing it, you doofus.
13866 2000-06-30  Ettore Perazzoli  <ettore@helixcode.com>
13868         * evolution-shell-component.c (impl_ShellComponent_unset_owner):
13869         NULL the owner_client.
13871 2000-06-30  Ettore Perazzoli  <ettore@helixcode.com>
13873         * evolution-shell-client.h
13874         (evolution_shell_client_user_select_folder): Add prototype.
13876 2000-06-29  Ettore Perazzoli  <ettore@helixcode.com>
13878         * evolution-shell-component.c: New member `owner_client'.  Removed
13879         member `corba_owner'.  All the code updated to use it.
13880         (evolution_shell_component_get_owner): Changed so that it returns
13881         an EvolutionShellClient instead of the raw CORBA object.
13883         * evolution-shell-component.h: Change signal "owner_set" to get an
13884         EvolutionShellClient wrapper instead of a CORBA interface.
13886         * evolution-shell-client.c: New.
13887         * evolution-shell-client.h: New.
13889 2000-06-29  Dan Winship  <danw@helixcode.com>
13891         * evolution-shell-component-client.c
13892         (evolution_shell_component_client_new): Update warning message to
13893         not say "CRASHING", since it won't if you have current bonobo.
13895 2000-06-29  Peter Williams  <peter@beta.newton.cx>
13897         * e-shell.c (e_shell_restore_from_settings): Check for the 
13898         insanely invalid NumberOfViews = 0 case.
13900 2000-06-29  Peter Williams  <peter@helixcode.com>
13902         * e-shell.c (e_shell_construct): Ref the various E-things that
13903         we create to go with our unrefs in the destructor.
13905 2000-06-29  Ettore Perazzoli  <ettore@helixcode.com>
13907         * e-shell-view.c (e_shell_view_construct): Don't ref the shell.
13908         (destroy): Don't unref the shell.
13910 2000-06-29  Ettore Perazzoli  <ettore@helixcode.com>
13912         * e-shortcuts.c (e_shortcuts_construct): Fix typo: @shortcuts
13913         should unset `GTK_FLOATING', not @storage_set.
13915         * e-shell-view.c (get_storage_set_path_from_uri): If @uri is NULL,
13916         return NULL.
13918         * main.c (idle_cb): Restore the shell from the settings.  If this
13919         fails, just create a new view.
13921         * e-shell.c (e_shell_save_settings): New.
13922         (e_shell_quit): Save settings before exiting.
13923         (e_shell_restore_from_settings): New.
13925         * e-shell-view.c (e_shell_view_save_settings): New.
13926         (e_shell_view_load_settings): New.
13928         * main.c (idle_cb): Initialize Gconf, create the GConfClient and
13929         pass it to `e_shell_new()'.
13931         * e-shell.c: New member `gconf_client' in `EShellPrivate'.
13932         (destroy): Unref it if not NULL.
13933         (init): Init to NULL.
13934         (e_shell_new): New param @gconf_client.
13935         (e_shell_construct): Likewise.
13937         * Makefile.am (INCLUDES): Add `GCONF_CFLAGS'.
13939 2000-06-27  Ettore Perazzoli  <ettore@helixcode.com>
13941         * e-shell-folder-title-bar.c (e_shell_folder_title_bar_construct):
13942         Enable the title bar button.
13944 2000-06-27  Michael Zucchi  <zucchi@zedzone.mmc.com.au>
13946         * e-shell.c (folder_selection_dialog_clicked_cb): Close the dialog
13947         when done.  Dont do anything if 'new' was pressed, and always
13948         return empty strings if 'cancel' was pressed.
13950 2000-06-27  Michael Zucchi  <zucchi@zedzone.mmc.com.au>
13952         * e-shell.c (impl_Shell_user_select_folder): Set the listener as
13953         the corba_listener data, not the shell.
13955 2000-06-26  Christopher James Lahey  <clahey@helixcode.com>
13957         * glade/Makefile.am: Added EXTRA_DIST for make distcheck.
13959 2000-06-19  Ettore Perazzoli  <ettore@helixcode.com>
13961         * e-local-storage.c: Don't #define POSIX_SOURCE at all; this is
13962         not needed anymore as we no longer use `readdir_r'.
13964 2000-06-19  Chris Toshok  <toshok@helixcode.com>
13966         * e-local-storage.c: #undef _POSIX_SOURCE after including
13967         dirent.h.  this breaks the build on freebsd if we leave it
13968         #defined.  go figure.
13970 2000-06-19  Dan Winship  <danw@helixcode.com>
13972         * evolution-shell-component-client.c
13973         (evolution_shell_component_client_new): Add a warning before
13974         crashing due to a known bug when it can't activate a component, so
13975         people don't have to waste any time trying to figure out what's
13976         up.
13978 2000-06-13  Ettore Perazzoli  <ettore@helixcode.com>
13980         * Makefile.am: Compile the CORBA-built files,
13981         evolution-shell-component.c and evolution-storage.c into a
13982         separate `libeshell.a' library.  Link the `evolution' executable
13983         to it.  Also cleaned up a bit and got rid of the `CPP_FLAGS'
13984         assignment.
13986 2000-06-12  Michael Meeks  <michael@helixcode.com>
13988         * e-shell-folder-selection-dialog.c: include gnome-dialog.h
13989         (PARENT_TYPE): GNOME_TYPE_DIALOG replaced with gnome_dialog_get_type.
13991 2000-06-10  Ettore Perazzoli  <ettore@helixcode.com>
13993         * e-shell.c (impl_Shell_user_select_folder): New, implementation
13994         for `Shell:user_select_folder'.
13995         (corba_class_init): Install it.
13996         (folder_selection_dialog_clicked_cb): Callback for the folder
13997         selection dialog.
13999         * Evolution-Shell.idl: New method `Shell::user_select_folder'.
14000         New interface `FolderSelectionListener'.
14002         * glade/e-shell-folder-creation-dialog.glade: Make it larger.
14004         * e-shell-folder-creation-dialog.h: Fix typo: #include
14005         <gtk/gtkwindow.h>, not <gtk/gtkwidget.h>.
14007         * e-shell-view-menu.c: Added "Go to folder..." command.
14008         (commmand_goto_folder): Implementation for it.
14010         * e-shell-folder-selection-dialog.c: New.
14011         * e-shell-folder-selection-dialog.h: New.
14013 2000-06-10  Ettore Perazzoli  <ettore@helixcode.com>
14015         * e-local-folder.c (save_metadata): Don't set the description in
14016         the XML file if null.  Compute the physical path correctly.
14018         * e-folder.c (e_folder_construct): Allow NULL description.
14020         * evolution-shell-component-client.c (init): Initalize
14021         `listener_interface' to `CORBA_OBJECT_NIL' and `listener_servant'
14022         to NULL.
14023         (create_listener_interface): Return void and set the `servant' and
14024         `listener_servant' fields directly.
14025         (evolution_shell_component_client_async_create_folder): Updated
14026         accordingly.
14028         * e-shell-folder-creation-dialog.c: New struct `DialogData' to be
14029         passed to the dialog's callbacks.
14030         (dialog_data_destroy): New.
14031         (e_shell_show_folder_creation_dialog): Set up a `DialogData'
14032         object and pass it as the data for the signals.
14033         (shell_destroy_cb): New handler for the "destroy" signal on the
14034         shell.
14035         (e_shell_show_folder_creation_dialog): Connect it.
14036         (dialog_destroy_cb): New handler for the "destroy" signal on the
14037         dialog; it frees the associated `DialogData'.
14038         (e_shell_show_folder_creation_dialog): Connect it.
14039         (async_create_cb): New function, callback for the async folder
14040         creation function.
14041         (entry_name_is_valid): New function to check if the entered folder
14042         name is valid.
14043         (dialog_clicked_cb): Check if the specified folder name is valid
14044         and, if so, asynchronously create the new folder.
14045         (add_folder_types): Set "type_name" data on each menu item.
14047         * e-storage-set-view.c (e_storage_set_view_get_current_folder):
14048         New function.
14050         * e-storage-set.c (get_storage_for_path): New helper function.
14051         (e_storage_set_get_folder): Use it.
14053         * e-storage.c (e_storage_async_create_folder): Renamed from
14054         `e_storage_create_folder'.
14055         (e_storage_remove_folder): Renamed from `e_storage_remove_folder'.
14056         (impl_create_create_folder): Renamed from `impl_create_folder'.
14057         (impl_create_remove_folder): Renamed from `impl_remove_folder'.
14058         (class_init): Updated accordingly.
14059         (e_storage_result_to_string): New function.
14061         * e-storage.h: `::create_folder' renamed to
14062         `::async_create_folder'.  `::remove_folder' renamed to
14063         `::async_remove_folder'.
14065         * evolution-shell-component.h: Return type of
14066         `EvolutionShellComponentCreateFolderFn' and
14067         `EvolutionShellComponentRemoveFolderFn' changed to `void'.
14069         * e-local-storage.c: `EComponentRegistry component_registry'
14070         replaced with `EFolderTypeRegistry folder_type_registry' in
14071         `ELocalStoragePrivate'
14072         (component_async_create_folder_callback): New function, to handle
14073         the callback from EvolutionShellComponent.
14074         (construct): Likewise.
14075         (e_local_storage_open): Replaced @component_registry with
14076         @folder_type_registry.
14077         (impl_create_folder): Implemented.
14079         * e-local-folder.c (e_local_folder_new): New.
14080         (e_local_folder_construct): New.
14081         (e_local_folder_save): Precondition: physical URI is not NULL.
14082         (save_metadata): Unlink the metadata file if `xmlSaveFile()'
14083         fails.
14085         * e-storage.c (e_storage_create_folder): Precondition: @path is
14086         absolute.
14087         (e_storage_remove_folder): Likewise.
14089 2000-06-09  Ettore Perazzoli  <ettore@helixcode.com>
14091         * e-shell-view-menu.c: Removed folder menu and "save as..." command.
14093         * main.c (main): Call `glade_gnome_init()'.
14095         * e-shell-view-menu.c (command_new_folder): Implemented.
14097         * e-shell-folder-creation-dialog.c: New.
14098         * e-shell-folder-creation-dialog.h: New.
14100         * glade/Makefile.am: New.
14101         * glade/e-shell-folder-creation-dialog.glade: New.
14103         * e-shell-view.c (e_shell_view_get_current_uri): New.
14105         * e-folder-type-registry.c
14106         (e_folder_type_registry_get_type_names): New.
14108         * e-shell-view.c (get_control_for_uri): Updated to use
14109         `EvolutionShellComponentClient'.
14111         * e-folder-type-registry.c: Use `EvolutionShellComponentClient's
14112         instead of `BonoboObjectClient's.
14114         * e-component-registry.c: Use `EvolutionShellComponentClient'
14115         instead of `BonoboObjectClient' in `Component'.
14116         (component_new): Updated accordingly.
14117         (register_component): Likewise.
14119         * evolution-shell-component-client.h: New.
14120         * evolution-shell-component-client.c: New.
14122         * evolution-shell-component.c
14123         (impl_ShellComponent_async_create_folder): New, implementation of
14124         `::async_create_folder'.
14125         (impl_ShellComponent_async_remove_folder): New, implementation of
14126         `::async_remove_folder'.
14127         (corba_class_init): Install them.
14128         (evolution_shell_component_new): New args `create_folder_fn' and
14129         `remove_folder_fn' for setting the handlers for these new methods.
14130         (evolution_shell_component_construct): Likewise.
14132         * Evolution-ShellComponent.idl
14133         (ShellComponent::async_create_folder): New.
14134         (ShellComponent::async_remove_folder): New.
14135         (ShellComponentListener): New.
14137         * evolution-shell-component.c (impl_ShellComponent_create_view):
14138         New param @type.  Use the new `EvolutionShellComponentCreateViewFn'.
14140         * evolution-shell-component.h: New enum `EvolutionShellComponentResult'.
14141         Changed `EvolutionShellComponentCreateViewFn' to return an
14142         `EvolutionShellComponentResult'.
14144         * e-shell-view.c (get_control_for_uri): Pass the folder type to
14145         `ShellComponent::create_view'.
14147         * Evolution-ShellComponent.idl: New param @type for
14148         `ShellComponent::create_view'.
14150 2000-06-08  Miguel de Icaza  <miguel@helixcode.com>
14152         * main.c (development_warning): Use version here.  Add padding to
14153         the message.
14154         Only destroy object if its window was not closed.
14156 2000-06-08  Ettore Perazzoli  <ettore@helixcode.com>
14158         * e-shell-view.c (setup_bonobo_ui_handler): Oops.  Don't create
14159         the toolbar.  This was not supposed to be committed.
14161 2000-06-07  Ettore Perazzoli  <ettore@helixcode.com>
14163         * e-storage.c (folder_destroy): Don't destroy the subfolders.
14164         (remove_folder): New helper function.
14165         (free_private): Use it.
14166         (e_storage_removed_folder): Use it here too.
14167         (folder_destroy): Don't unref the EFolder if NULL.
14169         * e-storage-set-view.c (e_storage_set_view_construct): Use
14170         `gtk_signal_connect_while_alive()' instead of just
14171         `gtk_signal_connect()' so that the signal handler is automatically
14172         removed when we are destroyed.
14174         * e-storage-set.c (e_storage_set_remove_all_storages): New
14175         function.
14177         * e-shell-view.c (e_shell_view_construct): Use `bonobo_object_ref'
14178         on the shell instead of `gtk_object_ref'.
14179         (destroy): Unref the shell.
14181         * e-local-storage.h: #include "e-component-registry.h".
14183         * e-shell.c (setup_local_storage): Renamed from `setup_storages'.
14184         Only set up the local storage, not the CORBA one, and don't create
14185         the storage set.
14186         (e_shell_construct): Create the storage set here instead.  Call
14187         `setup_local_storage' after setting up the components.
14189         * e-local-storage.c: New member `component_registry' in
14190         `ELocalStoragePrivate'.
14191         (init): Init to NULL.
14192         (destroy): If not null, unref it.
14193         (e_local_storage_open): New arg @component_registry.
14194         (construct): New arg @component_registry.  Init
14195         `priv->component_registry' from it.
14197         * e-local-storage.c (impl_get_name): Renamed from `get_name'.
14198         (impl_create_folder): New function, implementing
14199         `EStorage::create_folder'.  Just a stub for now.
14200         (impl_remove_folder): New function, implementing
14201         `EStorage::remove_folder'.  Just a stub for now.
14202         (class_init): Install these stub implementations.
14204         * e-storage.c (e_storage_remove_folder): New function.
14205         (e_storage_create_folder): New function.
14206         (impl_create_folder): New function, default implementation for
14207         `::create_folder'.
14208         (impl_remove_folder): New function, default implementation for
14209         `::remove_folder'.
14210         (class_init): Install the implementations.
14212         * e-storage.c (impl_get_name): Renamed from `get_name'.
14213         (impl_get_folder): Renamed from `get_folder'.
14214         (impl_list_folders): Renamed from `list_folders'.
14216         * e-storage.h: New virtual methods `remove_folder',
14217         `create_folder'.
14219         * e-storage.c (e_storage_removed_folder): Renamed from
14220         `e_storage_remove_folder'.
14221         * e-corba-storage.c (impl_StorageListener_removed_folder): Updated
14222         accordingly.
14224 2000-06-02  Ettore Perazzoli  <ettore@helixcode.com>
14226         * e-shell-view.c (setup_bonobo_ui_handler): Create the default toolbar.
14228 2000-06-02  Jeffrey Stedfast  <fejj@helixcode.com>
14230         * e-shell-view-menu.c: Changed "Using the Shell" to "Getting Started"
14232 2000-06-02  Christopher James Lahey  <clahey@helixcode.com>
14234         * e-shell-view.c: Free the uri variable.
14236         * e-shell.c: Free the local_directory variable.
14238 2000-06-02  Ettore Perazzoli  <ettore@helixcode.com>
14240         * main.c (view_delete_event_cb): New callback for the
14241         "delete_event" on the view.
14242         (idle_cb): Connect it.
14244 2000-06-01  Christopher James Lahey  <clahey@helixcode.com>
14246         * e-storage-set-view.c (set_e_shortcut_selection): Added a
14247         g_return_if_fail check.
14249 2000-06-01  Dan Winship  <danw@helixcode.com>
14251         * e-shell-view-menu.c (command_help): New menu callback to launch
14252         the help browser.
14253         (menu_help): add pointers to the users' guide.
14254         (e_shell_view_menu_setup): Add the help menu stuff to the uih.
14256         * main.c (main): Set up gettext. (Problem noted by Héctor García
14257         Alvarez)
14259 2000-06-01  Ettore Perazzoli  <ettore@helixcode.com>
14261         * e-shell-view.c (DEFAULT_WIDTH): Add more 5 pixels.
14263 2000-06-01  Ettore Perazzoli  <ettore@helixcode.com>
14265         * e-shell-view.c (DEFAULT_WIDTH): Made the default window a bit
14266         narrower.
14267         (DEFAULT_HEIGHT): And shorter.
14268         (setup_widgets): Set the border width of the vbox that holds the
14269         title bar to 2 pixels, so that the view looks a bit nicer.
14271 2000-06-01  Ettore Perazzoli  <ettore@helixcode.com>
14273         * e-shell-view.c (DEFAULT_TREE_WIDTH): Made the tree 150 pixel
14274         wide [instead of 100].
14275         (setup_widgets): Use `DEFAULT_TREE_WIDTH' instead of
14276         `DEFAULT_SHORTCUT_BAR_WIDTH' where appropriate.
14277         (e_shell_view_construct): Hide the folder bar by default.
14279         * e-storage-set-view.c (e_storage_set_view_construct): Set
14280         auto-resize mode for column one.
14282 2000-06-01  Ettore Perazzoli  <ettore@helixcode.com>
14284         * e-shell-view-menu.c (e_shell_view_menu_setup): Set the
14285         statusbar.
14287         * e-shell-view.c: New member `appbar' for `EShellViewPrivate'.
14288         (init): Initialize to NULL.
14289         (setup_widgets): Install a status bar and set `appbar' to point to
14290         it.
14291         (setup_bonobo_ui_handler): Make the BonoboUIHandler use `appbar'
14292         as its statusbar.
14293         (e_shell_view_get_appbar): New function.
14294         (e_shell_view_construct): Set up the BonoboUIHandler after setting
14295         up the widgets.
14297         * e-shortcuts.c (class_init): Add new signals "new_shortcut",
14298         "removed_shortcut", "new_group", "removed_group".
14299         (e_shortcuts_remove_shortcut): Emit "remove_shortcut".
14300         (e_shortcuts_add_shortcut): Emit "new_shortcut".
14301         (e_shortcuts_remove_group): Emit "remove_group".
14302         (e_shortcuts_add_group): Emit "new_group".
14303         (unload_shortcuts): Emit "remove_group" for all the groups.
14305         * e-shortcuts.h: New signals "new_shortcut", "removed_shortcut",
14306         "new_group", "removed_group".
14308         * e-shortcuts-view.c (pop_up_right_click_menu): New function to
14309         pop up the right-click menu for the shortcut bar.
14310         (pop_up_right_click_menu_for_shortcut): New function.
14311         (selected_item): Pop up right click menu when appropriate.  Don't
14312         activate the shortcut when right-clicking.
14314 2000-05-31  Ettore Perazzoli  <ettore@helixcode.com>
14316         * evolution-storage.h: #include 'Evolution.h".
14318 2000-05-31  Ettore Perazzoli  <ettore@helixcode.com>
14320         * e-shell-view.c (show_error): Use `set_current_notebook_page()'
14321         instead of `gtk_notebook_set_page()'; this will also deactivate
14322         the current control properly.
14324         * e-shell-view-menu.c (e_shell_view_menu_setup): Initialize the
14325         state of the shortcut/folder toggle menu items using
14326         `e_shell_view_get_shortcut_bar_mode()' and
14327         `e_shell_view_get_folder_bar_mode()'.
14328         (command_toggle_shortcut_bar): Removed debugging message.
14329         (command_toggle_folder_bar): Likewise.
14331         * e-shell-view.c (e_shell_view_get_shortcut_bar_mode): New
14332         function.
14333         (e_shell_view_get_folder_bar_mode): New function.
14335 2000-05-31  Ettore Perazzoli  <ettore@helixcode.com>
14337         * e-storage-set-view.c: New constant `DRAG_RESISTANCE'.  New
14338         members `button_x', `button_y' in `EStorageSetViewPrivate'.
14339         (init): Initialize to zero.
14340         (button_press_event): Set.
14341         (motion_notify_event): Don't start drag unless the current x/y
14342         position is farther than `DRAG_RESISTANCE', in any of the two
14343         directions, from the original position of the button click.
14344         (button_release_event): Always ungrab the pointer, even if
14345         `selected_row_path' is NULL.
14347 2000-05-31  Ettore Perazzoli  <ettore@helixcode.com>
14349         * evolution-shell-component.c (class_init): Eeek!
14350         s/owner_set/owner_unset/.
14352         * e-shell-folder-title-bar.c (e_shell_folder_title_bar_construct):
14353         Increase the size of the border of the hbox slightly to make the
14354         title bar a bit nicer.
14356 2000-05-31  Ettore Perazzoli  <ettore@helixcode.com>
14358         * e-component-registry.c (component_free): Invoke `::unset_owner'
14359         on the component before releasing it.
14361         * evolution-shell-component.c (class_init): Install the
14362         "owner_set" signal.
14363         (impl_ShellComponent_unset_owner): New function, implementation of
14364         `ShellComponent::unset_owner'.
14365         (corba_class_init): Install it.
14367         * evolution-shell-component.h: New signal "owner_unset".
14369         * Evolution-ShellComponent.idl: New method `ShellComponent::
14370         unset_owner'.
14372         * e-shell.c (e_shell_quit): Destroy all the views explicitly.
14374         * e-shell-view-menu.c: Changed `Show shortcut bar' and `Show
14375         folder tree' items into toggle items.
14376         (shortcut_bar_mode_changed_cb): New callback to update the status
14377         of the "show shortcut bar" toggle item when the shortcut bar is
14378         hidden/shown in the view.
14379         (folder_bar_mode_changed_cb): Likewise for the folder bar.
14380         (e_shell_view_menu_setup): Connect these to the corresponding
14381         signals on the shell.
14383         * e-shell-view.c: New members `shortcut_bar_mode' and
14384         `folder_bar_mode' in `EShellViewPrivate'.
14385         (init): Initialize `shortcut_bar_mode' and `folder_bar_mode' to
14386         `E_SHELL_VIEW_SUBWINDOW_HIDDEN'.
14387         (class_init): Add the new signals.
14388         (e_shell_view_set_shortcut_bar_mode): Renamed from
14389         `e_shell_view_show_shortcuts'.  Emit "shortcut_bar_mode_changed"
14390         and update the `shortcut_bar_mode' member.
14391         (e_shell_view_set_folder_bar_mode): Renamed from
14392         `e_shell_view_show_folders'.  Emit "folder_bar_mode_changed" and
14393         update the `folder_bar_mode' member.
14395         * e-shell-view.h: New signals "shortcut_bar_mode_changed",
14396         "folder_bar_mode_changed".
14398         * e-shell-view.c (setup_menus): Removed.
14399         (e_shell_view_construct): Use `e_shell_view_menu_setup' instead.
14400         (e_shell_view_get_bonobo_ui_handler): New function.
14402         * e-shell-view-menu.c (e_shell_view_menu_setup): New.
14404         * e-shell.c (impl_Shell_get_component_for_type): New function,
14405         implementation of `Evolution::Shell::get_component_for_type'.
14406         (corba_class_init): Install it into the EPV.
14408         * Evolution-Shell.idl: Added method `get_component_for_type'.
14410 2000-05-30  Ettore Perazzoli  <ettore@helixcode.com>
14412         * e-shortcuts.c: New members `dirty', `save_idle_id' in
14413         `EShortcutsPrivate'.
14414         (init): Initialize.
14415         (destroy): If the idle ID is nonzero, remove the idle.  If `dirty'
14416         is true, save.
14417         (idle_cb): New.
14418         (schedule_idle): New.
14419         (make_dirty): New.
14420         (e_shortcuts_remove_shortcut): Call it.
14421         (e_shortcuts_add_shortcut): Likewise.
14422         (e_shortcuts_remove_group): Likewise.
14423         (e_shortcuts_add_group): Likewise.
14425         * e-shell.c (e_shell_construct): Updated to match the `EShortcuts'
14426         API changes.
14428         * e-shortcuts.c: New member `file_name' in `EShortcutsPrivate'.
14429         (init): Init to NULL.
14430         (destroy): Free it.
14431         (e_shortcuts_load): Removed.
14432         (e_shortcuts_save): Removed.
14433         (e_shortcuts_new): New arg @file_name.  Load from the specified
14434         file name.
14436         * e-shortcuts-view.c (added_item): New method implementation.
14437         (removed_item): New method implementation.
14438         (added_group): New method implementation.
14439         (removed_group): New method implementation.
14440         (class_init): Install these.
14442         * e-shortcuts.c (e_shortcuts_remove_shortcut): New function.
14443         (e_shortcuts_add_shortcut): New function.
14444         (e_shortcuts_remove_group): New function.
14445         (e_shortcuts_add_group): New function.
14447         * e-shell-view.c: New member `view_title_bar' in
14448         `EShellViewPrivate'.
14449         (setup_widgets): Put an EShellFolderTitleBar on top of the tree
14450         view and the content view.
14451         (update_window_icon): Renamed from `set_icon'.
14452         (update_folder_title_bar): New.
14453         (popup_tree): New function to pop up the tree view when the title
14454         button in the title bar is clicked.
14455         (folder_title_clicked_cb): New callback for the "clicked" signal
14456         of EShellFolderTitleBar.
14457         (setup_widgets): Don't add a title bar to the shortcut bar.
14458         (create_storage_set_subwindow): New helper function.
14459         (setup_widgets): Use it.
14460         (show_error): Use an EClippedLabel instead of a GtkLabel.
14462         * e-shell-view.c: Replaced all the occurences of `gpointer' with
14463         `void *' for consistency.
14465         * e-shell-folder-title-bar.c: New file.
14466         * e-shell-folder-title-bar.h: New file.
14468         * e-storage-set-view.c (e_storage_set_view_construct): Ooops.  Fix
14469         inverted key/value pair in the call to `g_hash_table_insert()'.
14471 2000-05-28  Dan Winship  <danw@helixcode.com>
14473         * main.c (main): Remove extra free of evolution_directory.
14475 2000-05-28  Ettore Perazzoli  <ettore@helixcode.com>
14477         * evolution-storage.c (evolution_storage_register): Use the
14478         storage's name when registering.
14480 2000-05-26  Matt Loper  <matt@helixcode.com>
14482         * e-shell-view-menu.c (command_about_box): Make authorlist more
14483         alphabetical.
14484         (command_show_treeview): New function; shows the treeview, when it
14485         has been hidden.
14486         (command_show_shortcut_bar): New function; shows the shortcut bar,
14487         when it's been hidden.
14489 2000-05-26  Ettore Perazzoli  <ettore@helixcode.com>
14491         * e-corba-storage.c (impl_StorageListener_new_folder): Set the
14492         physical URI on the folder using `e_folder_set_physical_uri()'.
14494         * e-local-folder.c (get_physical_uri): Removed.
14495         (construct_loading_metadata): Use EFolder's `physical_uri' field
14496         instead of ours, which is gone.
14497         (save_metadata): Likewise.
14498         (destroy): Don't free.
14500         * e-local-folder.h: Removed `physical_uri' from `ELocalFolder'.
14502         * e-folder.c: New member `physical_uri' in `EFolderPrivate'.
14503         (init): Initialize to NULL.
14504         (destroy): Free it.
14505         (get_physical_uri): Removed.
14506         (e_folder_set_physical_uri): New function.
14508         * e-storage-set.c (e_storage_set_get_folder): Fix off-by-one error
14509         in extracting the base name.
14511         * e-storage.c: New member `path' in `Folder'.
14512         (folder_destroy): Free it.
14513         (folder_new): New arg.  Initialize `path' from it.
14514         (e_storage_construct): Updated accordingly.
14515         (e_storage_new_folder): Likewise.
14516         (e_storage_remove_folder): Remove the folder from the hash.
14518         * e-storage-set-view.c (remove_node): New function.
14519         (removed_storage_cb): Use it.
14520         (new_folder_cb): New function, callback for the "new_folder"
14521         signal on the EStorageSet.
14522         (removed_folder_cb): New function, callback for the
14523         "removed_folder" signal on the EStorageSet.
14524         (e_storage_set_view_construct): Connect these signal handlers to
14525         the respective signals on our model storage.
14527         * e-storage-set.c (storage_new_folder_cb): New function, callback
14528         for the "new_folder" signal on the storages.
14529         (storage_removed_folder_cb): New function, callback for the
14530         "removed_folder" signal on the storages.
14531         (e_storage_set_add_storage): Connect them to the signals of the
14532         storage being added.
14534         * e-corba-storage-registry.c
14535         (impl_StorageRegistry_register_storage): Throw an exception if
14536         `e_storage_set_add_storage()' returns false.
14538         * e-shell.c (setup_storages): Unref the local storage after adding
14539         to the storage set.
14541         * e-corba-storage-registry.c
14542         (impl_StorageRegistry_register_storage): Unref the storage after
14543         adding to the storage set.
14545         * e-storage-set.c: New hash table `name_to_named_storage' in
14546         `EStorageSetPrivate'.
14547         (named_storage_new): New helper function.
14548         (named_storage_destroy): New helper function.
14549         (e_storage_set_add_storage): Use the hash table.  Return value
14550         changed to `gboolean'.  Return FALSE if there is a storage with
14551         that name already.  Also, ref the storage.
14552         (e_storage_set_remove_storage): Likewise [but of course don't ref
14553         the storage].
14554         (e_storage_set_get_storage): Use the `name_to_named_storage' hash
14555         table.
14556         (destroy): Destroy the `name_to_named_storage' hash.
14558         * e-storage-set.h: New signals "new_folder", "removed_folder".
14560         * e-storage.c (e_storage_get_watcher_for_path): Removed.
14561         (get_watcher_for_path): Removed.
14562         (class_init): Install signals "new_folder" and "removed_folder".
14563         (e_storage_remove_folder): Emit "removed_folder".
14564         (e_storage_new_folder): Emit "new_folder".
14566         * e-storage.h: Removed method `get_watcher_for_path'.  New signals
14567         "new_folder", "removed_folder".
14569         * e-storage-watcher.c: Removed.
14570         * e-storage-watcher.h: Removed.
14572         * e-corba-storage-registry.c (corba_class_init): Set the
14573         Bonobo_Unknown evp parts.
14575         * evolution-storage.c: New.
14576         * evolution-storage.h: New.
14578         * evolution-shell-component.c
14579         (evolution_shell_component_get_owner): New.
14581         * e-storage-set-view.c (new_storage_cb): New function.
14582         (e_storage_set_view_construct): Connect to the "new_storage"
14583         signal on the EStorageSet.
14584         (removed_storage_cb): New function.
14585         (e_storage_set_view_construct): Connect to the "removed_storage"
14586         signal on the EStorageSet.
14588         * e-storage-set-view.c (e_storage_set_view_construct): Make this
14589         always look pretty, with Helix GNOME or without.
14591 2000-05-25  Christopher James Lahey  <clahey@helixcode.com>
14593         * e-storage-set-view.c: Make this always look pretty, with Helix
14594         GNOME or without.
14596 2000-05-25  Ettore Perazzoli  <ettore@helixcode.com>
14598         * e-storage-set-view.c (e_storage_set_view_construct): Set the
14599         dotted line type again.  Dotted is less butt-ugly than continuous.
14601         * e-shell-view.c (show_error): Display page zero in the notebook.
14603         * main.c (idle_cb): Renamed from `new_view_idle_cb'.  Create the
14604         EShell object here, because now the shell depends on the GLib loop
14605         to be running for correct operation.
14606         (main): Don't create the EShell here.
14608         * e-storage-set-view.c (get_pixmap_and_mask_for_folder): If the
14609         icon is not found, set the returned pixmap and mask to NULL.
14611         * e-shell.c (e_shell_construct): Added precondition: @corba_object
14612         must be non-nil.
14613         (e_shell_new): Added precondition: @local_direcory must be
14614         non-null.
14616         * evolution-shell-component.c: New.
14617         * evolution-shell-component.h: New.
14619         * e-shell.c: New member `component_registry' in `EShellPrivate'.
14620         (init): Initialize to NULL.
14621         (destroy): Unref it.
14622         (setup_components): New function to set up the compnent registry
14623         and initialize the mail, calendar and addressbook components.
14624         (e_shell_construct): Call it.
14626         * e-storage-set.c: Updated to use EFolderTypeRegistry.
14627         * e-storage-set.h: Likewise.
14628         * e-shortcuts.c: Likewise.
14629         * e-shortcuts.h: Likewise.
14630         * e-shell.c: Likewise.
14632         * e-shell.h: Likewise.
14633         * e-shell-view.c: Likewise.
14634         * e-shortcuts-view.c: Likewise.
14635         * e-storage-set-view.c: Likewise.
14637         * e-component-registry.c: New.
14638         * e-component-registry.h: New.
14640         * e-folder-type-registry.c: New.
14641         * e-folder-type-registry.h: New.
14643         * e-folder-type-repository.c: Removed.
14644         * e-folder-type-repository.h: Removed.
14646         * Evolution-ShellComponent.idl: New struct `FolderType'; new type
14647         `FolderTypeList'. New attribute `supported_types'.
14648         (ShellComponent::set_owner): Renamed from `set_shell'.
14649         (ShellComponent::create_view): New.
14651 2000-05-24  Christopher James Lahey  <clahey@helixcode.com>
14653         * e-shell-view.c: Was using the wrong include here.
14655         * e-storage-set-view.c: Got rid of the lines in the tree view.
14657 2000-05-24  Christopher James Lahey  <clahey@helixcode.com>
14659         * Makefile.am: Added libepaned.a.
14661         * e-shell-view.c: Switched from GtkPaned to EPaned.
14663 2000-05-23  Ettore Perazzoli  <ettore@helixcode.com>
14665         * e-shell.c: New member `corba_storage_registry' in
14666         `EShellPrivate'.
14667         (init): Initialize it to NULL.
14668         (destroy): Unref it if not NULL.
14669         (setup_corba_storages): New function to set up the CORBA storage
14670         registry and `bonobo_object_add_interface()' it to the shell.
14671         (setup_storages): Call it from here.
14673         * e-shell.h, e-shell.c: Derive EShell from BonoboObject instead of
14674         GtkObject.
14676         * e-storage.c (e_storage_remove_folder): Return value changed into
14677         `gboolean'; return false if an error occurs, true otherwise.
14678         (e_storage_new_folder): Likewise.
14680         * e-corba-storage-registry.c: New.
14681         * e-corba-storage-registry.h: New.
14683         * e-corba-storage.c: New.
14684         * e-corba-storage.h: New.
14686         * Evolution.idl: Include the new IDLs, but no
14687         `evolution-service-repository.idl' anymore.
14689         * Evolution-Shell.idl: New.
14690         * Evolution-ShellComponent.idl: New.
14691         * Evolution-Storage.idl: New.
14693         * evolution-service-repository.idl: Removed.
14694         * evolution-service-repository.c: Removed.
14695         * evolution-service-repository.h: Removed.
14697         * e-folder-type-repository.c (folder_type_new): Free `icon_path'.
14699 2000-05-18  Dan Winship  <danw@helixcode.com>
14701         * main.c (new_view_idle_cb): add development_warning (moved from
14702         mail component)
14704 2000-05-16  Ettore Perazzoli  <ettore@helixcode.com>
14706         * e-storage-set-view.c: Get rid of the `ICON_WIDTH' and
14707         `ICON_HEIGHT' #defines.
14708         (get_pixmap_and_mask_for_folder): Get the mini icon instead of the
14709         big one.  Use `E_SHELL_MINI_ICON_SIZE' instead of `ICON_WIDTH' and
14710         `ICON_HEIGHT'.
14712         * e-folder-type-repository.c: New member `mini_icon_pixbuf' in
14713         `FolderType'.
14714         (folder_type_new): Initialize `mini_icon_pixbuf' by loading the
14715         mini icon if possible.  If the mini icon is not found, resort to
14716         the big one.
14717         (folder_type_free): Unref the mini icon.
14718         (e_folder_type_repository_get_icon_for_type): New arg @mini.  If
14719         true, return the mini icon instead of the standard one.
14721         * e-shell-view.c (set_icon): Get the mini icon instead of the big
14722         one by using `e_shell_get_icon_path's @try_mini arg.
14724         * e-shell-constants.h: New file.
14726         * e-shell-utils.c
14727         (e_shell_get_icon_path): New arg @try_mini.  If true, look for the
14728         mini version [whose name ends in `-mini'].
14730         * e-folder-type-repository.c
14731         (folder_type_new): Free string returned by
14732         `e_shell_get_icon_path()'.
14734 2000-05-16  Ettore Perazzoli  <ettore@helixcode.com>
14736         * e-shell-view.c: New members `storage_set_view_box',
14737         `shortcut_bar_box', `hpaned1_position', `hpaned2_position' in
14738         `EShellViewPrivate'.
14739         (init): Initialize them.
14740         (setup_widgets): Add title bars to the tree and shortcut views.
14741         (shortcuts_view_close_button_clicked_cb): New callback function.
14742         (setup_widgets): Connect to the "close_button_clicked" signal of
14743         the shortcut view's title bar.
14744         (storage_set_view_close_button_clicked_cb): New callback function.
14745         (setup_widgets): Connect to the "close_button_clicked" signal of
14746         the storage set view's title bar.
14747         (e_shell_view_show_shortcuts): New function.
14748         (e_shell_view_show_folders): New function.
14750         * e-shell-view.c: New members `hpaned1', `hpaned2' in
14751         `EShellViewPrivate'.
14752         (init): Initialize both to NULL.
14753         (setup_widgets): Invert the parenting order for the GtkHPaneds and
14754         store them into the private `hpaned' and `hpaned2' members.
14756         * Makefile.am (evolution_LDADD): Link with `libemiscwidgets.a'.
14758 2000-05-15  Ettore Perazzoli  <ettore@helixcode.com>
14760         * e-shortcuts.c
14761         (load_shortcuts_into_view): Removed.
14762         (e_shortcuts_new_view): Don't set up the shortcut bar manually
14763         here anymore, and don't set the icon callback either.  The
14764         `EShortcutsView' object is now able to do this by itself.
14766         * e-shortcuts-view.c
14767         (icon_callback): Moved here from `e-shortcuts.c'.
14768         (load_group): New function.
14769         (load_all_shortcuts): New function.
14770         (e_shortcuts_view_construct): Call it to load the shortcuts from
14771         the `EShortcuts' object.  Also, set `icon_callback' as the icon
14772         callback.
14774         * e-storage-set-view.c
14775         (button_press_event): Add/remove grab with `gtk_grab_add' and
14776         `gtk_grab_remove'.
14777         (button_release_event): Call `gtk_grab_remove' when removing the
14778         grab.
14780         * e-shortcuts.c: New member `title_to_group' in
14781         `EShortcutsPrivate'.
14782         (init): Initialize here.
14783         (destroy): Destroy here.
14784         (unload_shortcuts): Destroy and recreate here.
14785         (load_shortcuts): Avoid inserting multiple groups with the same
14786         title, and insert the groups into the `title_to_group' hash table.
14787         Also, avoid leaking the return value from `xmlNodeListGetString'.
14788         (e_shortcuts_get_group_titles): New function.
14789         (e_shortcuts_get_shortcuts_in_group): New function.
14790         (e_shortcuts_get_storage_set): New function.
14792         * e-storage-set-view.c
14793         (e_storage_set_view_set_current_folder): Emit the
14794         "folder_selected" signal.
14796         * e-local-folder.c
14797         (get_string_value): Return a `char *' to be deallocated by the
14798         caller instead of a `const char *' that does not need to be
14799         deallocated.
14800         (construct_loading_metadata): Free values returned from
14801         `get_string_value'.
14803 2000-05-15  Ettore Perazzoli  <ettore@helixcode.com>
14805         * e-storage-set-view.c: New members `dragged_row_path',
14806         `selected_row_path_before_click' in `EStorageSetViewPrivate'.
14807         (init): Initialize them to NULL.
14808         (motion_notify_event): Set `dragged_row_path' from
14809         `selected_row_path'.
14810         (button_press_event): Initialize `selected_row_path_before_click'
14811         from `selected_row_path'.
14812         (button_release_event): Set `selected_row_path_before_click' to
14813         NULL.
14814         (drag_end): Restore the current selection from
14815         `selected_row_path_before_click'; then set both `dragged_row_path'
14816         to NULL.
14818 2000-05-15  Ettore Perazzoli  <ettore@helixcode.com>
14820         * e-storage-set-view.c: New members `in_drag' and `drag_button' in
14821         `EStorageSetViewPrivate'.  New static variables `drag_types',
14822         `num_drag_types', `target_list'.
14823         (class_init): Create the `target_list'.
14824         (init): Initialize the private `in_drag' member to false.
14825         Initialize the private `drag_button' member to zero.
14826         (button_release_event): Set it to false.
14827         (motion_notify_event): New function, implementation of
14828         `GtkWidget::motion_notify_event'.  If `in_drag' is false, set it
14829         to true and set ourselves up as a drag source.
14830         (button_press_event): New function, implementation of
14831         `GtkWidget::button_press_event'.  Set `drag_button' to the event's
14832         button number and then chain to the implementation in the parent
14833         class.
14834         (drag_end): New function, implementation of `GtkWidget::drag_end'.
14835         (drag_data_get): New function, implementation of
14836         `GtkWidget::drag_data_get'.
14837         (set_e_shortcut_selection): New function, helper for `drag_data_get'.
14838         (set_uri_list_selection): New function, helper for `drag_data_get'.
14839         (class_init): Install these method implementations.
14841         * e-storage-set-view.c: New member `selected_row_path' in
14842         `EStorageSetViewPrivate'.
14843         (init): Initialize it to NULL.
14844         (tree_select_row): Set it to the path of the selected row.  Don't
14845         emit "folder_selected" yet.  Also, keep the grab.
14846         (button_release_event): New function, implementation of
14847         `GtkWidget::button_release_event'.  If `selected_row_path' is not
14848         NULL, emit the "folder_selected" signal with `selected_row_path'
14849         as the parameter and then set `selected_row_path' to NULL again.
14850         (class_init): Install `button_release_event'.
14852         * e-storage-set-view.c: Made `ICON_WIDTH' and `ICON_HEIGHT' global
14853         #defines.
14854         (e_storage_set_view_construct): Set the row height to
14855         `ICON_HEIGHT'.  Alos, set the selection mode to
14856         `GTK_SELECTION_BROWSE'.
14858 2000-05-15  Iain Holmes  <ih@csd.abdn.ac.uk>
14860         * e-local-folder.c (get_string_value): Use the correct function to
14861         get the node's contents.
14862         
14863         * e-shortcuts.c (load_shortcuts): Same as above.
14865 2000-05-14  Ettore Perazzoli  <ettore@helixcode.com>
14867         * e-folder-type-repository.c
14868         (e_folder_type_repository_get_control_id_for_type): Protect
14869         against non-existing types.
14870         (e_folder_type_repository_get_icon_for_type): Likewise.
14872 2000-05-14  Ettore Perazzoli  <ettore@helixcode.com>
14874         * e-storage-set-view.c
14875         (folder_compare_cb): Callback comparison function for comparing
14876         folders based on their names.
14877         (insert_folders): Use it to sort the folder list before using it.
14879 2000-05-14  Ettore Perazzoli  <ettore@helixcode.com>
14881         * e-shell.c
14882         (setup_storages): Pass the pointer to the folder type repository.
14883         (e_shell_construct): Initialize the folder type repository before
14884         everything else.
14886         * e-storage-set.c: New member `folder_type_repository' in
14887         `EStorageSetPrivate'.
14888         (init): Initialize it to NULL.
14889         (destroy): Unref it.
14890         (e_storage_set_construct): New arg @folder_type_repository.
14891         Initialize the corresponding member in the private struct through
14892         it.
14893         (e_storage_set_new): New arg @folder_type_repository.
14894         (e_storage_set_get_folder_type_repository): New function.
14896         * e-shortcuts.c (icon_callback): Just use [the new version of]
14897         `e_folder_type_repository_get_icon_for_type()' instead of loading
14898         the image manually.
14900         * e-folder-type-repository.c: New member `icon_pixbuf' in
14901         `FolderType'.
14902         (folder_type_new): Load the pixbuf.
14903         (folder_type_free): Unref the pixbuf.
14904         (e_folder_type_repository_get_icon_name_for_type): Renamed from
14905         `e_folder_type_repository_get_icon_for_type'.
14906         (e_folder_type_repository_get_icon_for_type): New function, now
14907         returning a `GdkPixbuf *'.
14909         * e-shortcuts.c
14910         (icon_callback): Use `e_shell_get_icon_name()'.
14912         * e-shell-view.c: New member `storage_set_view' in
14913         `EShellViewPrivate'.
14914         (init): Initialize it to NULL.
14915         (e_shell_view_construct): Create an EStorageSetView for the
14916         shell's EStorageSet and put it into a scrolled window.  Also, put
14917         the scrolled window into the EShellView with some
14918         [temporary] GtkPaned action.  Store the pointer to the
14919         EStorageSetView to `priv->storage_set_view'.
14920         (set_icon): Get an EShellView and an EFolder instead of an
14921         EShellView and a URI.  Also, don't leak.
14922         (update_for_current_uir): New helper function.  Call `set_icon'.
14923         (show_error): Call it.
14924         (folder_selected_cb): New function.
14925         (setup_widgets): Connect it to the "folder_selected" signal of the
14926         storage set view.
14928         * e-storage-set-view.c: New file.
14929         * e-storage-set-view.h: New file.
14931         * e-shell-utils.c: New file.
14932         * e-shell-utils.h: New file.
14934 2000-05-10  Christopher James Lahey  <clahey@helixcode.com>
14936         * e-shell-view-menu.c: Added an about box.
14938 2000-05-10  Christopher James Lahey  <clahey@helixcode.com>
14940         * e-shell-view.c: Set the icons when changing between components.
14942         * main.c: Set the default icon.  (The change in e-shell-view.c
14943         doesn't work unless we do this.)
14945 2000-05-09  Matt Loper  <matt@helixcode.com>
14947         * e-shell-view-menu.c (command_run_bugbuddy): New function; allows
14948         users to submit a bug.
14949         (command_run_bugbuddy): Implemented with jacob's patch.
14951 2000-05-09  Ettore Perazzoli  <ettore@helixcode.com>
14953         * e-shell.c (e_shell_new_view): Display the specified @uri in the
14954         view.
14956         * e-shell-view.c (e_shell_view_construct): Removed arg @uri.
14957         (e_shell_view_new): Likewise.
14959         * main.c: New string constant `STARTUP_URI', specifying the URI to
14960         show in the startup view.
14961         (new_view_idle_cb): New callback function to create a new view for
14962         `STARTUP_URI' in the idle loop.  We need to do this in the idle
14963         loop because the CORBA stuff cannot work until the loop starts
14964         running.
14965         (main): Set `new_view_idle_cb' up as the idle callback instead of
14966         creating the view right away.
14968 2000-05-09  Ettore Perazzoli  <ettore@helixcode.com>
14970         * e-shell.c (setup_storages): Woops.  Don't free the path before
14971         the warning message, as we need to print it.
14973 2000-05-08  Ettore Perazzoli  <ettore@helixcode.com>
14975         * main.c (destroy_cb): New function.
14976         (main): Connect it to the `destroy' signal on the shell.
14978 2000-05-08  Ettore Perazzoli  <ettore@helixcode.com>
14980         * e-shortcuts.c (load_shortcuts): Const fix.
14982 2000-05-08  Larry Ewing  <lewing@helixcode.com>
14984         * e-shortcuts.c (load_shortcuts_into_view): xmlFree the return
14985         value of xmlGetProp.
14987 2000-05-07  Ettore Perazzoli  <ettore@helixcode.com>
14989         * e-shortcuts-view.c (e_shortcuts_view_construct): Use
14990         correct cast.
14992 2000-05-07  Ettore Perazzoli  <ettore@helixcode.com>
14994         * main.c (main): Connect to "no_views_left", not "destroy".
14996         * e-shell.c (view_destroy_cb): Grmpf.
14998 2000-05-07  Ettore Perazzoli  <ettore@helixcode.com>
15000         * e-shell.c (e_shell_construct): Output a warning message if the
15001         shortcut file is not found.
15002         (setup_storages): Output a warning message if the local storage
15003         cannot be initialized.
15004         (destroy): Destroy all the views.
15006         * e-shell-view.c
15007         (e_shell_view_construct): Ref the shell.
15009         * e-shortcuts-view.c
15010         (e_shortcuts_view_construct): Ref the shortcuts.
15012         * e-shell.c: Create the "no_views_left" signal.  New member
15013         `views' in `EShellPrivate'.
15014         (init): Initialize `views' to NULL.
15015         (view_destroy_cb): Destroy handler for a view: remove the view
15016         from `views', and emit the "no_views_left" signal if this was the
15017         last view.
15018         (e_shell_new_view): Add the new view to `views' and connect the
15019         "destroy" signal to `view_destroy_cb'.
15020         (destroy): Destroy the views.
15022         * e-shell.h: New signal "no_views_left".
15024         * e-shell-view-menu.c (command_quit): New function, implementation
15025         of the "quit" command.
15027         * e-shell-view.c (e_shell_view_get_shell): New function.
15029         * e-shell.c (e_shell_quit): New function.
15031         * main.c (main): If it is not possible to create the shell for
15032         some reason, pop up an error message.
15033         (shell_destroy_cb): New function, signal handler for "destroy" on
15034         the shell object.
15035         (main): Connect it.
15037 2000-05-06  Ettore Perazzoli  <ettore@helixcode.com>
15039         * e-shortcuts.c (destroy): Be safer about NULL objects.
15041         * e-shell.c (destroy): Be safer about NULL objects.
15043         * e-local-storage.c (load_folders): Use `readdir()', not
15044         `readdir_r()'.
15046 2000-05-06  Ettore Perazzoli  <ettore@helixcode.com>
15048         * main.c (init_corba) [! USING_OAF]: We have no options no
15049         popt context.
15051 2000-05-06  Ettore Perazzoli  <ettore@helixcode.com>
15053         * All files: Reorganized and redone a lot of the shell.  New
15054         features: internal URI namespace, extensible storage/folder
15055         mechanism, configurable shortcuts.
15057 2000-05-03  Damon Chaplin  <damon@helixcode.com>
15059         * e-shell-view.c (e_shell_view_new): turned the notebook border off.
15060         The calendar looks better without it. If any of the views want a
15061         border they should create it themselves, shouldn't they?
15063 2000-05-04  Ettore Perazzoli  <ettore@helixcode.com>
15065         * e-shortcut.c (shell_icon_cb): Type of @url changed from `gchar
15066         *' to `const gchar *'; new arg @data.
15067         (e_shortcut_bar_view_new): Pass NULL as the closure value for
15068         `e_shortcut_bar_set_icon_callback()'.
15070 2000-05-02  Ettore Perazzoli  <ettore@helixcode.com>
15072         * e-folder-mail.c: Removed.
15074         * e-folder-mail.h: Removed.
15076         * eshell-types.h: Removed.
15078         * e-folder.h: Don't #include "eshell-types.h".
15080 2000-05-02  Ettore Perazzoli  <ettore@helixcode.com>
15082         * e-folder.h: Removed member `eservice' from `EFolder'.
15084         * e-service.c: Removed.
15086         * e-service.h: Removed.
15088 2000-05-02  Matt Loper  <matt@helixcode.com>
15090         * Makefile.am: set G_LOG_DOMAIN.
15092 2000-05-01  Dan Winship  <danw@helixcode.com>
15094         * e-shell-view.c (e_shell_view_set_view): Turn off control frame
15095         autoactivation, so the toolbars work correctly. This may actually
15096         be a bug in Bonobo, but we'll kludge around it here for now.
15098 2000-04-27  Ettore Perazzoli  <ettore@helixcode.com>
15100         * e-shell-view.c: OAFized.
15101         (get_view): If `bonobo_widget_new_control()' fails for the
15102         calendar, don't try to get the property bag and stuff and thus
15103         prevent a segfault.
15105         * main.c
15106         (corba_init): Removed Bonobo initialization.  Implemented OAF
15107         version for the case in which `USING_OAF' is #defined.
15108         (init_bonob): New function.
15109         (main): Call `init_bonobo()'.
15111 2000-04-26  Matt Loper  <matt@helixcode.com>
15113         * e-shell-view.c (bonobo_widget_is_dead): Helper function to see
15114         whether a bonobo widget is a zombie (ie the remote bonobo control
15115         died).
15116         (e_shell_view_set_view): Try to respawn dead widgets.
15118 2000-04-25  Dan Winship  <danw@helixcode.com>
15120         * Makefile.am: include -I$(datadir)/idl in orbit-idl arguments so
15121         that you can have bonobo installed in the same prefix as
15122         evolution, when that isn't the same prefix is gnome-libs, which a
15123         lot of people seem to be doing.
15124         (CLEANFILES): add EVOLUTION_CORBA_GENERATED
15125         
15126 2000-04-24  Christopher James Lahey  <clahey@helixcode.com>
15128         * idl/folder.idl: Made some functions syncronous that didn't need
15129         to be asyncronous.
15131 2000-04-24  Matt Loper  <matt@helixcode.com>
15133         * e-shell-view.h: Added hpaned and treeview widgets to
15134         EShellView. Added e_shell_view_toggle_shortcut_bar() and
15135         e_shell_view_toggle_treeview().
15137         * e-shell-view.c (e_shell_view_setup_shortcut_display): Use EPaned
15138         widget to house our shortcut bar.
15139         (e_shell_view_toggle_shortcut_bar): New function; toggles whether
15140         the shortcut bar is showing.
15141         (e_shell_view_toggle_treeview): Same, for the treeview (NYI).
15142         (e_shell_view_new): Put the notebook view in our EPaned widget.
15144         * e-shell-view-menu.c (esv_cmd_toggle_shortcut_bar): New function;
15145         toggles whether the shortcut bar is viewed.
15146         (esv_cmd_toggle_treeview): Same, but with the treeview.  Added
15147         menuitems in the "view" menu to allow access to the above.
15149 2000-04-19  Seth Alves  <alves@hungry.com>
15151         * e-shell-view.c (get_view): set calendar's uri with a property bag
15153 2000-04-19  Christopher James Lahey  <clahey@helixcode.com>
15155         * idl/folder.idl: New idl file.  Still unused.
15157 2000-04-14  Christopher James Lahey  <clahey@helixcode.com>
15159         * e-shell-view.c: Made the left pane of the shell view not
15160         autoresize.
15162 2000-04-09  Matt Loper  <matt@helixcode.com>
15164         * e-shell-view.c (e_shell_view_setup): Set the default height
15165         bigger, to 600, so that everything in the shortcut-bar shows up.
15167 2000-04-07  Matt Loper  <matt@helixcode.com>
15169         * e-shell-view.c (destroy_folder_view): New function;
15170         Bonobo_Unknown_unref's the controls that have the views in them.
15171         (esv_destroy): Calls the above for each folder_view in the
15172         hashtable.
15173         (get_view): unref the ServiceRepository interface of the control
15174         when we're done with it.
15176 2000-04-06  Miguel de Icaza  <miguel@gnu.org>
15178         * shell/e-shortcut.c (shell_icon_cb): Append a slash here.
15179         (shell_icons): Only list the filenames.
15181         * shell/main.c (evolution_boot): Be less rude.
15183 2000-04-06  Matt Loper  <matt@helixcode.com>
15185         * shell/main.c (evolution_boot): Make sure our data directory is
15186         available with e_setup_base_dir ().
15188 2000-04-06  Miguel de Icaza  <miguel@gnu.org>
15190         * shell/e-shortcut.c (shell_icon_cb): Load the icons from the
15191         installation path, not form the GNOME-libs installation prefix. 
15192         (shell_icon_cb): Memory leak fix.
15194         * shell/Makefile.am (imagesdir): Pass the EVOLUTION_IMAGES
15195         installation directory here.
15197 2000-04-05  Seth Alves  <alves@hungry.com>
15199         * shell/e-shell-view.c (get_view): hook up control:calendar
15201 2000-03-31  Dan Winship  <danw@helixcode.com>
15203         * shell/e-shortcut.c (e_shortcut_bar_view_new, shell_icon_cb):
15204         Update for shortcut bar changes.
15206         * shell/e-folder.h: add E_FOLDER_SUMMARY
15207         * shell/e-shell.c (e_shell_setup_default_folders): make the
15208         "Today" icon be of type E_FOLDER_SUMMARY, not E_FOLDER_MAIL.
15210 2000-03-30  Dan Winship  <danw@helixcode.com>
15212         * shell/e-shell-view.c (e_shell_view_set_view): Hold off on
15213         deactivating the "outgoing" control until after setting up the
15214         "incoming" control. That way if the new control takes a few
15215         seconds to load, there won't be an ugly empty spot where the
15216         toolbar used to be while the new control loads.
15218 2000-03-29  Dan Winship  <danw@helixcode.com>
15220         * shell/e-shell-view.c (e_shell_view_set_view): Call
15221         bonobo_control_frame_activate on the folder_view every time it
15222         is displayed, and bonobo_control_frame_deactivate every time it is
15223         hidden.
15225 2000-03-25  Matt Loper  <matt@helixcode.com>
15227         * shell/e-shell-view.c (get_view): Move CORBA_Environment to
15228         different scope.
15230 2000-03-22  Matt Loper  <matt@helixcode.com>
15232         * shell/main.c (evolution_boot): gtk_signal_connect'ed "destroy"
15233         to gtk_main_quit, so that the shell dies when you want it to.
15235         * shell/e-shell-view.c (get_view): Reorganized, and added
15236         assertions.
15237         (e_shell_view_set_view): Added assertions.
15239 2000-03-20  Matt Loper  <matt@helixcode.com>
15240         
15241         * shell/e-shell-view.h: New private field in EShellView added,
15242         which contains the notebook and a hashtable of folders to views.
15244         * shell/e-shell-view.c (e_shell_view_set_view): Instead of
15245         creating a new control every time we set the view, we now keep our
15246         controls in a notebook. This function now switches to the correct
15247         notebook page, or creates a new page/control as necessary.
15248         (e_shell_view_new): Creates and inserts the notebook into the
15249         shell.
15251 2000-03-13  Christopher James Lahey  <clahey@helixcode.com>
15253         * shell/e-shell-view.c: Added an E_FOLDER_CONTACTS section to the
15254         get_view function.
15256 2000-03-13  bertrand  <bertrand@helixcode.com>
15258         * shell/e-shell.c (EShell_register_service): 
15259         test implementation. Show the uri and the type 
15260         of service that has just been registered.
15261         
15262         * shell/e-shell-view.c (get_view): 
15263         once we have the bonobo control widget, 
15264         disable the autoactivation and activate
15265         the control frame.
15266         (get_view): added a parameter to have
15267         a reference to the EShellView.
15268         (get_view): In the case of the mail component
15269         use the Evolution_ServiceRepository to 
15270         give the component a reference to the 
15271         Shell server.
15273 2000-03-12  bertrand  <bertrand@helixcode.com>
15275         * shell/e-shell-view.c (get_view): name change
15276         
15278         * shell/e-folder.c (e_folder_get_folder_type): added the
15279         get_e_folder_type function.
15281         * shell/evolution-service-repository.c:
15282         (evolution_service_repository_new): creates an 
15283         Evolution_ServiceRepository object.
15284         (create_evolution_service_repository): 
15285         create the corresponding servant.
15286         (evolution_service_repository_construct): set 
15287         the closure as well as the virtual functions. 
15289 2000-03-12  bertrand  <bertrand@helixcode.com>
15291         * shell/evolution-service-repository.c: 
15292         * shell/evolution-service-repository.h: 
15293         Implementation of the service repository interface
15294         as a bonobo object.
15296         * shell/evolution-service-repository.idl: 
15297         new file. Contains the definition for the service
15298         repository interface.
15300         * shell/Shell.idl: move the shell related stuff 
15301         here
15302         
15303 2000-03-12  bertrand  <bertrand@helixcode.com>
15305         * shell/e-folder.h: add a field refering to a
15306         service associated to the efolder. In the case of 
15307         distant folders, it is generally a server.  
15309         * shell/e-service.c: New class. Models a service.
15310         A service is an object with an URI and a root folder. 
15311         It genreally reporesents a distant folder. 
15312         A service is generally a ressource shared amongst
15313         several folders. 
15314         * shell/e-service.h: 
15316 2000-03-07  bertrand  <bertrand@helixcode.com>
15318         * shell/e-shell-shortcut.c (shortcut_bar_item_selected): 
15319         removed a test that prevented the standard menu 
15320         to be shown.
15322 2000-03-01  Ettore Perazzoli  <ettore@helixcode.com>
15324         * shell/Makefile.am (INCLUDES): use `top_srcdir' instead of
15325         `srcdir'.  Also, add `$(top_srcdir)'.  And put the srcdir includes
15326         before everything else.
15327         (evolution_LDADD): `libeutil.la', not `libeutil.a'.
15329 2000-02-22  bertrand  <Bertrand.Guiheneuf@aful.org>
15331         * shell/Makefile.am (evolution_LDADD): 
15332         add libetext.a.
15334 2000-02-08  Iain Holmes  <ih@csd.abdn.ac.uk>
15336         * shell/Makefile.am: Changed the order of the compilation, so the CORBA
15337         stuff was generated before it was needed.
15339 2000-01-15  Miguel de Icaza  <miguel@gnu.org>
15341         * shell/e-shell.c: Construct the default folders 
15343         * shell/e-shell-view.c (e_shell_view_new): Setup the main GnomeApp
15344         application, load the shortcut, internal api. 
15346         * shell/e-folder.c (e_folder_get_type_name): Return description
15347         here;  Change of policy;  We now know about all of the possible
15348         types that can be displayed on Evolution. 
15350 2000-01-15  Miguel de Icaza <miguel@gnu.org>
15352         * shell/e-folder.c: Renamed signal.
15354         * widgets/shortcut-bar/e-shortcut-bar.c (e_shortcut_bar_add_item):
15355         Use e_bar_set_item_data.
15357         Drop item_url;  Require image argument;  Require user data
15358         argument. 
15360 2000-01-05  Miguel de Icaza  <miguel@gnu.org>
15362         * shell/Makefile.am: New file.