aboutsummaryrefslogtreecommitdiffstats
path: root/shell
Commit message (Collapse)AuthorAgeFilesLines
...
* don't leak nr.name.Larry Ewing2003-06-112-0/+5
| | | | | | | | 2003-06-10 Larry Ewing <lewing@ximian.com> * e-corba-storage-registry.c (listener_notify): don't leak nr.name. svn path=/trunk/; revision=21399
* Roll over ChangeLogs.Ettore Perazzoli2003-06-102-15363/+15363
| | | | svn path=/trunk/; revision=21387
* Add Mark Gordon.Ettore Perazzoli2003-05-232-0/+5
| | | | svn path=/trunk/; revision=21329
* (storage_weak_notify): SetEttore Perazzoli2003-05-202-0/+27
| | | | | | | | | the storage member to NULL. (shell_weak_notify): Set the shell member to NULL. (cleanup_discovery): g_object_weak_unref() shell, parent and storage. svn path=/trunk/; revision=21280
* Removed "forced_upgrade" unused variable. (show_development_warning): PutEttore Perazzoli2003-05-204-7/+42
| | | | | | | | | | | | | | | | | | | | | * main.c: Removed "forced_upgrade" unused variable. (show_development_warning): Put in a DEVELOPMENT_WARNING cpp conditional. (warning_dialog_response_callback): Likewise. (view_map_callback): Likewise. (new_view_created_callback): Likewise. (idle_cb) [DEVELOPMENT_WARNING]: Do not connect new_view_created_callback() to the "new_view" shell signal anymore. * Makefile.am (install-evolution) [DEFAULT_BINARY]: Make a symbolic link from evolution to evolution-$(BASE_VERSION). * e-shell-folder-creation-dialog.c (dialog_data_destroy): g_object_weak_unref shell and dialog if they are not NULL. (dialog_destroy_notify): Set ->dialog to NULL in all cases. svn path=/trunk/; revision=21267
* Remove some padding which I incorrectly added to the wrong vbox. ThisAnna Marie Dirks2003-05-202-1/+7
| | | | | | | | | | 2003-05-19 Anna Marie Dirks <anna@ximian.com> * e-corba-config-page.c: Remove some padding which I incorrectly added to the wrong vbox. This shoulda been fixed in widgets/misc/e-multi-config-dialog.c . (And it is, now.) svn path=/trunk/; revision=21264
* (e_storage_set_view_set_show_checkboxes):Ettore Perazzoli2003-05-182-2/+13
| | | | | | | Reallocate the "expansions" member of ETreeState as well, to avoid a memory error. [#43119] svn path=/trunk/; revision=21232
* Protect against the component name having slashes in it.Ettore Perazzoli2003-05-163-1/+19
| | | | | | | | | | * e-shell.c (parse_default_uri): Protect against the component name having slashes in it. * e-shell-view.c (display_uri): Protect against invalid "default:" URIs. [#43079] svn path=/trunk/; revision=21194
* #ifdef'ed wombat killing code, depending on whether KILL_PROCESS_CMD isRodrigo Moya2003-05-152-0/+14
| | | | | | | | | | 2003-05-15 Rodrigo Moya <rodrigo@ximian.com> * main.c: #ifdef'ed wombat killing code, depending on whether KILL_PROCESS_CMD is defined or not. (kill_wombat): kill also the alarm daemon process. svn path=/trunk/; revision=21190
* [Patch from Antonio Xu <antonio.xu@sun.com>, #42491]Ettore Perazzoli2003-05-152-2/+9
| | | | | | | * e-config-upgrade.c (upgrade_xml_1_2_rec): Make it compile on Forte. svn path=/trunk/; revision=21189
* release the interface if we got itJP Rosevear2003-05-156-15/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-14 JP Rosevear <jpr@ximian.com> * e-shell.c (save_settings_for_component): release the interface if we got it * e-shell-view.c: include bonobo-exception.h (impl_dispose): release and unref the shell view corba interface (init): init to CORBA_OBJECT_NIL (e_shell_view_get_corba_interface): return the corba interface (setup_corba_interface): release the existing shell view, add as an interface and then query to get it back (get_view_for_uri): release and unref the control once we create the widget with it * e-corba-storage.c (storage_listener_servant_new): don't ref ourselves (storage_listener_servant_free): don't unref ourselves (impl_dispose): free the servant info * e-corba-storage-registry.c (impl_StorageRegistry_getStorageByName): we need to ref as well as duplicate since we didn't create the storage here svn path=/trunk/; revision=21176
* Add a #include to fix a warning.Jeremy Katz2003-05-093-3/+11
| | | | | | | | | | | 2003-05-09 Jeremy Katz <katzj@redhat.com> * main.c: Add a #include to fix a warning. * e-shell-offline-handler.c (update_dialog_clist): Use a list store instead of a tree model for the store. svn path=/trunk/; revision=21136
* [#42342] New function to update the Send/Receive menu and toolbar itemsEttore Perazzoli2003-05-092-12/+30
| | | | | | | | | | | | [#42342] * e-shell-view.c (update_send_receive_sensitivity): New function to update the Send/Receive menu and toolbar items according to the current line status. (e_shell_view_construct): Call it here to set up the initial state. (shell_line_status_changed_cb): Use it here as well. svn path=/trunk/; revision=21135
* [#36956] Remove the version number from the window title.Ettore Perazzoli2003-05-093-18/+38
| | | | | | | | | | | | | | | | | | | | | | | [#36956] * e-shell-view.c (update_for_current_uri): Remove the version number from the window title. [#42518] * e-shell-view.c (handle_current_folder_removed): Casefold the Inbox name only once, instead of once per iteration. Removed the spurious slash that was being passed in the path in the Inbox case and prevented it from working. Added missing slash in the path for the storage case. Casefold the path including the slash, since we compare against a string that does include the slash. (storage_set_removed_folder_callback): Remove the notebook page before calling handle_current_folder_removed(), instead of after; otherwise, the notebook page number we have might not be valid anymore. * e-shell-folder-creation-dialog.c (setup_dialog): Set the default response for the dialog to GTK_RESPONSE_OK. svn path=/trunk/; revision=21134
* (e_shell_command_add_to_shortcut_bar):Ettore Perazzoli2003-05-082-6/+15
| | | | | | | Do use the supplied folder_path to determine the unread count, if not NULL. [#42465] svn path=/trunk/; revision=21124
* don't pass NO_SEPARATOR flag as per gtkmessagedialog warningJP Rosevear2003-05-082-1/+6
| | | | | | | | | 2003-05-07 JP Rosevear <jpr@ximian.com> * e-shell-folder-commands.c (delete_dialog): don't pass NO_SEPARATOR flag as per gtkmessagedialog warning svn path=/trunk/; revision=21123
* grepped changelogs and added all names found. #40391.Not Zed2003-05-052-5/+113
| | | | | | | | | 2003-05-02 Not Zed <NotZed@Ximian.com> * e-shell-about-box.c (text[]): grepped changelogs and added all names found. #40391. svn path=/trunk/; revision=21102
* Don't expand the select-names entry, because we don't want it as tall asDan Winship2003-05-022-1/+7
| | | | | | | | * glade/e-shell-shared-folder-picker-dialog.glade: Don't expand the select-names entry, because we don't want it as tall as the button. svn path=/trunk/; revision=21046
* (e_shell_folder_selection_dialog_construct): Set the defaultEttore Perazzoli2003-05-012-0/+7
| | | | | | response to GTK_RESPONSE_OK. svn path=/trunk/; revision=21035
* Fix install of evolutionRodney Dawes2003-04-302-1/+6
| | | | | | | | 2003-04-29 Rodney Dawes <dobey@ximian.com> * Makefile.am: Fix install of evolution svn path=/trunk/; revision=21021
* [#41013]Not Zed2003-04-293-51/+183
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-28 Not Zed <NotZed@Ximian.com> [#41013] * e-shell-importer.c (html_size_req): removed. (create_help): renamed from create_html. Only creates a plain label widget now, with line wrap turned on. Also make the g_return an assert, it failing is entirely based on internal code. (show_import_wizard): s/create_html/create_help/g [#41648] * e-config-upgrade.c (upgrade_xml_file): upgrade_xml_file_1_0 made a bit more generic, this handles io, a callback handles xml changes. (is_xml1encoded): new function to tell if a string is in gal's xml1 'encoded' format, or raw locale text. (decode_xml1): decode xml1 encoded format to valid utf8. (upgrade_xml_1_2_rec): upgrades xml1 encoded or badly encoded xml content for specific parent->child nodes. (CONF_REVISION): bump the config revision to 1.3.1. (e_config_upgrade): if config revision < 1.3.1, then check xml files for xml1 content. svn path=/trunk/; revision=20999
* Fix up some stuff for the nognome script Fix up nognome script for SunRodney Dawes2003-04-293-11/+28
| | | | | | | | | 2003-04-28 Rodney Dawes <dobey@ximian.com> * Makefile.am: Fix up some stuff for the nognome script * evolution-nognome.in: Fix up nognome script for Sun GNOME2 svn path=/trunk/; revision=20996
* Fixes #41916Rodrigo Moya2003-04-292-2/+10
| | | | | | | | | | | | | 2003-04-28 Rodrigo Moya <rodrigo@ximian.com> Fixes #41916 * evolution-storage.c (get_folder_list_foreach): removed comment which does not apply any more. (impl_Storage__get_folderList): set sequence's maximum number of items to e_folder_tree_get_count as is. svn path=/trunk/; revision=20994
* (main): Add e_proxy_init()Ettore Perazzoli2003-04-292-0/+9
| | | | svn path=/trunk/; revision=20987
* Comment out the pinging code again since it's only being used byDan Winship2003-04-262-0/+12
| | | | | | | | * evolution-shell-component.c (impl_setOwner): Comment out the pinging code again since it's only being used by Connector, where it's triggering an unrelated bug. svn path=/trunk/; revision=20969
* (async_open_cb): Added a missing unref of theEttore Perazzoli2003-04-262-7/+19
| | | | | | | | storage in the closure. (async_open_folder_idle): Add the pending open to the pending open list before calling asyncOpenFolder, instead of after. svn path=/trunk/; revision=20968
* cast to remove warning. (construct): set a physiucal uri on the rootNot Zed2003-04-242-1/+11
| | | | | | | | | | 2003-04-23 Not Zed <NotZed@Ximian.com> * e-local-storage.c (load_folder): cast to remove warning. (construct): set a physiucal uri on the root folder, so we dont get warnings when we add it later. svn path=/trunk/; revision=20951
* Add appropriate padding to the Evolution Settings window. This is anotherAnna Marie Dirks2003-04-243-1/+14
| | | | | | | | | | | | | | 2003-04-22 Anna Marie Dirks <anna@ximian.com> * e-shell-settings-dialog.c (init): Add appropriate padding to the Evolution Settings window. This is another bit of the fix for #41392. * e-corba-config-page.c (e_corba_config_page_construct): Add appropriate padding to the corba_config_page widget. Partial fix for #41392. svn path=/trunk/; revision=20941
* *glade/e-folder-list.glade : replaced buttons with stock buttons and addedAnna Marie Dirks2003-04-242-98/+103
| | | | | | | | | 2003-04-23 Anna Marie Dirks <anna@ximian.com> *glade/e-folder-list.glade : replaced buttons with stock buttons and added HIG-blessed spacing. Fixes 41145. svn path=/trunk/; revision=20938
* Set the border width of the message dialog to 6. Also corrected theAnna Marie Dirks2003-04-232-3/+23
| | | | | | | | | | | | | | | 2003-04-22 Anna Marie Dirks <anna@ximian.com> * e-shortcuts-view.c (destroy_group_cb): Set the border width of the message dialog to 6. Also corrected the capitalization for "Remove Shortcut Dialog". Fixes 41569 (show_new_group_dialog): Fixed the title of "Create New Shortcut Group" . Partially fixes 41038. (rename_shortcut_cb): Corrected the label capitalization for Rename dialog. Fixes 41567. svn path=/trunk/; revision=20925
* this should never happen unless you're really trying, but don't crash ifChris Toshok2003-04-222-4/+14
| | | | | | | | | | 2003-04-21 Chris Toshok <toshok@ximian.com> * e-folder-list.c (e_folder_list_parse_xml): this should never happen unless you're really trying, but don't crash if the xml setting is malformed. svn path=/trunk/; revision=20912
* (create_folder_directory): Don't signal anEttore Perazzoli2003-04-222-6/+11
| | | | | | | error if mkdir() returns EEXIST. This should at least help with situations like the one described in #40989. svn path=/trunk/; revision=20911
* Corrected border with for Delete Folder dialog. Fixes 41036.Anna Marie Dirks2003-04-222-3/+17
| | | | | | | | | | | | | 2003-04-21 Anna Marie Dirks <anna@ximian.com> * e-shell-folder-commands.c (delete_dialog): Corrected border with for Delete Folder dialog. Fixes 41036. (e_shell_command_copy_folder): Corrected capitalization of the "Copy Folder" window title. Partial fix for 41025. (e_shell_command_move_folder): Corrected the capitalization of the "Move Folder" dialog. Fixes 41024. svn path=/trunk/; revision=20910
* Added appropriate border width to the folder selection dialog. FixesAnna Marie Dirks2003-04-222-4/+21
| | | | | | | | | | | 2003-04-21 Anna Marie Dirks <anna@ximian.com> * e-shell-folder-selection-dialog.c (e_shell_folder_selection_dialog_construct): Added appropriate border width to the folder selection dialog. Fixes 41022, 41146, 41147, 41010, partially fixes 41025. svn path=/trunk/; revision=20909
* Added spacing/padding to first-run dialog. Fixes 41242.Anna Marie Dirks2003-04-222-1/+7
| | | | | | | | | 2003-04-21 Anna Marie Dirks <anna@ximian.com> * glade/evolution-startup-wizard.glade: Added spacing/padding to first-run dialog. Fixes 41242. svn path=/trunk/; revision=20908
* Misc HIG-related tweaks, mostly spacing and padding related. Fixes 41008.Anna Marie Dirks2003-04-223-6/+16
| | | | | | | | | | | | | 2003-04-21 Anna Marie Dirks <anna@ximian.com> * glade/e-shell-folder-creation-dialog.glade: Misc HIG-related tweaks, mostly spacing and padding related. Fixes 41008. * e-shell-folder-creation-dialog.c (add_storage_set_view): Added appropriate spacing to the main vbox of the folder creation dialog. Partially fixes 41008. svn path=/trunk/; revision=20907
* Added appropriate spacing/padding to the default folder pages of theAnna Marie Dirks2003-04-222-189/+188
| | | | | | | | | | 2003-04-21 Anna Marie Dirks <anna@ximian.com> * glade/e-shell-config-default-folders.glade: Added appropriate spacing/padding to the default folder pages of the settings dialog. Partial fix for 41128. svn path=/trunk/; revision=20906
* Fixed padding/spacing/caps of the "Go Offline" dialog. Fixes 41225 andAnna Marie Dirks2003-04-222-5/+11
| | | | | | | | | 2003-04-21 Anna Marie Dirks <anna@ximian.com> * glade/e-active-connection-dialog.glade: Fixed padding/spacing/caps of the "Go Offline" dialog. Fixes 41225 and 41227. svn path=/trunk/; revision=20905
* [ fixes #21499 ]Rodney Dawes2003-04-192-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-18 Rodney Dawes <dobey@ximian.com> [ fixes #21499 ] * gui/component/Makefile.am: * gui/component/addressbook.c: * gui/component/select-names/e-select-names-bonobo.c: * gui/contact-editor/Makefile.am: * gui/contact-editor/e-contact-editor.c: * gui/contact-list-editor/Makefile.am: * gui/contact-list-editor/e-contact-list-editor.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () * gui/Makefile.am: * gui/calendar-commands.c: * gui/tasks-control.c: * gui/dialogs/Makefile.am: * gui/dialogs/comp-editor.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () * Makefile.am: * e-msg-composer.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui (). Fixes bug #21499. * Makefile.am: * folder-browser-ui.c: * mail-signature-editor.c: * message-browser.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui (). Fixes bug #21499. * Makefile.am: * e-summary-factory.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () * e-shell-view.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () [#21499] svn path=/trunk/; revision=20888
* If the default_type is "foo/bar" and "foo" appears in the list butDan Winship2003-04-182-13/+18
| | | | | | | | | * e-shell-folder-creation-dialog.c (add_folder_types): If the default_type is "foo/bar" and "foo" appears in the list but "foo/bar" doesn't, use "foo" as the default type. [#41468] Also, remove a workaround for a gtk 1.2 bug. svn path=/trunk/; revision=20885
* If the new folder's parent has unresolved children, async_open the parentDan Winship2003-04-182-8/+79
| | | | | | | | | | | | * e-corba-storage.c (async_create_folder): If the new folder's parent has unresolved children, async_open the parent first, then create the new folder. [#41413] (async_create_folder, async_remove_folder, async_xfer_folder, async_open_folder, async_discover_shared_folder, async_remove_shared_folder): Ref the storage. (async_folder_cb, async_folder_discovery_cb): Unref it svn path=/trunk/; revision=20884
* Turn off debugging. Fixes bug #41469.Jeffrey Stedfast2003-04-182-1/+5
| | | | | | | | 2003-04-16 Jeffrey Stedfast <fejj@ximian.com> * e-config-upgrade.c: Turn off debugging. Fixes bug #41469. svn path=/trunk/; revision=20881
* Increase the default value forEttore Perazzoli2003-04-163-13/+21
| | | | | | | | | | | | | | * apps_evolution_shell.schemas: Increase the default value for /schemas/apps/evolution/shell/view_defaults/folder_bar/width to 200. [#41002] * evolution-shell-component.c (owner_ping_callback): Enable this again. (setup_owner_pinging): Same. (impl_setOwner): Check if the shell is in-process and, if so, call setup_owner_pinging(). svn path=/trunk/; revision=20862
* Free the temporary string.Hans Petter Jansson2003-04-164-5/+29
| | | | | | | | | | | | | | 2003-04-15 Hans Petter Jansson <hpj@ximian.com> * e-setup.c (e_setup_check_config): Free the temporary string. * e-shell-user-creatable-items-handler.c (append_xml_for_menu_item): Free the icon xml string. * e-shell.c (parse_default_uri): Free the component name, the configuration path and the temporary path. svn path=/trunk/; revision=20849
* new boolean flag.Dan Winship2003-04-164-36/+96
| | | | | | | | | | | | | | | | | | * e-folder.c (e_folder_get_has_subfolders, e_folder_set_has_subfolders): new boolean flag. * e-storage.c (EStoragePrivate, impl_finalize, init): Remove the pseudofolders hash (e_storage_async_open_folder): Replace the pseudofolders test with a test of whether the folder has the "has_subfolders" flag set. (e_storage_new_folder): Likewise (for the folder's parent). (e_storage_declare_has_subfolders): Set "has_subfolders" on the folder. (e_storage_get_has_subfolders): Check "has_subfolders" on the folder. Should fix #33919. svn path=/trunk/; revision=20845
* fix the title of the dialogue box. #41304.Not Zed2003-04-152-1/+6
| | | | | | | | | 2003-04-14 Not Zed <NotZed@Ximian.com> * glade/e-active-connection-dialog.glade: fix the title of the dialogue box. #41304. svn path=/trunk/; revision=20841
* Update for e_option_menu prototype constificationDan Winship2003-04-103-16/+28
| | | | | | | * e-folder-list.c: Update for e_option_menu prototype constification svn path=/trunk/; revision=20790
* Add a "--setup-only" flag, to just run e_setup() and exit. (For #40889)Dan Winship2003-04-102-0/+8
| | | | | | | * main.c (main): Add a "--setup-only" flag, to just run e_setup() and exit. (For #40889) svn path=/trunk/; revision=20788
* Commit the right version.Larry Ewing2003-04-091-2/+2
| | | | svn path=/trunk/; revision=20778
* remove call to gtk_html_set_default_background_color, replace with callsLarry Ewing2003-04-091-2/+2
| | | | | | | | | | 2003-04-09 Larry Ewing <lewing@ximian.com> * e-shell-importer.c (create_html): remove call to gtk_html_set_default_background_color, replace with calls to gtk_widget_modify_style_* svn path=/trunk/; revision=20777
* kill an old e_utf8_gtk usageMike Kestner2003-04-091-1/+0
| | | | | | | | | | 2003-04-08 Mike Kestner <mkestner@ximian.com> * e-search-bar.c (set_option): kill an old e_utf8_gtk usage and remove some straggling e-font.h includes. svn path=/trunk/; revision=20769
* (setup_bonobo_conf_private_directory): Removed.Ettore Perazzoli2003-04-092-84/+6
| | | | | | | (e_setup): Do not call here. Also, removed hacks for ~/evolution/config and ~/evolution/local/Trash. svn path=/trunk/; revision=20760
* Remove the color specs so the druid will use theme colorsDan Winship2003-04-083-35/+7
| | | | | | | | | * glade/evolution-startup-wizard.glade: Remove the color specs so the druid will use theme colors * importer/import.glade: Likewise svn path=/trunk/; revision=20757
* (impl_dispose): g_object_weak_unref() the shell here.Ettore Perazzoli2003-04-082-0/+12
| | | | | | | (impl_dispose): g_object_weak_unref() the shell here. svn path=/trunk/; revision=20751
* Fix arg types on REMOVED_SHARED_FOLDER signal. #40888Dan Winship2003-04-082-3/+6
| | | | | | | * evolution-storage.c (evolution_storage_class_init): Fix arg types on REMOVED_SHARED_FOLDER signal. #40888 svn path=/trunk/; revision=20734
* Desensitize the window's top-level container rather than desensitizing theDan Winship2003-04-084-32/+40
| | | | | | | | | | | | | | | | | * evolution-folder-selector-button.c (clicked): Desensitize the window's top-level container rather than desensitizing the window itself, which causes strange problems [#40854]. Also fix up the code that tries to watch for the parent window being destroyed. * e-shell.c (impl_Shell_selectUserFolder): Use e_dialog_set_transient_for_xid. * e-shell-folder-selection-dialog.c (impl_response): Treat GTK_RESPONSE_DELETE_EVENT the same as GTK_RESPONSE_CANCEL. (e_shell_folder_selection_dialog_construct): No need to catch "delete_event" signal. svn path=/trunk/; revision=20729
* ignore wombat filesDan Winship2003-04-081-0/+4
| | | | svn path=/trunk/; revision=20707
* Substitute version number into the evolution binary name in the serverDan Winship2003-04-084-6/+32
| | | | | | | | | | | | | | * Makefile.am ($(server_in_files)): Substitute version number into the evolution binary name in the server file (INCLUDES): define EVOLUTION_TOOLSDIR * GNOME_Evolution_Shell.server.in.in: Clean up server names. Add "-@VERSION@" to the end of the shell binary name * main.c (main): if KILL_PROCESS_CMD is defined, add a --force-shutdown argument that runs killev and exits. svn path=/trunk/; revision=20702
* [#40536]Not Zed2003-04-073-0/+26
| | | | | | | | | | | | | 2003-04-07 Not Zed <NotZed@Ximian.com> [#40536] * evolution-shell-component.c (impl_interactive): If going interactive, track the view id in a private area. (evolution_shell_component_get_parent_view_xid): Accessor method to retrieve the current view xid. svn path=/trunk/; revision=20690
* (update_window_icon): Get the large version ofEttore Perazzoli2003-04-062-1/+7
| | | | | | | the icon instead of the small one, so it works more nicely with modern WMs. svn path=/trunk/; revision=20683
* Define RESPONSE_NEW for theEttore Perazzoli2003-04-052-2/+21
| | | | | | | | | "New" button in the dialog. (impl_response): Handle RESPONSE_NEW. (e_shell_folder_selection_dialog_construct): Add the "new" button with RESPONSE_NEW response_id. svn path=/trunk/; revision=20675
* Remove the icon_modes schema.Ettore Perazzoli2003-04-054-40/+14
| | | | | | | | | | | | | | * apps_evolution_shell.schemas: Remove the icon_modes schema. * e-shell-view.c (setup_defaults): Don't set the icon modes from GConf, they are already stored in the shortcuts.xml file. (e_shell_view_save_defaults): Likewise, don't set it here. * e-config-upgrade.c: Remove translation from ShortcutBarGroup%iIconMode to shell/view_defaults/shortcut_bar/icon_types. svn path=/trunk/; revision=20673
* added "foldertype" argument to GNOME::Evolution::Importer.Rodrigo Moya2003-04-037-7/+30
| | | | | | | | | | | | | | | | | | 2003-04-02 Rodrigo Moya <rodrigo@ximian.com> * importer/GNOME_Evolution_Importer.idl: * importer/evolution-importer.[ch]: added "foldertype" argument to GNOME::Evolution::Importer. * importer/evolution-importer-client.[ch] (evolution_importer_client_load_file): added "folder_type" argument and use it in the call to GNOME_Evolution_Importer_loadFile. * e-shell-importer.c (start_import): added "folder_type" argument and use it in the call to evolution_importer_client_load_file. (folder_selected): pass in the "folder_type" argument to start_import, svn path=/trunk/; revision=20643
* [#40652]Not Zed2003-04-022-2/+7
| | | | | | | | | | | 2003-04-02 Not Zed <NotZed@Ximian.com> [#40652] * e-shell-view.c (setup_widgets): Pack the folder and shortcut bars into the paned as sizeable. svn path=/trunk/; revision=20630
* [#39467]Not Zed2003-04-023-13/+20
| | | | | | | | | | | | | | 2003-04-02 Not Zed <NotZed@Ximian.com> [#39467] * e-shell.c (e_shell_construct): Change the splash logic slightly, so that if we can't create the splash, we dont try and cast/use it. * e-splash.c (e_splash_new): dont use a g_return* for what could be a valid (tho incorrect) runtime condition. svn path=/trunk/; revision=20629
* [#40590]Not Zed2003-04-022-2/+16
| | | | | | | | | | | | | 2003-04-02 Not Zed <NotZed@Ximian.com> [#40590] * e-config-upgrade.c (identity_map[]): Move the signature stuff to a child node. (identity_sig_map[]): Define the signature node. Fix *autogenerated_signature_%i to map to "auto". svn path=/trunk/; revision=20615
* [#40474]Not Zed2003-04-012-8/+23
| | | | | | | | | | | | | | 2003-04-01 Not Zed <NotZed@Ximian.com> [#40474] * e-config-upgrade.c (gconf_remap_list[]): The summary settings start at "My-Evolution", not "/My-Evolution". (import_bonobo_config): Same for mail summary settings, and hex decode the string for the strlist. Add a few extra debug printf's. svn path=/trunk/; revision=20606
* (kill_old_wombat): New.Ettore Perazzoli2003-03-293-1/+81
| | | | | | | (kill_wombat): New. (idle_cb): Call kill_old_wombat(). svn path=/trunk/; revision=20565
* Renamed from update_dialog_clist, Ported to GtkTreeView.Ettore Perazzoli2003-03-283-21/+34
| | | | | | | | | | | * e-shell-offline-handler.c (update_dialog_tree_view): Renamed from update_dialog_clist, Ported to GtkTreeView. (update_dialog_tree_view_hash_foreach): Likewise. * glade/e-active-connection-dialog.glade: Rename "active_connection_clist" to "active_connection_treeview". svn path=/trunk/; revision=20550
* Make Radek's surname correct, Doulík, inserted utf8 into the name string.Not Zed2003-03-272-1/+6
| | | | | | | | | 2003-03-27 Not Zed <NotZed@Ximian.com> * e-shell-about-box.c: Make Radek's surname correct, Doulík, inserted utf8 into the name string. For bug #17034. svn path=/trunk/; revision=20542
* (e_shell_view_construct): Pass "evolution-1.4" asEttore Perazzoli2003-03-272-1/+6
| | | | | | the app name to bonobo_ui_util_set_ui() instead of "evolution". svn path=/trunk/; revision=20527
* [Shell part of #7153.]Ettore Perazzoli2003-03-272-1/+47
| | | | | | | | | | | | | | (load_folder): Call e_storage_new_folder() instead of new_folder() here so the folder doesn't get added to the EvolutionStorage. Since the EvolutionStorage has its own CORBAfied copy of the folder info [sigh] and it can't be updated, we have to set up the EvolutionStorage after setup_stock_folders() has been called. (setup_corba_storage): New function to set up the CORBA storage. (load_all_folders): Call setup_corba_storage() after setup_stock_folders(). svn path=/trunk/; revision=20522
* Use set_default_size instead of size_request so we allow the user toNot Zed2003-03-262-4/+10
| | | | | | | | | | | 2003-03-25 Not Zed <NotZed@Ximian.com> * e-shell-settings-dialog.c (set_dialog_size): Use set_default_size instead of size_request so we allow the user to resize the window. Also try using 60x30 rather than 72x35 as the approximate font cell size. For bug #39706. svn path=/trunk/; revision=20513
* Fix colors againDan Winship2003-03-262-10/+12
| | | | | | * glade/evolution-startup-wizard.glade: Fix colors again svn path=/trunk/; revision=20510
* 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