aboutsummaryrefslogtreecommitdiffstats
path: root/shell
Commit message (Collapse)AuthorAgeFilesLines
* Update for e_notice move. Likewise Likewise Likewise Likewise LikewiseDan Winship2003-03-2513-37/+51
| | | | | | | | | | | | | | | | | | | * e-folder-dnd-bridge.c: Update for e_notice move. * e-setup.c: Likewise * e-shell-folder-commands.c: Likewise * e-shell-folder-creation-dialog.c: Likewise * e-shell-offline-sync.c: Likewise * e-shell-shared-folder-picker-dialog.c: Likewise * e-shell-view-menu.c: Likewise * e-shell.c: Likewise * evolution-shell-component-utils.c: Likewise * Makefile.am (libeshell_la_LIBADD): libeshell depends on libeutil. * e-corba-storage.c: Fix warnings svn path=/trunk/; revision=20500
* add a "new_view_xid" arg, so the component has a window id to make use ofDan Winship2003-03-257-21/+45
| | | | | | | | | | | | | | | | | | | | * Evolution-ShellComponent.idl (interactive): add a "new_view_xid" arg, so the component has a window id to make use of as a parent if it needs to pop up a dialog. * e-shell.c (set_interactive): Pass the new_view_xid when going interactive. (e_shell_set_interactive): Remove this since it wasn't being used, and couldn't be used for anything except lying to the components. * evolution-shell-component.c (evolution_shell_component_class_init): Update "interactive" signal definition (impl_interactive): Update prototype and signal emission * e-shell-marshal.list (NONE:BOOL,INT): add svn path=/trunk/; revision=20493
* (init): grumble-grumble-non-g_new0-using-people-grumbleDan Winship2003-03-221-0/+1
| | | | svn path=/trunk/; revision=20461
* (init): grumble-grumble-non-g_new0-using-people-grumbeDan Winship2003-03-221-0/+1
| | | | svn path=/trunk/; revision=20460
* If we get a second request to open a folder we're already waiting for,Dan Winship2003-03-222-10/+55
| | | | | | | | | | * e-corba-storage.c (async_open_folder_idle): If we get a second request to open a folder we're already waiting for, don't send a second CORBA request, just remember the additional request. (async_open_cb): Call the callbacks for all pending requests for this folder. svn path=/trunk/; revision=20456
* remove unused commandJP Rosevear2003-03-212-9/+4
| | | | | | | | 2003-03-20 JP Rosevear <jpr@ximian.com> * e-shell-view-menu.c: remove unused command svn path=/trunk/; revision=20446
* *** empty log message ***Michael Zucci2003-03-207-18/+59
| | | | svn path=/trunk/; revision=20378
* (get_name_from_component_info): Look for theEttore Perazzoli2003-03-202-2/+7
| | | | | | | "evolution:menu_name" property instead of "evolution:menu-name". [#39692] svn path=/trunk/; revision=20370
* If you can't get a pixbuf icon for the folder's type, do not crash.Ettore Perazzoli2003-03-204-27/+27
| | | | | | | | | | | | * evolution-folder-selector-button.c (set_folder): If you can't get a pixbuf icon for the folder's type, do not crash. [#39599] * e-shell.c (impl_Shell__get_displayName): Removed. [#38974] (e_shell_class_init): Do not install anymore. * Evolution-Shell.idl: Remove displayName attribute. svn path=/trunk/; revision=20359
* Add (e_storage_declare_has_subfolders): Rename fromDan Winship2003-03-154-7/+94
| | | | | | | | | | | | | | | | | * e-storage.c (e_storage_get_has_subfolders): Add (e_storage_declare_has_subfolders): Rename from e_storage_has_subfolders to make it clearer that this is a setter, not a getter. (Can't call it e_storage_set_has_subfolders because that sounds like it belongs in e-storage-set.) * e-corba-storage.c (impl_StorageListener_notifyHasSubfolders): update for e_storage_declare_has_subfolders name change (get_folder): Override the default EStorage implementation: if asked for a folder under a not-yet-expanded folder, attempt to force the parent(s) to expand so that the child is available. Fixes part of #30415 svn path=/trunk/; revision=20302
* add a Bonobo::Listener to this like the other async interfaces, ratherDan Winship2003-03-159-63/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Evolution-Storage.idl (asyncOpenFolder): add a Bonobo::Listener to this like the other async interfaces, rather than having a hacky way to signal failure. * evolution-storage.c (impl_Storage_asyncOpenFolder): Update to take a listener and emit it as part of the signal (evolution_storage_class_init): update OPEN_FOLDER signal prototype. * e-shell-marshal.list (NONE:POINTER,STRING): add, for changed EvolutionStorage open_folder signal * e-storage.c (e_storage_async_open_folder): add a callback arg (impl_async_open_folder): call the callback with NOTIMPLEMENTED. (class_init): remove the CLOSE_FOLDER signal (e_storage_has_subfolders): Don't emit CLOSE_FOLDER since it doesn't exist any more, and this function is used for that side effect any more anyway. * e-corba-storage.c (async_open_folder): add the callback arg and create a proper closure. (async_open_folder_idle): Call the callback in case of error. Create a listener and pass that to the CORBA call. (async_open_cb): Listener callback. * e-storage-set.c (storage_set_view_folder_opened): Pass a callback to e_storage_async_open_folder. (async_open_cb): emit CLOSE_FOLDER if the open failed (storage_close_folder_cb): Remove this since the signal no longer exists. svn path=/trunk/; revision=20297
* If the wizard factory returns NULL, we'll get a NIL wizard but noDan Winship2003-03-122-20/+51
| | | | | | | | | | | * e-shell-startup-wizard.c (start_wizard): If the wizard factory returns NULL, we'll get a NIL wizard but no exception. Deal with that case. (ie, try the next wizard). (finish_func): Simplify for e-timezone-dialog changes. (prepare_timezone_page): If there is already a timezone set in gconf, set the map to point to it. (For connector autoconfig.) svn path=/trunk/; revision=20257
* ** reverted the following patch from ettore, this is a gnome 2.2 apiNot Zed2003-03-072-2/+20
| | | | | | | | | | | | | | | | 2003-03-07 Not Zed <NotZed@Ximian.com> ** reverted the following patch from ettore, this is a gnome 2.2 api change, and shouldn't be used yet. * e-shell.c (impl_finalize): Use bonobo_activation_unregister_active_server() instead of bonobo_activatino_active_server_unregister(). (e_shell_construct): Use bonobo_activation_register_active_server() instead of bonobo_activation_active_server_register(). svn path=/trunk/; revision=20214
* (impl_Shell_selectUserFolder): At least for now,Ettore Perazzoli2003-03-072-2/+10
| | | | | | | disable the nasty XWMHints trick to fool WMs; it is not needed now that everything is in-proc. svn path=/trunk/; revision=20211
* (e_shell_folder_name_is_valid): Do not allowEttore Perazzoli2003-03-072-2/+13
| | | | | | names with a "#" in them either. svn path=/trunk/; revision=20210
* (update_other_users_folder_items_sensitivity):Ettore Perazzoli2003-03-072-7/+80
| | | | | | | | | | | | | | | | | New function to toggle the "open other user's folder" menu item sensitivity on or off depending on whether there are any storages that actually support that. (storage_set_removed_storage_callback): New callback for the EStorageSet's "removed_storage" signal; it updates the sensitivity if necessary. (storage_set_new_storage_callback): Likewise, new callback for the EStorageSet's "new_storage" signal. (e_shell_view_construct): Connect these two signal callbacks here. Also, call update_other_users_folder_items_sensitivity() to set up the initial sensitivity of the menu item. (update_for_current_uri): Add a missing EStorageSetView cast here. svn path=/trunk/; revision=20209
* (folder_name_entry_changed_callback): New callback to set theEttore Perazzoli2003-03-072-15/+60
| | | | | | | | | sensitivity of the OK button according to whether the folder name entry is empty or not. (show_dialog): Connect here. Pop up an error message if no user is selected. svn path=/trunk/; revision=20208
* (impl_finalize): UseEttore Perazzoli2003-03-072-2/+11
| | | | | | | | | | bonobo_activation_unregister_active_server() instead of bonobo_activatino_active_server_unregister(). (e_shell_construct): Use bonobo_activation_register_active_server() instead of bonobo_activation_active_server_register(). svn path=/trunk/; revision=20198
* (IN): Use G_GNUC_FUNCTION instead ofEttore Perazzoli2003-03-072-2/+8
| | | | | | | __FUNCTION__. (OUT): Likewise. svn path=/trunk/; revision=20197
* [Patch from Not Zed <NotZed@Ximian.com>]Ettore Perazzoli2003-03-072-7/+20
| | | | | | | | (show_development_warning): Separated the current stable version number from the warning prompt, and fixed a minor grammatical error. For bug #38775. svn path=/trunk/; revision=20196
* (import_bonobo_config): Protect from valEttore Perazzoli2003-03-072-1/+11
| | | | | | | being NULL when printf()ing -- should fix #39096 (Solaris-specific crash). svn path=/trunk/; revision=20195
* Added icon for "/popups/NewPopup/Folder".Ettore Perazzoli2003-03-062-1/+7
| | | | svn path=/trunk/; revision=20176
* (BUILT_SOURCES): $(IDL_GENERATED), notEttore Perazzoli2003-03-062-5/+9
| | | | | | | | $(IDL_GENERATED_H). (CLEANFILES): Make the same as $(BUILT_SOURCES). (GNOME_Evolution_Importer-impl.o): Removed useless rule. svn path=/trunk/; revision=20175
* only set current folder when the folder_path is different from the currentMike Kestner2003-03-052-1/+8
| | | | | | | | | 2003-03-04 Mike Kestner <mkestner@ximian.com> * e-shell-view.c (update_for_current_uri): only set current folder when the folder_path is different from the current folder. svn path=/trunk/; revision=20152
* Handle p->data as a GdkAtom instead of a GdkAtom *.Ettore Perazzoli2003-03-054-9/+21
| | | | | | | | | | | | | | | * e-folder-dnd-bridge.c (find_matching_target_for_drag_context): Handle p->data as a GdkAtom instead of a GdkAtom *. (handle_data_received_non_path): Set the target member of the corba_data struct to be the name of the atom. * e-storage-set-view.c (impl_tree_drag_data_get): Pass the name of the atom instead of the atom itself. * Evolution-ShellComponentDnd.idl: Changed the type of Data.target to string. svn path=/trunk/; revision=20150
* Swap Cancel/OK buttons as per the HIG. Also added proper response_ids.Ettore Perazzoli2003-03-042-5/+13
| | | | | | | Swap Cancel/OK buttons as per the HIG. Also added proper response_ids. svn path=/trunk/; revision=20133
* (impl_finalize): ProtectEttore Perazzoli2003-03-042-3/+11
| | | | | | against priv->possible_types being NULL. svn path=/trunk/; revision=20128
* Add e-config-upgrade.hRodney Dawes2003-02-272-0/+5
| | | | | | | | 2003-02-27 Rodney Dawes <dobey@ximian.com> * Makefile.am (evolution_SOURCES): Add e-config-upgrade.h svn path=/trunk/; revision=20086
* make this more robust - only assume it's a folderlistitem node if the nameChris Toshok2003-02-272-4/+13
| | | | | | | | | | 2003-02-26 Chris Toshok <toshok@ximian.com> * e-folder-list.c (e_folder_list_parse_xml): make this more robust - only assume it's a folderlistitem node if the name of the node is "folder". svn path=/trunk/; revision=20079
* Change the type of load_http_images to INT rather than BOOL. Fixes bugJeffrey Stedfast2003-02-272-2/+8
| | | | | | | | | 2003-02-26 Jeffrey Stedfast <fejj@ximian.com> * e-config-upgrade.c: Change the type of load_http_images to INT rather than BOOL. Fixes bug #38767. svn path=/trunk/; revision=20073
* New routine to attempt to start each available startup wizard in priorityDan Winship2003-02-272-7/+46
| | | | | | | | | | * e-shell-startup-wizard.c (start_wizard): New routine to attempt to start each available startup wizard in priority order, and return once it has successfully started one. (Allows Connector, etc, to override the mailer startup wizard.) (make_corba_dialog_pages): Use it. svn path=/trunk/; revision=20072
* Added a key for /apps/evolution/version - seems the best place to put it.Not Zed2003-02-266-32/+1760
| | | | | | | | | | | | | | | | | | 2003-02-26 Not Zed <NotZed@Ximian.com> * apps_evolution_shell.schemas: Added a key for /apps/evolution/version - seems the best place to put it. This should not return any value if unset, so i'm not sure if this is the right mechanism ... * e-config-upgrade.c: Upgrade settings from earlier versions of evolution. * main.c (upgrade_from_1_0_if_needed): Removed. (main): Call e_config_upgrade before going into gmainloop. (main): Turn off the --force-upgrade option, since it doesn't work yet ... svn path=/trunk/; revision=20068
* Change this to let the Wizard provide an array of title/icon/controlDan Winship2003-02-256-617/+300
| | | | | | | | | | | | | | | | | | | | | | | | | * Evolution-Wizard.idl: Change this to let the Wizard provide an array of title/icon/control triplets, instead of just controls, so the shell doesn't need to know the name of each page a priori. * glade/evolution-startup-wizard.glade: Remove the mailer-specific pages, which are now inserted at run time based on info from the mailer. * evolution-wizard.c: Update for new idl. (evolution_wizard_new): Now takes no arguments. (evolution_wizard_add_page): New function to add page info to the wizard. * e-shell-startup-wizard.c: Various renamings to make this slightly less mailer-centric, though it still explicitly launches the mailer startup wizard. (make_corba_page): Replaces make_identity_page, make_receive_page, etc. Uses the new Wizard idl to generically create a page and insert it into the druid. (e_shell_startup_wizard_create): Update svn path=/trunk/; revision=20053
* remove some cvs merge cruftDan Winship2003-02-251-1/+0
| | | | svn path=/trunk/; revision=20050
* Use g_signal_connect_after to connect to the "prepare" signal to workDan Winship2003-02-253-8/+25
| | | | | | | | | | | | | | * e-shell-startup-wizard.c (connect_page, make_importer_page): Use g_signal_connect_after to connect to the "prepare" signal to work around a GnomeDruidPageStandard bug (b.g.o 81869) (e_shell_startup_wizard_create): Remove the "return TRUE" that was added here a while back to disable the startup wizard. * glade/evolution-startup-wizard.glade: Change "Next" and "Finish" in the text to "Forward" and "Apply" to match the gnome 2 druid buttons. svn path=/trunk/; revision=20049
* Doh, forgot to remove the e-gray-bar.h includeRodney Dawes2003-02-252-1/+4
| | | | | | | | 2003-02-24 Rodney Dawes <dobey@ximian.com> * e-shell-view.c: Doh, forgot to remove the e-gray-bar.h include svn path=/trunk/; revision=20038
* We don't need e-gray-bar.[ch] anymore Remove these unused files now We areRodney Dawes2003-02-256-249/+35
| | | | | | | | | | | | | | 2003-02-24 Rodney Dawes <dobey@ximian.com> * Makefile.am: We don't need e-gray-bar.[ch] anymore * e-gray-bar.[ch]: Remove these unused files now * e-shell-folder-title-bar.c: We are themeable now!!!! Use GtkArrows now instead of pixmaps Get rid of the hardcoded colors Add an expose_event to paint a flat box for the background * e-shell-view.c: Don't need e-gray-bar anymore svn path=/trunk/; revision=20036
* (impl_populateFolderContextMenu):Ettore Perazzoli2003-02-242-1/+7
| | | | | | | | Don't release_unref the corba_uih since bonobo_ui_component_set_container() takes ownership of the object without reffing it. svn path=/trunk/; revision=20032
* Update dialog to use stock response IDs.Ettore Perazzoli2003-02-242-169/+133
| | | | svn path=/trunk/; revision=20029
* fix the conf keys, currently unused.Not Zed2003-02-243-3/+9
| | | | | | | | | | 2003-02-20 Not Zed <NotZed@Ximian.com> * main.c (upgrade_from_1_0_if_needed): fix the conf keys, currently unused. * e-shell.c (save_settings_for_component): lower-case the config prefix. svn path=/trunk/; revision=20021
* Make libemiscwidgets, libefilterbar, and libetimezonedialog dynamicDan Winship2003-02-212-2/+8
| | | | | | | libraries, so they can be portably linked into the (shared library) components. (Part 1 of N.) svn path=/trunk/; revision=19971
* (shortcut_item_new): Get the name from the name,Ettore Perazzoli2003-02-192-1/+6
| | | | | | not the type. Fixes #37952, pointed out by Lonnie Borntreger. svn path=/trunk/; revision=19935
* plug memory leak - free path.Chris Toshok2003-02-172-0/+5
| | | | | | | | 2003-02-17 Chris Toshok <toshok@ximian.com> * e-shortcuts.c (load_shortcuts): plug memory leak - free path. svn path=/trunk/; revision=19922
* (segv_redirect): New, SIGSEGV signal handler.Ettore Perazzoli2003-02-142-0/+65
| | | | | | | (setup_segv_redirect): New function to set it up. (main): Call setup_segv_redirect(). svn path=/trunk/; revision=19907
* (DEFAULT_USER_PATH): Look into evolution/$BASE_VERSIONEttore Perazzoli2003-02-122-1/+6
| | | | | | instead of evolution-$BASE_VERSION. svn path=/trunk/; revision=19893
* Suggest people use 1.2.x instead of 1.0.x.Joe Shaw2003-02-122-1/+6
| | | | | | | | | 2003-02-11 Joe Shaw <joe@ximian.com> * main.c (show_development_warning): Suggest people use 1.2.x instead of 1.0.x. svn path=/trunk/; revision=19886
* fix length calculation. (create_folder_directory): remove alloca usage,Larry Ewing2003-02-092-3/+9
| | | | | | | | | 2003-02-09 Larry Ewing <lewing@ximian.com> * e-local-storage.c (remove_folder_directory): fix length calculation. (create_folder_directory): remove alloca usage, clears up crash. svn path=/trunk/; revision=19856
* add an activate handler that returns a response OK if the OK responseLarry Ewing2003-02-082-0/+25
| | | | | | | | | | 2003-02-07 Larry Ewing <lewing@ximian.com> * e-shell-folder-creation-dialog.c (folder_name_entry_activate_cb): add an activate handler that returns a response OK if the OK response would be active. svn path=/trunk/; revision=19852
* s/PACKAGE/GETTEXT_PACKAGE/ in gettext initDan Winship2003-02-072-2/+7
| | | | svn path=/trunk/; revision=19818
* use POINTER_STRING_BOOL for activate_shortcut.Michael Zucci2003-02-064-3/+13
| | | | | | | | | | | | | * e-shortcuts-view.c (class_init): use POINTER_STRING_BOOL for activate_shortcut. * e-shell-marshal.list: Added NONE,STRING,BOOL, and POINTER,STRING,BOOL, removed POINTER,STRING,INT * evolution-shell-view.c (evolution_shell_view_class_init): Use STRING_BOOL for the set_message signal to match rest of command. svn path=/trunk/; revision=19801
* Added NONE,STRING,STRING,STRINGNot Zed2003-02-063-1/+9
| | | | | | | | | | | | | 2003-02-06 Not Zed <NotZed@Ximian.com> * e-shell-marshal.list: Added NONE,STRING,STRING,STRING * evolution-shell-component.c (evolution_shell_component_class_init): Change the user_create_new_item marshaller to STRING_STRING_STRING to match the rest of the call. The 'new' button should work now. svn path=/trunk/; revision=19799
* We want to copy whats in the default user dir, not the default user dir.Not Zed2003-02-062-1/+6
| | | | | | | | | 2003-02-06 Not Zed <NotZed@Ximian.com> * e-setup.c (copy_default_stuff): We want to copy whats in the default user dir, not the default user dir. svn path=/trunk/; revision=19798
* Define EVOLUTION_IMAGES using $(imagesdir). Define EVOLUTION_GLADEDIRDan Winship2003-02-0616-38/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (INCLUDES): Define EVOLUTION_IMAGES using $(imagesdir). Define EVOLUTION_GLADEDIR using $(gladedir) (eshellincludedir): Define in terms of $(privincludedir) (evolution_LDFLAGS): Remove this. gmodule-2's LDFLAGS include the equivalent of -export-dynamic for us. (serverdir, etspecdir): Remove. Defined in configure.in now. * e-folder.c: #include <string.h> * e-corba-config-page.c: Likewise * e-shell-config.c: Likewise * e-shell-folder-creation-dialog.c: Likewise * e-shell-folder-title-bar.c: Likewise * e-shell-startup-wizard.c: Likewise * evolution-activity-client.c: Likewise. * evolution-shell-component-client.c: Likewise * evolution-shell-component-utils.c: Likewise * evolution-storage.c: Likewise * evolution-test-component.c: Likewise * e-shortcuts-view.c (destroy_group_cb): Remove unused variable * importer/Makefile.am (INCLUDES): Remove -I$(includedir). Define EVOLUTION_GLADEDIR using $(gladedir). (libevolution_importerincludedir): Define in terms of $(privincludedir) (gladedir): Removed. Defined in configure.in now. * glade/Makefile.am (gladedir): Likewise svn path=/trunk/; revision=19774
* s/BonoboXObject/BonoboObject/Dan Winship2003-02-063-8/+11
| | | | | | | * importer/evolution-intelligent-importer.c: s/BonoboXObject/BonoboObject/ svn path=/trunk/; revision=19766
* s/glade_gnome_init/glade_init/Dan Winship2003-02-063-2/+9
| | | | | | | | | * e-folder-list.c (e_folder_list_class_init): s/glade_gnome_init/glade_init/ * main.c (main): Likewise svn path=/trunk/; revision=19761
* re-enable. (prepare_importer_page): re-enable importer code.Not Zed2003-02-054-41/+34
| | | | | | | | | | | | | | | | | | | | | | | | 2003-02-05 Not Zed <NotZed@Ximian.com> * e-shell-startup-wizard.c (start_importers): re-enable. (prepare_importer_page): re-enable importer code. * e-shell-importer.c (druid_finish_button_change): removed, since its not such a hack to change anymore. Dunno how to get an icon on it tho, without a stock button. (show_import_wizard): Change the apply button to "Import" here. 2003-01-28 Not Zed <NotZed@Ximian.com> * e-local-storage.c (create_folder_directory): We can't use pointer arithmetic with g_path_get_*, so adjust code accordingly. 2003-01-16 Not Zed <NotZed@Ximian.com> * e-shell-startup-wizard.c (e_shell_startup_wizard_create): Hook onto finish instead of next on the last page. svn path=/trunk/; revision=19753
* updated for e scroll frame --> gtk scrolled windowRadek Doulik2003-02-055-51/+48
| | | | svn path=/trunk/; revision=19736
* No need for the @true command. ($(IDL_GENERATED_C)): Likewise.Ettore Perazzoli2003-01-292-10/+21
| | | | | | | | | | | | | | | * Makefile.am ($(SELECT_NAMES_IDL_GENERATED_C)): No need for the @true command. ($(IDL_GENERATED_C)): Likewise. (e-shell-marshal.h, e-shell-marshal.c): Use different names for the .tmp files so these can be generated in parallel. * importer/Makefile.am (GNOME_Evolution_Importer-impl.o): Remove unused rule. ($(IDL_GENERATED_C)): Remove useless @true command. (BUILT_SOURCES): Put the .h generated files in here as well. svn path=/trunk/; revision=19674
* (Evolution-impl.o): Removed unused rule.Ettore Perazzoli2003-01-292-2/+4
| | | | svn path=/trunk/; revision=19672
* Make this work with parallel make as well.Ettore Perazzoli2003-01-292-7/+24
| | | | svn path=/trunk/; revision=19671
* Use a little trick for the IDL compilation so thatEttore Perazzoli2003-01-292-7/+28
| | | | | | it works with parallel makes. svn path=/trunk/; revision=19670
* (e_shell_construct): UseEttore Perazzoli2003-01-292-2/+13
| | | | | | | | | | | | bonobo_activation_server_register() instead of bonobo_activation_register_active_server() again, since we want to be able to build against bonobo-activation 2.0 and the latter is 2.2-specific. (impl_finalize): Likewise, use bonobo_activation_active_server_unregister() instead of bonobo_activation_unregister_active_server(). svn path=/trunk/; revision=19668
* Set GTK_RESPONSE_OK as the default response.Ettore Perazzoli2003-01-2823-189/+227
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-importer.c (choose_importer_from_list): Set GTK_RESPONSE_OK as the default response. * Makefile.am (INCLUDES): Add -DGNOME_DISABLE_DEPRECATED, -DBONOBO_DISABLE_DEPRECATED. * e-shortcuts.c (update_shortcut_and_emit_signal): Use g_signal_emit() instead of gtk_signal_emit(). * e-shortcuts-view.c (destroy_group_cb): Port from GnomeMessageBox to GtkMessageDialog. * e-shell.c (get_icon_path_for_component_info): Use gnome_program_locate_file() instead of gnome_pixmap_file(). (impl_finalize): Use bonobo_activation_unregister_active_server() instead of bonobo_activation_active_server_register(). (e_shell_construct): Use bonobo_activation_register_active_server() instead of bonobo_activation_active_server_register(). * e-shell-view-menu.c (command_submit_bug): Use e_notice(). (launch_pilot_settings): Use g_find_program_in_path() instead of gnome_is_program_in_path(). (command_submit_bug): Likewise. * e-shell-utils.c (get_icon_path): Use g_file_test() instead of g_file_exists(). * e-shell-startup-wizard.c (prepare_importer_page): Port from GnomeMessageBox to GtkMessageDialog. * e-shell-shared-folder-picker-dialog.c (show_dialog): Update for GtkDialog. (progress_dialog_close_callback): Removed. (progress_dialog_clicked_callback): Removed. (progress_dialog_response_callback): New. (create_progress_dialog): Ported to GnomeDialog. * e-shell-offline-sync.c: Add member parent_window to struct SyncData. (e_shell_offline_sync_all_folders): Set it from the parent_window arg. (progress_dialog_close_callback): Removed. (progress_dialog_clicked_callback): Removed. (progress_dialog_response_callback): New. (setup_dialog): Create a GtkDialog instead of a GnomeDialog. (sync_folder): Updated for GtkDialog. * e-shell-offline-handler.c (dialog_handle_ok): Make it get a GtkDialog instead of a GnomeDialog. (dialog_handle_cancel): Likewise. (dialog_clicked_cb): Removed. (dialog_response_cb): New. (pop_up_confirmation_dialog): Connect the new dialog_response_cb() instead of the old dialog_clicked_cb(). Removed gnome_dialog_set_default() call. * e-shell-folder-creation-dialog.c (dialog_response_cb): Make first arg a GtkDialog, not a GnomeDialog. * e-shell-folder-commands.c (e_shell_command_delete_folder): Expect delete_dialog() to return a GtkResponseType. (delete_dialog): Ported to GtkMessageDialog; Return a GtkResponseType. * e-shell-config-default-folders.c (e_shell_config_default_folders_create_widget): Removed unused variable. * e-setup.c (check_evolution_directory): Remove Evolution directory installation message. (e_setup): Remove check for the Executive-Summary directory. * e-local-storage.c (create_folder_directory): Use g_file_test() instead of g_file_exists(). * evolution-shell-component-utils.c (e_pixmaps_update): Use g_build_filename() of g_concat_dir_and_file(). * e-folder-dnd-bridge.c (handle_data_received_path): Likewise. * e-local-folder.c (construct_loading_metadata): Likewise. (save_metadata): Likewise. * e-local-storage.c (remove_folder_directory): Likewise. (append_xfer_item_list): Likewise. * e-setup.c (check_dir_recur): Likewise. (e_shell_rm_dir): Likewise. (setup_bonobo_conf_private_directory): Likewise. * e-shell-folder-commands.c (folder_selection_dialog_folder_selected_callback): Likewise. (e_shell_command_rename_folder): Likewise. * e-shell-folder-creation-dialog.c (dialog_response_cb): Likewise. * e-shell-settings-dialog.c (load_pages): Likewise. * e-shell-utils.c (get_icon_path): Likewise. * e-shell.c (setup_local_storage): Likewise. (get_icon_path_for_component_info): Likewise. (e_shell_construct): Likewise. * main.c (main): Likewise. svn path=/trunk/; revision=19658
* (timeout_callback): Pass a the context'sEttore Perazzoli2003-01-282-1/+7
| | | | | | | language to pango_context_get_metrics() instead of NULL, so the heights are computed correctly. svn path=/trunk/; revision=19651
* #if 0'ed out for now, since it seems to cause trouble for localEttore Perazzoli2003-01-283-1/+22
| | | | | | | | | | | | * evolution-shell-component.c (owner_ping_callback): #if 0'ed out for now, since it seems to cause trouble for local components. (setup_owner_pinging): Likewise. * e-shell-user-creatable-items-handler.c (get_default_action_for_view): Return default_menu_item [instead of NULL] if there is no view displayed. [#32736] svn path=/trunk/; revision=19650
* (get_max_clipped_label_width): UseEttore Perazzoli2003-01-242-7/+7
| | | | | | | clipped_label->layout instead of creating a new PangoLayout; this way we respect the actual font being used. svn path=/trunk/; revision=19603
* Update for new args to e_clipped_label_new().Ettore Perazzoli2003-01-243-4/+13
| | | | | | | | | | | * e-shell-view.c (create_label_for_empty_page): Update for new args to e_clipped_label_new(). * e-shell-folder-title-bar.c (e_shell_folder_title_bar_construct): Make the title label bold and larger using the new args to e_clipped_label_new(). svn path=/trunk/; revision=19592
* [Port fix for #34129 from evolution-1-2-branch, unread count inEttore Perazzoli2003-01-242-14/+28
| | | | | | | | | | | | | | shortcut bar doesn't update properly.] * e-shortcuts.c (update_shortcuts_by_path): Use e_shell_parse_uri() so we handle default shortcuts properly as well. (update_shortcut_and_emit_signal): Use shortcut_item_update() once, and use the return value from it. [Thanks to Leon Zhang <leon.zhang@sun.com> for pointing out the brokenness of this code.] svn path=/trunk/; revision=19585
* Update copyright year.Ettore Perazzoli2003-01-242-2/+6
| | | | svn path=/trunk/; revision=19583
* removed *.oaf.in that were leftJeffrey Stedfast2003-01-231-51/+0
| | | | svn path=/trunk/; revision=19582
* Install the shell executable as evolution-$(BASE_VERSION) using anEttore Perazzoli2003-01-237-66/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am: Install the shell executable as evolution-$(BASE_VERSION) using an install-exec-local hack. Also put libeshell in $(privlibdir) instead of $(libdir). (eshellincludedir): Version using $(BASE_VERSION). (INCLUDES): Update for the new locations of things. (etspecdir): Likewise. * e-shell-view.c (e_shell_view_construct): Get evolution.xml from EVOLUTION_UIDIR. * importer/Makefile.am: Install libevolution-importer in $(privlibdir) instead of $(libdir). (INCLUDES): Updated for the new versioned paths. Define EVOLUTION_UIDIR. (libevolution_importerincludedir): Version using $(BASE_VERSION). (gladedir): Likewise. * glade/Makefile.am (gladedir): Version using $(BASE_VERSION). * e-setup.c (DEFAULT_USER_PATH): New #define. (check_evolution_directory): Use it. (copy_default_stuff): Likewise. Also, remove old shortcuts.xml removal cruft. svn path=/trunk/; revision=19565
* pass pango_context_get_language (context) to pango_context_get_metrics.Chris Toshok2003-01-182-1/+7
| | | | | | | | | | 2003-01-17 Chris Toshok <toshok@ximian.com> * e-shell-settings-dialog.c (set_dialog_size): pass pango_context_get_language (context) to pango_context_get_metrics. svn path=/trunk/; revision=19506
* Make dialog New/Cancel/OK to match HIG.Ettore Perazzoli2003-01-154-13/+28
| | | | | | | | | | | | | | | | | | * e-shell-folder-selection-dialog.c (e_shell_folder_selection_dialog_construct): Make dialog New/Cancel/OK to match HIG. * glade/e-shell-folder-creation-dialog.glade: Swap Cancel/OK buttons to match HIG. * e-shell-importer.c (choose_importer_from_list): Make dialog Cancel/OK to match HIG. * e-shell-folder-selection-dialog.c (e_shell_folder_selection_dialog_construct): Make dialog Cancel/OK to match HIG. svn path=/trunk/; revision=19465
* Do not #include <e-bonobo-widget.h>. (e_set_dialog_parent): Remove theEttore Perazzoli2003-01-152-1/+4
| | | | | | | | | | | | | | * e-dialog-utils.c: Do not #include <e-bonobo-widget.h>. (e_set_dialog_parent): Remove the BonoboWidget handling stuff (it doesn't really work anyways). * e-shell-view.c: Do not #include "e-bonobo-widget.h". * Makefile.am (widgetsinclude_HEADERS): Ooops, remove e-bonobo-widget.h. (libemiscwidgets_a_SOURCES): Likewise, remove e-bonobo-widget.c. svn path=/trunk/; revision=19460
* (EXTRA_DIST): Add $(schema_DATA) here.Ettore Perazzoli2003-01-153-2/+8
| | | | svn path=/trunk/; revision=19456
* Switch to using GtkPaned instead of EPaned for GTK2Rodney Dawes2003-01-152-20/+23
| | | | svn path=/trunk/; revision=19444
* s/BonoboXObject/BonoboObject/ (for BONOBO_DISABLE_DEPRECATED)Dan Winship2003-01-1429-152/+148
| | | | | | * s/BonoboXObject/BonoboObject/ (for BONOBO_DISABLE_DEPRECATED) svn path=/trunk/; revision=19427
* Don't duplicate the shell object here before passing toEttore Perazzoli2003-01-115-16/+24
| | | | | | | | | | | | | | | | | | | * evolution-shell-component.c (impl_setOwner): Don't duplicate the shell object here before passing to evolution_shell_client_new(). * evolution-shell-client.c (evolution_shell_client_construct): Dupliate the @corba_shell before storing into the EvolutionShellClientPrivate struct. * e-shell-config-default-folders.c (e_shell_config_default_folders_create_widget): Do not duplicate the shell's CORBA objref. * e-shell-config-autocompletion.c (e_shell_config_autocompletion_create_widget): Do not duplicate the shell's CORBA objref. svn path=/trunk/; revision=19415
* Make this work again.Dan Winship2003-01-112-4/+8
| | | | | | * e-storage-set-view.c (popup_folder_menu): Make this work again. svn path=/trunk/; revision=19414
* (e_shell_view_save_defaults): Save the expansionEttore Perazzoli2003-01-112-20/+22
| | | | | | | state of the EStorageSetView. (setup_defaults): Load the expansion state. svn path=/trunk/; revision=19412
* Make the view save its settings as the default ones if it's the last one.Ettore Perazzoli2003-01-113-1/+15
| | | | | | | | | | * e-shell.c (e_shell_request_close_view): Make the view save its settings as the default ones if it's the last one. * e-shell-view-menu.c (command_quit): Make this view save its settings as the defaults before quitting. svn path=/trunk/; revision=19410
* Generate the URI list from the popt context fetched from the GnomeProgramEttore Perazzoli2003-01-113-25/+44
| | | | | | | | | | | * main.c (main): Generate the URI list from the popt context fetched from the GnomeProgram object. * e-shell-view.c (setup_defaults): Removed @setup_default_uri arg. Don't load any URI here. (e_shell_view_construct): Open the URI here instead. svn path=/trunk/; revision=19409
* (parse_default_uri): Remove bogus is_default check.Ettore Perazzoli2003-01-112-2/+5
| | | | svn path=/trunk/; revision=19406
* (set_default_folder_physical_uri_from_path): NewEttore Perazzoli2003-01-112-21/+53
| | | | | | | | | function. (e_setup_check_config): Call it for each of the *_path keys. Do not set the default for *_path keys as those come from the GConf schema anyways. svn path=/trunk/; revision=19404
* Set defaults for /apps/evolution/shell/default_folders/... .Ettore Perazzoli2003-01-113-5/+14
| | | | | | | | | | | * apps_evolution_shell.schemas: Set defaults for /apps/evolution/shell/default_folders/... . * e-shortcuts-view.c (pop_up_right_click_menu_for_group): Destroy the popup_menu with gtk_widget_destroy() instead of gtk_widget_unref(). svn path=/trunk/; revision=19403
* remove cast to GTK_OBJECT, it isn't, nor needed.Not Zed2003-01-102-1/+6
| | | | | | | | | 2003-01-10 Not Zed <NotZed@Ximian.com> * evolution-config-control.c (impl_apply): remove cast to GTK_OBJECT, it isn't, nor needed. svn path=/trunk/; revision=19394
* use pango_layout_get_pixel_size here instead of pango_layout_get_width,Chris Toshok2003-01-102-1/+10
| | | | | | | | | | | 2003-01-09 Chris Toshok <toshok@ximian.com> * e-shell-settings-dialog.c (set_dialog_size): use pango_layout_get_pixel_size here instead of pango_layout_get_width, which returns 0 (unless it's been set by the user before, I believe). svn path=/trunk/; revision=19382
* Properly reset activity_interface to NULL.Ettore Perazzoli2003-01-104-6/+21
| | | | | | | | | | | | * evolution-shell-client.c (impl_dispose): Properly reset activity_interface to NULL. (evolution_shell_client_construct): Ref the shell object here. * e-shell.c (view_weak_notify): Ref the shell since it's being passed to notify_no_views_left_idle_cb as the data. (notify_no_views_left_idle_cb): Only unref the shell here. svn path=/trunk/; revision=19381
* dont unref the pango context, get_context() doesn't create a ref.Not Zed2003-01-092-1/+5
| | | | | | | | | 2003-01-08 Not Zed <NotZed@Ximian.com> * e-shell-settings-dialog.c (set_dialog_size): dont unref the pango context, get_context() doesn't create a ref. svn path=/trunk/; revision=19303
* Images are now in $(datadir)/evolution/images instead ofEttore Perazzoli2003-01-093-3/+11
| | | | | | | | | | * Makefile.am: Images are now in $(datadir)/evolution/images instead of $(datadir)/images/evolution. * e-folder-list.c (e_folder_list_class_init): Remove "EFolderList::" prefix from the properties. svn path=/trunk/; revision=19292
* (evolution_LDFLAGS): -export-dynamic so customEttore Perazzoli2003-01-093-1/+9
| | | | | | widgets in libglade work. svn path=/trunk/; revision=19283
* setup gettextDan Winship2003-01-082-0/+8
| | | | | | * main.c (main): setup gettext svn path=/trunk/; revision=19264
* dont double-free storage_lname.Not Zed2003-01-072-1/+5
| | | | | | | | | 2003-01-06 Not Zed <NotZed@Ximian.com> * evolution-folder-selector-button.c (set_folder): dont double-free storage_lname. svn path=/trunk/; revision=19251
* remove idldir definition. (It's defined in configure.in now)Dan Winship2003-01-063-3/+7
| | | | | | | * Makefile.am: remove idldir definition. (It's defined in configure.in now) svn path=/trunk/; revision=19242
* [With this commit, the shell compiles without deprecatedEttore Perazzoli2002-12-2048-897/+1225
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GLib/GTK+ functions, except for a couple of places were we use GtkCList.] * Makefile.am (INCLUDES): Add `-DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED'. * evolution-test-component.c (create_new_folder_selector): No gtk_window_set_policy(). * main.c (quit_box_new): gtk_window_set_resizable() instead of gtk_window_set_policy(). (view_map_callback): g_signal_handlers_disconnect_by_func() instead of gtk_signal_disconnect_by_func(). (main): No need to push the GdkRGB visual/cmap anymore. (new_view_created_callback): Likewise. * e-task-widget.c: Renamed member pixmap of ETaskWidgetPrivate to `image'. (init): Updated accordingly. (e_task_widget_construct): Use GtkImage, not GtkPixmap. * e-storage.c (class_init): Converted from gtk_signal_new() to g_signal_new(). * e-storage-set.c (class_init): Converted from gtk_signal_new() to g_signal_new(). * e-storage-set-view.c (setup_folder_properties_items_if_corba_storage_clicked): g_string_append_printf() instead of g_string_sprintfa(). (class_init): Converted from gtk_signal_new() to g_signal_new(). (setup_folder_changed_callbacks): Use e_signal_connect_while_alive() and e_signal_connect_full_while_alive(). * e-splash.c (e_splash_construct): gtk_window_set_resizable() instead of gtk_window_set_policy(). * e-shortcuts.c: Do not #include e-unicode.h. (shortcut_item_update): Use g_path_get_basename() instead of g_basename(). (e_shortcuts_add_default_shortcuts): No need to de-utfize strings. (e_shortcuts_add_default_group): Same here. * e-shortcuts-view.c: Do not #include <e-unicode.h>. (class_init): Converted from gtk_signal_new() to g_signal_new(). (destroy_group_cb): No need to convert the text from UTF8. * e-shell.c (impl_dispose): g_signal_handlers_disconnect_by_func() instead of gtk_signal_disconnect_by_func(). (class_init): Use g_signal_new() instead of gtk_signal_new(). * e-shell-view.c: Do not #include e-unicode.h. Renamed member offline_toggle_pixmap to offline_toggle_image in EShellViewPrivate. (update_folder_title_bar): No need to de-UTF8-ize the title. (cleanup_delayed_selection): g_signal_handlers_disconnect_by_func() instead of gtk_signal_disconnect_by_func(). (ui_engine_add_hint_callback): gtk_label_set_text(), not gtk_label_set(). (class_init): Use g_signal_new() instead of gtk_signal_new(). (update_for_current_uri): No need to convert the title from UTF8. (setup_offline_toggle): Changed to set up a GtkImage, not a GtkPixmap. (update_offline_toggle_status): Accordingly (gtk_image* instead of gtk_pixmap*). (set_current_notebook_page): gtk_notebook_set_current_page(), not gtk_notebook_set_page(). (get_storage_set_path_from_uri): g_ascii_strncasecmp() instead of g_strncasecmp(). (folder_bar_popup_map_callback): Use e_signal_connect_while_alive() instead of gtk_signal_connect_while_alive(). (e_shell_view_construct): Likewise. (display_uri): g_signal_connect_after() instead of gtk_signal_connect_full(). (update_for_current_uri): g_signal_handlers_{block,unblock}_by_func() instead of gtk_signal_handler_{block,unblock}_by_func(). * e-shell-view-menu.c (command_about_box): gtk_window_set_resizable() instead of gtk_window_set_policy(). * e-shell-utils.c (get_mini_name): g_path_get_basename() instead of g_basename(). * e-shell-user-creatable-items-handler.c (append_xml_for_menu_item): g_string_append_printf() instead of g_string_sprintfa(). (create_menu_xml): Likewise. * e-shell-shared-folder-picker-dialog.c: Do not #include e-unicode.h. (progress_bar_timeout_callback): Expect a GtkProgressBar data and just use gtk_progress_bar_pulse(). (create_progress_dialog): gtk_window_set_resizable() instead of gtk_window_set_policy(). No gtk_progress_set_activity_mode(). (setup_server_option_menu): Just use gtk_menu_item_new_with_label() instead of e_utf8_gtk_menu_item_new_with_label(). * e-shell-settings-dialog.c (set_dialog_size): Ported to Pango. * e-shell-offline-sync.c (impl_SyncFolderProgressListener_updateProgress): gtk_progress_set_fraction() instead of gtk_progress_bar_set_percentage(). (sync_folder): Likewise. (setup_dialog): gtk_window_set_resizable() instead of gtk_window_set_policy(). (sync_folder): No gtk_progress_set_activity_mode(). * e-shell-offline-handler.c: #undef {G,GTK}_DISABLE_DEPRECATED here for now (need to port from GtkCList). (class_init): Use g_signal_new() * e-shell-importer.c: #undef {G,GTK}_DISABLE_DEPRECATED here for now (need to port from GtkCList). * e-shell-folder-title-bar.c (create_image_widget_from_xpm): Renamed from create_pixmap_widget_from_xpm(); handle GtkImage instead of GtkPixmap. (new_empty_image_widget): Renamed from new_empty_pixmap_widget(); return a GtkImage instead of a GtkPixmap. (add_navigation_buttons): Updated accordingly; so use GtkImages instead of GtkPixmaps. (e_shell_folder_title_bar_construct): Likewise. (e_shell_folder_title_bar_set_icon): Use gtk_image_* instead of gtk_pixmap_* on the image widgets. (class_init): Converted to use g_signal_new() instead of gtk_signal_new(). (e_shell_folder_title_bar_new): No need for pushing the GdkRGB visual/cmap anymore. * e-shell-folder-selection-dialog.c (check_folder_type_valid): Just use strcmp instead of strcasecmp(). (class_init): g_signal_new() instead of gtk_signal_new(). (e_shell_folder_selection_dialog_construct): Removed call to gtk_window_set_policy(). * e-shell-folder-creation-dialog.c (type_with_display_name_compare_func): Changed to use g_utf8_casefold(). * e-shell-folder-commands.c: Do not #include e-unicode.h. (e_shell_command_rename_folder): g_path_get_dirname() instead of g_dirname(). (folder_selection_dialog_folder_selected_callback): g_path_get_basename() instead of g_basename(). (rename_cb): Likewise. (delete_dialog): Do not convert from UTF8 for display purposes. (e_shell_command_rename_folder): Likewise. * e-shell-about-box.c (timeout_callback): Ported to Pango and use gdk_window_invalidate_rect() instead of gtk_widget_draw(). * e-setup.c (check_evolution_directory): Use gtk_window_set_resizable() instead of gtk_window_set_policy(). * e-local-storage.c: Do not include e-unicode.h. (create_folder): Use g_path_get_basename() instead of g_basename(). (create_folder_directory): Likewise. (remove_folder_directory): Likewise. (append_xfer_item_list): Likewise. * e-local-folder.c (construct_loading_metadata): Use g_path_get_basename() instead of g_basename(). * e-folder-dnd-bridge.c (handle_evolution_path_drag_motion): Use g_path_get_basename() instead of g_basename(). * e-corba-storage-registry.c: G_STRUCT_OFFSET instead of GTK_STRUCT_OFFSET. * e-corba-shortcuts.c: G_STRUCT_OFFSET instead of GTK_STRUCT_OFFSET. * e-component-registry.c (sleep_with_g_main_loop_timeout_callback): g_main_loop_* instead of g_main_*. (sleep_with_g_main_loop): Likewise. * e-activity-handler.c: G_STRUCT_OFFSET instead of GTK_STRUCT_OFFSET. * evolution-wizard.c (evolution_wizard_class_init): g_signal_new() instead of gtk_signal_new(). * evolution-storage-listener.c (class_init): g_signal_new() instead of gtk_signal_new(). * evolution-shell-view.c (class_init): g_signal_new() instead of gtk_signal_new(). * evolution-shell-component-dnd.c: G_STRUCT_OFFSET instead of GTK_STRUCT_OFFSET. * evolution-shell-component.c: G_STRUCT_OFFSET instead of GTK_STRUCT_OFFSET. * evolution-session.c: G_STRUCT_OFFSET instead of GTK_STRUCT_OFFSET. * evolution-folder-selector-button.c: Do not include e-unicode.h. (set_folder): No need to convert from UTF8 to locale encoding anymore. Removed unused variable. * evolution-config-control.c (class_init): Use g_signal_new() instead of gtk_signal_new(). * evolution-activity-client.c (class_init): Use g_signal_new() instead of gtk_signal_new(). * e-folder-list.c: Do not include e-unicode.h. Use E_MAKE_TYPE(). (e_folder_list_get_type): Removed explicit implementation of this. (e_folder_list_set_arg): Removed. (e_folder_list_get_arg): Removed. (e_folder_list_set_property): New. (e_folder_list_get_property): New. (e_folder_list_destroy): Removed. (e_folder_list_dispose): New. (e_folder_list_class_init): Updated accordingly. * e-folder.c (impl_save_info): Use G_OBJECT_TYPE_NAME() instead of gtk_type_name(). (impl_load_info): Likewise. (impl_remove): Likewise. (class_init): Use g_signal_new() instead of gtk_signal_new(). svn path=/trunk/; revision=19170
* Don't #include "e-util/e-html-utils.h" as we don't use it.Jeffrey Stedfast2002-12-172-1/+5
| | | | | | | | | 2002-12-16 Jeffrey Stedfast <fejj@ximian.com> * e-shell-importer.c: Don't #include "e-util/e-html-utils.h" as we don't use it. svn path=/trunk/; revision=19131
* [ fixes bug #35394 ]Chris Toshok2002-12-142-3/+16
| | | | | | | | | | | | 2002-12-13 Chris Toshok <toshok@ximian.com> [ fixes bug #35394 ] * e-shell-shared-folder-picker-dialog.c (setup_name_selector): return the SelectNames corba interface too. (show_dialog): unref the corba interface when closing the dialog. svn path=/trunk/; revision=19111
* GtkTreeStore wrapper. not built yetMike Kestner2002-12-122-0/+1452
| | | | | | | | 2002-12-11 Mike Kestner <mkestner@ximian.com> * e-storage-set-store.[ch] : GtkTreeStore wrapper. not built yet svn path=/trunk/; revision=19101
* use "contacts", "contacts/ldap" as the accepted contacts types, so it'llChris Toshok2002-12-062-1/+7
| | | | | | | | | | 2002-12-05 Chris Toshok <toshok@ximian.com> * e-shell-config-default-folders.c: use "contacts", "contacts/ldap" as the accepted contacts types, so it'll allow both normal and ldap contact folders. svn path=/trunk/; revision=19037
* (component_free): Only invokeEttore Perazzoli2002-12-052-2/+10
| | | | | | wait_for_corba_object_to_die on components that are out-of-proc. svn path=/trunk/; revision=19006
* RevertedRodrigo Moya2002-12-022-5/+0
| | | | svn path=/trunk/; revision=18983
* Included gtkmessagedialog.h.Rodrigo Moya2002-12-022-0/+5
| | | | | | | | 2002-12-02 Rodrigo Moya <rodrigo@ximian.com> * evolution-shell-component-utils.c: Included gtkmessagedialog.h. svn path=/trunk/; revision=18982
* changed to use a gtkdialog instead of a gnome one.Not Zed2002-12-0260-256/+285
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-27 Not Zed <NotZed@Ximian.com> * main.c (show_development_warning): changed to use a gtkdialog instead of a gnome one. (warning_dialog_response_callback): clicked->response. * e-shell-folder-selection-dialog.c: Include gtk/gtkstock.h * e-shell-folder-creation-dialog.c: include gnome-dialog.h (dialog_response_cb): gtk_entry_get_text now returns const. Dont free result. * e-setup.c: include gnome-messagebox.h * *.c: (re)run fix.sh over all, for e_notice changes & pick up some deprecated functions. * e-shell-shared-folder-picker-dialog.c (shared_folder_discovery_callback): reformat e_notice call for script. * e-shell-offline-sync.c (impl_SyncFolderProgressListener_reportFailure): Fix e_notice call, we weren't passing type in. * e-shell-folder-commands.c (xfer_result_callback): changed around slightly to save some processing & allow a script to run. (e_shell_command_rename_folder): reformat e_notice call to help script. Include gnome-messagebox.h svn path=/trunk/; revision=18977
* e_get_language_list now returns language codes that actually work withDan Winship2002-11-273-9/+11
| | | | | | | | | | | * e-shell-settings-dialog.c (page_new): e_get_language_list now returns language codes that actually work with oaf, making the _()s here redundant. * e-component-info.c (get_i18n_value): Remove code to turn "fr_FR" into "fr", since e_get_language_list will return both now. svn path=/trunk/; revision=18928
* Fix <key> -> <applyto> typo.Ettore Perazzoli2002-11-262-2/+6
| | | | svn path=/trunk/; revision=18915
* (e_shell_offline_sync_all_folders):Ettore Perazzoli2002-11-262-39/+33
| | | | | | | | | | | | | | | | | Filled in, use GConf. (cleanup): Re-enabled again. (sync_folder): Likewise. (progress_dialog_close_callback): Likewise. (progress_dialog_clicked_callback): Likewise. (setup_dialog): Likewise. (setup_progress_listener): Likewise. (impl_SyncFolderProgressListener_reportFailure): Likewise. (impl_SyncFolderProgressListener_reportSuccess): Likewise. (impl_SyncFolderProgressListener_updateProgress): Likewise. (progress_listener_servant_free): Likewise. (progress_listener_servant_new): Likewise. svn path=/trunk/; revision=18914
* Updated to pass a GSList to e_storage_set_view_set_checkboxes_list()Ettore Perazzoli2002-11-266-80/+72
| | | | | | | | | | | | | | | | | | | | | | | | * evolution-storage-set-view.c (impl_StorageSetView__set_checkedFolders): Updated to pass a GSList to e_storage_set_view_set_checkboxes_list() [instead of a GList]. (impl_StorageSetView__get_checkedFolders): Likewise with the return value from e_storage_set_view_get_checkboxes_list(). * e-shell-config-offline.c (config_control_apply_callback): Filled in, using GConf. (init_storage_set_view_status_from_config): Likewise. * e-storage-set-view.c (e_storage_set_view_get_checkboxes_list): Return a GSList instead of a GList. (essv_add_to_list): Update for the GSList. (e_storage_set_view_set_checkboxes_list): Get a GSList instead of a GList. * apps_evolution_shell.schemas: Added /schemas/apps/evolution/shell/offline/folder_paths. svn path=/trunk/; revision=18912
* (idle_cb): Set displayed_any in the case when we areEttore Perazzoli2002-11-212-1/+10
| | | | | | | | calling e_shell_create_view(). Also initialize displayed_any to FALSE earlier so we dont' end up opening two views at startup by default. svn path=/trunk/; revision=18870
* (impl_dispose): Save theEttore Perazzoli2002-11-212-2/+7
| | | | | | | expansion state for the EStorageSetView here. (impl_finalize): Instead of here. svn path=/trunk/; revision=18865
* use e_shell_ marshallers, and make sure STRING parameters map to *_STRING*Chris Toshok2002-11-2021-61/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-20 Chris Toshok <toshok@ximian.com> * e-folder-list.c (e_folder_list_class_init): use e_shell_ marshallers, and make sure STRING parameters map to *_STRING* marshallers. * evolution-wizard.c (evolution_wizard_class_init): same. * evolution-storage.c (class_init): same. * evolution-storage-set-view-listener.c (class_init): same. * evolution-storage-listener.c (class_init): same. * evolution-shell-view.c (class_init): same. * evolution-session.c (class_init): same. * evolution-folder-selector-button.c (class_init): same. * evolution-config-control.c (class_init): same. * evolution-activity-client.c (class_init): same. * e-storage-set.c (class_init): same. * e-shortcuts.c (class_init): same. * e-shortcuts-view.c (class_init): same. * e-shell.c (class_init): same. * e-shell-view.c (class_init): same. * e-shell-offline-handler.c (class_init): same. * e-shell-folder-title-bar.c (class_init): same. * e-shell-folder-selection-dialog.c (class_init): same. * e-folder.c (class_init): same. * e-shell-marshal.list: add all the STRING marshallers. svn path=/trunk/; revision=18857
* gnome message box -> gtk message dialog. (prepare_intelligent_page): FixNot Zed2002-11-202-5/+13
| | | | | | | | | | | 2002-11-20 Not Zed <NotZed@Ximian.com> * e-shell-importer.c (prepare_intelligent_page): gnome message box -> gtk message dialog. (prepare_intelligent_page): Fix the signature on this. This could NEVER have worked. svn path=/trunk/; revision=18856
* Disabled for now.Ettore Perazzoli2002-11-2015-468/+659
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * main.c (upgrade_from_1_0_if_needed): Disabled for now. * e-shell-startup-wizard.c: Removed member config_listener from struct SWData. (e_shell_startup_wizard_create): Updated accordingly, just use GConf, checking the /apps/evolution/mail/account-list key. (finish_func): Use GConf. * e-shell-config-default-folders.c: Removed member config_listener in struct EvolutionDefaultFolderConfig. (e_shell_config_default_folders_create_widget): Do not initialize here. GConfified the paths. (config_control_destroy_notify): No unref of the config_listener anymore. (config_control_apply_cb): Use GConf. (setup_folder_selector): Likewise. * e-shell-config-autocompletion.c: Removed member config_listener from EvolutionAutocompletionConfig. (config_control_destroy_notify): Do not unref. (config_control_apply_callback): Use a GConfClient. * e-folder-list.c (e_folder_list_init): Add missing cast. * main.c (show_development_warning): Use GConf. * e-setup.c (e_setup_check_config): Removed arg @listener. GConfified. * e-shell-view.c (e_shell_view_save_defaults): New. (e_shell_view_save_settings): Removed. (e_shell_view_load_settings): Removed. (setup_defaults): New helper function. (e_shell_view_construct): New arg @uri. (e_shell_view_new): New arg @uri. * e-shell.c: Removed member config_listener in struct EShellPrivate. (impl_dispose): Do not unref. (init): Do not initialize. (get_config_start_offline): New helper function. (e_shell_construct): Use this to get the startup mode in case E_SHELL_STARTUP_LINE_MODE_CONFIG. (save_misc_settings): Changed to use GConfClient instead of EConfigListener. (e_shell_create_view_from_settings): Removed. (e_shell_restore_from_settings): Removed. (e_shell_get_config_listener): Removed. (e_shell_disconnect_db): Removed. (parse_default_uri): Use GConf. * main.c (idle_cb): Simplified the logic here. Always assume that the view will be created with the default folder open by just using e_shell_create_view(). svn path=/trunk/; revision=18844
* Pass type to bonobo_widget::set_property.Not Zed2002-11-192-1/+6
| | | | | | | | | 2002-11-19 Not Zed <NotZed@Ximian.com> * e-shell-shared-folder-picker-dialog.c (show_dialog): Pass type to bonobo_widget::set_property. svn path=/trunk/; revision=18838
* re-enable importer wizard.Not Zed2002-11-182-1/+3
| | | | | | | | 2002-11-18 Not Zed <NotZed@Ximian.com> * e-shell-view-menu.c (file_verbs[]): re-enable importer wizard. svn path=/trunk/; revision=18823
* from clicked_cb. (start_import): gtkdialogise.Not Zed2002-11-1812-169/+222
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-18 Not Zed <NotZed@Ximian.com> * importer/importer.c (dialog_response_cb): from clicked_cb. (start_import): gtkdialogise. * e-shell-importer.c: removed redundant header. (create_html): Removed utf8 from locale stuff. (get_name_from_component_info): oaf->bonobo activation. (get_iid_for_filetype): " (create_plugin_menu): Likewise, and change oafiid to bonoboiid (get_intelligent_importers): " (prepare_intelligent_page): " (show_import_wizard): add null domain to glade_xml_new. (choose_importer_from_list): gtkdialogise. (dialog_response_cb): changed from dialog_clicked_cb. (start_import): gtkdialogise. (show_error): use gtk message box. (error_response_cb): callback to close error box. (show_import_wizard): gnome_druid_page_start/finish -> gnome_druid_page_edge. (prepare_file_page): (filename_changed): set HELP button insensitive. (create_plugin_menu): casts for warnings and fix a typo, set_data->set_data_full. (import_druid_finish): folder_selection_dialog api change(?), allow create. (dialog_weak_notify): renamed from close_dialog(). (show_import_wizard): remove gnome_dialog_close_hides -> its a gtkwindow anyway(!). * Makefile.am (evolution_LDADD): Added back importer. (evolution_SOURCES): Added back importer. * importer/intelligent.c (get_intelligent_importers): bonobo-activationised. (create_gui): gtkdialogise. (intelligent_importer_init): gtkdialogise. (create_gui): remove gnome_util_user_home(). (intelligent_importer_init): " * importer/evolution-importer.c (finalise): from destroy. (evolution_importer_new): type_new->object_new. * importer/evolution-importer-listener.c (finalise): from destroy. (evolution_importer_listener_new): type_new->object_new. * importer/evolution-importer-client.c (destroy): removed, as it wasn't used anyway. (evolution_importer_client_new): g_object_new. (finalise): added, tho doesn't do anythign yet, should it unref the client->objref? This whole class doesn't seem much use. * importer/evolution-importer-client.h: removed bonobo-object-client, change to g_object. * importer/*.[ch]: ran fix script over everything. * importer/evolution-intelligent-importer.c: gobjectise. (finalise): renamed from destroy. (evolution_intelligent_importer_new): gtk_type_new -> g_object_new svn path=/trunk/; revision=18821
* run libglade-convert.Chris Toshok2002-11-182-129/+126
| | | | | | | | 2002-11-18 Chris Toshok <toshok@ximian.com> * importer/import.glade: run libglade-convert. svn path=/trunk/; revision=18818
* force the scrolled table to be shown, apparently a bug in libglade2.Chris Toshok2002-11-173-0/+16
| | | | | | | | | | | | 2002-11-16 Chris Toshok <toshok@ximian.com> * e-folder-list.c (e_folder_list_init): force the scrolled table to be shown, apparently a bug in libglade2. * e-shell-config-default-folders.c (setup_folder_selector): same, but with the evolution-folder-selector-button's. svn path=/trunk/; revision=18810
* init the corba exception before loading each config page, so previousChris Toshok2002-11-172-3/+15
| | | | | | | | | | 2002-11-16 Chris Toshok <toshok@ximian.com> * e-shell-settings-dialog.c (load_pages): init the corba exception before loading each config page, so previous errors don't make subsequence pages to fail to load. svn path=/trunk/; revision=18809
* Update.Ettore Perazzoli2002-11-161-2/+2
| | | | svn path=/trunk/; revision=18793
* Added rule to generate GNOME_Evolution_Shell.server.in fromEttore Perazzoli2002-11-164-5/+17
| | | | | | | | | | | | * Makefile.am: Added rule to generate GNOME_Evolution_Shell.server.in from GNOME_Evolution_Shell.server.in.in, substituting @BINDIR@. * GNOME_Evolution_Shell.server.in.in: Renamed from GNOME_Evolution_Shell.server.in. Prepend @BINDIR@ to the location of the executable. svn path=/trunk/; revision=18792
* (impl_finalize): Fix typo; p -> sp.Ettore Perazzoli2002-11-162-3/+6
| | | | svn path=/trunk/; revision=18783
* No need to check for priv being NULL here anymore.Ettore Perazzoli2002-11-163-21/+17
| | | | | | | | | | | | | | * e-activity-handler.c (impl_operationStarted): No need to check for priv being NULL here anymore. (impl_operationProgressing): Likewise. (impl_operationFinished): Likewise. (impl_requestDialog): Likewise. * evolution-folder-selector-button.c (clicked): Use g_object_add_weak_pointer() on the parent_window instead of using GTK_OBJECT_DESTROYED(). svn path=/trunk/; revision=18782
* (e_shell_startup_wizard_create): ForEttore Perazzoli2002-11-162-1/+6
| | | | | | now, always return TRUE. svn path=/trunk/; revision=18781
* (class_init): Pass the right parentEttore Perazzoli2002-11-152-1/+6
| | | | | | type to gtk_type_class(). svn path=/trunk/; revision=18770
* e-shell-user-creatable-items-handler.c, Changed into a GObject subclassEttore Perazzoli2002-11-156-14/+28
| | | | | | | | | | | | | | | | | | * e-shell-user-creatable-items-handler.c, * e-shell-user-creatable-items-handler.c: Changed into a GObject subclass instead of a GtkObject subclass. * e-component-registry.c, * e-component-registri.h: Changed into a GObject subclass instead of a GtkObject subclass. * evolution-shell-view.c (impl_ShellView_set_message): Remove bogus GTK_OBJECT() cast in call to g_signal_emit(). (impl_ShellView_unset_message): Likewise. (impl_ShellView_change_current_view): Likewise. (impl_ShellView_set_title): Likewise. svn path=/trunk/; revision=18769
* Ref/sink the GtkTooltips.Ettore Perazzoli2002-11-153-1/+10
| | | | | | | | | * e-shell-view.c (init): Ref/sink the GtkTooltips. * e-uri-schema-registry.c (schema_handler_free): g_object_unref() on the component instead of bonobo_object_unref(). svn path=/trunk/; revision=18765
* Use bonobo_main_quit() instead of gtk_main_quit(). (shell_weak_notify):Ettore Perazzoli2002-11-154-12/+42
| | | | | | | | | | | | | | | | | * main.c (no_views_left_cb): Use bonobo_main_quit() instead of gtk_main_quit(). (shell_weak_notify): Likewise. (idle_cb): Likewise. * e-shell.c (notify_no_views_left_idle_cb): New idle function to emit the "no_views_left" signal. (view_weak_notify): Put it on the idle loop instead of firing the signal here. * e-task-widget.c (e_task_widget_construct): Ref/sink the GtkTooltips object. svn path=/trunk/; revision=18763
* (save_settings_for_views): Removed.Ettore Perazzoli2002-11-152-30/+6
| | | | | | (e_shell_save_settings): Do not call it here. svn path=/trunk/; revision=18762
* (impl_dispose): NULL priv->ui_componentEttore Perazzoli2002-11-152-1/+8
| | | | | | after unreffing it. svn path=/trunk/; revision=18760
* Avoid freeing the servant for now, it looks like something is messed upEttore Perazzoli2002-11-157-11/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-shell-component-client.c (destroy_listener_interface): Avoid freeing the servant for now, it looks like something is messed up and this causes a crash on exit. * evolution-storage-set-view-listener.c (impl_finalize): Do not invoke POA_GNOME_Evolution_StorageSetViewListener__fini(). * evolution-storage-listener.c (impl_finalize): Do not invoke POA_GNOME_Evolution_StorageListener__fini(). * e-shell-offline-sync.c (progress_listener_servant_free): Do not invoke POA_GNOME_Evolution_SyncFolderProgressListener__fini(). * e-shell-offline-handler.c (progress_listener_servant_free): Do not invoke POA_GNOME_Evolution_OfflineProgressListener__fini(). * e-corba-storage.c (impl_dispose): Do not invoke POA_GNOME_Evolution_StorageListener__fini(). * evolution-shell-component-client.c (destroy_listener_interface): Do not invoke POA_GNOME_Evolution_ShellComponentListener__fini(). svn path=/trunk/; revision=18759
* Removed. (no_views_left_cb): Use g_object_add_weak_pointer() instad ofEttore Perazzoli2002-11-1514-131/+197
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * main.c (quit_box_destroyed_callback): Removed. (no_views_left_cb): Use g_object_add_weak_pointer() instad of connecting to the "destroy" signal. (destroy_cb): Removed. (shell_weak_notify): New. (idle_cb): Use g_object_weak_ref() on the shell object instead of connecting to the "destroy" signal. * evolution-test-component.c (dialog_destroy_callback): Removed. (dialog_weak_notify): New. (create_new_folder_selector): Use g_object_weak_ref() on the dialog instead of connecting the "destroy" signal. * e-shortcuts.c (view_destroyed_cb): Removed. (view_weak_notify): New. (e_shortcuts_new_view): g_object_weak_ref() the new view instead of connecting the "destroy" signal. (impl_dispose): Free the ->views and g_object_weak_unref() all the items. * e-shell.c (view_destroy_cb): Removed. (view_weak_notify): New. (create_view): Use g_object_weak_ref() on the newly created view instead of connecting to the "destroy" signal. (impl_dispose): g_object_weak_unref() the views. (e_shell_show_settings): Use g_object_add_weak_pointer() on the settings_dialog instead of connecting to the "destroy" signal. (settings_dialog_destroy_cb): Removed. * e-shell-shared-folder-picker-dialog.c (progress_bar_weak_notify): New. (progress_bar_destroy_callback): Removed. (create_progress_dialog): Use g_object_weak_ref() on the progress bar object instead of connecting to its "destroy" signal. (shell_destroy_callback): Removed. (shell_view_destroy_callback): Removed. (storage_destroy_callback): Removed. (shell_weak_notify): New. (shell_view_weak_notify): New. (storage_weak_notify): New. (discover_folder): Use g_object_weak_ref() on the shell, parent, storage objects instead of connecting to their "destroy" signals. * e-shell-importer.c: Removed member destroyed from ImporterComponentData. (import_cb): Instead of checking if ->destroyed is TRUE, check if ->dialog is NULL to decide whether the dialog has been destroyed or not. (dialog_destroy_cb): Removed. (start_import): Use g_object_weak_ref() on the dialog object instead of connecting to its "destroy" signal. (dialog_close): Removed. (dialog_weak_notify): New. (show_import_wizard): Use g_object_weak_ref() on the dialog object instead of connecting to its "destroy" signal. (import_druid_destroy): New. (import_druid_weak_notify): New. (show_import_wizard): Use g_object_weak_ref() on the druid object instead of connecting to its "destroy" signal. * e-shell-folder-selection-dialog.c (e_shell_folder_selection_dialog_construct): g_object_weak_ref() the shell object instead of connecting to its "destroy" signal. * e-shell-folder-creation-dialog.c (dialog_destroy_cb): Removed. (dialog_destroy_notify): New. (e_shell_show_folder_creation_dialog): g_object_weak_ref() the dialog instead of connecting to its "destroy" signal. (shell_destroy_cb): Removed. (shell_destroy_notify): New. (e_shell_show_folder_creation_dialog): g_object_weak_ref() the shell object instead of connecting to its "destroy" signal. * e-shell-config-offline.c (config_control_destroy_callback): Removed. (config_control_destroy_notify): New. (e_shell_config_offline_create_widget): g_object_weak_ref() the config_control instead of connecting to its "destroy" signal. * e-shell-config-default-folders.c (config_control_destroy_callback): Removed. (config_control_destroy_notify): New. (e_shell_config_default_folders_create_widget): g_object_weak_ref() instead of connecting to the "destroy" signal. * e-shell-config-autocompletion.c (config_control_destroy_notify): New. (config_control_destroy_callback): Removed. (e_shell_config_autocompletion_create_widget): g_object_weak_ref() instead of connecting to the "destroy" signal. * e-activity-handler.c (task_bar_destroy_cb): Removed. (task_bar_destroy_notify): New. (e_activity_handler_attach_task_bar): Weak_ref the task_bar using task_bar_destroy_notify. (impl_dispose): Weak_unref the task bars in priv->task_bars. svn path=/trunk/; revision=18756
* Change type of member etd inEttore Perazzoli2002-11-142-2/+8
| | | | | | | TimezoneDialogPage to GObject from GtkObject. (make_timezone_page): Cast to G_OBJECT() not GTK_OBJECT(). svn path=/trunk/; revision=18748
* Connect finish_func to the "next" signal for now, since GnomeDruid seemsEttore Perazzoli2002-11-144-5/+17
| | | | | | | | | | | | | | | * e-shell-startup-wizard.c (e_shell_startup_wizard_create): Connect finish_func to the "next" signal for now, since GnomeDruid seems to be borked. * e-uri-schema-registry.c (schema_handler_new): g_object_ref() @component instead of bonobo_object_ref(). * e-local-storage.c (create_folder): g_object_ref() for the component_client, instead of bonobo_object_ref(). (remove_folder_step): Likewise. svn path=/trunk/; revision=18741
* remove GTK_OBJECT cast and other GTK stuff.Not Zed2002-11-133-16/+23
| | | | | | | | | | | 2002-11-13 Not Zed <NotZed@Ximian.com> * evolution-storage.c: remove GTK_OBJECT cast and other GTK stuff. * evolution-storage.h: this is a gobject not a gtkobject, fix cast macros, and get_type call. svn path=/trunk/; revision=18735
* need to assign priv here, fixes a crash.Chris Toshok2002-11-122-0/+7
| | | | | | | | | 2002-11-11 Chris Toshok <toshok@ximian.com> * e-task-widget.c (impl_finalize): need to assign priv here, fixes a crash. svn path=/trunk/; revision=18715
* (impl_dispose): Do unref the config_listener here [IEttore Perazzoli2002-11-122-1/+6
| | | | | | fixed the finalize crash we were getting]. svn path=/trunk/; revision=18711
* (impl_finalize): Protect againstEttore Perazzoli2002-11-122-2/+9
| | | | | | priv->checkboxes being NULL. svn path=/trunk/; revision=18701
* Make separate dispose/finalize overrides of just overriding destroy.Ettore Perazzoli2002-11-1229-254/+538
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-component-registry.c: Make separate dispose/finalize overrides of just overriding destroy. * e-corba-config-page.c: Likewise. * e-corba-storage.c: Likewise. * e-folder-type-registry.c: Likewise. * e-folder.c: Likewise. * e-history.c: Likewise. * e-local-folder.c: Likewise. * e-local-storage.c: Likewise. * e-shell-folder-selection-dialog.c: Likewise. * e-shell-folder-title-bar.c: Likewise. * e-shell-offline-handler.c: Likewise. * e-shell-settings-dialog.c: Likewise. * e-shell-user-creatable-items-handler.c: Likewise. * e-shell-view.c: Likewise. * e-shortcuts-view-model.c: Likewise. * e-shortcuts-view.c: Likewise. * e-shortcuts.c: Likewise. * e-storage-set-view.c: Likewise. * e-storage-set.c: Likewise. * e-storage.c: Likewise. * e-task-bar.c: Likewise. * e-task-widget.c: Likewise. * e-uri-schema-registry.c: Likewise. * evolution-activity-client.c: Likewise. * evolution-folder-selector-button.c: Likewise. * evolution-storage-listener.c: Likewise. * evolution-storage-set-view-listener.c: Likewise. * evolution-test-component.c: Likewise. svn path=/trunk/; revision=18695
* use correctly IDL flags.Rodrigo Moya2002-11-082-1/+5
| | | | | | | | 2002-11-08 Rodrigo Moya <rodrigo@ximian.com> * importer/Makefile.am: use correctly IDL flags. svn path=/trunk/; revision=18665
* guard against multiple calls. fixes a crash whenever a task finishes (theChris Toshok2002-11-084-60/+85
| | | | | | | | | | | | | | | | 2002-11-07 Chris Toshok <toshok@ximian.com> * e-task-widget.c (impl_destroy): guard against multiple calls. fixes a crash whenever a task finishes (the addressbook finishing loading, etc.). * e-shell-marshal.list: add NONE:BOOL for evolution-shell-component. * evolution-shell-component.c (class_init): register the signals with g_signal_new. svn path=/trunk/; revision=18661
* (e_shell_show_settings): Allow type being NULL.Ettore Perazzoli2002-11-062-2/+7
| | | | svn path=/trunk/; revision=18561
* (load_folder): Do add folders with an unknownEttore Perazzoli2002-11-062-10/+5
| | | | | | type. svn path=/trunk/; revision=18560
* Set response_id to GTK_RESPONSE_OK. (cancel_button): Likewise, withEttore Perazzoli2002-11-063-169/+188
| | | | | | | | | | | * glade/e-shell-folder-creation-dialog.glade (ok_button): Set response_id to GTK_RESPONSE_OK. (cancel_button): Likewise, with GTK_RESPONSE_CANCEL. * e-shell-folder-creation-dialog.h, e-shell-folder-creation-dialog.c: Ported to GtkDialog. svn path=/trunk/; revision=18558
* Use g_object_get_data() instead of gtk_object_get_data(). Likewise.Ettore Perazzoli2002-11-0610-18/+29
| | | | | | | | | | | | | | | * e-folder-list.c: Use g_object_get_data() instead of gtk_object_get_data(). * e-shell-config-default-folders.c: Likewise. * e-shell-folder-creation-dialog.c: Likewise. * e-shell-importer.c: Likewise. * e-shell-shared-folder-picker-dialog.c: Likewise. * e-shell-user-creatable-items-handler.c: Likewise. * e-shell-view.c: Likewise. * e-shell.c: Likewise. * e-storage.c: Likewise. svn path=/trunk/; revision=18557
* Split finalize/dispose. Likewise. Likewise. Likewise. Likewise. Likewise.Ettore Perazzoli2002-11-0614-58/+265
| | | | | | | | | | | | | | | | | | * e-activity-handler.c: Split finalize/dispose. * e-corba-shortcuts.c: Likewise. * e-corba-storage-registry.c: Likewise. * e-shell-about-box.c: Likewise. * e-shell.c: Likewise. * e-splash.c: Likewise. * evolution-config-control.c: Likewise. * evolution-session.c: Likewise. * evolution-shell-component.c: Likewise. * evolution-shell-view.c: Likewise. * evolution-storage-set-view.c: Likewise. * evolution-storage.c: Likewise. * evolution-wizard.c: Likewise. svn path=/trunk/; revision=18556
* g_object_unref instead of bonobo_object_unref for theEttore Perazzoli2002-11-065-15/+13
| | | | | | | * All: g_object_unref instead of bonobo_object_unref for the EvolutionShellComponentClient and EvolutionShellClient interfaces. svn path=/trunk/; revision=18555
* New. (impl_finalize): New. (destroy): Removed. (class_init): InstallEttore Perazzoli2002-11-0645-201/+320
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-shell-client.c (impl_dispose): New. (impl_finalize): New. (destroy): Removed. (class_init): Install dispose, finalize handlers. * All: Use evolution_shell_client_corba_objref() or evolution_shell_component_client_corba_objref() instead of BONOBO_OBJREF() or bonobo_object_corba_objref() where needed. * e-folder-type-registry.c (set_handler): Use g_object_ref() for the handler, not bonobo_object_ref(). (folder_type_free): Likewise for unref. * evolution-shell-component-client.c (evolution_shell_component_client_corba_objref): New. (impl_dispose): Moved from impl_destroy; only unref things. (impl_finalize) New. (class_init): Install dispose/finalize. (evolution_shell_component_client_get_dnd_source_interface): Use priv->corba_objref instead of bonobo_object_corba_objref() since we are not a BonoboObject anymore. (evolution_shell_component_client_get_dnd_destination_interface): Likewise. (evolution_shell_component_client_get_offline_interface): Likewise. (evolution_shell_component_client_set_owner): Likewise. (evolution_shell_component_client_unset_owner): Likewise. (evolution_shell_component_client_create_view): Likewise. (evolution_shell_component_client_handle_external_uri): Likewise. (evolution_shell_component_client_async_create_folder): Likewise. (evolution_shell_component_client_async_xfer_folder): Likewise. (evolution_shell_component_client_populate_folder_context_menu): Likewise. (evolution_shell_component_client_unpopulate_folder_context_menu): Likewise. * e-component-registry.c (register_component): Use evolution_shell_component_client_corba_objref(). (e_component_registry_restart_component): Likewise. (component_free): Likewise. * evolution-shell-component-client.c: g_object_new() instead of gtk_type_new(). * e-component-registry.c: Likewise. * e-corba-config-page.c * e-folder-list.c: Likewise. * e-folder-type-registry.c: Likewise. * e-folder.c: Likewise. * e-gray-bar.c: Likewise. * e-history.c: Likewise. * e-local-folder.c: Likewise. * e-local-folder.c: Likewise. * e-local-storage.c: Likewise. * e-shell-about-box.c: Likewise. * e-shell-config-default-folders.c: Likewise. * e-shell-folder-selection-dialog.c: Likewise. * e-shell-folder-title-bar.c: Likewise. * e-shell-offline-handler.c: Likewise. * e-shell-settings-dialog.c: Likewise. * e-shell-user-creatable-items-handler.c: Likewise. * e-shell-view.c: Likewise. * e-shortcuts-view-model.c: Likewise. * e-shortcuts-view.c: Likewise. * e-shortcuts.c: Likewise. * e-splash.c: Likewise. * e-storage-set-view.c: Likewise. * e-storage-set.c: Likewise. * e-storage.c: Likewise. * e-task-bar.c: Likewise. * e-task-widget.c: Likewise. * e-uri-schema-registry.c: Likewise. * evolution-activity-client.c: Likewise. * evolution-folder-selector-button.c: Likewise. * evolution-shell-client.c: Likewise. * evolution-shell-view.c: Likewise. * evolution-storage-listener.c: Likewise. * evolution-storage-set-view-listener.c: Likewise. * evolution-storage-set-view.c: Likewise. * evolution-wizard.c: Likewise. * GNOME_Evolution_TestComponent.server: Renamed from GNOME_Evolution_TestComponent.oaf. * evolution-test-component.c (spit_out_shortcuts): Use BONOBO_EX_REPOID(). (create_new_folder_selector): Ported to use GtkDialog instead of GnomeDialog. (storage_cancel_discover_shared_folder_callback): Add missing G_OBJECT() cast. (shared_folder_discovery_timeout_callback): Likewise. (storage_discover_shared_folder_callback): Likewise. (timeout_callback_2): Likewise. (timeout_callback_1): Likewise. (shared_folder_discovery_timeout_callback): Use g_object_get_data() instead of gtk_object_get_data(). (storage_cancel_discover_shared_folder_callback): Likewise. (timeout_callback_2): Likewise. (timeout_callback_2): g_timeout_add() instead of gtk_timeout_add(). (create_view_fn): Likewise. (timeout_callback_1): Likewise. (timeout_callback_1): Pass NULL as the error arg to gdk_pixbuf_new_from_file(). (register_component): Use bonobo-activation instead of OAF. * e-shell-about-box.c (impl_destroy): Removed. (impl_finalize): New. (class_init): Install finalize handler, not destroy. * e-shell-about-box.c (e_shell_about_box_construct): Removed. svn path=/trunk/; revision=18554
* Removed. (impl_finalize): New. (class_init): Install finalize handler, notEttore Perazzoli2002-11-054-30/+24
| | | | | | | | | | | | | * e-shell-about-box.c (impl_destroy): Removed. (impl_finalize): New. (class_init): Install finalize handler, not destroy. * e-shell-view-menu.c (command_about_box): Use a GtkWindow again. Set the GTK_WINDOW_TYPE_HINT_DIALOG hint. * e-shell-about-box.c (e_shell_about_box_construct): Removed. svn path=/trunk/; revision=18534
* Pass TRUE for arg allow_creation to e_shell_folder_selection_dialog_new().Ettore Perazzoli2002-11-057-98/+74
| | | | | | | | | | | | | | | | | | | | | | * e-shell-folder-commands.c (e_shell_command_copy_folder): Pass TRUE for arg allow_creation to e_shell_folder_selection_dialog_new(). (e_shell_command_move_folder): Likewise. * e-shell-view-menu.c (command_goto_folder): Likewise. (command_new_shortcut): Likewise. * e-shell.c (impl_Shell_selectUserFolder): Likewise. * e-shell-folder-selection-dialog.c (e_shell_folder_selection_dialog_set_allow_creation): Removed. (e_shell_folder_selection_dialog_get_allow_creation): Removed. (e_shell_folder_selection_dialog_new): New arg allow_creation. (e_shell_folder_selection_dialog_construct): Likewise. Also, do set priv->shell. * e-shell-folder-selection-dialog.h, e-shell-folder-selection-dialog.c: Port to GtkDialog. svn path=/trunk/; revision=18533
* (e_folder_type_registry_get_handler_for_type): Remove warning forEttore Perazzoli2002-11-042-32/+27
| | | | | | | | | | | | | | | | | when the type is unknown. (e_folder_type_registry_type_is_user_creatable): Likewise. (e_folder_type_registry_get_display_name_for_type): Likewise. (e_folder_type_registry_get_description_for_type): Likewise. (e_folder_type_registry_get_exported_dnd_types_for_type): Likewise. (e_folder_type_registry_get_accepted_dnd_types_for_type): Likewise. (e_folder_type_registry_unregister_type): Likewise. (e_folder_type_registry_get_icon_name_for_type): Likewise. (e_folder_type_registry_get_icon_for_type): Likewise. (set_handler): Removed warning here too. svn path=/trunk/; revision=18529
* Replace gtk_signal_emit() with g_signal_emit(). Likewise. Likewise.Ettore Perazzoli2002-11-0416-102/+106
| | | | | | | | | | | | | | | | | | | | * e-folder-list.c: Replace gtk_signal_emit() with g_signal_emit(). * e-folder.c: Likewise. * e-shell-folder-selection-dialog.c: Likewise. * e-shell-folder-title-bar.c: Likewise. * e-shell-offline-handler.c: Likewise. * e-shell-view.c: Likewise. * e-shortcuts-view.c: Likewise. * e-shortcuts.c: Likewise. * e-storage-set-view.c: Likewise. * e-storage-set.c: Likewise. * e-storage.c: Likewise. * evolution-activity-client.c: Likewise. * evolution-folder-selector-button.c: Likewise. * evolution-storage-listener.c: Likewise. * evolution-storage-set-view-listener.c: Likewise. svn path=/trunk/; revision=18524
* Use g_object_set_data() instead of gtk_object_set_data(). Likewise.Ettore Perazzoli2002-11-0412-39/+56
| | | | | | | | | | | | | | | | | | | | | | | | | * e-folder-list.c: Use g_object_set_data() instead of gtk_object_set_data(). * e-shell-config-default-folders.c: Likewise. * e-shell-folder-creation-dialog.c: Likewise. * e-shell-importer.c: Likewise. * e-shell-shared-folder-picker-dialog.c: Likewise. * e-shell-user-creatable-items-handler.c: Likewise. * e-shell-view.c: Likewise. * e-shell.c: Likewise. * e-storage-set-view.c: Likewise. * e-storage.c: Likewise. * evolution-test-component.c: Likewise. * e-storage-set-view.c (e_storage_set_view_construct): Use g_object_weakref() instead of gtk_object_weakref() for the ui_container. (ui_container_destroy_notify): Add param where_the_object_was to match the GWeakNotify prototype. * e-shell.c: Use g_signal_emit() instead of gtk_signal_emit(). svn path=/trunk/; revision=18523
* Forgot to add this one.Ettore Perazzoli2002-11-041-0/+13
| | | | svn path=/trunk/; revision=18520
* Update.Ettore Perazzoli2002-11-041-1/+3
| | | | svn path=/trunk/; revision=18519
* Converted to Glade2 format. Likewise. Likewise. Likewise. Likewise.Ettore Perazzoli2002-11-047-1154/+1116
| | | | | | | | | | | | * glade/e-active-connection-dialog.glade: Converted to Glade2 format. * glade/evolution-startup-wizard.glade: Likewise. * glade/e-shell-shared-folder-picker-dialog.glade: Likewise. * glade/e-shell-folder-creation-dialog.glade: Likewise. * glade/e-shell-config-default-folders.glade: Likewise. * glade/e-folder-list.glade: Likewise. svn path=/trunk/; revision=18518
* Changed all gtk_object_refs()/gtk_object_unrefs() intoEttore Perazzoli2002-11-0446-601/+599
| | | | | | | | | | | | | | | | | | | | | | | | | | | * *.c, *.h: Changed all gtk_object_refs()/gtk_object_unrefs() into g_object_refs()/g_object_unrefs() and all gtk_signal_connect_*() into g_signal_connect_*(). [Except for some case where we have gtk_signal_connect_full() or gtk_signal_connect_while_alive() calls that cannot be trivially ported to use the g_signal_* functions, we'll have to fix those later.] * e-splash.c (impl_finalize): Finalize implementation, copied over from impl_destroy. (impl_destroy): Removed. (class_init): Override finalize, not destroy. * e-activity-handler.c: Ported from GtkObject to GObject. * evolution-storage.c: Likewise. * e-corba-shortcuts.c: Likewise. * evolution-session.h: Likewise. * evolution-config-control.c: Likewise. * evolution-shell-component-dnd.c: Likewise. * evolution-shell-component.c: Likewise. * evolution-shell-view.c: Likewise. * evolution-storage-set-view.c: Likewise. * evolution-wizard.c: Likewise. svn path=/trunk/; revision=18513
* Updated for libxml2. Likewise. Likewise. Likewise.Ettore Perazzoli2002-11-045-15/+22
| | | | | | | | | * e-component-info.c: Updated for libxml2. * e-shortcuts.c: Likewise. * e-folder-list.c: Likewise. * e-local-folder.c: Likewise. svn path=/trunk/; revision=18512
* Renamed from GNOME_Evolution_Shell.oaf.in.Ettore Perazzoli2002-11-0437-542/+773
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * GNOME_Evolution_Shell.server.in: Renamed from GNOME_Evolution_Shell.oaf.in. * Makefile.am: Port from OAF to bonobo-activation. (INCLUDES): Define SYSCONFDIR, DATADIR, LIBDIR. * main.c (main): Use gnome_program_init(). * e-corba-storage-registry.c (e_corba_storage_registry_new): g_object_new(), not gtk_type_new(). (impl_finalize): New, ported over from destroy. (destroy): Removed. (class_init): Install finalize handler, not destroy handler, since we are not a GtkObject anymore. * e-corba-storage.c (e_corba_storage_new): g_object_new(), not gtk_type_new(). * e-shell.c (class_init): Override finalize, not destroy. (impl_finalize): Finalize implementation, basically the old destroy renamed. (e_shell_new): g_object_new(), not gtk_type_new(). (class_init): Use e_shell_marshal_NONE__INT for line_status_changed instead of using an ENUM. (e_shell_construct): Use g_signal_connect_object() instead of gtk_signal_connect_while_alive(). * e-setup.c (e_setup): Do not unref local_folder if NULL. * e-folder.c (init): Make not floating. (e_folder_construct): No need to make it floating here anymore. * e-shell.c (impl_Shell_selectUserFolder): For now don't set dialog parent from xid. * main.c (no_views_left_cb): Add missing GTK_SIGNAL_FUNC() cast. (new_view_created_callback): Likewise. (warning_dialog_clicked_callback): Update to use the EConfigListener from the shell instead of bonobo-conf. (show_development_warning): Likewise. (upgrade_from_1_0_if_needed): BONOBO_EX_ID -> BONOBO_EX_REPOID. (idle_cb): Use bonobo-activation and BONOBO_EX_REPOID(). (main): Cleaned up the various things that are unneeded in GNOME 2. (upgrade_from_1_0_if_needed): Use EConfigListener. * evolution-storage-set-view.h, evolution-storage-set-view.c: BonoboXObjectified. * e-storage.c (class_init): GLIB2-ified and made to use e-shell-marshal.h. (ES_CLASS): Use GTK_OBJECT_GET_CLASS(). (e_storage_new_folder): Added missing GTK_SIGNAL_FUNC() prototype. * e-storage-set.c (class_init): GLIB2-ified and made to use e-shell-marshal.h. * e-storage-set-view.c (popup_folder_menu): For now, do not add the pop-up since we lack bonobo_ui_container_get_win() and I am not sure how to work around it. (popup_folder_menu): Pass self as the for_widget arg to gnome_popup_menu_do_popup_modal(). (class_init): GLIB2-ified, and got to use e-shell-marshal.h. (marshal_NONE__GDKDRAGCONTEXT_STRING_STRING_STRING): Removed. (impl_tree_drag_data_get): Don't set the selection for now -- we have to fix the CORBA target stuff to match GTK 2. (e_storage_set_view_construct): Pass NULL as the opt_ev arg to bonobo_ui_component_set_container(). * e-splash.c: #include <libgnomecanvas/gnome-canvas-pixbuf.h> instead of <gdk-pixbuf/gnome-canvas-pixbuf.h>. (e_splash_new): Pass NULL as the error arg to gdk_pixbuf_new_from_file(). * e-shortcuts.c (class_init): GLIB2-ified. Also use the e-shell-marshal marshallers. (e_shortcuts_new_view): Add missing GTK_SIGNAL_FUNC() cast. * e-shortcuts-view.c: Use GTK_STOCK_* stuff instead of GNOME_STOCK_* stuff. (pop_up_right_click_menu_for_group): Pass self as the for_widget arg to gnome_popup_menu_do_popup_modal(). (pop_up_right_click_menu_for_shortcut): Likewise. (class_init): GLIB2-ified. * e-shell.c: Do not #include <gal/util/e-unicode-i18n.h> or #include <libgnome/gnome-defs.h>. (set_interactive): Use BONOBO_EX_REPOID(). (setup_local_storage): Use _() not U_(). (destroy): Use gtk_widget_destroy() instead of gtk_object_destroy() on priv->settings_dialog. (class_init): GLIB2-ized. (init): Initialize config_listener member. (get_icon_path_for_component_info): Port to bonobo-activation from OAF. (setup_components): Likewise. (destroy): Likewise. (e_shell_construct): Use e_setup_check_config(), not e_setup_check_db (). Use the e_config_listener instead of bonobo-conf. (save_settings_for_views): Likewise. (save_misc_settings): Likewise. (e_shell_restore_from_settings): Likewise. (parse_default_uri): Likewise. (e_shell_component_maybe_crashed): Pass NULL for opt_ev arg to bonobo_unkown_ping() (e_shell_component_maybe_crashed): Use bonobo_engine_deregister_dead_components() instead of bonobo_window_deregister_component_by_ref() which is no more. (e_shell_send_receive): BONOBO_EX_REPOID() instead of BONOBO_EX_ID(). (e_shell_get_config_listener): Return the config_listener. * e-shell-view.c (find_inbox_in_storage): Use _() instead of U_(). (load_images): Pass NULL as the error arg to gdk_pixbuf_new_from_file(). (load_images): Likewise. (find_inbox_in_storage): Work around the lack of g_utf8_strcasecmp() in glib-2.0. (class_init): GLIB2-ified. Also, use the marshallers in e-shell-marshal.h. (pop_up_folder_bar): Use gtk_window_move()/gtk_widget_show() instead gtk_widget_popup(). (unmerge_on_error): Work around the death of bonobo_ui_component_get_win() and bonobo_window_deregister_component_by_ref(). (e_shell_view_construct): Pass NULL as the uic arg to bonobo_window_construct(). Add missing GTK_SIGNAL_FUNC() cast. Match the new BonoboWindow behavior wrt the UIContainer and the new opt_ev args. (display_uri): Use bonobo_ui_engine_freeze() and bonobo_ui_engine_thaw() since bonobo_window_freeze() and bonobo_window_thaw() got axed [sigh]. (e_shell_view_save_settings): Use EConfigListener. (e_shell_view_load_settings): Likewise. (get_view_for_uri): Use bonobo_widget_new_control_from_objref() instead of e_bonobo_widget_new_control_from_objref(). * e-shell-view-menu.c (command_help_faq): Pass NULL for the error arg to gnome_url_show(). (command_about_box): Use GtkDialog instead of a GtkWindow of a type GTK_WINDOW_DIALOG [which does not exist anymore]. (command_xml_dump): Removed. (menu_do_misc): Do not add the corresponding verb. * e-shell-user-creatable-items-handler.c (execute_verb): Use BONOBO_EX_REPOID(). * e-shell-startup-wizard.c: Remove id member from SWData. Replace member db with config_listener. (e_shell_startup_wizard_create): Initialize config_listener. (make_mail_dialog_pages): Do not set the listener id here. (druid_event_notify_cb): Pass FALSE as the help_sensitive arg to gnome_druid_set_buttons_sensitive(). (e_shell_startup_wizard_create): Likewise. (make_mail_dialog_pages): Use bonobo-activation instead of OAF. (get_intelligent_importers): Likewise. (prepare_importer_page): Likewise. (start_importers): Do nothing here for now. (finish_func): Constify local variable displayname. (finish_func): Updated to use the config_listener instead of the bono-conf db. (prepare_importer_page): Do not actually run the importer yet. (e_shell_startup_wizard_create): Pass NULL as the domain arg to glade_xml_new(). Use the config_listener. * e-shell-shared-folder-picker-dialog.c (user_clicked): BONOBO_EX_REPOID() instead of BONOBO_EX_ID(). (setup_name_selector): Likewise. (setup_name_selector): Use bonobo-activation. (show_dialog): Pass NULL as the domain arg to glade_xml_new(). (setup_name_selector): Add a missing GTK_SIGNAL_FUNC() cast. * e-shell-settings-dialog.c: #include <bonobo-activation/bonobo-activation.h>. Use Bonobo_ActivationProperty instead of OAF_Property. (set_dialog_size): Use gtk_style_get_font() to get the font from the widget->style. (load_pages): Converted to use bonobo-activation instead of OAF. Pass NULL as the error arg to gdk_pixbuf_new_from_file(). * e-shell-offline-sync.c (sync_folder): BONOBO_EX_REPOID(), not BONOBO_EX_ID(). (e_shell_offline_sync_all_folders): For now, avoid doing anything [see changes to e-shell-config-offline.c below]. (setup_progress_listener): #if 0 for now. (setup_dialog): Likewise. (sync_folder): Likewise. (cleanup): Likewise. (progress_listener_servant_free): Likewise. (progress_listener_servant_new): Likewise. (impl_SyncFolderProgressListener_updateProgress): Likewise. (impl_SyncFolderProgressListener_reportSuccess): Likewise. (impl_SyncFolderProgressListener_reportFailure): Likewise. (progress_dialog_close_callback): Likewise. (progress_dialog_clicked_callback): Likewise. * e-shell-offline-handler.c (prepare_for_offline): Use BONOBO_EX_REPOID(). (pop_up_confirmation_dialog): Pass NULL as the domain arg to glade_xml_new(). (class_init): GLIB2-ified. * Makefile.am: Do not compile e-shell-importer.c, e-shell-importer.h for now. * e-shell-folder-title-bar.c (get_max_clipped_label_width): Use gtk_style_get_font() to retrieve the font. (class_init): GLIB2-ified. (e_shell_folder_title_bar_construct): Get {x,y}thickness from widget->style, not from widget->style->klass. * e-shell-folder-selection-dialog.c: #include <string.h>, <gtk/gtklabel.h> and <gtk/gtksignal.h>. (class_init): GLIB2-ified. * e-shell-folder-creation-dialog.c: No <libgnome/gnome-defs.h>, add some GTK includes. (e_shell_show_folder_creation_dialog): Pass NULL as the domain arg to glade_xml_new(). Added missing GTK_SIGNAL_FUNC() cast. * e-shell-folder-commands.c: Do not #include <libgnomeui/gnome-stock.h> and #include <bonobo-conf/Bonobo_Config.h>. * e-shell-config-default-folders.c: Replace member db in EvolutionDefaultFolderConfig with config_listener. (e_shell_config_default_folders_create_widget): Init here. (config_control_destroy_cb): Unref here. (config_control_apply_cb): Use EConfigListener instead of BonoboConf. (setup_folder_selector): Likewise. (e_shell_config_default_folders_create_widget): Pass NULL as the domain arg to glade_xml_new(). * e-shell-config-offline.c (config_control_apply_callback): For now, do not change the configuration. [Needs to be ported to EConfigListener or something, but we were storing a sequence using typecodes here and there is no trivial way to do that right now.] (init_storage_set_view_status_from_config): Likewise, do not retrieve the configuration here. svn path=/trunk/; revision=18510
* First big sync of my GNOME 2 porting work (incomplete, and stillEttore Perazzoli2002-11-0251-878/+751
| | | | | | | | pretty broken). Weeeeee! svn path=/trunk/; revision=18503
* Increase the width slightly.Ettore Perazzoli2002-10-293-1/+11
| | | | | | | | | | * e-shell-settings-dialog.c (set_dialog_size): Increase the width slightly. * e-shell-view-menu.c: Set "settings.png" as the icon for /menu/Tools/Settings. svn path=/trunk/; revision=18460
* [#31303]Ettore Perazzoli2002-10-263-1/+28
| | | | | | | | | | | | | | * e-shell-view (storage_set_view_box_button_release_event_cb): Pop down the popup folder bar if it's a toplevel node. (folder_bar_popup_map_callback): Connect to the "folder_opened" signal on the storage_set_view. [#32032] * e-folder-list.c (create_display_string): Don't turn the string from UTF-8 to GTK. svn path=/trunk/; revision=18437
* Set the is_stock flag to TRUE for the summary folder.Ettore Perazzoli2002-10-245-7/+36
| | | | | | | | | | | | | | | | | | * e-shell.c (setup_local_storage): Set the is_stock flag to TRUE for the summary folder. * e-shell-view.c (setup_verb_sensitivity_for_folder): Don't allow folder operations on pseudo-folders that have a NULL physical_uri. * e-corba-storage.c (async_remove_folder): Make sure the folder has a physical URI. [#30950] * e-shell-shared-folder-picker-dialog.c (setup_server_option_menu): Use e_utf8_gtk_menu_item_new_with_label() to create the option menu items from the storage's UTF-8 name. [#31564] svn path=/trunk/; revision=18419
* (e_get_activation_failure_msg): If the exception_id is NULL,Ettore Perazzoli2002-10-212-0/+9
| | | | | | return NULL instead of crashing. [#25891] svn path=/trunk/; revision=18397
* New, implementation for the cancel_discover_shared_folder virtual method.Ettore Perazzoli2002-10-189-66/+250
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-corba-storage.c (cancel_discover_shared_folder): New, implementation for the cancel_discover_shared_folder virtual method. (class_init): Install. * evolution-test-component.c (storage_discover_shared_folder_callback): Instead of passing the listener to the timeout function, just pass the storage. Put the listener and the timeout ID on the storage object by using gtk_object_set_data(). (shared_folder_discovery_timeout_callback): Updated accordingly. (storage_cancel_discover_shared_folder_callback): New, callback for the cancel_discover_shared_folder signal. (setup_custom_storage): Connect. * e-shell-shared-folder-picker-dialog.c: New member storage in struct DiscoveryData. While I am at it, rename member user to user_email_address. (discover_folder): Set the storage member. (cleanup_discovery): Unref storage member. (progress_dialog_clicked_callback): New, callback for the "clicked" signal on the dialog. (discover_folder): Connect. * evolution-storage.c (class_init): Install signal "cancel_discover_shared_folder". (impl_Storage_cancelDiscoverSharedFolder): New, implementation for the cancelDiscoverSharedFolder CORBA method; emit "cancel_discover_shared_folder". (evolution_storage_get_epv): Install CORBA method implementation. * evolution-storage.h: Add signal cancel_discover_shared_folder. * e-storage.c (e_storage_cancel_discover_shared_folder): New. * e-storage.h: New virtual method cancel_discover_shared_folder. * Evolution-Storage.idl (cancelDiscoverSharedFolder): New. svn path=/trunk/; revision=18386
* Change the selection mode to GTK_SELECTION_BROWSE so there is always aEttore Perazzoli2002-10-083-14/+18
| | | | | | | | | | | | | | | | | * e-shell-importer.c (choose_importer_from_list): Change the selection mode to GTK_SELECTION_BROWSE so there is always a selection. The code here doesn't handle a NULL selection. [#31690] * e-shell-importer.c (import_cb): Only delay half a second (instead of 5 seconds) when getting EVOLUTION_IMPORTER_NOT_READY or EVOLUTION_IMPORTER_BUSY. * importer/evolution-importer-listener.c (impl_GNOME_Evolution_ImporterListener_notifyResult): Removed debugging message. svn path=/trunk/; revision=18332
* new function, emit cancelled so the folder selector button will sensitizeChris Toshok2002-10-052-0/+20
| | | | | | | | | | | | 2002-10-04 Chris Toshok <toshok@ximian.com> * e-shell-folder-selection-dialog.c (delete_event_cb): new function, emit cancelled so the folder selector button will sensitize the parent window again. (e_shell_folder_selection_dialog_construct): connect the delete_event signal. svn path=/trunk/; revision=18327
* It's a grand old string-review! Nitpicky and minor changes; details in the ↵Aaron Weber2002-10-013-2/+8
| | | | | | appropriate ChangeLog files. svn path=/trunk/; revision=18268
* Calls e_shell_command_remove_shared_folder. (file_verbs): Set upDan Winship2002-10-0113-102/+433
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-view-menu.c (command_remove_other_users_folder): Calls e_shell_command_remove_shared_folder. (file_verbs): Set up command_remove_other_users_folder. * e-shell-folder-commands.c (e_shell_command_remove_shared_folder): New. Calls e_storage_set_async_remove_shared_folder with a callback to pop up an error dialog if it fails. * e-storage-set.c (e_storage_set_async_remove_shared_folder): Implement. Mostly like async_remove_folder. * e-storage.c (e_storage_supports_shared_folders, e_storage_async_discover_shared_folder, e_storage_async_remove_shared_folder): New methods. Default implementations return FALSE, NOTIMPLEMENTED, and NOTIMPLEMENTED. * e-corba-storage.c (supports_shared_folders, async_discover_shared_folder, async_remove_shared_folder): Implement using CORBA. * Evolution-Storage.idl: add Storage_asyncRemoveSharedFolder * e-shell-shared-folder-picker-dialog.c: Remove all the CORBA stuff from here and use the new EStorage methods. (setup_server_option_menu): Use e_storage_supports_shared_folders. (discover_folder): Use e_storage_async_discover_shared_folder. * evolution-storage.c (impl_Storage_asyncRemoveSharedFolder): Implement this by emitting a REMOVE_SHARED_FOLDER signal. (impl_Storage_asyncDiscoverSharedFolder): Make the DISCOVER_SHARED_FOLDER signal put the Bonobo_Listener first like all the other signals do. (class_init): Set up REMOVE_SHARED_FOLDER signal. svn path=/trunk/; revision=18265
* If we return from evolution_shell_client_user_select_folder to find thatDan Winship2002-10-012-0/+17
| | | | | | | | | * evolution-folder-selector-button.c (clicked): If we return from evolution_shell_client_user_select_folder to find that our parent window has been destroyed, unref it and bail out, since that means we've been destroyed (and probably finalized) too. #31360 svn path=/trunk/; revision=18264
* (load_folder): Always return TRUE, even in theEttore Perazzoli2002-09-272-1/+6
| | | | | | unknown-type case. svn path=/trunk/; revision=18236
* set history_id on GnomeFileEntry, to actually get the history.Rodrigo Moya2002-09-262-1/+6
| | | | | | | | | 2002-09-25 Rodrigo Moya <rodrigo@ximian.com> * e-shell-importer.c (importer_file_page_new): set history_id on GnomeFileEntry, to actually get the history. svn path=/trunk/; revision=18233
* If one of the allowed types is "type/*", allow anything starting withDan Winship2002-09-265-12/+55
| | | | | | | | | | | | | | | | | | | | | | * e-shell-folder-selection-dialog.c (check_folder_type_valid): If one of the allowed types is "type/*", allow anything starting with "type/". (impl_clicked): If the first allowed type is "type/*", pass "type" to e_shell_show_folder_creation_dialog. * evolution-folder-selector-button.c (evolution_folder_selector_button_set_uri): Handle "type/*" as an allowed type. * e-shell-settings-dialog.c (e_shell_settings_dialog_show_type): If there are no pages for the current folder type, try the parent type (eg, "mail" for "mail/public"). * e-shell-config-autocompletion.c (e_shell_config_autocompletion_create_widget): Use "contacts/*" as the allowed folder type. svn path=/trunk/; revision=18220
* [Finish fixing #11645.]Ettore Perazzoli2002-09-266-46/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-folder-commands.c (xfer_result_callback): Don't update the shortcuts here anymore since now the shell takes care of it. * e-shell.c (storage_set_moved_folder_callback): New callback for EStorageSetView::folder_moved; update the shortcuts. (e_shell_construct): Connect. * e-storage-set.c: Renamed StorageConverterCallbackData to StorageCallbackData. New members destination_folder, source_folder, operation in it. (class_init): Install "moved_folder" signal. (storage_callback_data_new): Renamed from storage_converter_callback_data_new. (storage_callback_data_free): New. (storage_callback): Renamed from storage_callback_converter. Use storage_callback_data_free(). (e_storage_set_async_create_folder): Updated to use the storage_callback and storage_callback_data_new(). (e_storage_set_async_remove_folder): Likewise. (e_storage_set_async_xfer_folder): Likewise. * e-storage-set.h: New signal "moved_folder". svn path=/trunk/; revision=18216
* Placate compiler.Ettore Perazzoli2002-09-255-1/+69
| | | | | | | | | | | | | * e-shell-view-menu.c (launch_pilot_settings): Placate compiler. * e-shell-folder-commands.c (xfer_result_callback): When FOLDER_COMMAND_MOVE, update the shortcuts by using e_shortcuts_update_shortcuts_for_changed_uri(). * e-shortcuts.c (e_shortcuts_update_shortcuts_for_changed_uri): New. svn path=/trunk/; revision=18206
* Don't destroy the dialog. It does that itself whenever it emitsDan Winship2002-09-253-4/+12
| | | | | | | | | | | | * e-shell.c (folder_selection_dialog_folder_selected_cb): Don't destroy the dialog. It does that itself whenever it emits folder_selected. * e-shell-folder-selection-dialog.c (double_click_cb): Don't close the dialog if the user double-clicks a bad folder. Just ignore it (like we do when they click OK on a bad folder). svn path=/trunk/; revision=18205
* Add PilotConduitSettings verb. [#14019]Ettore Perazzoli2002-09-242-18/+42
| | | | | | | (command_pilot_conduit_settings): Implementation for the verb. (launch_pilot_settings): Helper function. svn path=/trunk/; revision=18201
* use the new e_tree_set_search_column function instead of my lameass sortMike Kestner2002-09-242-14/+6
| | | | | | | | | 2002-09-24 Mike Kestner <mkestner@ximian.com> * e-storage-set-view.c (e_storage_set_enable_search): use the new e_tree_set_search_column function instead of my lameass sort hack. svn path=/trunk/; revision=18194
* (e_shell_construct): Oops, no @shell argument toEttore Perazzoli2002-09-242-1/+6
| | | | | | e_shell_startup_wizard_create(). svn path=/trunk/; revision=18184
* Use e_shell_request_close_view().Ettore Perazzoli2002-09-244-31/+74
| | | | | | | | | | | * e-shell-view-menu.c (command_close): Use e_shell_request_close_view(). * e-shell.c (e_shell_request_close_view): New, code moved out of view_delete_event_cb(). (view_delete_event_cb): Use it. svn path=/trunk/; revision=18183
* (get_type_from_parent_path):Ettore Perazzoli2002-09-242-3/+9
| | | | | | | Return "mail" instead of NULL when we don't have a parent folder. [#28232] svn path=/trunk/; revision=18179
* Added some missing names.Ettore Perazzoli2002-09-244-2/+17
| | | | | | | | * e-shell-about-box.c: Added some missing names. * main.c (main): Declare --force-upgrade correctly so it works. svn path=/trunk/; revision=18175
* Removed member sort_idle_id inEttore Perazzoli2002-09-212-80/+50
| | | | | | | | | | | | EStorageSetViewPrivate. (resort): Removed. (sort_traverse_callback): Removed. (sort_idle_callback): Removed. (queue_resort): Removed. (impl_destroy): Removed. (folder_name_changed_cb): Sort now instead of queueing a resort. svn path=/trunk/; revision=18146
* [Fix #28495 with a lame hack that works around Bonobo sizingEttore Perazzoli2002-09-202-2/+47
| | | | | | | | | | | brokenness] (set_dialog_size): New. (impl_realize): Override for GtkWidget::realize; invoke set_dialog_size() to set a minimum size. (class_init): Install. svn path=/trunk/; revision=18126
* (async_create_cb): Don't setEttore Perazzoli2002-09-202-3/+5
| | | | | | the current folder for E_STORAGE_EXISTS. [#30533] svn path=/trunk/; revision=18124
* (evolution_storage_update_folder): Do notEttore Perazzoli2002-09-202-17/+11
| | | | | | | stop propagating the notification to the listeners if ::notifyFolderUpdate() fails. [#27662 (?)] svn path=/trunk/; revision=18117
* (resort): New. (sort_idle_callback): Use it. (insert_storages): UseEttore Perazzoli2002-09-202-8/+23
| | | | | | | | | (resort): New. (sort_idle_callback): Use it. (insert_storages): Use resort() instead of queue_resort() so we sort immediately. svn path=/trunk/; revision=18116
* bandaid for 30248.Mike Kestner2002-09-202-1/+5
| | | | | | | | 2002-09-18 Mike Kestner <mkestner@ximian.com> * e-storage-set-view.c (etree_value_at): bandaid for 30248. svn path=/trunk/; revision=18115
* Allow 'back' to run if we're on the finish page. For #29293.Not Zed2002-09-192-1/+8
| | | | | | | | | 2002-09-18 Not Zed <NotZed@Ximian.com> * evolution-wizard.c (impl_GNOME_Evolution_Wizard_notifyAction): Allow 'back' to run if we're on the finish page. For #29293. svn path=/trunk/; revision=18106
* updated .cvsignoreJeffrey Stedfast2002-09-191-0/+1
| | | | svn path=/trunk/; revision=18104
* Add description for E_STORAGE_NOTONLINE.Ettore Perazzoli2002-09-185-0/+19
| | | | | | | | | | | | | | | * e-storage.c (e_storage_result_to_string): Add description for E_STORAGE_NOTONLINE. * e-corba-storage.c (e_corba_storage_corba_result_to_storage_result): Support GNOME_Evolution_Storage_NOT_ONLINE (E_STORAGE_NOTONLINE). * Evolution-Storage.idl: Add NOT_ONLINE to enum Result. * e-storage.h: Add E_STORAGE_NOTONLINE to EStorageResult enum. svn path=/trunk/; revision=18097
* Remove unused variable.Ettore Perazzoli2002-09-183-1/+17
| | | | | | | | | | * e-storage-set-view.c (sort_idle_callback): Remove unused variable. * e-shell-view.c (shell_line_status_changed_cb): Make Send/Receive insensitive when in offline mode. [#27855] svn path=/trunk/; revision=18096
* [Fix #28451.]Ettore Perazzoli2002-09-184-21/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | * e-storage-set-view.c: New member sort_idle_id in EStorageSetViewPrivate. (init): Init to zero. (impl_destroy): Remove the idle source if not zero. (queue_resort): New. (sort_idle_callback): Idle function to sort. (setup_folder_changed_callback): New. (new_folder_cb): Call it on the new folder so we get the callback for new folders too. (popup_folder_menu): Ref the folder before popping up the menu, unref it after popping it down [the folder might be unreffed in gnome_popup_menu_do_popup_modal() because of a folder action]. (new_storage_cb): Just queue_resort() instead of sorting. (new_folder_cb): Likewise. (insert_folders): Likewise. (insert_storages): Likewise. (folder_changed_cb): Queue a resort here too. * e-folder.c (class_init): Set up "name_changed" signal. (e_folder_set_name): Emit "name_changed". * e-folder.h: New signal "name_changed". svn path=/trunk/; revision=18093
* Invoke gettext on strings coming from the .oaf files.Kjartan Maraas2002-09-182-2/+7
| | | | | | | | | 2002-09-17 Kjartan Maraas <kmaraas@gnome.org> * e-shell-settings-dialog.c (page_new): Invoke gettext on strings coming from the .oaf files. svn path=/trunk/; revision=18092
* Remove some leftover junk.Ettore Perazzoli2002-09-182-24/+5
| | | | svn path=/trunk/; revision=18088
* Mark a string for translation.Kjartan Maraas2002-09-183-2/+8
| | | | | | | | | 2002-09-17 Kjartan Maraas <kmaraas@gnome.org> * e-folder-list.c (create_display_string): Mark a string for translation. svn path=/trunk/; revision=18086
* (e_storage_removed_folder): When a highlightedEttore Perazzoli2002-09-182-1/+24
| | | | | | | folder gets removed, update the parent to not have a highlight. [#24062] svn path=/trunk/; revision=18085
* New script to run Evolution under aEttore Perazzoli2002-09-173-1/+23
| | | | | | | non-GNOME session when using a non-default GNOME prefix and a non-default Evolution prefix. svn path=/trunk/; revision=18082
* (setup_bonobo_conf_private_directory): g_free() notEttore Perazzoli2002-09-122-4/+9
| | | | | | free(), since we allocate with glib functions. [#19899] svn path=/trunk/; revision=18047
* no longer distribute the etstate files. enable_search on the view. addMike Kestner2002-09-065-6/+54
| | | | | | | | | | | | | | 2002-09-05 Mike Kestner <mkestner@ximian.com> * Makefile.am : no longer distribute the etstate files. * e-shell-folder-selection-dialog.c : enable_search on the view. * e-storage-set-view.c : add search_enabled flag handling. (e_storage_set_view_set_show_checkboxes): manipulate the existing state instead of loading a state file from disk. (e_storage_set_view_enable_search): new. set a column in the sort_info on the etree to allow keystroke jumping in the etree. svn path=/trunk/; revision=18002
* Changed the description of the folders page in the settings dialog to beAnna Marie Dirks2002-09-062-1/+6
| | | | | | | | | 2002-09-05 Anna Marie Dirks <anna@ximian.com> * GNOME_Evolution_Shell.oaf.in : Changed the description of the folders page in the settings dialog to be more specific. svn path=/trunk/; revision=17991
* Add a -DPREFIX.Ettore Perazzoli2002-09-052-5/+58
| | | | | | | | | | | * Makefile.am (INCLUDES): Add a -DPREFIX. * main.c (main): New command-line option "force-upgrade". (show_development_warning): Suggest 1.0.8, not 1.0.5. (upgrade_from_1_0_if_needed): New. (idle_cb): Call it. svn path=/trunk/; revision=17982
* Return FALSE here. (get_base_url): Add a cast.Ettore Perazzoli2002-09-051-0/+9
| | | | | | | | | | | | * upgrade-mailer.c (upgrade): Return FALSE here. (get_base_url): Add a cast. * component-factory.c (storage_xfer_folder): Removed unused variables. * Makefile.am: Rename upgrade-mailer to evolution-mail-upgrade. svn path=/trunk/; revision=17981
* (new_folder_cb): Pass FALSE as @queue toEttore Perazzoli2002-09-052-1/+6
| | | | | | e_shell_view_display_uri() here. svn path=/trunk/; revision=17977
* (e_shell_view_get_current_component_id): If theEttore Perazzoli2002-09-052-0/+13
| | | | | | | | current_folder_type is NULL, just return NULL instead of passing it to e_folder_type_registry_get_handler_for_type() [and generate a warning]. [#21122] svn path=/trunk/; revision=17974
* Remove the "blah blah" text for now and change "Server" to "Account".Dan Winship2002-09-052-47/+6
| | | | | | | * glade/e-shell-shared-folder-picker-dialog.glade: Remove the "blah blah" text for now and change "Server" to "Account". svn path=/trunk/; revision=17973
* Pass TRUE as @queue to e_shell_view_display_uri().Ettore Perazzoli2002-09-056-27/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell.c (create_view): Pass TRUE as @queue to e_shell_view_display_uri(). * e-shell-view-menu.c (command_activate_view): Pass TRUE as @queue to e_shell_view_display_uri(). (goto_folder_dialog_folder_selected_cb): Likewise. * e-shell-shared-folder-picker-dialog.c (shared_folder_discovery_listener_callback): Pass TRUE as @queue to e_shell_view_display_uri(). * e-shell-view.c (display_uri): New arg @queue. If true, it allows the delayed_selection mechanism to happen transparently (returning TRUE, while before it used to return FALSE). Otherwise, refuse to queue the URI and return FALSE. (e_shell_view_display_uri): New arg @queue; pass it to display_uri(). (handle_current_folder_removed): Pass TRUE as @queue to e_shell_view_display_uri(). (set_folder_timeout): Likewise. (switch_on_folder_tree_click): Likewise. (activate_shortcut_cb): Likewise. (corba_interface_change_current_view_cb): Likewise. (socket_destroy_cb): Likewise. (socket_destroy_cb): Likewise. (e_shell_view_load_settings): Here, try displaying the old URI with @queue set to FALSE; if this fails, display the default URI and then invoke display again using @queue = TRUE so it gets queued up. This should fix #27721. svn path=/trunk/; revision=17972
* Pass FALSE as @restore_all_views to e_shell_restore_from_settings() so weEttore Perazzoli2002-09-054-7/+22
| | | | | | | | | | * main.c (idle_cb): Pass FALSE as @restore_all_views to e_shell_restore_from_settings() so we only restore the first view. * e-shell.c (e_shell_restore_from_settings): New arg @restore_all_views. svn path=/trunk/; revision=17967
* Pass NULL as @unpopulate_folder_context_menu_fn toEttore Perazzoli2002-09-058-49/+194
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook-component.c (create_component): Pass NULL as @unpopulate_folder_context_menu_fn to evolution_shell_component_new(). * gui/component-factory.c (create_object): Pass NULL as @unpopulate_folder_context_menu_fn to evolution_shell_component_new(). * mail-account-gui.c (mail_account_gui_save): Remove unused variable. * component-factory.c (unpopulate_folder_context_menu): New. (create_component): Pass it to evolution_shell_component_new(). * component-factory.c (create_component): Pass NULL as @unpopulate_folder_context_menu_fn to evolution_shell_component_new(). * e-storage-set-view.c (popup_folder_menu): Remove the context menu items using evolution_shell_component_client_unpopulate_folder_context_menu() instead of doing it ourself, since BonoboUI sucks. * evolution-shell-component-client.c (evolution_shell_component_client_unpopulate_folder_context_menu): New. * evolution-test-component.c (register_component): Pass NULL as @unpopulate_folder_context_menu_fn to evolution_shell_component_new(). * evolution-shell-component.c: New member unpopulate_folder_context_menu_fn in EvolutionShellComponentPrivate. New member uic in EvolutionShellComponentPrivate. (init): Init new members to NULL. (destroy): bonobo_object_unref() priv->uic if not NULL. (evolution_shell_component_new): New arg @unpopulate_folder_context_menu_fn. (evolution_shell_component_construct): Likewise. (impl_populateFolderContextMenu): Set priv->uic to the newly created UIComponent. (impl_unpopulateFolderContextMenu): New, implementation for the ::unpopulateFolderContextMenu CORBA method. (class_init): Install. * Evolution-ShellComponent.idl (unpopulateFolderContextMenu): New method. (AlreadyPopulated): New exception. (populateFolderContextMenu): Can raise it. (NotPopulated): New exception. svn path=/trunk/; revision=17963
* Ooops. I committed the wrong version of the file.Ettore Perazzoli2002-09-041-1/+1
| | | | svn path=/trunk/; revision=17953
* Create an Items placeholder under ComponentPlaceholder, and thenEttore Perazzoli2002-09-043-1/+18
| | | | | | | | | | | | | * e-storage-set-view.c (popup_folder_menu): Create an Items placeholder under ComponentPlaceholder, and then bonobo_ui_component_rm() it after we are done with the menu. This -should- fix #29782, but it doesn't. I am not sure why. * evolution-shell-component.h (EVOLUTION_SHELL_COMPONENT_POPUP_PLACEHOLDER): Append a "/Items" part. svn path=/trunk/; revision=17952
* Argh, didn't mean to commit this.Ettore Perazzoli2002-09-041-6/+0
| | | | svn path=/trunk/; revision=17946
* (show_import_wizard): Make the WM closeEttore Perazzoli2002-09-033-8/+15
| | | | | | | button in the dialog hide instead of destroying, using gnome_dialog_close_hides(). [#15572] svn path=/trunk/; revision=17945
* Pass a selection_order to oaf_query so we get the components back in aDan Winship2002-08-292-2/+14
| | | | | | | | | | | | | * e-shell.c (setup_components): Pass a selection_order to oaf_query so we get the components back in a consistent order. Hack fix for #28490 for 1.2 by ensuring that Connector gets started before evolution-mail. (get_icon_path_for_component_info): Rename the oaf icon name property to use underscores to match the launch order property (which needs to use underscores because dashes are interpreted as subtraction in the selection_order context). svn path=/trunk/; revision=17904
* (get_shortcut_info): Make sureEttore Perazzoli2002-08-282-5/+18
| | | | | | | | | *custom_icon_name_return is at least set to NULL on return [it used to leave it uninitialized if the URI was not prefixed with E_SHELL_URI_PREFIX]. Also use e_shell_parse_uri() to parse the URI so we handle the default shortcuts properly, too. svn path=/trunk/; revision=17879
* Get the "addresses" property of the select names control rather thanDan Winship2002-08-202-5/+6
| | | | | | | | * e-shell-shared-folder-picker-dialog.c (show_dialog): Get the "addresses" property of the select names control rather than "text", so we get the email address too. #28953 svn path=/trunk/; revision=17804
* Fix the names of these functions. (They previously used "register" insteadDan Winship2002-08-195-8/+20
| | | | | | | | | | | | | | * e-folder-type-registry.c (e_folder_type_registry_type_registered, e_folder_type_registry_unregister_type): Fix the names of these functions. (They previously used "register" instead of "registry".) * e-component-registry.c (register_type): Update for renaming * e-local-storage.c (load_folder): Likewise svn path=/trunk/; revision=17799
* If the selected URI is of an invalid type, don't accept it.Dan Winship2002-08-173-45/+101
| | | | | | | | | | | * evolution-folder-selector-button.c (evolution_folder_selector_button_set_uri): If the selected URI is of an invalid type, don't accept it. (evolution_folder_selector_button_get_folder): Returns the selected folder. (various): updates to support get_folder, and to simplify. svn path=/trunk/; revision=17794
* Remove both timeouts when the dialog is destroyed, not just one of them.Dan Winship2002-08-104-44/+76
| | | | | | | | | | | | | | | | | | * e-shell-shared-folder-picker-dialog.c (create_progress_dialog): Remove both timeouts when the dialog is destroyed, not just one of them. (shared_folder_discovery_listener_callback): Don't try to access fields of discovery_data after destroying it. Interpret the result argument correctly, and put up an error dialog (using e_corba_storage_corba_result_to_storage_result and e_storage_result_to_string) if something went wrong. * e-corba-storage.c (e_corba_storage_corba_result_to_storage_result): convert a GNOME_Evolution_Storage_Result to an EStorageResult. (async_folder_cb): Use that. svn path=/trunk/; revision=17750
* Don't include the storage name in the path passed toDan Winship2002-08-072-3/+12
| | | | | | | | | * e-storage-set-view.c (folder_property_item_verb_callback): Don't include the storage name in the path passed to e_corba_storage_show_folder_properties, for consistency with the other EStorage methods. svn path=/trunk/; revision=17716
* New callback for the show_folder_properties signal.Ettore Perazzoli2002-08-0716-52/+554
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-test-component.c (storage_show_folder_properties_callback): New callback for the show_folder_properties signal. (setup_custom_storage): Add two property items, and connect the callback to the signal. * e-storage-set-view.c: Renamed private member container into ui_container; new member ui_component. (init): Initialize ui_component to NULL. (impl_destroy): Unref if not NULL. (e_storage_set_view_construct): If @ui_container is not NULL, weakref it and create a new ui_component that uses it as its container. (ui_container_destroy_notify): New, weakref destroy callback for priv->ui_container. (remove_property_items): New helper function. (setup_folder_properties_items_if_corba_storage_clicked): New helper function. (folder_property_item_verb_callback): New callback for the verbs associated to the folder property items. (popup_folder_menu): Set up the per-storage folder property items using setup_folder_properties_items_if_corba_storage_clicked() and remove them with remove_property_items() after the menu has been popped down. Don't invoke populate_folder_context_menu if there is no handler for this node [this avoids a spurious warning]. * e-corba-storage.c (e_corba_storage_show_folder_properties): New. (e_corba_storage_get_folder_property_items): New. (e_corba_storage_free_property_items_list): New. * evolution-storage.c: New private member folder_property_items. (init): Init to NULL. (destroy): Free. (impl_showFolderProperties): New, implementation for the Storage::showFolderProperties CORBA method. (class_init): Set up the "show_folder_properties" signal here. (impl_Storage__get_propertyItems): New, getter for the Storage::propertyItems property. (corba_class_init): Install the new methods. (evolution_storage_add_property_item): New function to add property items to the storage. * evolution-storage.h: New signal show_folder_properties. * e-storage-set.c (e_storage_set_create_new_view): Renamed from e_storage_set_new_view(). * Evolution-Storage.idl: Added attribute folderPropertyItems and method ::showFolderProperties. svn path=/trunk/; revision=17714
* (endarken_style): Set the color forEttore Perazzoli2002-08-023-3/+13
| | | | | | GTK_STATE_INSENSITIVE too so it doesn't look ugly when we quit. svn path=/trunk/; revision=17679
* New, implement a right-click -> "Add Default Shortcuts" menu item.Ettore Perazzoli2002-08-014-15/+55
| | | | | | | | | | | | * e-shortcuts-view.c (create_default_shortcuts_cb): New, implement a right-click -> "Add Default Shortcuts" menu item. (rename_group_cb): Remove double casts. *lol* * e-shortcuts.c (e_shortcuts_add_default_shortcuts): New. (e_shortcuts_add_default_group): Use e_shortcuts_add_default_shortcuts(). svn path=/trunk/; revision=17663
* (ensure_menu_items):Ettore Perazzoli2002-08-012-110/+90
| | | | | | | | | | | Don't sort the menu_items here. (create_menu_xml): Instead, sort here, and only sort the non-default section of the menu. (get_default_action_for_view): Just get the first item that is default; since we don't sort anymore, this works. (find_menu_item_for_verb): Removed since it is not used anymore. svn path=/trunk/; revision=17659
* Pass "contacts" as the @folder_type toEttore Perazzoli2002-08-016-59/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook-component.c (add_creatable_item): Pass "contacts" as the @folder_type to evolution_shell_component_add_user_creatable_item(). * gui/component-factory.c (add_creatable_item): New arg @folder_type, pass it to evolution_shell_component_add_user_creatable_item(). (create_object): Set the right folder types for the various user-creatable items. * component-factory.c (create_component): Pass "mail" as @folder_type to evolution_shell_component_add_user_creatable_item(). * evolution-test-component.c (register_component): Pass NULL for @folder_type to evolution_shell_component_add_user_creatable_item(). * e-shell-user-creatable-items-handler.c: New member folder_type in struct MenuItem. (ensure_menu_items): Initialize ->folder_type. (item_is_default): New helper function. (create_menu_xml): New arg @folder_type. Put the items on the top using item_is_default(). (shell_view_view_changed_callback): Pass the folder type to create_menu_xml(). * evolution-shell-component.c: New member folder_type in UserCreatableItemType. (user_creatable_item_type_new): New arg @folder_type. (user_creatable_item_type_free): Free ->folder_type. (evolution_shell_component_add_user_creatable_item): New arg @folder_type. (impl__get_userCreatableItemTypes): Set ->folderType in the returned CORBA structs. * Evolution-ShellComponent.idl: New member folderType in struct UserCreatableItemType. * e-shell-user-creatable-items-handler.c: New member component_id in struct MenuItem. Removed member menu_xml from EShellUserCreatableItemsHandlerPrivate. (init): No need to initialize menu_xml here anymore. (impl_destroy): ...And no need to free here, either. (setup_menu_xml): New, derived from ensure_menu_xml(). This orders the menu so that the items for the current component go at the top. (create_menu_xml): Removed. (e_shell_user_creatable_items_handler_attach_menus): Set up properly for the current component ID, using setup_menu_xml(). svn path=/trunk/; revision=17658
* New function to set the uri programatically on aJeffrey Stedfast2002-07-303-8/+39
| | | | | | | | | | 2002-07-29 Jeffrey Stedfast <fejj@ximian.com> * evolution-folder-selector-button.c (evolution_folder_selector_button_set_uri): New function to set the uri programatically on a EvolutionFolderSelectorButton dingus. svn path=/trunk/; revision=17633
* Capitalize the title of the dialog for consistency.Ettore Perazzoli2002-07-273-2/+11
| | | | | | | | | | | * e-shell-view-menu.c (command_new_shortcut): Capitalize the title of the dialog for consistency. * e-shell-folder-creation-dialog.c (setup_dialog): Don't prepend the window's title with "Evolution -" since we don't do that anywhere else. Also capitalize properly. svn path=/trunk/; revision=17616
* (ensure_menu_xml): Put inEttore Perazzoli2002-07-272-2/+7
| | | | | | the ComponentItems placeholder, instead of NewItems. svn path=/trunk/; revision=17615
* (load_all_folders): Don't return FALSE if anyEttore Perazzoli2002-07-272-7/+37
| | | | | | | of the folders fails to load; otherwise, if the user has played with ~/evolution, he might end up not seeing any folders at all. svn path=/trunk/; revision=17606
* (command_work_online): Remove debuggingEttore Perazzoli2002-07-242-2/+6
| | | | | | | message. (command_work_offline): Likewise. svn path=/trunk/; revision=17563
* (double_click_cb): RenamedEttore Perazzoli2002-07-192-57/+69
| | | | | | | | | | | from `dbl_click_cb'. (check_folder_type): Don't pop up an error dialog anymore. (check_folder_type_valid): Renamed from check_folder_type(). (folder_selected_cb): Make the OK button sensitive only if the type of the selected folder is in the list of valid types; otherwise, make it insensitive. [#848] svn path=/trunk/; revision=17513
* removed check for local folders, so that we can import into non-localRodrigo Moya2002-07-192-10/+5
| | | | | | | | | 2002-07-18 Rodrigo Moya <rodrigo@ximian.com> * e-shell-importer.c (start_import): removed check for local folders, so that we can import into non-local ones. svn path=/trunk/; revision=17512
* Removed unused variable.Ettore Perazzoli2002-07-1914-51/+122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-storage-set-view.c (impl_StorageSetView__set_checkedFolders): Removed unused variable. * e-shell-folder-title-bar.c (e_shell_folder_title_bar_construct): Removed unused variable. * e-storage.c (e_storage_path_is_absolute) (e_storage_path_is_relative) (e_storage_async_xfer_folder) * e-storage-set.c (make_full_path) (get_storage_for_path) (signal_new_folder_for_all_folders_under_paths) (signal_new_folder_for_all_folders_in_storage) (e_storage_set_get_path_for_physical_uri) * e-storage-set-view.c (storage_sort_callback) (new_storage_cb) (removed_storage_cb) (new_folder_cb) * e-shortcuts-view.c (get_shortcut_info): * e-shell-view.c (handle_current_folder_removed) * e-shell-utils.c (e_shell_folder_name_is_valid): * e-local-storage.c (construct): * e-folder-tree.c (get_parent_path) (get_parent_path) (e_folder_tree_destroy) (e_folder_tree_add) (e_folder_tree_foreach) * e-folder-dnd-bridge.c (handle_data_received_path) * evolution-storage.c (make_full_uri): * e-shell-constants.h: New #defines E_PATH_SEPARATOR and E_PATH_SEPARATOR_S. * e-local-storage.c (load_folder): Don't add the folder if its type isn't registered. svn path=/trunk/; revision=17510
* Make ChangeLog entry more recentPeter Williams2002-07-181-7/+7
| | | | svn path=/trunk/; revision=17498
* Get the EStorageSet from the shortcut's shell since there is noEttore Perazzoli2002-07-189-99/+216
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shortcuts-view-model.c (get_icon_for_item): Get the EStorageSet from the shortcut's shell since there is no e_shortcuts_get_storage_set() anymore. * e-shortcuts-view.c (get_shortcut_info): Likewise. (impl_shortcut_drag_motion): Likewise. (impl_shortcut_drag_data_received): Likewise. * e-shell.c (e_shell_construct): e_shortcuts_new_from_file(), not e_shortcuts_new() here. * e-shortcuts.c: Removed members storage_set and folder_type_registy in EShortcutsPrivate. New member shell. (init): Init to NULL. (e_shortcuts_construct): Removed arg @storage_set and @folder_type_registry, new arg @shell. (e_shortcuts_new): Removed. (e_shortcuts_new_from_file): New. (impl_destroy): Renamed from destroy(). (e_shortcuts_get_storage_set): Removed. (e_shortcuts_get_shell): New. (load_shortcuts): Accept any URI that can be parsed (by e_shell_parse_uri). * e-shell.c (e_shell_parse_uri): New. * e-shell-view.c (evolution_uri_for_default_uri): New. (display_uri): Use it to determine the evolution: uri given a default: uri. * e-shell.c (impl_Shell_handleURI): Pass it over to e_shell_create_view_from_uri_and_settings() even if it's an E_SHELL_DEFAULTURI_PREFIX. (handle_default_uri): Removed. svn path=/trunk/; revision=17497
* Install libversit.a so that people compiling against the addressbook canPeter Williams2002-07-182-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-09 Peter Williams <peterw@ximian.com> * libversit/Makefile.am (privlib_LIBRARIES): Install libversit.a so that people compiling against the addressbook can do so successfully. * Makefile.am: create our *Conf.sh files and dist them and install them. * configure.in: Define and subst some variables that the Conf.sh file need. 2002-07-08 Peter Williams <peterw@ximian.com> * backend/ebook/Makefile.am: Install libebook-static.la. Also change --all-static to -all-static, which is the right flag. * backend/pas/Makefile.am: Install the PAS headers in $(includedir)/evolution/pas. Install libpas.a 2002-07-08 Peter Williams <peterw@ximian.com> * cal-util/Makefile.am: Install libcal-util-static.la and fix the -all-static flag to make it install statically. * pcs/Makefile.am: Install libpcs.a and its headers. * pcs/cal-backend-util.h: Same sort of include namespacing fix, but for pcs. * pcs/cal.h: * pcs/query.h: * pcs/cal-factory.h: * pcs/cal-backend.h: * pcs/cal-backend-file.h: Same. 2002-07-17 Peter Williams <peterw@ximian.com> * calendar/cal-util/Makefile.am (GTKDOC_LIBS): Because we're using libtool as our LD, we can reference .la's and libtool will DTRT for us. * calendar/cal-client/Makefile.am (GTKDOC_LIBS): Same here. 2002-07-03 Peter Williams <peterw@ximian.com> * Makefile.am: Install libeutil, libeconduit, and libedb3util and their headers. 2002-07-08 Peter Williams <peterw@ximian.com> * Makefile.am: Reference the new libefilterbar.a. 2002-07-12 Peter Williams <peterw@ximian.com> * Makefile.am (INCLUDES): Add -I$(builddir)/libical/src/libical for the generated ical.h (some headers rely on this because they too get installed.) 2002-07-09 Peter Williams <peterw@ximian.com> * e-timezone-dialog/Makefile.am: Add -I$(top_builddir)/libical/src/libical; some headers that we rely on get installed, so they point to the ical.h that gets generated and installed; consequently we need to be able to find the generated ical.h * misc/Makefile.am: Install libemiscwidgets.a and its headers. However, break EFilterBar into a separate libefilterbar.a because we don't want the installed library to depend on libfilter. svn path=/trunk/; revision=17496
* no need to convert the value returned by e_folder_tree_get_folder to aRodrigo Moya2002-07-162-7/+23
| | | | | | | | | | | 2002-07-14 Rodrigo Moya <rodrigo@ximian.com> * evolution-storage.c (impl_Storage_getFolderAtPath): no need to convert the value returned by e_folder_tree_get_folder to a GNOME_Evolution_Folder, since it already is, and duplicate it before returning. svn path=/trunk/; revision=17461
* set corba_folder.customIconName so we don't crash.Chris Toshok2002-07-152-1/+11
| | | | | | | | | | | 2002-07-14 Chris Toshok <toshok@ximian.com> * e-shell.c (folder_selection_dialog_folder_selected_cb): set corba_folder.customIconName so we don't crash. (impl_Shell_selectUserFolder): remove the default_type parameter to fix a compiler warning. svn path=/trunk/; revision=17451
* dup the listener, for consistency with the other signalsDan Winship2002-07-132-1/+8
| | | | | | | * evolution-storage.c (impl_Storage_asyncDiscoverSharedFolder): dup the listener, for consistency with the other signals svn path=/trunk/; revision=17444
* (clicked): Ref the parent_window and then unref after you are done usingEttore Perazzoli2002-07-132-0/+8
| | | | | | | | (clicked): Ref the parent_window and then unref after you are done using it. [#27673] svn path=/trunk/; revision=17441
* Install some headers that weren't getting installed.Peter Williams2002-07-132-2/+7
| | | | | | | | | 2002-07-12 Peter Williams <peterw@ximian.com> * Makefile.am (eshellinclude_HEADERS): Install some headers that weren't getting installed. svn path=/trunk/; revision=17439
* Allow a NULL icon [remove the precondition].Ettore Perazzoli2002-07-123-5/+13
| | | | | | | | | | * e-shell-folder-title-bar.c (e_shell_folder_title_bar_set_icon): Allow a NULL icon [remove the precondition]. * e-shell-view.c (update_folder_title_bar): Only unref the folder_icon if not NULL. svn path=/trunk/; revision=17426
* Actually pass the evolution URI, not the path, in Folder.evolutionUriEttore Perazzoli2002-07-122-8/+10
| | | | | | | | | | | | | | * e-summary-preferences.c (set_selected_folders): Actually pass the evolution URI, not the path, in Folder.evolutionUri (since now the shell StorageSetView implementation has been fixed to handle this field properly). * evolution-storage-set-view.c (impl_StorageSetView__set_checkedFolders): Handle Folder.evolutionUri as a URI, not as a path. Also use e_free_string_list(). svn path=/trunk/; revision=17425
* (set_selected_folders): Set theEttore Perazzoli2002-07-121-0/+5
| | | | | | | customIconName part to the empty string. [#27616] Also, set_release on the sequence to TRUE. svn path=/trunk/; revision=17423
* (update_folder_title_bar): Ref the folder_iconEttore Perazzoli2002-07-122-0/+6
| | | | | | that we get from e_folder_type_registry_get_icon_for_type(). svn path=/trunk/; revision=17421
* (get_folder_list_foreach): CopyEttore Perazzoli2002-07-122-6/+14
| | | | | | | customIconName and sortingPriority in the new_corba_folder. [#27670] svn path=/trunk/; revision=17420
* Remove some `#if 0'ed broken code. New members title_icon andEttore Perazzoli2002-07-125-167/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-folder-title-bar.c: Remove some `#if 0'ed broken code. New members title_icon and title_button_icon in struct EShellFolderTitleBarPrivate. Remove member icon_widget. New static global variable empty_pixbuf. (init): Initialize these new members to NULL. Don't initialize icon_widget anymore since it's gone. (e_shell_folder_title_bar_construct): Create the title_button_icon and pack it into the title_button_hbox. Also, create the title_icon and pack that one as well. Retouched some of the hardcoded padding values. (size_allocate_icon): Rewritten to use the title_icon and return the allocated space like size_allocate_navigation_buttons. (e_shell_folder_title_bar_set_icon): Remove bogus const from the @icon arg. Ref the pixbuf, and update the two pixmap widgets from it. If @icon is NULL, use the empty_pixbuf. (impl_destroy): Renamed from destroy(). (realize): Removed. (unrealize): Removed. (impl_size_allocate): Renamed from size_allocate(). (class_init): Call it. (add_icon_widget): Removed. (new_empty_pixbuf): New. (new_empty_pixmap_widget): New. (size_allocate_navigation_buttons_and_title_icon): Renamed from size_allocate_navigation_buttons; set up the title_icon too. * e-shell-view.c (update_folder_title_bar): Unref the folder_icon after using it. * e-icon-factory.c (e_icon_factory_get_icon): Ref the returned pixbuf. svn path=/trunk/; revision=17419
* (update_folder_title_bar): Get a @folder argEttore Perazzoli2002-07-112-33/+47
| | | | | | | | instead of a @type arg. Use the custom icon if the folder has one. (update_for_current_uri): Updated accordingly. svn path=/trunk/; revision=17410
* Pass zero as the @sorting_priority to evolution_storage_new_folder().Ettore Perazzoli2002-07-1012-52/+182
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook-storage.c (load_source_data): Pass zero as the @sorting_priority to evolution_storage_new_folder(). (addressbook_storage_add_source): Likewise. * subscribe-dialog.c (recursive_add_folder): Pass zero as @sorting_priority to evolution_storage_new_folder(). * mail-folder-cache.c (real_flush_updates): Pass zero as @sorting_priority to evolution_storage_new_folder(). * evolution-test-component.c (setup_custom_storage): Pass @sorting_priority to evolution_storage_new_folder() so we test it. Also make /FirstFolder have an "inbox" custom icon. * e-local-storage.c (new_folder): Pass zero as @sorting_priority to evolution_storage_new_folder(). * evolution-storage.c (evolution_storage_new_folder): New arg @sorting_priority; put it in the CORBA folder struct. * evolution-shell-client.c (impl_FolderSelectionListener_selected): Copy the sortingPriority as well. * e-folder.c (e_folder_to_corba): Set sortingPriority. * e-corba-storage-registry.c (impl_StorageRegistry_getFolderByUri): Set sortingPriority in the new CORBA Folder struct. * e-corba-storage.c (impl_StorageListener_notifyFolderCreated): Set the custom_icon if folder->customIconName is not an empty string. Likewise, set the sorting_priority * Evolution-common.idl: New member sortingPriority in struct Folder. * e-storage-set-view.c (folder_sort_callback): Sort according to the sorting_priorities. * e-folder.c: New member sorting_priority in EFolderPrivate. (init): Init to zero. (e_folder_set_custom_icon): Emit "changed" if required. (e_folder_set_sorting_priority): New. svn path=/trunk/; revision=17404
* (load_icon): Ooops. Swapped the large/smallEttore Perazzoli2002-07-102-6/+10
| | | | | | pixbufs here. Also, plug a leak. svn path=/trunk/; revision=17399
* Pass NULL @custom_icon_name to evolution_storage_new_folder().Ettore Perazzoli2002-07-109-20/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook-storage.c (load_source_data): Pass NULL @custom_icon_name to evolution_storage_new_folder(). (addressbook_storage_add_source): Likewise. [Note we could be passing a nice custom here. ;-)] * subscribe-dialog.c (recursive_add_folder): Pass NULL for @custom_icon_name to evolution_storage_new_folder(). * mail-folder-cache.c (real_flush_updates): Pass NULL for @custom_icon_name to evolution_storage_new_folder(). * evolution-test-component.c (setup_custom_storage): Pass NULL for @custom_icon_name to evolution_storage_new_folder(). * e-local-storage.c (new_folder): Pass the custom_icon_name here to evolution_storage_new_folder(). * evolution-shell-client.c (impl_FolderSelectionListener_selected): Set customIconName here too. * e-folder.c (e_folder_to_corba): Set customIconName too. * e-corba-storage-registry.c (impl_StorageRegistry_getFolderByUri): Set customIconName. Also, use e_safe_corba_string() to clean up the code a bit. * evolution-storage.c (evolution_storage_new_folder): New arg @custom_icon_name. * Evolution-common.idl: New member customIconName in struct Folder. svn path=/trunk/; revision=17397