aboutsummaryrefslogtreecommitdiffstats
path: root/shell
Commit message (Collapse)AuthorAgeFilesLines
* (e_folder_type_registry_get_handler_for_type): Remove warning forEttore Perazzoli2002-11-042-32/+27
| | | | | | | | | | | | | | | | | when the type is unknown. (e_folder_type_registry_type_is_user_creatable): Likewise. (e_folder_type_registry_get_display_name_for_type): Likewise. (e_folder_type_registry_get_description_for_type): Likewise. (e_folder_type_registry_get_exported_dnd_types_for_type): Likewise. (e_folder_type_registry_get_accepted_dnd_types_for_type): Likewise. (e_folder_type_registry_unregister_type): Likewise. (e_folder_type_registry_get_icon_name_for_type): Likewise. (e_folder_type_registry_get_icon_for_type): Likewise. (set_handler): Removed warning here too. svn path=/trunk/; revision=18529
* Replace gtk_signal_emit() with g_signal_emit(). Likewise. Likewise.Ettore Perazzoli2002-11-0416-102/+106
| | | | | | | | | | | | | | | | | | | | * e-folder-list.c: Replace gtk_signal_emit() with g_signal_emit(). * e-folder.c: Likewise. * e-shell-folder-selection-dialog.c: Likewise. * e-shell-folder-title-bar.c: Likewise. * e-shell-offline-handler.c: Likewise. * e-shell-view.c: Likewise. * e-shortcuts-view.c: Likewise. * e-shortcuts.c: Likewise. * e-storage-set-view.c: Likewise. * e-storage-set.c: Likewise. * e-storage.c: Likewise. * evolution-activity-client.c: Likewise. * evolution-folder-selector-button.c: Likewise. * evolution-storage-listener.c: Likewise. * evolution-storage-set-view-listener.c: Likewise. svn path=/trunk/; revision=18524
* Use g_object_set_data() instead of gtk_object_set_data(). Likewise.Ettore Perazzoli2002-11-0412-39/+56
| | | | | | | | | | | | | | | | | | | | | | | | | * e-folder-list.c: Use g_object_set_data() instead of gtk_object_set_data(). * e-shell-config-default-folders.c: Likewise. * e-shell-folder-creation-dialog.c: Likewise. * e-shell-importer.c: Likewise. * e-shell-shared-folder-picker-dialog.c: Likewise. * e-shell-user-creatable-items-handler.c: Likewise. * e-shell-view.c: Likewise. * e-shell.c: Likewise. * e-storage-set-view.c: Likewise. * e-storage.c: Likewise. * evolution-test-component.c: Likewise. * e-storage-set-view.c (e_storage_set_view_construct): Use g_object_weakref() instead of gtk_object_weakref() for the ui_container. (ui_container_destroy_notify): Add param where_the_object_was to match the GWeakNotify prototype. * e-shell.c: Use g_signal_emit() instead of gtk_signal_emit(). svn path=/trunk/; revision=18523
* Forgot to add this one.Ettore Perazzoli2002-11-041-0/+13
| | | | svn path=/trunk/; revision=18520
* Update.Ettore Perazzoli2002-11-041-1/+3
| | | | svn path=/trunk/; revision=18519
* Converted to Glade2 format. Likewise. Likewise. Likewise. Likewise.Ettore Perazzoli2002-11-047-1154/+1116
| | | | | | | | | | | | * glade/e-active-connection-dialog.glade: Converted to Glade2 format. * glade/evolution-startup-wizard.glade: Likewise. * glade/e-shell-shared-folder-picker-dialog.glade: Likewise. * glade/e-shell-folder-creation-dialog.glade: Likewise. * glade/e-shell-config-default-folders.glade: Likewise. * glade/e-folder-list.glade: Likewise. svn path=/trunk/; revision=18518
* Changed all gtk_object_refs()/gtk_object_unrefs() intoEttore Perazzoli2002-11-0446-601/+599
| | | | | | | | | | | | | | | | | | | | | | | | | | | * *.c, *.h: Changed all gtk_object_refs()/gtk_object_unrefs() into g_object_refs()/g_object_unrefs() and all gtk_signal_connect_*() into g_signal_connect_*(). [Except for some case where we have gtk_signal_connect_full() or gtk_signal_connect_while_alive() calls that cannot be trivially ported to use the g_signal_* functions, we'll have to fix those later.] * e-splash.c (impl_finalize): Finalize implementation, copied over from impl_destroy. (impl_destroy): Removed. (class_init): Override finalize, not destroy. * e-activity-handler.c: Ported from GtkObject to GObject. * evolution-storage.c: Likewise. * e-corba-shortcuts.c: Likewise. * evolution-session.h: Likewise. * evolution-config-control.c: Likewise. * evolution-shell-component-dnd.c: Likewise. * evolution-shell-component.c: Likewise. * evolution-shell-view.c: Likewise. * evolution-storage-set-view.c: Likewise. * evolution-wizard.c: Likewise. svn path=/trunk/; revision=18513
* Updated for libxml2. Likewise. Likewise. Likewise.Ettore Perazzoli2002-11-045-15/+22
| | | | | | | | | * e-component-info.c: Updated for libxml2. * e-shortcuts.c: Likewise. * e-folder-list.c: Likewise. * e-local-folder.c: Likewise. svn path=/trunk/; revision=18512
* Renamed from GNOME_Evolution_Shell.oaf.in.Ettore Perazzoli2002-11-0437-542/+773
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * GNOME_Evolution_Shell.server.in: Renamed from GNOME_Evolution_Shell.oaf.in. * Makefile.am: Port from OAF to bonobo-activation. (INCLUDES): Define SYSCONFDIR, DATADIR, LIBDIR. * main.c (main): Use gnome_program_init(). * e-corba-storage-registry.c (e_corba_storage_registry_new): g_object_new(), not gtk_type_new(). (impl_finalize): New, ported over from destroy. (destroy): Removed. (class_init): Install finalize handler, not destroy handler, since we are not a GtkObject anymore. * e-corba-storage.c (e_corba_storage_new): g_object_new(), not gtk_type_new(). * e-shell.c (class_init): Override finalize, not destroy. (impl_finalize): Finalize implementation, basically the old destroy renamed. (e_shell_new): g_object_new(), not gtk_type_new(). (class_init): Use e_shell_marshal_NONE__INT for line_status_changed instead of using an ENUM. (e_shell_construct): Use g_signal_connect_object() instead of gtk_signal_connect_while_alive(). * e-setup.c (e_setup): Do not unref local_folder if NULL. * e-folder.c (init): Make not floating. (e_folder_construct): No need to make it floating here anymore. * e-shell.c (impl_Shell_selectUserFolder): For now don't set dialog parent from xid. * main.c (no_views_left_cb): Add missing GTK_SIGNAL_FUNC() cast. (new_view_created_callback): Likewise. (warning_dialog_clicked_callback): Update to use the EConfigListener from the shell instead of bonobo-conf. (show_development_warning): Likewise. (upgrade_from_1_0_if_needed): BONOBO_EX_ID -> BONOBO_EX_REPOID. (idle_cb): Use bonobo-activation and BONOBO_EX_REPOID(). (main): Cleaned up the various things that are unneeded in GNOME 2. (upgrade_from_1_0_if_needed): Use EConfigListener. * evolution-storage-set-view.h, evolution-storage-set-view.c: BonoboXObjectified. * e-storage.c (class_init): GLIB2-ified and made to use e-shell-marshal.h. (ES_CLASS): Use GTK_OBJECT_GET_CLASS(). (e_storage_new_folder): Added missing GTK_SIGNAL_FUNC() prototype. * e-storage-set.c (class_init): GLIB2-ified and made to use e-shell-marshal.h. * e-storage-set-view.c (popup_folder_menu): For now, do not add the pop-up since we lack bonobo_ui_container_get_win() and I am not sure how to work around it. (popup_folder_menu): Pass self as the for_widget arg to gnome_popup_menu_do_popup_modal(). (class_init): GLIB2-ified, and got to use e-shell-marshal.h. (marshal_NONE__GDKDRAGCONTEXT_STRING_STRING_STRING): Removed. (impl_tree_drag_data_get): Don't set the selection for now -- we have to fix the CORBA target stuff to match GTK 2. (e_storage_set_view_construct): Pass NULL as the opt_ev arg to bonobo_ui_component_set_container(). * e-splash.c: #include <libgnomecanvas/gnome-canvas-pixbuf.h> instead of <gdk-pixbuf/gnome-canvas-pixbuf.h>. (e_splash_new): Pass NULL as the error arg to gdk_pixbuf_new_from_file(). * e-shortcuts.c (class_init): GLIB2-ified. Also use the e-shell-marshal marshallers. (e_shortcuts_new_view): Add missing GTK_SIGNAL_FUNC() cast. * e-shortcuts-view.c: Use GTK_STOCK_* stuff instead of GNOME_STOCK_* stuff. (pop_up_right_click_menu_for_group): Pass self as the for_widget arg to gnome_popup_menu_do_popup_modal(). (pop_up_right_click_menu_for_shortcut): Likewise. (class_init): GLIB2-ified. * e-shell.c: Do not #include <gal/util/e-unicode-i18n.h> or #include <libgnome/gnome-defs.h>. (set_interactive): Use BONOBO_EX_REPOID(). (setup_local_storage): Use _() not U_(). (destroy): Use gtk_widget_destroy() instead of gtk_object_destroy() on priv->settings_dialog. (class_init): GLIB2-ized. (init): Initialize config_listener member. (get_icon_path_for_component_info): Port to bonobo-activation from OAF. (setup_components): Likewise. (destroy): Likewise. (e_shell_construct): Use e_setup_check_config(), not e_setup_check_db (). Use the e_config_listener instead of bonobo-conf. (save_settings_for_views): Likewise. (save_misc_settings): Likewise. (e_shell_restore_from_settings): Likewise. (parse_default_uri): Likewise. (e_shell_component_maybe_crashed): Pass NULL for opt_ev arg to bonobo_unkown_ping() (e_shell_component_maybe_crashed): Use bonobo_engine_deregister_dead_components() instead of bonobo_window_deregister_component_by_ref() which is no more. (e_shell_send_receive): BONOBO_EX_REPOID() instead of BONOBO_EX_ID(). (e_shell_get_config_listener): Return the config_listener. * e-shell-view.c (find_inbox_in_storage): Use _() instead of U_(). (load_images): Pass NULL as the error arg to gdk_pixbuf_new_from_file(). (load_images): Likewise. (find_inbox_in_storage): Work around the lack of g_utf8_strcasecmp() in glib-2.0. (class_init): GLIB2-ified. Also, use the marshallers in e-shell-marshal.h. (pop_up_folder_bar): Use gtk_window_move()/gtk_widget_show() instead gtk_widget_popup(). (unmerge_on_error): Work around the death of bonobo_ui_component_get_win() and bonobo_window_deregister_component_by_ref(). (e_shell_view_construct): Pass NULL as the uic arg to bonobo_window_construct(). Add missing GTK_SIGNAL_FUNC() cast. Match the new BonoboWindow behavior wrt the UIContainer and the new opt_ev args. (display_uri): Use bonobo_ui_engine_freeze() and bonobo_ui_engine_thaw() since bonobo_window_freeze() and bonobo_window_thaw() got axed [sigh]. (e_shell_view_save_settings): Use EConfigListener. (e_shell_view_load_settings): Likewise. (get_view_for_uri): Use bonobo_widget_new_control_from_objref() instead of e_bonobo_widget_new_control_from_objref(). * e-shell-view-menu.c (command_help_faq): Pass NULL for the error arg to gnome_url_show(). (command_about_box): Use GtkDialog instead of a GtkWindow of a type GTK_WINDOW_DIALOG [which does not exist anymore]. (command_xml_dump): Removed. (menu_do_misc): Do not add the corresponding verb. * e-shell-user-creatable-items-handler.c (execute_verb): Use BONOBO_EX_REPOID(). * e-shell-startup-wizard.c: Remove id member from SWData. Replace member db with config_listener. (e_shell_startup_wizard_create): Initialize config_listener. (make_mail_dialog_pages): Do not set the listener id here. (druid_event_notify_cb): Pass FALSE as the help_sensitive arg to gnome_druid_set_buttons_sensitive(). (e_shell_startup_wizard_create): Likewise. (make_mail_dialog_pages): Use bonobo-activation instead of OAF. (get_intelligent_importers): Likewise. (prepare_importer_page): Likewise. (start_importers): Do nothing here for now. (finish_func): Constify local variable displayname. (finish_func): Updated to use the config_listener instead of the bono-conf db. (prepare_importer_page): Do not actually run the importer yet. (e_shell_startup_wizard_create): Pass NULL as the domain arg to glade_xml_new(). Use the config_listener. * e-shell-shared-folder-picker-dialog.c (user_clicked): BONOBO_EX_REPOID() instead of BONOBO_EX_ID(). (setup_name_selector): Likewise. (setup_name_selector): Use bonobo-activation. (show_dialog): Pass NULL as the domain arg to glade_xml_new(). (setup_name_selector): Add a missing GTK_SIGNAL_FUNC() cast. * e-shell-settings-dialog.c: #include <bonobo-activation/bonobo-activation.h>. Use Bonobo_ActivationProperty instead of OAF_Property. (set_dialog_size): Use gtk_style_get_font() to get the font from the widget->style. (load_pages): Converted to use bonobo-activation instead of OAF. Pass NULL as the error arg to gdk_pixbuf_new_from_file(). * e-shell-offline-sync.c (sync_folder): BONOBO_EX_REPOID(), not BONOBO_EX_ID(). (e_shell_offline_sync_all_folders): For now, avoid doing anything [see changes to e-shell-config-offline.c below]. (setup_progress_listener): #if 0 for now. (setup_dialog): Likewise. (sync_folder): Likewise. (cleanup): Likewise. (progress_listener_servant_free): Likewise. (progress_listener_servant_new): Likewise. (impl_SyncFolderProgressListener_updateProgress): Likewise. (impl_SyncFolderProgressListener_reportSuccess): Likewise. (impl_SyncFolderProgressListener_reportFailure): Likewise. (progress_dialog_close_callback): Likewise. (progress_dialog_clicked_callback): Likewise. * e-shell-offline-handler.c (prepare_for_offline): Use BONOBO_EX_REPOID(). (pop_up_confirmation_dialog): Pass NULL as the domain arg to glade_xml_new(). (class_init): GLIB2-ified. * Makefile.am: Do not compile e-shell-importer.c, e-shell-importer.h for now. * e-shell-folder-title-bar.c (get_max_clipped_label_width): Use gtk_style_get_font() to retrieve the font. (class_init): GLIB2-ified. (e_shell_folder_title_bar_construct): Get {x,y}thickness from widget->style, not from widget->style->klass. * e-shell-folder-selection-dialog.c: #include <string.h>, <gtk/gtklabel.h> and <gtk/gtksignal.h>. (class_init): GLIB2-ified. * e-shell-folder-creation-dialog.c: No <libgnome/gnome-defs.h>, add some GTK includes. (e_shell_show_folder_creation_dialog): Pass NULL as the domain arg to glade_xml_new(). Added missing GTK_SIGNAL_FUNC() cast. * e-shell-folder-commands.c: Do not #include <libgnomeui/gnome-stock.h> and #include <bonobo-conf/Bonobo_Config.h>. * e-shell-config-default-folders.c: Replace member db in EvolutionDefaultFolderConfig with config_listener. (e_shell_config_default_folders_create_widget): Init here. (config_control_destroy_cb): Unref here. (config_control_apply_cb): Use EConfigListener instead of BonoboConf. (setup_folder_selector): Likewise. (e_shell_config_default_folders_create_widget): Pass NULL as the domain arg to glade_xml_new(). * e-shell-config-offline.c (config_control_apply_callback): For now, do not change the configuration. [Needs to be ported to EConfigListener or something, but we were storing a sequence using typecodes here and there is no trivial way to do that right now.] (init_storage_set_view_status_from_config): Likewise, do not retrieve the configuration here. svn path=/trunk/; revision=18510
* First big sync of my GNOME 2 porting work (incomplete, and stillEttore Perazzoli2002-11-0251-878/+751
| | | | | | | | pretty broken). Weeeeee! svn path=/trunk/; revision=18503
* Increase the width slightly.Ettore Perazzoli2002-10-293-1/+11
| | | | | | | | | | * e-shell-settings-dialog.c (set_dialog_size): Increase the width slightly. * e-shell-view-menu.c: Set "settings.png" as the icon for /menu/Tools/Settings. svn path=/trunk/; revision=18460
* [#31303]Ettore Perazzoli2002-10-263-1/+28
| | | | | | | | | | | | | | * e-shell-view (storage_set_view_box_button_release_event_cb): Pop down the popup folder bar if it's a toplevel node. (folder_bar_popup_map_callback): Connect to the "folder_opened" signal on the storage_set_view. [#32032] * e-folder-list.c (create_display_string): Don't turn the string from UTF-8 to GTK. svn path=/trunk/; revision=18437
* Set the is_stock flag to TRUE for the summary folder.Ettore Perazzoli2002-10-245-7/+36
| | | | | | | | | | | | | | | | | | * e-shell.c (setup_local_storage): Set the is_stock flag to TRUE for the summary folder. * e-shell-view.c (setup_verb_sensitivity_for_folder): Don't allow folder operations on pseudo-folders that have a NULL physical_uri. * e-corba-storage.c (async_remove_folder): Make sure the folder has a physical URI. [#30950] * e-shell-shared-folder-picker-dialog.c (setup_server_option_menu): Use e_utf8_gtk_menu_item_new_with_label() to create the option menu items from the storage's UTF-8 name. [#31564] svn path=/trunk/; revision=18419
* (e_get_activation_failure_msg): If the exception_id is NULL,Ettore Perazzoli2002-10-212-0/+9
| | | | | | return NULL instead of crashing. [#25891] svn path=/trunk/; revision=18397
* New, implementation for the cancel_discover_shared_folder virtual method.Ettore Perazzoli2002-10-189-66/+250
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-corba-storage.c (cancel_discover_shared_folder): New, implementation for the cancel_discover_shared_folder virtual method. (class_init): Install. * evolution-test-component.c (storage_discover_shared_folder_callback): Instead of passing the listener to the timeout function, just pass the storage. Put the listener and the timeout ID on the storage object by using gtk_object_set_data(). (shared_folder_discovery_timeout_callback): Updated accordingly. (storage_cancel_discover_shared_folder_callback): New, callback for the cancel_discover_shared_folder signal. (setup_custom_storage): Connect. * e-shell-shared-folder-picker-dialog.c: New member storage in struct DiscoveryData. While I am at it, rename member user to user_email_address. (discover_folder): Set the storage member. (cleanup_discovery): Unref storage member. (progress_dialog_clicked_callback): New, callback for the "clicked" signal on the dialog. (discover_folder): Connect. * evolution-storage.c (class_init): Install signal "cancel_discover_shared_folder". (impl_Storage_cancelDiscoverSharedFolder): New, implementation for the cancelDiscoverSharedFolder CORBA method; emit "cancel_discover_shared_folder". (evolution_storage_get_epv): Install CORBA method implementation. * evolution-storage.h: Add signal cancel_discover_shared_folder. * e-storage.c (e_storage_cancel_discover_shared_folder): New. * e-storage.h: New virtual method cancel_discover_shared_folder. * Evolution-Storage.idl (cancelDiscoverSharedFolder): New. svn path=/trunk/; revision=18386
* Change the selection mode to GTK_SELECTION_BROWSE so there is always aEttore Perazzoli2002-10-083-14/+18
| | | | | | | | | | | | | | | | | * e-shell-importer.c (choose_importer_from_list): Change the selection mode to GTK_SELECTION_BROWSE so there is always a selection. The code here doesn't handle a NULL selection. [#31690] * e-shell-importer.c (import_cb): Only delay half a second (instead of 5 seconds) when getting EVOLUTION_IMPORTER_NOT_READY or EVOLUTION_IMPORTER_BUSY. * importer/evolution-importer-listener.c (impl_GNOME_Evolution_ImporterListener_notifyResult): Removed debugging message. svn path=/trunk/; revision=18332
* new function, emit cancelled so the folder selector button will sensitizeChris Toshok2002-10-052-0/+20
| | | | | | | | | | | | 2002-10-04 Chris Toshok <toshok@ximian.com> * e-shell-folder-selection-dialog.c (delete_event_cb): new function, emit cancelled so the folder selector button will sensitize the parent window again. (e_shell_folder_selection_dialog_construct): connect the delete_event signal. svn path=/trunk/; revision=18327
* It's a grand old string-review! Nitpicky and minor changes; details in the ↵Aaron Weber2002-10-013-2/+8
| | | | | | appropriate ChangeLog files. svn path=/trunk/; revision=18268
* Calls e_shell_command_remove_shared_folder. (file_verbs): Set upDan Winship2002-10-0113-102/+433
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-view-menu.c (command_remove_other_users_folder): Calls e_shell_command_remove_shared_folder. (file_verbs): Set up command_remove_other_users_folder. * e-shell-folder-commands.c (e_shell_command_remove_shared_folder): New. Calls e_storage_set_async_remove_shared_folder with a callback to pop up an error dialog if it fails. * e-storage-set.c (e_storage_set_async_remove_shared_folder): Implement. Mostly like async_remove_folder. * e-storage.c (e_storage_supports_shared_folders, e_storage_async_discover_shared_folder, e_storage_async_remove_shared_folder): New methods. Default implementations return FALSE, NOTIMPLEMENTED, and NOTIMPLEMENTED. * e-corba-storage.c (supports_shared_folders, async_discover_shared_folder, async_remove_shared_folder): Implement using CORBA. * Evolution-Storage.idl: add Storage_asyncRemoveSharedFolder * e-shell-shared-folder-picker-dialog.c: Remove all the CORBA stuff from here and use the new EStorage methods. (setup_server_option_menu): Use e_storage_supports_shared_folders. (discover_folder): Use e_storage_async_discover_shared_folder. * evolution-storage.c (impl_Storage_asyncRemoveSharedFolder): Implement this by emitting a REMOVE_SHARED_FOLDER signal. (impl_Storage_asyncDiscoverSharedFolder): Make the DISCOVER_SHARED_FOLDER signal put the Bonobo_Listener first like all the other signals do. (class_init): Set up REMOVE_SHARED_FOLDER signal. svn path=/trunk/; revision=18265
* If we return from evolution_shell_client_user_select_folder to find thatDan Winship2002-10-012-0/+17
| | | | | | | | | * evolution-folder-selector-button.c (clicked): If we return from evolution_shell_client_user_select_folder to find that our parent window has been destroyed, unref it and bail out, since that means we've been destroyed (and probably finalized) too. #31360 svn path=/trunk/; revision=18264
* (load_folder): Always return TRUE, even in theEttore Perazzoli2002-09-272-1/+6
| | | | | | unknown-type case. svn path=/trunk/; revision=18236
* set history_id on GnomeFileEntry, to actually get the history.Rodrigo Moya2002-09-262-1/+6
| | | | | | | | | 2002-09-25 Rodrigo Moya <rodrigo@ximian.com> * e-shell-importer.c (importer_file_page_new): set history_id on GnomeFileEntry, to actually get the history. svn path=/trunk/; revision=18233
* If one of the allowed types is "type/*", allow anything starting withDan Winship2002-09-265-12/+55
| | | | | | | | | | | | | | | | | | | | | | * e-shell-folder-selection-dialog.c (check_folder_type_valid): If one of the allowed types is "type/*", allow anything starting with "type/". (impl_clicked): If the first allowed type is "type/*", pass "type" to e_shell_show_folder_creation_dialog. * evolution-folder-selector-button.c (evolution_folder_selector_button_set_uri): Handle "type/*" as an allowed type. * e-shell-settings-dialog.c (e_shell_settings_dialog_show_type): If there are no pages for the current folder type, try the parent type (eg, "mail" for "mail/public"). * e-shell-config-autocompletion.c (e_shell_config_autocompletion_create_widget): Use "contacts/*" as the allowed folder type. svn path=/trunk/; revision=18220
* [Finish fixing #11645.]Ettore Perazzoli2002-09-266-46/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-folder-commands.c (xfer_result_callback): Don't update the shortcuts here anymore since now the shell takes care of it. * e-shell.c (storage_set_moved_folder_callback): New callback for EStorageSetView::folder_moved; update the shortcuts. (e_shell_construct): Connect. * e-storage-set.c: Renamed StorageConverterCallbackData to StorageCallbackData. New members destination_folder, source_folder, operation in it. (class_init): Install "moved_folder" signal. (storage_callback_data_new): Renamed from storage_converter_callback_data_new. (storage_callback_data_free): New. (storage_callback): Renamed from storage_callback_converter. Use storage_callback_data_free(). (e_storage_set_async_create_folder): Updated to use the storage_callback and storage_callback_data_new(). (e_storage_set_async_remove_folder): Likewise. (e_storage_set_async_xfer_folder): Likewise. * e-storage-set.h: New signal "moved_folder". svn path=/trunk/; revision=18216
* Placate compiler.Ettore Perazzoli2002-09-255-1/+69
| | | | | | | | | | | | | * e-shell-view-menu.c (launch_pilot_settings): Placate compiler. * e-shell-folder-commands.c (xfer_result_callback): When FOLDER_COMMAND_MOVE, update the shortcuts by using e_shortcuts_update_shortcuts_for_changed_uri(). * e-shortcuts.c (e_shortcuts_update_shortcuts_for_changed_uri): New. svn path=/trunk/; revision=18206
* Don't destroy the dialog. It does that itself whenever it emitsDan Winship2002-09-253-4/+12
| | | | | | | | | | | | * e-shell.c (folder_selection_dialog_folder_selected_cb): Don't destroy the dialog. It does that itself whenever it emits folder_selected. * e-shell-folder-selection-dialog.c (double_click_cb): Don't close the dialog if the user double-clicks a bad folder. Just ignore it (like we do when they click OK on a bad folder). svn path=/trunk/; revision=18205
* Add PilotConduitSettings verb. [#14019]Ettore Perazzoli2002-09-242-18/+42
| | | | | | | (command_pilot_conduit_settings): Implementation for the verb. (launch_pilot_settings): Helper function. svn path=/trunk/; revision=18201
* use the new e_tree_set_search_column function instead of my lameass sortMike Kestner2002-09-242-14/+6
| | | | | | | | | 2002-09-24 Mike Kestner <mkestner@ximian.com> * e-storage-set-view.c (e_storage_set_enable_search): use the new e_tree_set_search_column function instead of my lameass sort hack. svn path=/trunk/; revision=18194
* (e_shell_construct): Oops, no @shell argument toEttore Perazzoli2002-09-242-1/+6
| | | | | | e_shell_startup_wizard_create(). svn path=/trunk/; revision=18184
* Use e_shell_request_close_view().Ettore Perazzoli2002-09-244-31/+74
| | | | | | | | | | | * e-shell-view-menu.c (command_close): Use e_shell_request_close_view(). * e-shell.c (e_shell_request_close_view): New, code moved out of view_delete_event_cb(). (view_delete_event_cb): Use it. svn path=/trunk/; revision=18183
* (get_type_from_parent_path):Ettore Perazzoli2002-09-242-3/+9
| | | | | | | Return "mail" instead of NULL when we don't have a parent folder. [#28232] svn path=/trunk/; revision=18179
* Added some missing names.Ettore Perazzoli2002-09-244-2/+17
| | | | | | | | * e-shell-about-box.c: Added some missing names. * main.c (main): Declare --force-upgrade correctly so it works. svn path=/trunk/; revision=18175
* Removed member sort_idle_id inEttore Perazzoli2002-09-212-80/+50
| | | | | | | | | | | | EStorageSetViewPrivate. (resort): Removed. (sort_traverse_callback): Removed. (sort_idle_callback): Removed. (queue_resort): Removed. (impl_destroy): Removed. (folder_name_changed_cb): Sort now instead of queueing a resort. svn path=/trunk/; revision=18146
* [Fix #28495 with a lame hack that works around Bonobo sizingEttore Perazzoli2002-09-202-2/+47
| | | | | | | | | | | brokenness] (set_dialog_size): New. (impl_realize): Override for GtkWidget::realize; invoke set_dialog_size() to set a minimum size. (class_init): Install. svn path=/trunk/; revision=18126
* (async_create_cb): Don't setEttore Perazzoli2002-09-202-3/+5
| | | | | | the current folder for E_STORAGE_EXISTS. [#30533] svn path=/trunk/; revision=18124
* (evolution_storage_update_folder): Do notEttore Perazzoli2002-09-202-17/+11
| | | | | | | stop propagating the notification to the listeners if ::notifyFolderUpdate() fails. [#27662 (?)] svn path=/trunk/; revision=18117
* (resort): New. (sort_idle_callback): Use it. (insert_storages): UseEttore Perazzoli2002-09-202-8/+23
| | | | | | | | | (resort): New. (sort_idle_callback): Use it. (insert_storages): Use resort() instead of queue_resort() so we sort immediately. svn path=/trunk/; revision=18116
* bandaid for 30248.Mike Kestner2002-09-202-1/+5
| | | | | | | | 2002-09-18 Mike Kestner <mkestner@ximian.com> * e-storage-set-view.c (etree_value_at): bandaid for 30248. svn path=/trunk/; revision=18115
* Allow 'back' to run if we're on the finish page. For #29293.Not Zed2002-09-192-1/+8
| | | | | | | | | 2002-09-18 Not Zed <NotZed@Ximian.com> * evolution-wizard.c (impl_GNOME_Evolution_Wizard_notifyAction): Allow 'back' to run if we're on the finish page. For #29293. svn path=/trunk/; revision=18106
* updated .cvsignoreJeffrey Stedfast2002-09-191-0/+1
| | | | svn path=/trunk/; revision=18104
* Add description for E_STORAGE_NOTONLINE.Ettore Perazzoli2002-09-185-0/+19
| | | | | | | | | | | | | | | * e-storage.c (e_storage_result_to_string): Add description for E_STORAGE_NOTONLINE. * e-corba-storage.c (e_corba_storage_corba_result_to_storage_result): Support GNOME_Evolution_Storage_NOT_ONLINE (E_STORAGE_NOTONLINE). * Evolution-Storage.idl: Add NOT_ONLINE to enum Result. * e-storage.h: Add E_STORAGE_NOTONLINE to EStorageResult enum. svn path=/trunk/; revision=18097
* Remove unused variable.Ettore Perazzoli2002-09-183-1/+17
| | | | | | | | | | * e-storage-set-view.c (sort_idle_callback): Remove unused variable. * e-shell-view.c (shell_line_status_changed_cb): Make Send/Receive insensitive when in offline mode. [#27855] svn path=/trunk/; revision=18096
* [Fix #28451.]Ettore Perazzoli2002-09-184-21/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | * e-storage-set-view.c: New member sort_idle_id in EStorageSetViewPrivate. (init): Init to zero. (impl_destroy): Remove the idle source if not zero. (queue_resort): New. (sort_idle_callback): Idle function to sort. (setup_folder_changed_callback): New. (new_folder_cb): Call it on the new folder so we get the callback for new folders too. (popup_folder_menu): Ref the folder before popping up the menu, unref it after popping it down [the folder might be unreffed in gnome_popup_menu_do_popup_modal() because of a folder action]. (new_storage_cb): Just queue_resort() instead of sorting. (new_folder_cb): Likewise. (insert_folders): Likewise. (insert_storages): Likewise. (folder_changed_cb): Queue a resort here too. * e-folder.c (class_init): Set up "name_changed" signal. (e_folder_set_name): Emit "name_changed". * e-folder.h: New signal "name_changed". svn path=/trunk/; revision=18093
* Invoke gettext on strings coming from the .oaf files.Kjartan Maraas2002-09-182-2/+7
| | | | | | | | | 2002-09-17 Kjartan Maraas <kmaraas@gnome.org> * e-shell-settings-dialog.c (page_new): Invoke gettext on strings coming from the .oaf files. svn path=/trunk/; revision=18092
* Remove some leftover junk.Ettore Perazzoli2002-09-182-24/+5
| | | | svn path=/trunk/; revision=18088
* Mark a string for translation.Kjartan Maraas2002-09-183-2/+8
| | | | | | | | | 2002-09-17 Kjartan Maraas <kmaraas@gnome.org> * e-folder-list.c (create_display_string): Mark a string for translation. svn path=/trunk/; revision=18086
* (e_storage_removed_folder): When a highlightedEttore Perazzoli2002-09-182-1/+24
| | | | | | | folder gets removed, update the parent to not have a highlight. [#24062] svn path=/trunk/; revision=18085
* New script to run Evolution under aEttore Perazzoli2002-09-173-1/+23
| | | | | | | non-GNOME session when using a non-default GNOME prefix and a non-default Evolution prefix. svn path=/trunk/; revision=18082
* (setup_bonobo_conf_private_directory): g_free() notEttore Perazzoli2002-09-122-4/+9
| | | | | | free(), since we allocate with glib functions. [#19899] svn path=/trunk/; revision=18047
* no longer distribute the etstate files. enable_search on the view. addMike Kestner2002-09-065-6/+54
| | | | | | | | | | | | | | 2002-09-05 Mike Kestner <mkestner@ximian.com> * Makefile.am : no longer distribute the etstate files. * e-shell-folder-selection-dialog.c : enable_search on the view. * e-storage-set-view.c : add search_enabled flag handling. (e_storage_set_view_set_show_checkboxes): manipulate the existing state instead of loading a state file from disk. (e_storage_set_view_enable_search): new. set a column in the sort_info on the etree to allow keystroke jumping in the etree. svn path=/trunk/; revision=18002
* Changed the description of the folders page in the settings dialog to beAnna Marie Dirks2002-09-062-1/+6
| | | | | | | | | 2002-09-05 Anna Marie Dirks <anna@ximian.com> * GNOME_Evolution_Shell.oaf.in : Changed the description of the folders page in the settings dialog to be more specific. svn path=/trunk/; revision=17991
* Add a -DPREFIX.Ettore Perazzoli2002-09-052-5/+58
| | | | | | | | | | | * Makefile.am (INCLUDES): Add a -DPREFIX. * main.c (main): New command-line option "force-upgrade". (show_development_warning): Suggest 1.0.8, not 1.0.5. (upgrade_from_1_0_if_needed): New. (idle_cb): Call it. svn path=/trunk/; revision=17982
* Return FALSE here. (get_base_url): Add a cast.Ettore Perazzoli2002-09-051-0/+9
| | | | | | | | | | | | * upgrade-mailer.c (upgrade): Return FALSE here. (get_base_url): Add a cast. * component-factory.c (storage_xfer_folder): Removed unused variables. * Makefile.am: Rename upgrade-mailer to evolution-mail-upgrade. svn path=/trunk/; revision=17981
* (new_folder_cb): Pass FALSE as @queue toEttore Perazzoli2002-09-052-1/+6
| | | | | | e_shell_view_display_uri() here. svn path=/trunk/; revision=17977
* (e_shell_view_get_current_component_id): If theEttore Perazzoli2002-09-052-0/+13
| | | | | | | | current_folder_type is NULL, just return NULL instead of passing it to e_folder_type_registry_get_handler_for_type() [and generate a warning]. [#21122] svn path=/trunk/; revision=17974
* Remove the "blah blah" text for now and change "Server" to "Account".Dan Winship2002-09-052-47/+6
| | | | | | | * glade/e-shell-shared-folder-picker-dialog.glade: Remove the "blah blah" text for now and change "Server" to "Account". svn path=/trunk/; revision=17973
* Pass TRUE as @queue to e_shell_view_display_uri().Ettore Perazzoli2002-09-056-27/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell.c (create_view): Pass TRUE as @queue to e_shell_view_display_uri(). * e-shell-view-menu.c (command_activate_view): Pass TRUE as @queue to e_shell_view_display_uri(). (goto_folder_dialog_folder_selected_cb): Likewise. * e-shell-shared-folder-picker-dialog.c (shared_folder_discovery_listener_callback): Pass TRUE as @queue to e_shell_view_display_uri(). * e-shell-view.c (display_uri): New arg @queue. If true, it allows the delayed_selection mechanism to happen transparently (returning TRUE, while before it used to return FALSE). Otherwise, refuse to queue the URI and return FALSE. (e_shell_view_display_uri): New arg @queue; pass it to display_uri(). (handle_current_folder_removed): Pass TRUE as @queue to e_shell_view_display_uri(). (set_folder_timeout): Likewise. (switch_on_folder_tree_click): Likewise. (activate_shortcut_cb): Likewise. (corba_interface_change_current_view_cb): Likewise. (socket_destroy_cb): Likewise. (socket_destroy_cb): Likewise. (e_shell_view_load_settings): Here, try displaying the old URI with @queue set to FALSE; if this fails, display the default URI and then invoke display again using @queue = TRUE so it gets queued up. This should fix #27721. svn path=/trunk/; revision=17972
* Pass FALSE as @restore_all_views to e_shell_restore_from_settings() so weEttore Perazzoli2002-09-054-7/+22
| | | | | | | | | | * main.c (idle_cb): Pass FALSE as @restore_all_views to e_shell_restore_from_settings() so we only restore the first view. * e-shell.c (e_shell_restore_from_settings): New arg @restore_all_views. svn path=/trunk/; revision=17967
* Pass NULL as @unpopulate_folder_context_menu_fn toEttore Perazzoli2002-09-058-49/+194
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook-component.c (create_component): Pass NULL as @unpopulate_folder_context_menu_fn to evolution_shell_component_new(). * gui/component-factory.c (create_object): Pass NULL as @unpopulate_folder_context_menu_fn to evolution_shell_component_new(). * mail-account-gui.c (mail_account_gui_save): Remove unused variable. * component-factory.c (unpopulate_folder_context_menu): New. (create_component): Pass it to evolution_shell_component_new(). * component-factory.c (create_component): Pass NULL as @unpopulate_folder_context_menu_fn to evolution_shell_component_new(). * e-storage-set-view.c (popup_folder_menu): Remove the context menu items using evolution_shell_component_client_unpopulate_folder_context_menu() instead of doing it ourself, since BonoboUI sucks. * evolution-shell-component-client.c (evolution_shell_component_client_unpopulate_folder_context_menu): New. * evolution-test-component.c (register_component): Pass NULL as @unpopulate_folder_context_menu_fn to evolution_shell_component_new(). * evolution-shell-component.c: New member unpopulate_folder_context_menu_fn in EvolutionShellComponentPrivate. New member uic in EvolutionShellComponentPrivate. (init): Init new members to NULL. (destroy): bonobo_object_unref() priv->uic if not NULL. (evolution_shell_component_new): New arg @unpopulate_folder_context_menu_fn. (evolution_shell_component_construct): Likewise. (impl_populateFolderContextMenu): Set priv->uic to the newly created UIComponent. (impl_unpopulateFolderContextMenu): New, implementation for the ::unpopulateFolderContextMenu CORBA method. (class_init): Install. * Evolution-ShellComponent.idl (unpopulateFolderContextMenu): New method. (AlreadyPopulated): New exception. (populateFolderContextMenu): Can raise it. (NotPopulated): New exception. svn path=/trunk/; revision=17963
* Ooops. I committed the wrong version of the file.Ettore Perazzoli2002-09-041-1/+1
| | | | svn path=/trunk/; revision=17953
* Create an Items placeholder under ComponentPlaceholder, and thenEttore Perazzoli2002-09-043-1/+18
| | | | | | | | | | | | | * e-storage-set-view.c (popup_folder_menu): Create an Items placeholder under ComponentPlaceholder, and then bonobo_ui_component_rm() it after we are done with the menu. This -should- fix #29782, but it doesn't. I am not sure why. * evolution-shell-component.h (EVOLUTION_SHELL_COMPONENT_POPUP_PLACEHOLDER): Append a "/Items" part. svn path=/trunk/; revision=17952
* Argh, didn't mean to commit this.Ettore Perazzoli2002-09-041-6/+0
| | | | svn path=/trunk/; revision=17946
* (show_import_wizard): Make the WM closeEttore Perazzoli2002-09-033-8/+15
| | | | | | | button in the dialog hide instead of destroying, using gnome_dialog_close_hides(). [#15572] svn path=/trunk/; revision=17945
* Pass a selection_order to oaf_query so we get the components back in aDan Winship2002-08-292-2/+14
| | | | | | | | | | | | | * e-shell.c (setup_components): Pass a selection_order to oaf_query so we get the components back in a consistent order. Hack fix for #28490 for 1.2 by ensuring that Connector gets started before evolution-mail. (get_icon_path_for_component_info): Rename the oaf icon name property to use underscores to match the launch order property (which needs to use underscores because dashes are interpreted as subtraction in the selection_order context). svn path=/trunk/; revision=17904
* (get_shortcut_info): Make sureEttore Perazzoli2002-08-282-5/+18
| | | | | | | | | *custom_icon_name_return is at least set to NULL on return [it used to leave it uninitialized if the URI was not prefixed with E_SHELL_URI_PREFIX]. Also use e_shell_parse_uri() to parse the URI so we handle the default shortcuts properly, too. svn path=/trunk/; revision=17879
* Get the "addresses" property of the select names control rather thanDan Winship2002-08-202-5/+6
| | | | | | | | * e-shell-shared-folder-picker-dialog.c (show_dialog): Get the "addresses" property of the select names control rather than "text", so we get the email address too. #28953 svn path=/trunk/; revision=17804
* Fix the names of these functions. (They previously used "register" insteadDan Winship2002-08-195-8/+20
| | | | | | | | | | | | | | * e-folder-type-registry.c (e_folder_type_registry_type_registered, e_folder_type_registry_unregister_type): Fix the names of these functions. (They previously used "register" instead of "registry".) * e-component-registry.c (register_type): Update for renaming * e-local-storage.c (load_folder): Likewise svn path=/trunk/; revision=17799
* If the selected URI is of an invalid type, don't accept it.Dan Winship2002-08-173-45/+101
| | | | | | | | | | | * evolution-folder-selector-button.c (evolution_folder_selector_button_set_uri): If the selected URI is of an invalid type, don't accept it. (evolution_folder_selector_button_get_folder): Returns the selected folder. (various): updates to support get_folder, and to simplify. svn path=/trunk/; revision=17794
* Remove both timeouts when the dialog is destroyed, not just one of them.Dan Winship2002-08-104-44/+76
| | | | | | | | | | | | | | | | | | * e-shell-shared-folder-picker-dialog.c (create_progress_dialog): Remove both timeouts when the dialog is destroyed, not just one of them. (shared_folder_discovery_listener_callback): Don't try to access fields of discovery_data after destroying it. Interpret the result argument correctly, and put up an error dialog (using e_corba_storage_corba_result_to_storage_result and e_storage_result_to_string) if something went wrong. * e-corba-storage.c (e_corba_storage_corba_result_to_storage_result): convert a GNOME_Evolution_Storage_Result to an EStorageResult. (async_folder_cb): Use that. svn path=/trunk/; revision=17750
* Don't include the storage name in the path passed toDan Winship2002-08-072-3/+12
| | | | | | | | | * e-storage-set-view.c (folder_property_item_verb_callback): Don't include the storage name in the path passed to e_corba_storage_show_folder_properties, for consistency with the other EStorage methods. svn path=/trunk/; revision=17716
* New callback for the show_folder_properties signal.Ettore Perazzoli2002-08-0716-52/+554
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-test-component.c (storage_show_folder_properties_callback): New callback for the show_folder_properties signal. (setup_custom_storage): Add two property items, and connect the callback to the signal. * e-storage-set-view.c: Renamed private member container into ui_container; new member ui_component. (init): Initialize ui_component to NULL. (impl_destroy): Unref if not NULL. (e_storage_set_view_construct): If @ui_container is not NULL, weakref it and create a new ui_component that uses it as its container. (ui_container_destroy_notify): New, weakref destroy callback for priv->ui_container. (remove_property_items): New helper function. (setup_folder_properties_items_if_corba_storage_clicked): New helper function. (folder_property_item_verb_callback): New callback for the verbs associated to the folder property items. (popup_folder_menu): Set up the per-storage folder property items using setup_folder_properties_items_if_corba_storage_clicked() and remove them with remove_property_items() after the menu has been popped down. Don't invoke populate_folder_context_menu if there is no handler for this node [this avoids a spurious warning]. * e-corba-storage.c (e_corba_storage_show_folder_properties): New. (e_corba_storage_get_folder_property_items): New. (e_corba_storage_free_property_items_list): New. * evolution-storage.c: New private member folder_property_items. (init): Init to NULL. (destroy): Free. (impl_showFolderProperties): New, implementation for the Storage::showFolderProperties CORBA method. (class_init): Set up the "show_folder_properties" signal here. (impl_Storage__get_propertyItems): New, getter for the Storage::propertyItems property. (corba_class_init): Install the new methods. (evolution_storage_add_property_item): New function to add property items to the storage. * evolution-storage.h: New signal show_folder_properties. * e-storage-set.c (e_storage_set_create_new_view): Renamed from e_storage_set_new_view(). * Evolution-Storage.idl: Added attribute folderPropertyItems and method ::showFolderProperties. svn path=/trunk/; revision=17714
* (endarken_style): Set the color forEttore Perazzoli2002-08-023-3/+13
| | | | | | GTK_STATE_INSENSITIVE too so it doesn't look ugly when we quit. svn path=/trunk/; revision=17679
* New, implement a right-click -> "Add Default Shortcuts" menu item.Ettore Perazzoli2002-08-014-15/+55
| | | | | | | | | | | | * e-shortcuts-view.c (create_default_shortcuts_cb): New, implement a right-click -> "Add Default Shortcuts" menu item. (rename_group_cb): Remove double casts. *lol* * e-shortcuts.c (e_shortcuts_add_default_shortcuts): New. (e_shortcuts_add_default_group): Use e_shortcuts_add_default_shortcuts(). svn path=/trunk/; revision=17663
* (ensure_menu_items):Ettore Perazzoli2002-08-012-110/+90
| | | | | | | | | | | Don't sort the menu_items here. (create_menu_xml): Instead, sort here, and only sort the non-default section of the menu. (get_default_action_for_view): Just get the first item that is default; since we don't sort anymore, this works. (find_menu_item_for_verb): Removed since it is not used anymore. svn path=/trunk/; revision=17659
* Pass "contacts" as the @folder_type toEttore Perazzoli2002-08-016-59/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook-component.c (add_creatable_item): Pass "contacts" as the @folder_type to evolution_shell_component_add_user_creatable_item(). * gui/component-factory.c (add_creatable_item): New arg @folder_type, pass it to evolution_shell_component_add_user_creatable_item(). (create_object): Set the right folder types for the various user-creatable items. * component-factory.c (create_component): Pass "mail" as @folder_type to evolution_shell_component_add_user_creatable_item(). * evolution-test-component.c (register_component): Pass NULL for @folder_type to evolution_shell_component_add_user_creatable_item(). * e-shell-user-creatable-items-handler.c: New member folder_type in struct MenuItem. (ensure_menu_items): Initialize ->folder_type. (item_is_default): New helper function. (create_menu_xml): New arg @folder_type. Put the items on the top using item_is_default(). (shell_view_view_changed_callback): Pass the folder type to create_menu_xml(). * evolution-shell-component.c: New member folder_type in UserCreatableItemType. (user_creatable_item_type_new): New arg @folder_type. (user_creatable_item_type_free): Free ->folder_type. (evolution_shell_component_add_user_creatable_item): New arg @folder_type. (impl__get_userCreatableItemTypes): Set ->folderType in the returned CORBA structs. * Evolution-ShellComponent.idl: New member folderType in struct UserCreatableItemType. * e-shell-user-creatable-items-handler.c: New member component_id in struct MenuItem. Removed member menu_xml from EShellUserCreatableItemsHandlerPrivate. (init): No need to initialize menu_xml here anymore. (impl_destroy): ...And no need to free here, either. (setup_menu_xml): New, derived from ensure_menu_xml(). This orders the menu so that the items for the current component go at the top. (create_menu_xml): Removed. (e_shell_user_creatable_items_handler_attach_menus): Set up properly for the current component ID, using setup_menu_xml(). svn path=/trunk/; revision=17658
* New function to set the uri programatically on aJeffrey Stedfast2002-07-303-8/+39
| | | | | | | | | | 2002-07-29 Jeffrey Stedfast <fejj@ximian.com> * evolution-folder-selector-button.c (evolution_folder_selector_button_set_uri): New function to set the uri programatically on a EvolutionFolderSelectorButton dingus. svn path=/trunk/; revision=17633
* Capitalize the title of the dialog for consistency.Ettore Perazzoli2002-07-273-2/+11
| | | | | | | | | | | * e-shell-view-menu.c (command_new_shortcut): Capitalize the title of the dialog for consistency. * e-shell-folder-creation-dialog.c (setup_dialog): Don't prepend the window's title with "Evolution -" since we don't do that anywhere else. Also capitalize properly. svn path=/trunk/; revision=17616
* (ensure_menu_xml): Put inEttore Perazzoli2002-07-272-2/+7
| | | | | | the ComponentItems placeholder, instead of NewItems. svn path=/trunk/; revision=17615
* (load_all_folders): Don't return FALSE if anyEttore Perazzoli2002-07-272-7/+37
| | | | | | | of the folders fails to load; otherwise, if the user has played with ~/evolution, he might end up not seeing any folders at all. svn path=/trunk/; revision=17606
* (command_work_online): Remove debuggingEttore Perazzoli2002-07-242-2/+6
| | | | | | | message. (command_work_offline): Likewise. svn path=/trunk/; revision=17563
* (double_click_cb): RenamedEttore Perazzoli2002-07-192-57/+69
| | | | | | | | | | | from `dbl_click_cb'. (check_folder_type): Don't pop up an error dialog anymore. (check_folder_type_valid): Renamed from check_folder_type(). (folder_selected_cb): Make the OK button sensitive only if the type of the selected folder is in the list of valid types; otherwise, make it insensitive. [#848] svn path=/trunk/; revision=17513
* removed check for local folders, so that we can import into non-localRodrigo Moya2002-07-192-10/+5
| | | | | | | | | 2002-07-18 Rodrigo Moya <rodrigo@ximian.com> * e-shell-importer.c (start_import): removed check for local folders, so that we can import into non-local ones. svn path=/trunk/; revision=17512
* Removed unused variable.Ettore Perazzoli2002-07-1914-51/+122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-storage-set-view.c (impl_StorageSetView__set_checkedFolders): Removed unused variable. * e-shell-folder-title-bar.c (e_shell_folder_title_bar_construct): Removed unused variable. * e-storage.c (e_storage_path_is_absolute) (e_storage_path_is_relative) (e_storage_async_xfer_folder) * e-storage-set.c (make_full_path) (get_storage_for_path) (signal_new_folder_for_all_folders_under_paths) (signal_new_folder_for_all_folders_in_storage) (e_storage_set_get_path_for_physical_uri) * e-storage-set-view.c (storage_sort_callback) (new_storage_cb) (removed_storage_cb) (new_folder_cb) * e-shortcuts-view.c (get_shortcut_info): * e-shell-view.c (handle_current_folder_removed) * e-shell-utils.c (e_shell_folder_name_is_valid): * e-local-storage.c (construct): * e-folder-tree.c (get_parent_path) (get_parent_path) (e_folder_tree_destroy) (e_folder_tree_add) (e_folder_tree_foreach) * e-folder-dnd-bridge.c (handle_data_received_path) * evolution-storage.c (make_full_uri): * e-shell-constants.h: New #defines E_PATH_SEPARATOR and E_PATH_SEPARATOR_S. * e-local-storage.c (load_folder): Don't add the folder if its type isn't registered. svn path=/trunk/; revision=17510
* Make ChangeLog entry more recentPeter Williams2002-07-181-7/+7
| | | | svn path=/trunk/; revision=17498
* Get the EStorageSet from the shortcut's shell since there is noEttore Perazzoli2002-07-189-99/+216
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shortcuts-view-model.c (get_icon_for_item): Get the EStorageSet from the shortcut's shell since there is no e_shortcuts_get_storage_set() anymore. * e-shortcuts-view.c (get_shortcut_info): Likewise. (impl_shortcut_drag_motion): Likewise. (impl_shortcut_drag_data_received): Likewise. * e-shell.c (e_shell_construct): e_shortcuts_new_from_file(), not e_shortcuts_new() here. * e-shortcuts.c: Removed members storage_set and folder_type_registy in EShortcutsPrivate. New member shell. (init): Init to NULL. (e_shortcuts_construct): Removed arg @storage_set and @folder_type_registry, new arg @shell. (e_shortcuts_new): Removed. (e_shortcuts_new_from_file): New. (impl_destroy): Renamed from destroy(). (e_shortcuts_get_storage_set): Removed. (e_shortcuts_get_shell): New. (load_shortcuts): Accept any URI that can be parsed (by e_shell_parse_uri). * e-shell.c (e_shell_parse_uri): New. * e-shell-view.c (evolution_uri_for_default_uri): New. (display_uri): Use it to determine the evolution: uri given a default: uri. * e-shell.c (impl_Shell_handleURI): Pass it over to e_shell_create_view_from_uri_and_settings() even if it's an E_SHELL_DEFAULTURI_PREFIX. (handle_default_uri): Removed. svn path=/trunk/; revision=17497
* Install libversit.a so that people compiling against the addressbook canPeter Williams2002-07-182-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-09 Peter Williams <peterw@ximian.com> * libversit/Makefile.am (privlib_LIBRARIES): Install libversit.a so that people compiling against the addressbook can do so successfully. * Makefile.am: create our *Conf.sh files and dist them and install them. * configure.in: Define and subst some variables that the Conf.sh file need. 2002-07-08 Peter Williams <peterw@ximian.com> * backend/ebook/Makefile.am: Install libebook-static.la. Also change --all-static to -all-static, which is the right flag. * backend/pas/Makefile.am: Install the PAS headers in $(includedir)/evolution/pas. Install libpas.a 2002-07-08 Peter Williams <peterw@ximian.com> * cal-util/Makefile.am: Install libcal-util-static.la and fix the -all-static flag to make it install statically. * pcs/Makefile.am: Install libpcs.a and its headers. * pcs/cal-backend-util.h: Same sort of include namespacing fix, but for pcs. * pcs/cal.h: * pcs/query.h: * pcs/cal-factory.h: * pcs/cal-backend.h: * pcs/cal-backend-file.h: Same. 2002-07-17 Peter Williams <peterw@ximian.com> * calendar/cal-util/Makefile.am (GTKDOC_LIBS): Because we're using libtool as our LD, we can reference .la's and libtool will DTRT for us. * calendar/cal-client/Makefile.am (GTKDOC_LIBS): Same here. 2002-07-03 Peter Williams <peterw@ximian.com> * Makefile.am: Install libeutil, libeconduit, and libedb3util and their headers. 2002-07-08 Peter Williams <peterw@ximian.com> * Makefile.am: Reference the new libefilterbar.a. 2002-07-12 Peter Williams <peterw@ximian.com> * Makefile.am (INCLUDES): Add -I$(builddir)/libical/src/libical for the generated ical.h (some headers rely on this because they too get installed.) 2002-07-09 Peter Williams <peterw@ximian.com> * e-timezone-dialog/Makefile.am: Add -I$(top_builddir)/libical/src/libical; some headers that we rely on get installed, so they point to the ical.h that gets generated and installed; consequently we need to be able to find the generated ical.h * misc/Makefile.am: Install libemiscwidgets.a and its headers. However, break EFilterBar into a separate libefilterbar.a because we don't want the installed library to depend on libfilter. svn path=/trunk/; revision=17496
* no need to convert the value returned by e_folder_tree_get_folder to aRodrigo Moya2002-07-162-7/+23
| | | | | | | | | | | 2002-07-14 Rodrigo Moya <rodrigo@ximian.com> * evolution-storage.c (impl_Storage_getFolderAtPath): no need to convert the value returned by e_folder_tree_get_folder to a GNOME_Evolution_Folder, since it already is, and duplicate it before returning. svn path=/trunk/; revision=17461
* set corba_folder.customIconName so we don't crash.Chris Toshok2002-07-152-1/+11
| | | | | | | | | | | 2002-07-14 Chris Toshok <toshok@ximian.com> * e-shell.c (folder_selection_dialog_folder_selected_cb): set corba_folder.customIconName so we don't crash. (impl_Shell_selectUserFolder): remove the default_type parameter to fix a compiler warning. svn path=/trunk/; revision=17451
* dup the listener, for consistency with the other signalsDan Winship2002-07-132-1/+8
| | | | | | | * evolution-storage.c (impl_Storage_asyncDiscoverSharedFolder): dup the listener, for consistency with the other signals svn path=/trunk/; revision=17444
* (clicked): Ref the parent_window and then unref after you are done usingEttore Perazzoli2002-07-132-0/+8
| | | | | | | | (clicked): Ref the parent_window and then unref after you are done using it. [#27673] svn path=/trunk/; revision=17441
* Install some headers that weren't getting installed.Peter Williams2002-07-132-2/+7
| | | | | | | | | 2002-07-12 Peter Williams <peterw@ximian.com> * Makefile.am (eshellinclude_HEADERS): Install some headers that weren't getting installed. svn path=/trunk/; revision=17439
* Allow a NULL icon [remove the precondition].Ettore Perazzoli2002-07-123-5/+13
| | | | | | | | | | * e-shell-folder-title-bar.c (e_shell_folder_title_bar_set_icon): Allow a NULL icon [remove the precondition]. * e-shell-view.c (update_folder_title_bar): Only unref the folder_icon if not NULL. svn path=/trunk/; revision=17426
* Actually pass the evolution URI, not the path, in Folder.evolutionUriEttore Perazzoli2002-07-122-8/+10
| | | | | | | | | | | | | | * e-summary-preferences.c (set_selected_folders): Actually pass the evolution URI, not the path, in Folder.evolutionUri (since now the shell StorageSetView implementation has been fixed to handle this field properly). * evolution-storage-set-view.c (impl_StorageSetView__set_checkedFolders): Handle Folder.evolutionUri as a URI, not as a path. Also use e_free_string_list(). svn path=/trunk/; revision=17425
* (set_selected_folders): Set theEttore Perazzoli2002-07-121-0/+5
| | | | | | | customIconName part to the empty string. [#27616] Also, set_release on the sequence to TRUE. svn path=/trunk/; revision=17423
* (update_folder_title_bar): Ref the folder_iconEttore Perazzoli2002-07-122-0/+6
| | | | | | that we get from e_folder_type_registry_get_icon_for_type(). svn path=/trunk/; revision=17421
* (get_folder_list_foreach): CopyEttore Perazzoli2002-07-122-6/+14
| | | | | | | customIconName and sortingPriority in the new_corba_folder. [#27670] svn path=/trunk/; revision=17420
* Remove some `#if 0'ed broken code. New members title_icon andEttore Perazzoli2002-07-125-167/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-folder-title-bar.c: Remove some `#if 0'ed broken code. New members title_icon and title_button_icon in struct EShellFolderTitleBarPrivate. Remove member icon_widget. New static global variable empty_pixbuf. (init): Initialize these new members to NULL. Don't initialize icon_widget anymore since it's gone. (e_shell_folder_title_bar_construct): Create the title_button_icon and pack it into the title_button_hbox. Also, create the title_icon and pack that one as well. Retouched some of the hardcoded padding values. (size_allocate_icon): Rewritten to use the title_icon and return the allocated space like size_allocate_navigation_buttons. (e_shell_folder_title_bar_set_icon): Remove bogus const from the @icon arg. Ref the pixbuf, and update the two pixmap widgets from it. If @icon is NULL, use the empty_pixbuf. (impl_destroy): Renamed from destroy(). (realize): Removed. (unrealize): Removed. (impl_size_allocate): Renamed from size_allocate(). (class_init): Call it. (add_icon_widget): Removed. (new_empty_pixbuf): New. (new_empty_pixmap_widget): New. (size_allocate_navigation_buttons_and_title_icon): Renamed from size_allocate_navigation_buttons; set up the title_icon too. * e-shell-view.c (update_folder_title_bar): Unref the folder_icon after using it. * e-icon-factory.c (e_icon_factory_get_icon): Ref the returned pixbuf. svn path=/trunk/; revision=17419
* (update_folder_title_bar): Get a @folder argEttore Perazzoli2002-07-112-33/+47
| | | | | | | | instead of a @type arg. Use the custom icon if the folder has one. (update_for_current_uri): Updated accordingly. svn path=/trunk/; revision=17410
* Pass zero as the @sorting_priority to evolution_storage_new_folder().Ettore Perazzoli2002-07-1012-52/+182
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook-storage.c (load_source_data): Pass zero as the @sorting_priority to evolution_storage_new_folder(). (addressbook_storage_add_source): Likewise. * subscribe-dialog.c (recursive_add_folder): Pass zero as @sorting_priority to evolution_storage_new_folder(). * mail-folder-cache.c (real_flush_updates): Pass zero as @sorting_priority to evolution_storage_new_folder(). * evolution-test-component.c (setup_custom_storage): Pass @sorting_priority to evolution_storage_new_folder() so we test it. Also make /FirstFolder have an "inbox" custom icon. * e-local-storage.c (new_folder): Pass zero as @sorting_priority to evolution_storage_new_folder(). * evolution-storage.c (evolution_storage_new_folder): New arg @sorting_priority; put it in the CORBA folder struct. * evolution-shell-client.c (impl_FolderSelectionListener_selected): Copy the sortingPriority as well. * e-folder.c (e_folder_to_corba): Set sortingPriority. * e-corba-storage-registry.c (impl_StorageRegistry_getFolderByUri): Set sortingPriority in the new CORBA Folder struct. * e-corba-storage.c (impl_StorageListener_notifyFolderCreated): Set the custom_icon if folder->customIconName is not an empty string. Likewise, set the sorting_priority * Evolution-common.idl: New member sortingPriority in struct Folder. * e-storage-set-view.c (folder_sort_callback): Sort according to the sorting_priorities. * e-folder.c: New member sorting_priority in EFolderPrivate. (init): Init to zero. (e_folder_set_custom_icon): Emit "changed" if required. (e_folder_set_sorting_priority): New. svn path=/trunk/; revision=17404
* (load_icon): Ooops. Swapped the large/smallEttore Perazzoli2002-07-102-6/+10
| | | | | | pixbufs here. Also, plug a leak. svn path=/trunk/; revision=17399
* Pass NULL @custom_icon_name to evolution_storage_new_folder().Ettore Perazzoli2002-07-109-20/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook-storage.c (load_source_data): Pass NULL @custom_icon_name to evolution_storage_new_folder(). (addressbook_storage_add_source): Likewise. [Note we could be passing a nice custom here. ;-)] * subscribe-dialog.c (recursive_add_folder): Pass NULL for @custom_icon_name to evolution_storage_new_folder(). * mail-folder-cache.c (real_flush_updates): Pass NULL for @custom_icon_name to evolution_storage_new_folder(). * evolution-test-component.c (setup_custom_storage): Pass NULL for @custom_icon_name to evolution_storage_new_folder(). * e-local-storage.c (new_folder): Pass the custom_icon_name here to evolution_storage_new_folder(). * evolution-shell-client.c (impl_FolderSelectionListener_selected): Set customIconName here too. * e-folder.c (e_folder_to_corba): Set customIconName too. * e-corba-storage-registry.c (impl_StorageRegistry_getFolderByUri): Set customIconName. Also, use e_safe_corba_string() to clean up the code a bit. * evolution-storage.c (evolution_storage_new_folder): New arg @custom_icon_name. * Evolution-common.idl: New member customIconName in struct Folder. svn path=/trunk/; revision=17397
* If the custom_icon_name is not NULL, return the pixbuf for it.Ettore Perazzoli2002-07-1010-61/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shortcuts-view-model.c (get_icon_for_item): If the custom_icon_name is not NULL, return the pixbuf for it. * e-storage-set-view.c: #include "e-icon-factory.h". * e-shortcuts-view.c (impl_shortcut_dropped): Pass the custom_icon_name. (get_shortcut_info): New arg @custom_icon_name_return. (rename_shortcut_cb): Pass the custom_icon_name here. * e-shell-view-menu.c (new_shortcut_dialog_folder_selected_cb): Pass the custom_icon_name for the folder's shortcut. * e-shell-folder-commands.c (e_shell_command_add_to_shortcut_bar): Pass the custom_icon_name for the folder's shortcut. * e-corba-shortcuts.c (impl_add): Use the customIconName member in struct ::Shortcuts::Shortcut. (shorcut_list_to_corba): Set the customIconName member on the returned shortcuts. (impl_get): Likewise. * Evolution-Shortcuts.idl: New member customIconName in struct Shortcut. * e-shortcuts.c (shortcut_item_new): New arg @custom_icon_name; initialize the member in EShortcutItem from it. (shortcut_item_update): New arg @custom_icon_name; set the custom_icon_name from it. Also remove some braindeadness from this code. (update_shortcut_and_emit_signal): New arg @custom_icon_name. (load_shortcuts): Load the custom icon name from the XML [eg. <item name="foo" type="mail" icon="inbox">]. (save_shortcuts): Save the custom icon name in the XML. (e_shortcuts_add_shortcut): New arg @custom_icon_name. (update_shortcuts_by_path): Pass the custom_icon_name to update_shortcut_and_emit_signal(). (e_shortcuts_update_shortcut): New arg @custom_icon_name; pass it to update_shortcut_and_emit_signal(). (e_shortcuts_add_default_group): Pass "inbox" as the custom_icon_name for the inbox shortcut, and NULL for the other shortcuts. * e-shortcuts.h: New member custom_icon_name in EShortcutItem. svn path=/trunk/; revision=17394
* Remove debugging message. (impl_shortcut_drag_motion): Likewise.Ettore Perazzoli2002-07-105-9/+11
| | | | | | | | | | | | | * e-shortcuts-view.c (impl_shortcut_drag_motion): Remove debugging message. (impl_shortcut_drag_motion): Likewise. * e-local-storage.c (remove_folder_step): Remove debugging message. * e-folder-dnd-bridge.c (e_folder_dnd_bridge_data_received): Remove debugging message. svn path=/trunk/; revision=17392
* Call e_icon_factory_init().Ettore Perazzoli2002-07-109-57/+330
| | | | | | | | | | | | | | | | | | | * main.c (main): Call e_icon_factory_init(). * e-local-storage.c (setup_folder_as_stock): New arg @icon_name; if not NULL, set up a custom icon for the folder. (setup_stock_folders): Set up custom icons for inbox and outbox. * e-storage-set-view.c (get_pixbuf_for_folder): If the folder has a custom icon, return the custom icon. * e-folder.c: New member custom_icon_name. (init): Initialize to NULL. (destroy): Free. (e_folder_get_custom_icon): New. (e_folder_set_custom_icon): New. svn path=/trunk/; revision=17391
* (remove_folder): Remove unused variable.Ettore Perazzoli2002-07-092-1/+4
| | | | svn path=/trunk/; revision=17388
* Change the group icon size using e_shortcuts_set_group_uses_small_icons()Ettore Perazzoli2002-07-096-33/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shortcuts-view.c (toggle_large_icons_cb): Change the group icon size using e_shortcuts_set_group_uses_small_icons() instead of changing it on the widget directly. (toggle_small_icons_cb): Likewise. (group_change_icon_size_callback): New, callback for the "group_change_icon_size" signal on the EShortcuts object. (e_shortcuts_view_construct): Connect. Also, initialize the icon sizes in the icon bars from the EShortcuts object. * e-shell-view.c (e_shell_view_load_settings): Don't set the shortcut group icon modes here anymore. * e-shortcuts.c: New member use_small_icons in struct ShortcutGroup. (shortcut_group_new): Init to FALSE. (e_shortcuts_set_group_uses_small_icons): New. (e_shortcuts_get_group_uses_small_icons): New. (class_init): Install "group_change_icon_size" signal. (save_shortcuts): Save the icon size per-group here, i.e. <group title="foo" icon_size="small">. (load_shortcuts): Set the icon size from the group's definition here. * e-shortcuts.h: New signal "group_change_icon_size" in EShortcutsClass. svn path=/trunk/; revision=17386
* New helper function. (e_folder_to_corba): Use it here.Ettore Perazzoli2002-07-096-10/+67
| | | | | | | | | | | | | | | | | | * e-folder.c (safe_corba_string_dup): New helper function. (e_folder_to_corba): Use it here. * Makefile.am (libeshell_la_SOURCES): Move e-folder.c here, from evolution_SOURCES. (eshellinclude_HEADERS): Likewise, move e-folder.h here. * evolution-storage.c (impl_Storage_getFolderAtPath): New, implementation for Evoluiton::Storage::getFolderAtPath. (evolution_storage_get_epv): Install CORBA method here. * Evolution-Storage.idl (getFolderAtPath): New method in Evolution::Storage. svn path=/trunk/; revision=17383
* (startup_wizard_cancel): Unref theEttore Perazzoli2002-07-062-0/+24
| | | | | | | ETimezoneDialog. (finish_func): Likewise. svn path=/trunk/; revision=17375
* Invoke e_folder_dnd_bridge_drop().Ettore Perazzoli2002-07-044-15/+82
| | | | | | | | | | | | * e-storage-set-view.c (impl_tree_drag_drop): Invoke e_folder_dnd_bridge_drop(). * e-folder-dnd-bridge.c (find_matching_target_for_drag_context): New arg @atom_return. Return the GdkAtom associated with the type through it. (e_folder_dnd_bridge_drop): New. svn path=/trunk/; revision=17362
* (e_shell_show_settings): Don't set up the settingsEttore Perazzoli2002-07-032-2/+5
| | | | | | dialog as a transient. [#25776] svn path=/trunk/; revision=17350
* (bonobo_interface_remove_folder_cb): AddEttore Perazzoli2002-07-032-1/+7
| | | | | | parameter @listener to match the signal's signature. [#24413] svn path=/trunk/; revision=17349
* New arg @tooltip; pass it toEttore Perazzoli2002-07-026-5/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook-component.c (add_creatable_item): New arg @tooltip; pass it to evolution_shell_component_add_user_creatable_item() [which now has a @tooltip arg]. * gui/component-factory.c (add_creatable_item): New arg @tooltip. Pass it to evolution_shell_component_add_user_creatable_item(), which now has a @tooltip arg. (create_object): Added tooltips. * component-factory.c (create_component): Pass a tooltip to evolution_shell_component_add_user_creatable_item. * e-shell-user-creatable-items-handler.c: New member tooltip in struct MenuItem. (ensure_menu_items): Initialize the tooltip member. (shell_view_view_changed_callback): Set the tooltip for the "New" button. (ensure_menu_xml): Set up the tooltip here as well. * evolution-shell-component.c: Add tooltip member to struct UserCreatableItemType. (user_creatable_item_type_new): New arg @tooltip. (evolution_shell_component_add_user_creatable_item): New arg @tooltip. (impl__get_userCreatableItemTypes): Put the tooltip in the struct as well. * e-shell-user-creatable-items-handler.c (setup_toolbar_button): Create a GtkTooltips object and attach it to the combo_button using gtk_object_set_data(). (shell_view_view_changed_callback): Set up a tooltip for the button, according to the default. * Evolution-ShellComponent.idl: Add a tooltip member to struct UserCreatableItemType. svn path=/trunk/; revision=17343
* Remove debugging message.Ettore Perazzoli2002-07-024-23/+39
| | | | | | | | | | | | | | | | * e-shell.c (e_shell_prepare_for_quit): Remove debugging message. * e-shell-view.c (setup_verb_sensitivity_for_folder): Set sensitivity of /commands/AddFolderToShortcutBar, /commands/OpenFolder and /commands/OpenFolderInNewWindow too, depending on whether the node that was right-clicked can be opened as a folder. * e-storage-set-view.c (popup_folder_menu): Pop up the right-click menu even if we are not clicking on a folder with a proper handler. svn path=/trunk/; revision=17337
* New member preparing_to_quit in EShellPrivate.Ettore Perazzoli2002-07-022-1/+22
| | | | | | | | | | (init): Initialize to FALSE. (e_shell_prepare_for_quit): Set preparing_to_quit to TRUE on entering, and set it to FALSE on return. (view_delete_event_cb): Don't call e_shell_prepare_for_quit() if preparing_for_quit is TRUE. svn path=/trunk/; revision=17336
* (impl_Storage_updateFolder): Don't stopEttore Perazzoli2002-06-292-14/+12
| | | | | | | notifying the listeners if ::notifyFolderUpdated() fails. Should fix #25598. svn path=/trunk/; revision=17326
* Ooops. Fix date in ChangeLog.Ettore Perazzoli2002-06-291-1/+1
| | | | svn path=/trunk/; revision=17325
* *** empty log message ***Ettore Perazzoli2002-06-292-45/+133
| | | | svn path=/trunk/; revision=17324
* Only let the dialog be opened onceIain Holmes2002-06-272-0/+20
| | | | svn path=/trunk/; revision=17294
* Changes for an importer bug and to get the storagesetselector in the summaryIain Holmes2002-06-267-29/+216
| | | | svn path=/trunk/; revision=17289
* (impl_clicked): PassEttore Perazzoli2002-06-252-1/+7
| | | | | | | default_type to e_shell_show_folder_creation_dialog() properly. [Patch by Christian Kreibich <christian@whoop.org>.] svn path=/trunk/; revision=17265
* Remove #include <config.h> Same Same gtk_widget_show() all items in theKjartan Maraas2002-06-207-21/+11
| | | | | | | | | | | | | | 2002-06-19 Kjartan Maraas <kmaraas@gnome.org> * e-corba-config-page.h: Remove #include <config.h> * e-shell-about-box.h: Same * e-history.h: Same * e-shell-importer.c: gtk_widget_show() all items in the optionmenu before showing it. * e-shell-offline-handler.h: Remove #include <config.h> * e-shell-settings-dialog.h: Same. svn path=/trunk/; revision=17235
* Set release for the CORBA path sequence to TRUE.Ettore Perazzoli2002-06-017-1/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-storage-set-view.c (impl_StorageSetView__get_checkedFolders): Set release for the CORBA path sequence to TRUE. * evolution-shell-component.c (fill_corba_sequence_from_null_terminated_string_array): Set release for the CORBA sequence to TRUE so it gets freed properly. (impl__get_externalUriSchemas): Likewise for the returned uri_chema_list. * e-shell-offline-handler.c (duplicate_connection_list): Set release for the connection sequence to TRUE. * e-shell-config-offline.c (config_control_apply_callback): Set release for the path sequence to TRUE. * e-corba-storage-registry.c (impl_StorageRegistry_getStorageList): Set release for the storage sequence to TRUE. * evolution-storage.c (impl_Storage__get_folderList): Set release for the folder sequence to TRUE. svn path=/trunk/; revision=17062
* Use bonobo_object_ref() instead of bonobo_object_client_ref() as theEttore Perazzoli2002-05-313-4/+14
| | | | | | | | | | | | * e-folder-list.c (e_folder_list_construct): Use bonobo_object_ref() instead of bonobo_object_client_ref() as the former only refs the CORBA object [Sigh]. * e-shell-config-autocompletion.c (e_shell_config_autocompletion_create_widget): Don't unref the shell_client here, as we need it. :-) svn path=/trunk/; revision=17046
* Connect about_box_event_callback() to the "key_press_event" signal asEttore Perazzoli2002-05-312-0/+9
| | | | | | | | | * e-shell-view-menu.c (command_about_box): Connect about_box_event_callback() to the "key_press_event" signal as well. This way the about box is closed when you press a key too. [#25349] svn path=/trunk/; revision=17044
* skip folders that aren't valid uri's. (e_folder_list_get_items): didn'tChris Toshok2002-05-292-4/+13
| | | | | | | | | | | 2002-05-28 Chris Toshok <toshok@ximian.com> * e-folder-list.c (e_folder_list_set_items): skip folders that aren't valid uri's. (e_folder_list_get_items): didn't update this to track the change in model columns. bad toshok. svn path=/trunk/; revision=17028
* [ fixes 90% of #25047 ] shamelessly lifted fromChris Toshok2002-05-2415-308/+653
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-24 Chris Toshok <toshok@ximian.com> [ fixes 90% of #25047 ] * e-folder-list.c (get_folder_for_uri): shamelessly lifted from evolution-folder-selector-button.c. (create_display_string): modeled again after evolution-folder-selector-button.c, so we can give a little more context (and make the table look like the folder selector buttons.) (SPEC): add a pixbuf column, also remove the sorting behavior. (columns): add a pixbuf column and another string column (for the display string). (add_clicked): create the display string and get the proper pixbuf, and insert both. (edit_clicked): removed. (update_buttons): remove edit button handling from here. (e_folder_list_init): remove the hooking up of button-edit's "clicked" signal. (e_folder_list_construct): get a reference to the storage registry so we can look up folders. (e_folder_list_set_items): analogous change to add_clicked - get the display string and pixbuf and insert them. * glade/e-folder-list.glade: remove the edit button. * glade/e-shell-config-default-folders.glade: remove the frame/vbox, since we embed it in a notebook and the tab has the title already. * e-shell-config.c (config_control_factory_cb): the only config control we deal with here now is the folder settings control. * e-shell-config-default-folders.c (e_shell_config_default_folders_create_widget): rename e_shell_config_default_folders_create_control to this, return the widget, and take the config control to use as an arg. * e-shell-config-offline.c (e_shell_config_offline_create_widget): make an analogous change here as with default_folders_create_widget. * e-shell-config-default-folders.h (e_shell_config_default_folders_create_widget): track change to prototype. * e-shell-config-offline.h (e_shell_config_offline_create_widget): same. * GNOME_Evolution_Shell.oaf.in: remove the DefaultFolders and OfflineFolders controls and add a FolderSettings_Control. * Makefile.am (evolution_SOURCES): add e-shell-config-folder-settings.[ch] and e-shell-config-autocompletion.[ch]. * e-shell-config-folder-settings.[ch]: new files, embed (after a fashion) the default folder, offline, and autocompletion UI's in a notebook. * e-shell-config-autocompletion.[ch]: Basically copy over and shell-ize the addressbook autocompletion config control so it can be embedded more easily with the other folder settings. svn path=/trunk/; revision=17000
* Set @allow_shrink and @allow_grow to FALSE for the window. Fixes #17534.Ettore Perazzoli2002-05-242-0/+6
| | | | | | | * main.c (quit_box_new): Set @allow_shrink and @allow_grow to FALSE for the window. Fixes #17534. svn path=/trunk/; revision=16995
* Pass FALSE for @allow_shrink. Fixes #15688.Ettore Perazzoli2002-05-242-1/+7
| | | | | | | | * e-shell-folder-selection-dialog.c (e_shell_folder_selection_dialog_construct): Pass FALSE for @allow_shrink. Fixes #15688. svn path=/trunk/; revision=16993
* Make a little bit prettier. Default to "Delete", not "Cancel".Ettore Perazzoli2002-05-242-22/+19
| | | | | | | * e-shell-folder-commands.c (delete_dialog): Make a little bit prettier. Default to "Delete", not "Cancel". svn path=/trunk/; revision=16992
* Set the view type from the original group, thus preserving theEttore Perazzoli2002-05-242-1/+15
| | | | | | | | * e-shortcuts-view.c (rename_group_cb): Set the view type from the original group, thus preserving the small-icon/large-icon state. Fixes #6732. svn path=/trunk/; revision=16991
* Add a toggle to avoid displaying the dialog again. Don't display theEttore Perazzoli2002-05-242-5/+43
| | | | | | | | | | | | * main.c (show_development_warning): Add a toggle to avoid displaying the dialog again. Don't display the dialog at all if the /Shell/skip_warning_dialog_1_1 bonobo-conf key is set to FALSE. (warning_dialog_clicked_callback): Set /Shell/skip_warning_dialog_1_1 according to the state of the check button. svn path=/trunk/; revision=16986
* No more @default_type arg to e_shell_folder_selection_dialog_new().Ettore Perazzoli2002-05-239-40/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell.c (impl_Shell_selectUserFolder): No more @default_type arg to e_shell_folder_selection_dialog_new(). * e-shell-view-menu.c (command_goto_folder): No more @default_type arg to e_shell_folder_selection_dialog_new(). (command_new_shortcut): Likewise. * e-shell-importer.c (import_druid_finish): No more @default_type arg to e_shell_folder_selection_dialog_new(). * e-shell-folder-commands.c (e_shell_command_move_folder): No more @default_type arg to e_shell_folder_selection_dialog_new(). (e_shell_command_copy_folder): Likewise. * e-shell-folder-selection-dialog.c: Removed default_type member in EShellFolderSelectionDialogPrivate. (e_shell_folder_selection_dialog_new): Removed @default_type arg. (e_shell_folder_selection_dialog_construct): Likewise. (impl_clicked): Just pass the first of the allowed types to e_shell_show_folder_creation_dialog() for the default type. * evolution-shell-client.c (user_select_folder): No more @default_type arg to the ::userSelectFolder CORBA method. * Evolution-Shell.idl (selectUserFolder): Remove arg @default_type. svn path=/trunk/; revision=16983
* New callback for when the first created view in the shell gets mapped.Ettore Perazzoli2002-05-234-0/+121
| | | | | | | | | | | | | | | | | | * main.c (view_map_callback): New callback for when the first created view in the shell gets mapped. (new_view_created_callback): New callback for when the first view of the shell gets created. (show_development_warning): New function to display a warning about the fact that Evolution is unstable. (idle_cb): Call show_development_warning() here unless the EVOLVE_ME_HARDER environment variable is set. * e-shell.c (class_init): Add the "new_view_created" signal here. (create_view): Emit the signal here. * e-shell.h: New signal "new_view_created". svn path=/trunk/; revision=16977
* New member default_menu_item in EShellUserCreatableItemsHandlerPrivate.Ettore Perazzoli2002-05-232-5/+45
| | | | | | | | | | * e-shell-user-creatable-items-handler.c: New member default_menu_item in EShellUserCreatableItemsHandlerPrivate. (ensure_menu_items): Set ->default_menu_item. (get_default_action_for_view): When no default item is specified, just return ->default_menu_item. svn path=/trunk/; revision=16976
* Only refuse quitting if the result is CANCEL. This way we allow quittingEttore Perazzoli2002-05-233-1/+14
| | | | | | | | | | | | | * e-shell.c (e_shell_prepare_for_quit): Only refuse quitting if the result is CANCEL. This way we allow quitting if one of the components has crashed or something else otherwise goes wrong. Fixes #25093. * evolution-shell-component-client.c (result_from_async_corba_result): Handle GNOME_Evolution_ShellComponentListener_CANCEL. svn path=/trunk/; revision=16974
* Do async_open_folder in an idle callback.Christopher James Lahey2002-05-214-46/+103
| | | | | | | | | | | | | 2002-05-21 Christopher James Lahey <clahey@ximian.com> * e-corba-storage.c (async_open_folder_idle): Do async_open_folder in an idle callback. * e-shell-shared-folder-picker-dialog.c (user_clicked), glade/e-shell-shared-folder-picker-dialog.glade: Added a select names button here. svn path=/trunk/; revision=16964
* set the parent window insensitive before popping up the dialog andChris Toshok2002-05-213-2/+45
| | | | | | | | | | | | | | | | | | | | 2002-05-20 Chris Toshok <toshok@ximian.com> * evolution-folder-selector-button.c (clicked): set the parent window insensitive before popping up the dialog and sensitive after it's popped down, to give us semi-modal behavior. Also, emit a "popped_up" signal when popping up the dialog, and emit "canceled" when the return folder is NULL (when the user canceled the dialog). (class_init): fix typo (?) - parent type isn't bonobo_object_get_type(), it's PARENT_TYPE. Also, initialize the POPPED_UP and CANCELED signals. * evolution-folder-selector-button.h (struct _EvolutionFolderSelectorButtonClass): add popped_up and canceled signals. svn path=/trunk/; revision=16959
* Skip the folder if it doesn't have the can_sync_offline property set.Ettore Perazzoli2002-05-212-0/+10
| | | | | | | * e-shell-offline-sync.c (sync_folder): Skip the folder if it doesn't have the can_sync_offline property set. svn path=/trunk/; revision=16948
* Set the can_sync_offline property on the EFolder based on theEttore Perazzoli2002-05-216-9/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-corba-storage.c (impl_StorageListener_notifyFolderCreated): Set the can_sync_offline property on the EFolder based on the canSyncOffline value on the CORBA folder. * evolution-test-component.c (setup_custom_storage): Pass FALSE for @sync_offline to evolution_storage_new_folder(). * e-local-storage.c (new_folder): Pass FALSE for @sync_offline to evolution_storage_new_folder(). * evolution-storage.h (evolution_storage_new_folder): New arg @can_sync_offline. * subscribe-dialog.c (recursive_add_folder): Pass TRUE for @sync_offline to evolution_storage_new_folder(). * mail-folder-cache.c (real_flush_updates): Pass TRUE for @sync_offline to evolution_storage_new_folder(). * gui/component/addressbook-storage.c (load_source_data): Pass FALSE for @sync_offline to evolution_storage_new_folder(). (addressbook_storage_add_source): Pass FALSE for @sync_offline to evolution_storage_new_folder(). svn path=/trunk/; revision=16947
* Remove exception. (cancelSyncFolder): Remove exception.Ettore Perazzoli2002-05-216-36/+102
| | | | | | | | | | | | | | | | | | | | | | | | | * Evolution-Offline.idl (syncFolder): Remove exception. (cancelSyncFolder): Remove exception. * e-shell-config-offline.c (storage_set_view_has_checkbox_func): New. (e_shell_config_offline_create_control): Pass it as the @has_checkbox_func. * e-folder.c: New member can_sync_offline in EFolderPrivate. (init): Init to FALSE. (e_folder_get_can_sync_offline): New. (e_folder_to_corba): Set canSyncOffline in the returned CORBA folder. (e_folder_set_physical_uri): Protect from when @physical_uri and ->physical_uri are the same thing. (e_folder_set_description): Same here with description. (e_folder_set_type_string): And type. * Evolution-common.idl: New member canSyncOffline in struct Folder. svn path=/trunk/; revision=16946
* Pass NULL for @has_checkbox_func and @has_checkbox_func_data.Ettore Perazzoli2002-05-216-15/+76
| | | | | | | | | | | | | | | | | | | | | | | | * e-shell-config-offline.c (e_shell_config_offline_create_control): Pass NULL for @has_checkbox_func and @has_checkbox_func_data. * evolution-storage-set-view.c (impl_StorageSetView__set_showCheckboxes): Pass NULL for @has_checkbox_func and @has_checkbox_func_data. * e-storage-set-view.c: New member has_checkbox_func and has_checkbox_func_data in EStorageSetViewPrivate. (init): Init to NULL. (e_storage_set_view_set_show_checkboxes): New args @has_checkbox_func and @func_data. (has_checkbox): Always return FALSE for the toplevels. For the other ones return TRUE unless ->has_checkbox_func is not-NULL; in which case, we use that function to determine whether the folder is actually checkable. * Evolution-ShellComponent.idl (requestQuit): Remove exception. svn path=/trunk/; revision=16945
* Ask e_shell_prepare_for_quit() before destroying the view if it's the lastEttore Perazzoli2002-05-163-3/+27
| | | | | | | | | | * e-shell.c (view_delete_event_cb): Ask e_shell_prepare_for_quit() before destroying the view if it's the last one. * e-shell-view-menu.c (command_close): Synthesize a delete_event on the view instead of directly destroying it. svn path=/trunk/; revision=16931
* Check with e_shell_prepare_for_quit() before quitting.Ettore Perazzoli2002-05-1610-22/+228
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-view-menu.c (command_quit): Check with e_shell_prepare_for_quit() before quitting. * e-shell.c (e_shell_prepare_for_quit): New. * evolution-test-component.c (request_quit_fn): New function asking for confirmation to quit. * evolution-shell-component.c (evolution_shell_component_new): New arg @request_quit_fn. (impl_requestQuit): New, implementation for EvolutionShellComponent::requestQuit. (evolution_shell_component_result_to_string): Handle EVOLUTION_SHELL_COMPONENT_CANCEL. (evolution_shell_component_client_request_quit): New. * Evolution-ShellComponent.idl (requestQuit): New. * component-factory.c (create_component): Pass NULL as @request_quit_fn. * component-factory.c (create_component): Pass NULL as @request_quit_fn. * gui/component-factory.c (create_object): Pass NULL as @request_quit_fn. * gui/component/addressbook-component.c (create_component): Pass NULL as @request_quit_fn. svn path=/trunk/; revision=16925
* Add some comments to document the interface.Ettore Perazzoli2002-05-161-13/+45
| | | | svn path=/trunk/; revision=16922
* Remove debugging spewIain Holmes2002-05-152-1/+5
| | | | svn path=/trunk/; revision=16801
* Committing Peter Williams patch so listeners are notified about new storages.Iain Holmes2002-05-152-1/+18
| | | | svn path=/trunk/; revision=16800
* Call e_shell_offline_sync_all_folders() if no connection is reported here.Ettore Perazzoli2002-05-156-14/+527
| | | | | | | | | | | | | | | | | | * e-shell-offline-handler.c (e_shell_offline_handler_put_components_offline): Call e_shell_offline_sync_all_folders() if no connection is reported here. (dialog_handle_ok): Sync all the folders here through e_shell_offline_sync_all_folders(). * e-shell-offline-sync.c: New. * e-shell-offline-sync.h: New. * Evolution-Offline.idl (syncFolder): Make oneway. (cancelSyncFolder): Likewise. (SyncFolderProgressListener::reportSuccess): New method. svn path=/trunk/; revision=16792
* Added check-empty.xpm, check-filled.xpm, and check-missing.xpm.Christopher James Lahey2002-05-157-31/+133
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-14 Christopher James Lahey <clahey@ximian.com> * Makefile.am: Added check-empty.xpm, check-filled.xpm, and check-missing.xpm. * check-empty.xpm, check-filled.xpm, check-missing.xpm: New xpms. Copied from gal. check-missing.xpm is simply a transparent xpm of the correct size. * e-storage-set-view.c (etree_value_at): When getting, check if the path doesn't have a check box and return 2 in that case. (etree_set_value_at): Check if the path doesn't have a check box and don't change it in that case. Also, just invert the value here instead of paying attention to the set value passed in. (class_init): Initialize the checks GdkPixbufs. (e_storage_set_view_construct): Create the "optional_checkbox" cell. * e-storage-set-view.etspec: Changed the cell for the checkbox column to "optional_checkbox". svn path=/trunk/; revision=16791
* Compute the evolutionUri here and pass it in.Christopher James Lahey2002-05-152-1/+38
| | | | | | | | | 2002-05-14 Christopher James Lahey <clahey@ximian.com> * evolution-storage.c (evolution_storage_new_folder): Compute the evolutionUri here and pass it in. svn path=/trunk/; revision=16782
* Add a missing CORBA_free in the case in which the typecode of theEttore Perazzoli2002-05-142-0/+9
| | | | | | | | | | * e-shell-config-offline.c (init_storage_set_view_status_from_config): Add a missing CORBA_free in the case in which the typecode of the /OfflineFolders/Paths key in the ConfigDatabase doesn't match the expected type. svn path=/trunk/; revision=16780
* Pass self to e_shell_offline_handler_new() instead of the componentEttore Perazzoli2002-05-144-32/+41
| | | | | | | | | | | | | | * e-shell.c (e_shell_go_offline): Pass self to e_shell_offline_handler_new() instead of the component registry. * e-shell-offline-handler.c: Replace member `component_registry' in EShellOfflineHandlerPrivate with a `shell' member. Updated all the code to retrieve the component registry from the shell instead of directly. (e_shell_offline_handler_construct): Get a @shell instead of a @component_registry. svn path=/trunk/; revision=16779
* Changed this to just walk the hash table to get the list of checkedChristopher James Lahey2002-05-142-20/+18
| | | | | | | | | | | | 2002-05-13 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (e_storage_set_view_get_checkboxes_list): Changed this to just walk the hash table to get the list of checked checkboxes instead of walking the tree. (Makes it so that checked paths will remain checked, even if they're not shown in the tree when the list is gotten.) svn path=/trunk/; revision=16778
* Handle the e-shell-config-offline and e-shell-config-default-foldersEttore Perazzoli2002-05-149-193/+533
| | | | | | | | | | | | | | | | | * e-shell-config.c: Handle the e-shell-config-offline and e-shell-config-default-folders pages. * e-shell-config-offline.h: New. * e-shell-config-offline.c: New. * e-shell-config-default-folders.h: New. * e-shell-config-default-folders.c: New. Moved default folder page configuration in from e-shell-config.c. * GNOME_Evolution_Shell.oaf.in: Add GNOME_Evolution_Shell_Config_OfflineFolders_Control. svn path=/trunk/; revision=16777
* Added a signal when the value of the checkboxes changes.Christopher James Lahey2002-05-143-0/+17
| | | | | | | | | 2002-05-13 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (etree_set_value_at): Added a signal when the value of the checkboxes changes. svn path=/trunk/; revision=16776
* Add members `parent' and `shell' in DiscoveryData.Ettore Perazzoli2002-05-112-16/+89
| | | | | | | | | | | | | | | | | | | | * e-shell-shared-folder-picker-dialog.c: Add members `parent' and `shell' in DiscoveryData. (shell_view_destroy_callback): Callback for destruction of ->parent; set ->parent to NULL. (shell_destroy_callback): Callback for the desctruction of the shell; clean up everything. (discover_folder): Initialize ->parent and shell, and add the corresponding destruction handlers. (shared_folder_discovery_listener_callback): Open the discovered folder. (setup_progress_dialog): Renamed from `show_progress_dialog'. Set up a timeout for displaying the dialog instead of displaying it right away. (progress_dialog_show_timeout_callback): Callback for showing the dialog after the callback. svn path=/trunk/; revision=16754
* Add the Addressbook-SelectNames interface stuff.Ettore Perazzoli2002-05-111-0/+4
| | | | svn path=/trunk/; revision=16752
* Updated for FolderResult instead of DiscoverSharedFolderResult.Ettore Perazzoli2002-05-114-17/+15
| | | | | | | | | | | * e-shell-shared-folder-picker-dialog.c (shared_folder_discovery_listener_callback): Updated for FolderResult instead of DiscoverSharedFolderResult. * Evolution-Storage.idl: Remove struct DiscoverSharedFolderResult; we want to just use FolderResult for asyncDiscoverSharedFolder. svn path=/trunk/; revision=16751
* New. New.Ettore Perazzoli2002-05-112-0/+505
| | | | | | | * e-shell-shared-folder-picker-dialog.c: New. * e-shell-shared-folder-picker-dialog.h: New. svn path=/trunk/; revision=16748
* Added some tests for the custom storage.Ettore Perazzoli2002-05-1110-49/+571
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-test-component.c: Added some tests for the custom storage. * evolution-storage.c: New signal DISCOVER_SHARED_FOLDER. (impl_Storage_asyncXferFolder): Renamed from impl_Storage_async_xfer_folder. (impl_Storage_asyncRemoveFolder): Renamed from impl_Storage_async_remove_folder. (impl_Storage_asyncCreateFolder): Renamed from impl_Storage_async_create_folder. (impl_Storage_asyncOpenFolder): Renamed from impl_storage_async_open_folder. (impl_Storage_addListener): Renamed from impl_Storage_add_listener. (impl_Storage_removeListener): Renamed from impl_Storage_remove_listener. (impl_Storage_asyncDiscoverSharedFolder): New, implementation for ::asyncDiscoverSharedFolder. (evolution_storage_get_epv): Install the CORBA method here. (class_init): Set up the "discover_shared_folder" signal here. (e_marshal_NONE__POINTER_POINTER): Yet Another Marshaller. Die die die. * Evolution-Storage.idl (Storage::asyncDiscoverSharedFolder): New method. (StorageListener::notifySharedFolderDiscovered): New method. * e-shell-view-menu.c (command_open_other_users_folder): New, implementation for the FileOpenOtherUsersFolder verb. * Makefile.am: Generate stubs and skels for Evolution::Addressbook::SelectNames as well. * glade/e-shell-shared-folder-picker-dialog.glade: New. svn path=/trunk/; revision=16746
* Pass %FALSE as @has_shared_folders to evolution_storage_new().Ettore Perazzoli2002-05-105-20/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-local-storage.c (construct): Pass %FALSE as @has_shared_folders to evolution_storage_new(). * evolution-storage.c: New member has_shared_folders in EvolutionStoragePrivate. (init): Initialize to FALSE. (evolution_storage_new): New arg @has_shared_folders. (evolution_storage_construct): Likewise. (impl_Storage__get_folderList): Renamed from impl_Storage__get_folder_list. (impl_Storage__get_hasSharedFolders): New, implementation for ::hasSharedFolders. (evolution_storage_get_epv): Install the CORBA method implementation. * Evolution-Storage.idl: Make Storage::name a readonly attribute. New attribute Storage:: * component-factory.c (add_storage): Pass %FALSE as @has_shared_folders to evolution_storage_new(). * gui/component/addressbook-storage.c (addressbook_get_other_contact_storage): Pass %FALSE as @has_shared_folders to evolution_storage_new(). svn path=/trunk/; revision=16733
* Rename NotPrepared to notPrepared and NotSyncing to notSyncing.Ettore Perazzoli2002-05-094-10/+21
| | | | | | | | | | | | | | | | | | * Evolution-Offline.idl: Rename NotPrepared to notPrepared and NotSyncing to notSyncing. * evolution-storage.c (impl_Storage__get_folder_list): Renamed from impl_Storage_get_folder_list(). * Evolution-Storage.idl: Don't typedef FolderList here. Replace `getFolderList' method with a readonly attribute. * gui/e-itip-control.c (get_servers): use GNOME_Evolution_Storage__get_folderList instead of GNOME_Evolution_Storage_getFolderList since I have now changed that to be an attribute instead of a method. svn path=/trunk/; revision=16732
* New interface SyncFolderProgressListener. (Offline::cancelSyncFolder):Ettore Perazzoli2002-05-082-2/+32
| | | | | | | | * Evolution-Offline.idl: New interface SyncFolderProgressListener. (Offline::cancelSyncFolder): New. (Offline::syncFolder): New. svn path=/trunk/; revision=16713
* add every folder to the sequence except the root folderJP Rosevear2002-05-087-2/+165
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-07 JP Rosevear <jpr@ximian.com> * evolution-storage.c (get_folder_list_foreach): add every folder to the sequence except the root folder (impl_Storage_get_folder_list): implement corba method (evolution_storage_get_epv): set new method implementation * evolution-folder-selector-button.h: fix signal prototype * e-folder-tree.h: new proto * e-folder-tree.c (e_folder_tree_get_count): count nodes (count_nodes): bump count foreach path * e-corba-storage-registry.c (impl_StorageRegistry_getStorageList): implement idl method (corba_class_init): set epv method * Evolution-Storage.idl: add getStorageList and getFolderList methods svn path=/trunk/; revision=16708
* Use the new evolution_shell_client_create_storage_set_view() call.Ettore Perazzoli2002-05-084-24/+76
| | | | | | | | | | * evolution-test-component.c (create_new_folder_selector): Use the new evolution_shell_client_create_storage_set_view() call. * evolution-shell-client.c (evolution_shell_client_create_storage_set_view): New. svn path=/trunk/; revision=16707
* Put the EStorageSetView in an EScrollFrame.Ettore Perazzoli2002-05-0811-59/+374
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-storage-set-view-factory.c (evolution_storage_set_view_factory_new_view): Put the EStorageSetView in an EScrollFrame. * e-shell.c (impl_Shell_createStorageSetView): CORBA_Object_duplicate the object before returning. * evolution-test-component.c (create_new_folder_selector): New function to create a simple test environment for the new checkbox-enabled StorageSetView. (register_component): Add user-creatable type FolderSelector. (user_create_new_item_callback): Handle FolderSelector. (dialog_clicked_callback): Print out the checked items in the folder selector. (main): Print out a message before going into bonobo_main(). * evolution-storage-set-view.c (impl_StorageSetView__get_showFolders): Renamed from impl_StorageSetView__get_show_folders. (impl_StorageSetView__set_showFolders): Renamed from impl_StorageSetView__set_show_folders. (impl_StorageSetView__set_showCheckboxes): New, write the showCheckboxes CORBA attribute. (impl_StorageSetView__get_showCheckboxes): New, read the showCheckboxes CORBA attribute. (impl_StorageSetView__get_checkedFolders): New, read the checkedFolders CORBA attribute. (corba_class_init): Install the new CORBA methods methods. * e-storage-set-view.c (essv_add_to_list): strdup() the path. (e_storage_set_view_get_storage_set): New. * e-folder.c (e_folder_to_corba): New. * Evolution-StorageSetView.idl: Add showCheckboxes and checkedFolders attributes. * Evolution-common.idl: Add typedef for FolderList. svn path=/trunk/; revision=16704
* Use bonobo_object_client_(un)?ref instead of gtk_object_(un)?ref.Christopher James Lahey2002-05-044-2/+148
| | | | | | | | | | | | | | | 2002-05-03 Christopher James Lahey <clahey@ximian.com> * e-folder-list.c: Use bonobo_object_client_(un)?ref instead of gtk_object_(un)?ref. (add_clicked): Don't pass NULL to evolution_shell_client_user_select_folder. * glade/Makefile.am: Added e-folder-list.glade * glade/e-folder-list.glade: The glade file for e-folder-list. svn path=/trunk/; revision=16678
* Added e-folder-list.h. (libeshell_la_SOURCES): Added e-folder-list.c.Christopher James Lahey2002-05-044-2/+728
| | | | | | | | | | | | 2002-05-03 Christopher James Lahey <clahey@ximian.com> * Makefile.am (eshellinclude_HEADERS): Added e-folder-list.h. (libeshell_la_SOURCES): Added e-folder-list.c. * e-folder-list.c, e-folder-list.h: New widget for editing a list of folder uris. svn path=/trunk/; revision=16677
* Added these functions. Implemented checkboxes in the ETreeModel here.Christopher James Lahey2002-04-303-7/+144
| | | | | | | | | | 2002-04-29 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (e_storage_set_view_set_checkboxes_list, e_storage_set_view_get_checkboxes_list): Added these functions. Implemented checkboxes in the ETreeModel here. svn path=/trunk/; revision=16637
* Minor label tweaks; changed "Default folders" to "Default Folders", andAnna Marie Dirks2002-04-192-5/+10
| | | | | | | | | 2002-04-19 Anna Marie Dirks <anna@ximian.com> * glade/e-shell-config-default-folders.glade: Minor label tweaks; changed "Default folders" to "Default Folders", and added accelerators. svn path=/trunk/; revision=16535
* emit show_settings signal (corba_class_init): assign epv methodJP Rosevear2002-04-199-12/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-04-18 JP Rosevear <jpr@ximian.com> * evolution-shell-view.c (impl_ShellView_show_settings): emit show_settings signal (corba_class_init): assign epv method (class_init): add signal * evolution-shell-view.h: new signal * e-shell.c (init): init settings_dialog private member (settings_dialog_destroy_cb): reset dialog pointer (e_shell_show_settings): show the settings dialog, bring it to the front if one already exists for this shell * e-shell.h: new proto * e-shell-view.c (corba_interface_show_settings): implement showSettings method (setup_corba_interface): listen for show_settings signal (e_shell_view_show_settings): show the settings dialog * e-shell-view.h: new proto * e-shell-view-menu.c (command_settings): call e_shell_view_show_settings instead * Evolution-ShellView.idl: add showSettings method svn path=/trunk/; revision=16510
* New, override for EShortcutBar::shortcut_drag_motion.Ettore Perazzoli2002-04-182-11/+83
| | | | | | | | | | * e-shortcuts-view.c (impl_shortcut_drag_motion): New, override for EShortcutBar::shortcut_drag_motion. (impl_shortcut_drag_data_received): New, override for EShortcutBar::shortcut_drag_data_received. (class_init): Install the method overrides. svn path=/trunk/; revision=16502
* Bumped required gal version number to 0.19.99.11.Christopher James Lahey2002-04-182-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-04-17 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped required gal version number to 0.19.99.11. From addressbook/ChangeLog: 2002-04-17 Christopher James Lahey <clahey@ximian.com> * gui/component/select-names/e-select-names.c (e_select_names_create_categories): Changed this to use ECategoriesMasterListOptionMenu. * gui/component/select-names/e-select-names.c (section_right_click_cb), gui/widgets/e-addressbook-reflow-adapter.c, gui/widgets/e-addressbook-view.c: Updated these to match the new EPopupMenu. From calendar/ChangeLog: 2002-04-17 Christopher James Lahey <clahey@ximian.com> * gui/e-calendar-table.c, gui/e-day-view.c, gui/e-week-view.c, gui/dialogs/meeting-page.c: Updated these to match the new EPopupMenu. From mail/ChangeLog: 2002-04-17 Christopher James Lahey <clahey@ximian.com> * folder-browser.c, mail-display.c: Updated these to match the new EPopupMenu. From shell/ChangeLog: 2002-04-17 Christopher James Lahey <clahey@ximian.com> * e-activity-handler.c: Updated this to match the new EPopupMenu. svn path=/trunk/; revision=16498
* Removed. (impl_tree_drag_motion): Rewritten to useEttore Perazzoli2002-04-175-321/+529
| | | | | | | | | | | | | | | | | * e-storage-set-view.c (handle_evolution_path_drag_motion): Removed. (impl_tree_drag_motion): Rewritten to use `e_folder_dnd_bridge_motion()'. (impl_tree_drag_data_received): Rewritten to use `e_folder_dnd_bridge_data_received()'. (convert_gdk_drag_action_to_corba): Removed. (convert_corba_drag_action_to_gdk): Removed. (find_matching_target_for_drag_context): Removed. * e-folder-dnd-bridge.c: New. * e-folder-dnd-bridge.h: New. svn path=/trunk/; revision=16491
* Shell config page routines. Right now handles the default folders page.Dan Winship2002-04-1113-23/+618
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-config.c: Shell config page routines. Right now handles the default folders page. * glade/e-shell-config-default-folders.glade: New. * GNOME_Evolution_Shell.oaf.in: Add info for the default folders config page. * main.c (idle_cb): If we successfully registered the shell, register the config factory. * evolution-shell-client.c (evolution_shell_client_new): Note the fact that it frees the corba_shell when it is destroyed. * evolution-folder-selector-button.c (evolution_folder_selector_button_construct, destroy): Use bonobo_object_ref/unref on the shell client, not gtk. * e-shell.c (e_shell_construct): Pass local_directory to e_setup_check_db. (handle_default_uri): Fix the config db paths here to match the other routines. * e-setup.c (e_setup_check_db): Make this take the evolution directory path as well so we can properly set up file: URIs for the default folders. svn path=/trunk/; revision=16423
* Change the logic for displaying a default window, so we don't end up withEttore Perazzoli2002-04-102-1/+6
| | | | | | | * main.c (idle_cb): Change the logic for displaying a default window, so we don't end up with two windows all the time. svn path=/trunk/; revision=16416
* Move <dirent.h> down the #include list so it compiles on Darwin.Ettore Perazzoli2002-04-102-2/+8
| | | | | | | * e-local-storage.c: Move <dirent.h> down the #include list so it compiles on Darwin. svn path=/trunk/; revision=16407
* New. Check that things that need to be in the config db are. Right now itDan Winship2002-04-097-9/+60
| | | | | | | | | | | | | | | | | | * e-setup.c (e_setup_check_db): New. Check that things that need to be in the config db are. Right now it sets up the default folders. * e-shell.c (e_shell_construct): Call e_setup_check_db after getting the config db. * e-shell-constants.h: Add E_SUMMARY_URI, E_LOCAL_INBOX_URI, etc. * e-shortcuts.c (e_shortcuts_add_default_group): Use E_LOCAL_INBOX_URI, etc. * e-shell-view.c: #define FALLBACK_URI to E_SUMMARY_URI svn path=/trunk/; revision=16405
* If the shell fails to display all of the requested URIs, fall back toDan Winship2002-04-092-8/+15
| | | | | | the default URI (Summary). svn path=/trunk/; revision=16404
* Oops. Add ChangeLog entries for some changes that accidentally escapedDan Winship2002-04-091-0/+8
| | | | | | | | | | | | into my last commit. * main.c (idle_cb): Check for "default:" URIs and treat them the same way as "evolution:" URIs. * e-shell.c (impl_Shell_handleURI): Handle "default:" URIs by looking up the default folders in the config db. svn path=/trunk/; revision=16403
* Add a "view_info" argument.Dan Winship2002-04-0912-29/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Evolution-ShellComponent.idl (createView): Add a "view_info" argument. * e-shell-view.c (get_view_for_uri): if the URI contains a '#', split it into a URI and a "view_info" at that point. (Otherwise, pass "" for the view_info to ShellComponent_createView.) This can be used for things like specifying day/month/week view to the calendar. * e-shell.c (create_view): Ignore e_shell_view_display_uri's return code: it's possible/likely that the requested URL is remote and hasn't been filled in yet. (impl_Shell_handleURI): Don't use Shell_createNewView directly, call e_shell_create_view_from_uri_and_settings. (For the above fix and some others.) * evolution-shell-component.c (impl_createView): Add view_info. * evolution-shell-component-client.c (evolution_shell_component_client_create_view): Add view_info. * evolution-test-component.c (create_view_fn): add view_data. * e-corba-storage-registry.c (impl_StorageRegistry_getFolderByUri): kill a warning svn path=/trunk/; revision=16397
* Fix "evolution evolution:/path/to/folder" to use default viewDan Winship2002-04-086-46/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | prefs. * e-shell.c (impl_Shell_createNewView): Use e_shell_create_view_from_uri_and_settings to create the new view based on saved view 0 instead of always using the initial evolution defaults. (e_shell_create_view_from_uri_and_settings): Renamed and simplified; the template_view argument was useless and settings_found would always be set to TRUE in the context it was being used it. (e_shell_restore_from_settings): Simplify for e_shell_create_view_from_uri_and_settings changes. * e-shell-view.c (e_shell_view_load_settings): Only load the DisplayedURI if the view isn't already displaying a URI. Also, pass an &ev to the first bonobo_config_get_long so we can tell if it failed and bail out. * e-shell-view.h: Remove a prototype for a non-existent function (e_shell_view_remove_control_for_uri). * main.c (idle_cb): Add some comments here and remove some dead code. svn path=/trunk/; revision=16389
* set type (load_pages): get the oaf property for type and track the pageJP Rosevear2002-04-074-10/+97
| | | | | | | | | | | | | | | | | | | | 2002-04-06 JP Rosevear <jpr@ximian.com> * e-shell-settings-dialog.c (page_new): set type (load_pages): get the oaf property for type and track the page number of the highest priority for each type (destroy_type_entry): destroy hash func (impl_destroy): destroy the hash table (init): create private struct and hash table (e_shell_settings_dialog_show_type): show the page of the given type * e-shell-view-menu.c (command_settings): show the page for the current folder type by default * e-shell-settings-dialog.h: new proto svn path=/trunk/; revision=16376
* Set the title of the dialog.Ettore Perazzoli2002-04-062-0/+5
| | | | | | * e-shell-settings-dialog.c (init): Set the title of the dialog. svn path=/trunk/; revision=16370
* Fix a memory mixup.Dan Winship2002-04-052-2/+7
| | | | | | | * evolution-shell-client.c (evolution_shell_client_get_pixbuf_for_type): Fix a memory mixup. svn path=/trunk/; revision=16359
* New widget for a button that displays a folder selection in a standardDan Winship2002-04-0512-75/+712
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-folder-selector-button.c: New widget for a button that displays a folder selection in a standard form, and when clicked lets the user select a new folder. * Evolution-Shell.idl (FolderSelectionListener:notifySelected): Make this take an Evolution:Folder instead of a pair of uris. (Shell:getIconByType): New method to get the icon for a type from the folder type registry. * Evolution-common.idl (Folder): add "evolutionUri" to the folder structure. * Evolution-Storage.idl (StorageRegistry:getFolderByUri): get an Evolution:Folder for a given uri. * evolution-shell-client.c (evolution_shell_client_user_select_folder): Update this to reflect the IDL change: return a GNOME_Evolution_Folder instead of a pair of URIs. Make sure it always sets *@folder_return to %NULL if it fails (even if it's a g_return_if_fail). (evolution_shell_client_get_storage_registry_interface): New. (evolution_shell_client_get_pixbuf_for_type): New. Uses Shell_getIconByType, but caches results. * e-shell.c (folder_selection_dialog_folder_selected_cb): Update for API change. (Return a GNOME_Evolution_Folder.) (impl_Shell_getIconByType): Implement. * e-corba-storage-registry.c (impl_StorageRegistry_getFolderByUri): Implement. * evolution-storage.c (evolution_storage_new_folder): Add a (dummy) evolutionUri to the folder. * Makefile.am (libeshell_la_SOURCES): add evolution-folder-selector-button.c (eshellinclude_HEADERS): and .h svn path=/trunk/; revision=16352
* Change type of parent_class to BonoboXObjectClass.Ettore Perazzoli2002-04-049-64/+148
| | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-shell-component.c: Change type of parent_class to BonoboXObjectClass. * e-shell.c (pop_up_activation_error_dialog): New helper function to pop up a dialog if one of the components couldn't be activated, getting the description for the error from e_get_activation_failure_msg(). (setup_components): Use this function in case of activation error. (set_owner_on_components): Likewise, when the component gets restarted. Also get a @splash arg so we can set the parent for this dialog correctly. * e-component-registry.c (register_component): New arg @ev. (e_component_registry_register_component): Likewise. (e_component_registry_restart_component): Likewise. Also, remove some bogus code that was #if'ed out. * evolution-shell-component-client.c (evolution_shell_component_client_new): New arg @ev. * evolution-shell-component-utils.c (e_get_activation_failure_msg): New. svn path=/trunk/; revision=16342
* Deal with folders with no physical_uri.Dan Winship2002-04-042-0/+7
| | | | | | | * e-storage.c (get_path_for_physical_uri_foreach): Deal with folders with no physical_uri. svn path=/trunk/; revision=16335
* Set the show_checkboxes field here instead of the show_folders field.Christopher James Lahey2002-04-032-2/+8
| | | | | | | | | | 2002-04-02 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (e_storage_set_view_set_show_checkboxes): Set the show_checkboxes field here instead of the show_folders field. svn path=/trunk/; revision=16326
* If folder is NULL, return the correct type of data.Christopher James Lahey2002-04-032-2/+9
| | | | | | | | | 2002-04-02 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (etree_value_at): If folder is NULL, return the correct type of data. svn path=/trunk/; revision=16325
* Added e-storage-set-view-checkboxes.etstate andChristopher James Lahey2002-04-037-16/+91
| | | | | | | | | | | | | | | | | | | | | | | 2002-04-02 Christopher James Lahey <clahey@ximian.com> * Makefile.am (etspec_DATA): Added e-storage-set-view-checkboxes.etstate and e-storage-set-view-no-checkboxes.etstate here. * e-storage-set-view-checkboxes.etstate, e-storage-set-view-no-checkboxes.etstate: The two possible states of the EStorageSetView. * e-storage-set-view.c, e-storage-set-view.h (e_storage_set_view_set_show_checkboxes, e_storage_set_view_get_show_checkboxes): Added this functionality. Added a model column to the underlying table for the checkbox data. * e-storage-set-view.etspec: Added a view column for the checkboxes. svn path=/trunk/; revision=16324
* Add type "Page". (page_new): New helper function. (page_free): New helperEttore Perazzoli2002-03-302-7/+114
| | | | | | | | | | | | * e-shell-settings-dialog.c: Add type "Page". (page_new): New helper function. (page_free): New helper function. (compare_page_func): Callback for sorting a GList of pages. (sort_page_list): New helper function. (load_pages): Create the pages, sort them, add them sorted. Now we have a priority field that overrides alphabetical sorting. svn path=/trunk/; revision=16291
* New. New.Ettore Perazzoli2002-03-273-0/+366
| | | | | | | * e-component-info.c: New. * e-component-info.h: New. svn path=/trunk/; revision=16256
* g_warning if the control cannot be activated.Ettore Perazzoli2002-03-273-1/+12
| | | | | | | * e-shell-settings-dialog.c (load_pages): g_warning if the control cannot be activated. svn path=/trunk/; revision=16254
* Register a "working" folder type with the hourglass icon. (WouldDan Winship2002-03-254-2/+17
| | | | | | | | | | | | | * e-shell.c (e_shell_construct): Register a "working" folder type with the hourglass icon. (Would eventually like an animated gif, when ETable supports that.) * e-storage.c (e_storage_has_subfolders): Use "working" rather than "noselect" as the folder type. * e-shell-view.c (get_view_for_uri): Simplify a bit. svn path=/trunk/; revision=16244
* Removed. (load_pages): Use e_get_language_list() here instead. Also, freeEttore Perazzoli2002-03-232-23/+10
| | | | | | | | * e-shell-settings-dialog.c (get_language_list): Removed. (load_pages): Use e_get_language_list() here instead. Also, free using e_free_language_list(). svn path=/trunk/; revision=16232
* *** empty log message ***Dan Winship2002-03-231-1/+1
| | | | svn path=/trunk/; revision=16230
* (evolution_storage_removed_folder): Oops. Fix here too.Dan Winship2002-03-232-1/+4
| | | | | | | (evolution_storage_has_subfolders): And here. When cut and paste goes bad... svn path=/trunk/; revision=16229
* Fix a "how can this ever have worked" bug to make unread message countsDan Winship2002-03-232-1/+5
| | | | | | | | * evolution-storage.c (evolution_storage_update_folder): Fix a "how can this ever have worked" bug to make unread message counts start working again. (#22293 etc) svn path=/trunk/; revision=16228
* Use e_folder_get_name. Don't assume it's the same as the last pathDan Winship2002-03-232-6/+9
| | | | | | | | * e-shell-folder-commands.c (e_shell_command_rename_folder): Use e_folder_get_name. Don't assume it's the same as the last path element. svn path=/trunk/; revision=16227
* Set the wmclass to "evolution-splash" so sawfish knows it's not the sameDan Winship2002-03-212-0/+7
| | | | | | | | * e-splash.c (e_splash_construct): Set the wmclass to "evolution-splash" so sawfish knows it's not the same kind of window as the main window. svn path=/trunk/; revision=16222
* Make all the verb/menu arrays appropriately static.Ettore Perazzoli2002-03-212-6/+11
| | | | | | | * e-shell-view-menu.c: Make all the verb/menu arrays appropriately static. svn path=/trunk/; revision=16221
* Move the ComponentActionsPlaceholder into the Actions menu, instead of theEttore Perazzoli2002-03-217-1/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution.xml: Move the ComponentActionsPlaceholder into the Actions menu, instead of the Actions menu being in the ComponentActionsPlaceholder. * evolution-addressbook.xml: Updated accordingly. * evolution-calendar.xml: Updated accordingly. * evolution-mail-global.xml: Updated accordingly. * evolution-mail-list.xml: Updated accordingly. * evolution-mail-message.xml: Updated accordingly. * evolution-mail-messagedisplay.xml: Updated accordingly. * evolution-tasks.xml: Updated accordingly. * evolution.xml: Add "SendReceive" verb, menu item and toolbar button. * evolution-mail-global.xml: Remove "MailGetSend" verb and menu item. * e-shell-view-menu.c (command_send_receive): New, implementation for the "SendReceive" verb. * e-shell.c (e_shell_send_receive): New. * evolution-shell-component.c (impl_sendReceive): Implementation of ShellComponent::sendReceive. (class_init): Add the "send_receive" signal. * evolution-shell-component.h: Added `send_receive' signal. * Evolution-ShellComponent.idl: Added ShellComponent::sendReceive. * component-factory.c (send_receive_cb): New, callback for the "send_receive" signal on the EvolutionShellComponent. (create_component): Connect. * folder-browser-ui.c: Remove verb "MailGetSend". * mail-callbacks.c (send_receive_mail): Removed. * mail-send-recv.c: Remove member current_folder from struct _send_data. (free_send_data): No need to unref here. (build_dialogue): Removed arg @current_folder. (mail_send_receive): Likewise. svn path=/trunk/; revision=16220
* Add `search="string"' for the keyboard navigability search thingy.Ettore Perazzoli2002-03-192-1/+6
| | | | | | | * e-storage-set-view.etspec: Add `search="string"' for the keyboard navigability search thingy. svn path=/trunk/; revision=16195
* Updated to use new EPopupMenu API.Jeffrey Stedfast2002-03-162-4/+9
| | | | | | | | | 2002-03-15 Jeffrey Stedfast <fejj@ximian.com> * e-activity-handler.c (show_cancellation_popup): Updated to use new EPopupMenu API. svn path=/trunk/; revision=16185
* Support for delayed filling-in of storages/folders.Dan Winship2002-03-1514-10/+447
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Evolution-Storage.idl (StorageListener): add notifyHasSubfolders, to announce that a folder has currently- unknown subfolders. (Storage): add asyncOpenFolder, to request that previously- announced subfolders be filled in. * evolution-storage.c (impl_Storage_async_open_folder): emit OPEN_FOLDER. (evolution_storage_has_subfolders): Implement by calling notifyHasSubfolders on all of its listeners. * evolution-storage-listener.c (impl_GNOME_Evolution_StorageListener_notifyHasSubfolders): emit HAS_SUBFOLDERS. * e-corba-storage.c (impl_StorageListener_notifyHasSubfolders): Implement by calling e_storage_has_subfolders. (async_open_folder): Implement by calling asyncOpenFolder on the CORBA storage. * e-storage.c (EStoragePrivate, init, destroy): Keep a list of pseudofolders representing un-filled-in subtrees. (impl_async_open_folder): No-op default implementation (e_storage_async_open_folder): New function to request that un-filled-in subtrees be filled in. (e_storage_new_folder): If the new folder's parent has an "un-filled-in children" pseudofolder, remove it. (e_storage_has_subfolders): New function to note that a folder has unknown children. If the folder previously was marked as having real children, remove them, and emit CLOSE_FOLDER to reset it back to an a "unknown subfolders" state. * e-storage-set.c (make_full_path): Make this deal with path being "/", since that case gets used from storage_close_folder_cb sometimes. (storage_close_folder_cb): Proxy EStorage's CLOSE_FOLDER signal. (storage_set_view_folder_opened): Handle EStorageSetView's FOLDER_OPENED signal by calling e_storage_async_open_folder. * e-storage-set-view.c (etree_fill_in_children): If the given node is its parent's first child, emit FOLDER_OPENED for the parent. (close_folder_cb): Handler for EStorageSet's CLOSE_FOLDER signal. Ask the model to close that node. (e_storage_set_view_construct): Set the default expanded state for the tree to FALSE rather than TRUE, to prevent unwanted expansion of delayed nodes. (This only affects the very first time the tree is displayed anyway: after that its state is loaded off disk.) * e-shell.c (e_shell_construct): Register the "noselect" type with the folder type registry, so icon lookups on placeholder folders will work. svn path=/trunk/; revision=16169
* Use `evolution:config_item:icon_name' instead ofEttore Perazzoli2002-03-142-4/+21
| | | | | | | | | | * e-shell-settings-dialog.c (load_pages): Use `evolution:config_item:icon_name' instead of `evolution:config_item:icon_path'. If it's not an absolute path, load from the IMAGESDIR. Also, no need to specify the language list for this one, as the icon name shouldn't be translated. svn path=/trunk/; revision=16140
* Update to create an EvolutionConfigControl instead of just aEttore Perazzoli2002-03-138-22/+362
| | | | | | | | | | | | | | | | | | | | | | | | * evolution-test-component.c (create_configuration_page): Update to create an EvolutionConfigControl instead of just a BonoboControl. * e-corba-config-page.c (e_corba_config_page_construct): Get a GNOME_Evolution_ConfigControl instead of a CORBA_Object. Retrieve the control from it using ::_get_control instead of just assuming it's a control. Also return a boolen indicating success or failure. (e_corba_config_page_new): Likewise, get a GNOME_Evolution_ConfigControl. (setup_listener): Renamed from `setup_config_control_interface'. Get a ::ConfigControl instead of a CORBA::Object. Thus, no need to queryInterface here anymore. * evolution-config-control.c, evolution-config-control.h: New, implementation for the Evolution::ConfigControl interface. * Evolution-ConfigControl.idl: New attribute `control'. svn path=/trunk/; revision=16134
* Make old_name_locale non-const to placate a compiler warning.Ettore Perazzoli2002-03-103-1/+12
| | | | | | | | | | * e-shell-folder-commands.c (e_shell_command_rename_folder): Make old_name_locale non-const to placate a compiler warning. (get_corba_null_value): Likewise. * e-activity-handler.c (report_task_event): `#if 0' out. svn path=/trunk/; revision=16008
* Use ECorbaConfigPages.Ettore Perazzoli2002-03-107-6/+353
| | | | | | | | | | | | | | * e-shell-settings-dialog.c (load_pages): Use ECorbaConfigPages. * e-corba-config-page.c: New. * e-corba-config-page.h: New. * Evolution.idl: #include <Evolution-ConfigControl.idl>. * Evolution-ConfigControl.idl: New IDL for configuration Controls that will be displayed in the global config dialog. svn path=/trunk/; revision=16007
* Note that e_storage_set_view_new shouldn't be used directly.Dan Winship2002-03-095-2/+15
| | | | | | | | | | | | | * e-storage-set-view.[ch]: Note that e_storage_set_view_new shouldn't be used directly. * e-shell-view.c (setup_storage_set_subwindow): Use e_storage_set_new_view instead of e_storage_set_view_new. * evolution-storage-set-view-factory.c (evolution_storage_set_view_factory_new_view): Likewise. svn path=/trunk/; revision=15993
* New function to create a test configuration page for the test component.Ettore Perazzoli2002-03-088-14/+367
| | | | | | | | | | | | | | | | | | | | | * evolution-test-component.c (create_configuration_page): New function to create a test configuration page for the test component. (configuration_control_factory_fn): Factory function for the configuration controls. (register_configuration_control_factory): New function to register the factory. (main): Call it. * e-shell-view-menu.c: Add verb "Settings". (command_settings): Implementation for the "Settings" verb. * GNOME_Evolution_TestComponent.oaf: Add a configuration control. * e-shell-settings-dialog.c: New. * e-shell-settings-dialog.h: New. svn path=/trunk/; revision=15977
* fix a bug in the storage icon codeDan Winship2002-03-082-7/+9
| | | | svn path=/trunk/; revision=15974
* Addendum to previous commit: Remove "storage_selected" vsDan Winship2002-03-089-109/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | "folder_selected" distinction. * evolution-storage-set-view.c (storage_set_view_widget_storage_selected_cb): Removed. * evolution-storage-set-view-listener.c (impl_GNOME_Evolution_StorageSetViewListener_notifyStorageSelected): Removed. (class_init): Remove STORAGE_SELECTED signal. * e-storage-set-view.c (impl_cursor_activated): Always emit FOLDER_SELECTED, never STORAGE_SELECTED. (class_init): Remove STORAGE_SELECTED signal. * e-shell-view.c (storage_selected_cb): Removed. * e-shell-folder-creation-dialog.c (storage_set_view_storage_selected_cb): Removed. * Evolution-StorageSetView.idl (StorageSetViewListener): Remove notifyStorageSelected. svn path=/trunk/; revision=15968
* Make storages-with-toplevel-views less of a hack.Dan Winship2002-03-0817-342/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-folder-tree.c (e_folder_tree_add): Allow the caller to "add" a root folder, if the existing root folder has no children. (e_folder_tree_new): Use e_folder_tree_add to create the root folder, since it can do that now. * e-storage.c: (e_storage_construct): Replace toplevel_node_uri and toplevel_node_type args with root_folder. (e_storage_new): Likewise. (*): Remove toplevel uri/type stuff everywhere. Also remove display_name since now we will use the name of the root folder for that. * evolution-storage.c: Remove toplevel uri/type stuff everywhere. * e-local-storage.c (construct): Pass root_folder to e_storage_construct instead of toplevel uri/type. Also, evolution_storage_new no longer takes toplevel uri/type. * e-corba-storage.c (e_corba_storage_construct): Out with toplevel uri/type, in with root_folder. (e_corba_storage_new): Remove toplevel uri/type. * e-shell.c (setup_local_storage): Create a top-level folder of type "summary" for the Summary storage. * e-storage-set-view.c (set_e_shortcut_selection): Remove special-case for storages. (etree_icon_at): Remove special case for figuring out storage icons (but leave the code that makes the icon disappear once the storage is opened). (etree_value_at): Remove special case for storage names. (But still make storages always bold.) Remove unused special-case code for Summary. * e-shortcuts.c (load_shortcuts): Remove special case for storages, reorganize a bit. * e-shortcuts-view.c (get_shortcut_info): Remove special case for storages. * e-shell-view.c (update_for_current_uri): Remove special case for storages. (socket_destroy_cb): Likewise. (get_type_for_storage): No longer needed. (get_view_for_uri): No longer needs to special-case storages (but add a special case for folders of type "noselect", to make them unselectable like storages-without-toplevel-views used to be). * e-storage-set.c (get_storage_for_path): If passed "/foo", return "/" as subpath_return so e_storage_set_get_folder will DTRT in the NWO. * Evolution-Storage.idl (addStorage): Remove the toplevel_node_uri and toplevel_node_type arguments. * e-corba-storage-registry.c (impl_StorageRegistry_addStorage): Likewise. svn path=/trunk/; revision=15965
* Keep the storage name and display_name in EStoragePriv. (impl_get_name,Dan Winship2002-03-0713-261/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-storage.c: Keep the storage name and display_name in EStoragePriv. (impl_get_name, impl_get_display_name): Return them. (e_storage_construct): Set them here. (e_storage_new): And here. * e-local-storage.c: (impl_get_name, impl_get_display_name): Removed. (construct): Pass E_LOCAL_STORAGE_NAME and U_("Local Folders") to e_storage_construct. * e-corba-storage.c: Remove priv->name. (get_name, get_display_name): Removed. (e_corba_storage_construct): Pass name to e_storage_construct(). * e-summary-storage.[ch]: Gone. This didn't override anything in EStorage but get_name/get_display_name, and the defaults for those DTRT now. * e-shell-constants.h: Move E_SUMMARY_STORAGE_NAME here from e-summary-storage.h, and move E_LOCAL_STORAGE_NAME too for consistency. * e-storage-set-view.c: Fix up #includes. * e-shell-importer.c: Likewise * e-shell.c: Likewise. Create summary_storage as a plain EStorage since ESummaryStorage is gone now. * Makefile.am (evolution_SOURCES): Remove e-summary-storage.[ch] svn path=/trunk/; revision=15955
* Fix up GList/GSList confusion.Dan Winship2002-03-073-2/+15
| | | | | | | | | | | | * e-corba-storage-registry.c (impl_StorageRegistry_removeListener): Fix up GList/GSList confusion. * e-shell-user-creatable-items-handler.c (get_default_action_for_view): Don't look into the types list if it's empty. svn path=/trunk/; revision=15954
* Reduce width of the copyright message so it looks prettier with the newEttore Perazzoli2002-03-072-2/+7
| | | | | | | * e-shell-about-box.c: Reduce width of the copyright message so it looks prettier with the new Rupert artwork. svn path=/trunk/; revision=15947
* CORBA stuff required for the summary to find out details about storages from ↵Iain Holmes2002-03-055-2/+221
| | | | | | the shell svn path=/trunk/; revision=15899
* [Fix #20234, Deleting Folder gratuitiously causes /local to open.]Ettore Perazzoli2002-03-053-4/+170
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-03-04 Ettore Perazzoli <ettore@ximian.com> [Fix #20234, Deleting Folder gratuitiously causes /local to open.] * e-shell-view.c (find_inbox_in_storage): New helper function to heuristically find an Inbox folder. (handle_current_folder_removed): New function to handle the removal of the currently displayed folder in a slightly smarter way than before. It tries to display the parent folder of the folder that got deleted and, if not possible, the Inbox in the same storage. If neither of this is possible, it displays the default local Inbox. [It still doesn't handle the case where you have no Inbox gracefully, but that can come later.] (storage_set_removed_folder_callback): Call `handle_current_folder_removed'. 2002-03-04 Ettore Perazzoli <ettore@ximian.com> [Fix #20237, Shell silently drops xfer_folder errors.] * e-shell-folder-commands.c (xfer_result_callback): Display an error message if the operation failed. svn path=/trunk/; revision=15898
* [This gets rid of some spurious "could not find handler" messagesEttore Perazzoli2002-02-272-5/+18
| | | | | | | | | | | | on exit. What happened is that the signal would be disconnected twice, once by cleanup_delayed_selection() and once by the while_alive handler.] * e-shell-view.c (destroy): Call cleanup_delayed_selection() here. (e_shell_view_display_uri): Use gtk_signal_connect_full(), not e_gtk_signal_connect_full_while_alive(). svn path=/trunk/; revision=15848
* Fix license text.Ettore Perazzoli2002-02-242-6/+4
| | | | svn path=/trunk/; revision=15813
* Add year 2002 to the copyright.Ettore Perazzoli2002-02-242-2/+6
| | | | | | * e-shell-about-box.c: Add year 2002 to the copyright. svn path=/trunk/; revision=15812
* Renamed from `destroy'. (impl_right_click): Renamed from `right_click'.Ettore Perazzoli2002-02-242-93/+146
| | | | | | | | | | | | | | | | | | | * e-storage-set-view.c (impl_destroy): Renamed from `destroy'. (impl_right_click): Renamed from `right_click'. (impl_cursor_activated): Renamed from `cursor_activated'. (impl_tree_start_drag): Renamed from `tree_start_drag'. (impl_tree_drag_begin): Renamed from `tree_drag_begin'. (impl_tree_drag_end): Renamed from `tree_drag_end'. (impl_tree_drag_data_get): Renamed from `tree_drag_data_get'. (impl_tree_drag_data_delete): Renamed from `tree_drag_data_delete'. (impl_tree_drag_motion): Renamed from `tree_drag_motion'. (impl_tree_drag_leave): Renamed from `tree_drag_leave'. (impl_tree_drag_drop): Renamed from `tree_drag_drop'. (impl_tree_drag_data_received): Renamed from `tree_drag_data_received'. svn path=/trunk/; revision=15811
* [Fix #3029, Offline mode should be preserved across sessions.]Ettore Perazzoli2002-02-234-8/+81
| | | | | | | | | | | | | | | | | * main.c (idle_cb): Use the e_shell_new() API below so that we use the saved offline settings at the next start-up if neither --offline nor --online has been specified. * e-shell.c (save_misc_settings): New function. For now, just save `/Shell/StartOffline' indicating whether the shell should start in offline mode or not. (e_shell_construct): Replace @start_online with @startup_line_mode. (e_shell_new): Likewise. * e-shell.h: New enum EShellStartupLineMode. svn path=/trunk/; revision=15804
* New helper function to remove all the matching URIs from the history.Ettore Perazzoli2002-02-234-13/+85
| | | | | | | | | | | | | * e-shell-view.c (remove_uri_from_history): New helper function to remove all the matching URIs from the history. (history_uri_matching_func): Compare function for using e_history_remove_matching. (storage_set_removed_folder_callback): Call `remove_uri_from_history()'. * e-history.c (e_history_remove_matching): New. svn path=/trunk/; revision=15803
* New. (display_uri): Call it before returning so the navigation buttonsEttore Perazzoli2002-02-234-10/+49
| | | | | | | | | | | | * e-shell-view.c (update_navigation_buttons): New. (display_uri): Call it before returning so the navigation buttons always have the right sensitivity. * e-shell-folder-title-bar.c (e_shell_folder_title_bar_update_navigation_buttons): New. (add_navigation_buttons): Remove the "Back" label. svn path=/trunk/; revision=15799
* [First cut at navigation (i.e. back/forward) buttons.]Ettore Perazzoli2002-02-235-6/+416
| | | | | | | | | | | | | | | | | * e-shell-view.c: New member `history' in `EShellViewPrivate'. (init): Initialize. (destroy): Unref. (e_shell_view_display_uri): Make it a no-op if the URI is the same as the current one. Also, moved code into `display_uri' and use it. (back_clicked_callback): New, callback for the back button on the folder title bar. (forward_clicked_callback): Likewise for the forward button. * e-history.c: New. * e-history.h: New. svn path=/trunk/; revision=15798
* `e_shell_folder_title_bar_set_title_clickable()', notEttore Perazzoli2002-02-234-109/+286
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-view.c (e_shell_view_show_folder_bar): `e_shell_folder_title_bar_set_title_clickable()', not `e_shell_folder_title_bar_set_clickable()'. * e-shell-folder-title-bar.c: Rename `button', `button_label' and `button_arrow' to `title_button', `title_button_label' and `title_button_arrow'. Renamed `label' to `title_label'. Renamed `arrow_xpm' to `down_arrow_xpm'. Added `left_arrow.xpm' and `right_arrow.xpm'. (class_init): Add the "back_clicked" and "forward_clicked" signals. (add_navigation_buttons): New function to add the navigation buttons to the title bar. (back_button_clicked_callback): Callback for the back button, emits "back_clicked". (forward_button_clicked_callback): Callback for the forward button, emits "forward_clicked". (e_shell_folder_title_bar_construct): Call `add_navigation_buttons()'. (forward_button_clicked_callback): (create_arrow_pixmap): Removed. (create_pixmap_widget_from_xpm): New. (title_button_box_realize_cb): Removed. (e_shell_folder_title_bar_construct): Don't connect. Just add the icon normally using the new `create_pixmap_widget_from_xpm()'. (e_shell_folder_title_bar_set_title_clickable): Renamed from `e_shell_folder_title_bar_set_clickable'. (size_allocate_navigation_buttons): New. (size_allocate_title_button): Get an @offset. (size_allocate_label): Get an @offset. (size_allocate): Allocate the navigation buttons and offset everything else accordingly. * e-shell-folder-title-bar.h: New signals "back_clicked", "forward_clicked". svn path=/trunk/; revision=15797
* Return NULL if there is no component ID for the current view.Ettore Perazzoli2002-02-222-0/+8
| | | | | | | | * e-shell-user-creatable-items-handler.c (get_default_action_for_view): Return NULL if there is no component ID for the current view. svn path=/trunk/; revision=15792
* Set the icons for all the "New..." menu items from the specified one inEttore Perazzoli2002-02-225-54/+97
| | | | | | | | | | | | | | | | * e-shell-user-creatable-items-handler.c (ensure_menu_items): Set the icons for all the "New..." menu items from the specified one in the type definitions. * e-activity-handler.c (create_gdk_pixbuf_from_corba_icon): Removed. (impl_operationStarted): Just use `e_new_gdk_pixbuf_from_corba_icon()'. * e-shell-corba-icon-utils.c (e_new_gdk_pixbuf_from_corba_icon): New. svn path=/trunk/; revision=15786
* Don't show the folder bar and the shortcut bar in the new window.Ettore Perazzoli2002-02-216-8/+58
| | | | | | | | | | | | | | | | | | | | | * e-shell-view-menu.c (command_open_folder_in_new_window): Don't show the folder bar and the shortcut bar in the new window. * e-shell-view.c (activate_shortcut_cb): Don't show the folder bar and the shortcut bar in the new window. * e-shell-view.c (e_shell_create_view): Don't flush the GTK events here. * e-shell.c (e_shell_construct): New arg @start_online. If true, invoke `e_shell_go_online()' before returning. (e_shell_new): New arg @start_online. Pass it to e_shell_construct(). (init): Default ->line_status to E_SHELL_LINE_STATUS_OFFLINE. * main.c (main): Add "--offline" and "--online" options. svn path=/trunk/; revision=15776
* Use right_click_row_path rather than selected_row_path, so clients get theNot Zed2002-01-302-1/+7
| | | | | | | | | | 2002-01-30 Not Zed <NotZed@Ximian.com> * e-storage-set-view.c (popup_folder_menu): Use right_click_row_path rather than selected_row_path, so clients get the uri that was actually clicked on. svn path=/trunk/; revision=15522
* Final cleanup for the CFLAGS and LIBS in the Makefiles.Ettore Perazzoli2002-01-283-40/+41
| | | | svn path=/trunk/; revision=15486
* Just use BONOBO_HTML_GNOME_CFLAGS and BONOBO_HTML_GNOME_LIBS forEttore Perazzoli2002-01-252-18/+14
| | | | | | | | * Makefile.am: Just use BONOBO_HTML_GNOME_CFLAGS and BONOBO_HTML_GNOME_LIBS for compiling/linking; we don't need the other ones. svn path=/trunk/; revision=15458
* Add missing files. Ooops!Ettore Perazzoli2002-01-252-0/+178
| | | | svn path=/trunk/; revision=15452
* [Implement an Outlook-style "New" dropdown button. It is basicallyEttore Perazzoli2002-01-2415-191/+497
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | done but it needs pretty icons so I am leaving it disabled for now.] * e-combo-button.c: Remove member `separator' from `EComboButtonPrivate'. New members `icon', `label'. (init): There shall be no separator no more. Init `icon' and `label' to %NULL. (e_combo_button_construct): Set no relief. (e_combo_button_new): Don't get a @menu arg anymore. (e_combo_button_construct): Likewise. (e_combo_button_set_icon): New. (e_combo_button_set_label): New. (e_combo_button_set_menu): New. (impl_clicked): New, overriding the "clicked" method for GtkButton. (class_init): Install. (impl_button_release_event): Removed. (class_init): No need to override ::release_event with this anymore. (impl_released): New, override for the GtkButton::released method. (class_init): Install. * e-shell-user-creatable-items-handler.c: New member `id' in struct `Component'. New member `icon' in struct `MenuItem'. (component_free): Free ->id. (component_new): Renamed from `component_new_from_client'. Get an @id arg and set ->id accordingly. (e_shell_user_creatable_items_handler_add_component): New arg @id. Pass it to `component_new'. (e_shell_user_creatable_items_handler_setup_menus): New arg @current_component_id. (e_shell_user_creatable_items_handler_update_menus): New. (set_current_component): New helper function. (get_component_by_id): New helper function. (add_verbs): Renamed from `add_verbs_to_ui_component()'. Get a @shell_view instead of a @ui_component. Set the SHELL_VIEW_KEY on the ui_component of the shell_view to point to the shell_view itself. (ensure_menu_items): Set item->icon to NULL. (free_menu_items): Unref item->icon. (ensure_menu_xml): Set the icon as well. (get_default_action_for_view): New helper function. (find_menu_item_for_verb): New helper function. (shell_view_view_changed_callback): New callback, set up the label on the "New" button depending on the current component. (e_shell_user_creatable_items_handler_attach_menus): New. For now, do not display the toolbar button yet. (execute_verb): New helper function, splitting out code from `verb_fn'. (verb_fn): Use `execute_verb'. (combo_button_activate_default_callback): Callback for the "activate_default" signal on the EComboButton. (setup_toolbar_button): Connect. * evolution-shell-component.c: New member `icon' in `UserCreatableItemType'. (impl__get_userCreatableItemTypes): Put the ->icon in the corba_type as well. (user_creatable_item_type_new): Get a new @icon argument. (evolution_shell_component_add_user_creatable_item): New arg @icon. * Evolution-ShellComponent.idl: New member `icon' in struct `UserCreatableItemType'. * evolution-test-component.c (register_component): Pass a NULL @icon to `evolution_shell_component_add_user_creatable_item()'. * e-shell-view.c (class_init): Add the signal to the class. (e_shell_view_display_uri): Emit "view_changed". (e_shell_view_get_current_component_id): New. * evolution-shell-component-client.c: New member `id' in EvolutionShellComponentClientPrivate. (init): Init to NULL. (impl_destroy): Free. (evolution_shell_component_client_new_for_objref): Removed. (evolution_shell_component_client_construct): New arg @id. Initialize ->id from it. (evolution_shell_component_client_get_id): New. * e-shell-view.h: New signal "view_changed". * evolution-activity-client.c (create_icon_from_pixbuf): Removed. (create_corba_animated_icon_from_pixbuf_array): Removed. (evolution_activity_client_construct): Use `e_new_corba_animated_icon_from_pixbuf_array()' instead. svn path=/trunk/; revision=15438
* [Patch by Michael Meeks <michael@ximian.com>.]Ettore Perazzoli2002-01-242-0/+8
| | | | | | | * e-splash.c (e_splash_set_icon_highlight): g_return if there is no num-th icon. svn path=/trunk/; revision=15433
* Stop the importer dialog going behind the main windowIain Holmes2002-01-212-1/+7
| | | | svn path=/trunk/; revision=15413
* [Fix #17441, Crash trying to import Multiple VCard file into LDAPEttore Perazzoli2002-01-162-6/+27
| | | | | | | | | folder.] * e-shell-importer.c (show_error): Add a NULL in the call to `gnome_message_box_new()'. svn path=/trunk/; revision=15333
* re-order activate / de-activate to minimise flicker switching betweenMichael Meeks2002-01-152-9/+16
| | | | | | | | | | 2001-12-14 Michael Meeks <michael@ximian.com> * e-shell-view.c (set_current_notebook_page): re-order activate / de-activate to minimise flicker switching between identical components. svn path=/trunk/; revision=15316
* updatedDamon Chaplin2002-01-121-0/+7
| | | | svn path=/trunk/; revision=15306
* handle translated timezone names.Damon Chaplin2002-01-122-2/+7
| | | | | | | | | | | 2002-01-11 Damon Chaplin <damon@ximian.com> * e-shell-startup-wizard.c (finish_func): handle translated timezone names. * Makefile.am (INCLUDES): added -I$(top_srcdir)/libical/src/libical. svn path=/trunk/; revision=15305
* -- Merging patches from evolution-1-0-branch.Ettore Perazzoli2001-12-204-5/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-about-box.c: Add Michael MacDonald. [Fixes #17377, Evolution doesn't work on multi-depth displays.] * main.c (main): Push GdkRGB visual and colormap. [Fix #16693. What happens there is that the user closed the dialog before the async operation was completed, so when the notification was received the shell crashed.] * e-shell-folder-creation-dialog.c: New member `creation_in_progress' in `DialogData'. (e_shell_show_folder_creation_dialog): Init to %FALSE. (async_create_cb): Set to %FALSE. Also, if the dialog_data->dialog is %NULL, free the dialog_data before returning. (dialog_clicked_cb): Set to %TRUE. (dialog_destroy_cb): If a creation is in progress, just set the widget pointers in the DialogData struct to %NULL instead of freeing the whole struct. (async_create_cb): Make the OK and Cancel buttons sensitive. (dialog_clicked_cb): Make them insensitive here. svn path=/trunk/; revision=15192
* [Fix #17258, shell displays splash even if Evolution is alreadyEttore Perazzoli2001-12-152-9/+17
| | | | | | | | | running.] * e-shell.c (e_shell_construct): Display the splash screen only if the registration succeeds. svn path=/trunk/; revision=15078
* New helper function to create the `~/evolution/private' directory.Ettore Perazzoli2001-12-132-0/+58
| | | | | | | | * e-setup.c (setup_bonobo_conf_private_directory): New helper function to create the `~/evolution/private' directory. (e_setup): Call it. svn path=/trunk/; revision=15012
* Add missing comma.Ettore Perazzoli2001-12-062-1/+5
| | | | svn path=/trunk/; revision=14898
* [Fix #7827, Switching desktops leaves the folder bar popped up.]Ettore Perazzoli2001-12-063-1/+43
| | | | | | | | | | | | | | | * e-shell-view.c (folder_bar_popup_map_callback): And grab the keyboard as well. (popdown_transient_folder_bar): Ungrab the keyboard as well. (switch_on_folder_tree_click): Likewise. [Fix #16507, Right Click -> View does nothing.] * e-shell-view-menu.c: New verb "ActivateView". (command_activate_view): New, callback for the "ActivateView" verb. svn path=/trunk/; revision=14897
* Convert folder name to locale's encoding before using it as part of theZbigniew Chyla2001-12-042-2/+9
| | | | | | | | | 2001-11-15 Zbigniew Chyla <cyba@gnome.pl> * e-shell-folder-commands.c (e_shell_command_rename_folder): Convert folder name to locale's encoding before using it as part of the prompt. svn path=/trunk/; revision=14849
* Fixes bug #3290.Federico Mena Quintero2001-11-302-1/+30
| | | | | | | | | | | | | | | | | | 2001-11-28 Federico Mena Quintero <federico@ximian.com> Fixes bug #3290. * e-shell-folder-selection-dialog.c (e_shell_folder_selection_dialog_construct): Use our own filename for the collapsation state of the tree, instead of sharing the one of shell view number 0. (save_expanded_state): New function, saves the collapsation state of the tree. (impl_destroy): Call save_expanded_state(). 2001-11-14 Ettore Perazzoli <ettore@ximian.com> svn path=/trunk/; revision=14820
* Add more contributors to the box.Ettore Perazzoli2001-11-152-0/+12
| | | | | | * e-shell-about-box.c: Add more contributors to the box. svn path=/trunk/; revision=14704