aboutsummaryrefslogtreecommitdiffstats
path: root/shell
Commit message (Collapse)AuthorAgeFilesLines
* 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
* make timezone default to "UTC" rather than "".Damon Chaplin2001-11-152-1/+6
| | | | | | | | | 2001-11-14 Damon Chaplin <damon@ximian.com> * e-shell-startup-wizard.c (finish_func): make timezone default to "UTC" rather than "". svn path=/trunk/; revision=14700
* Check for exceptions.Iain Holmes2001-11-132-1/+57
| | | | | | Fix a memory leak svn path=/trunk/; revision=14680
* Get the storage name if we are dragging a storage instead of a folder.Ettore Perazzoli2001-11-062-3/+23
| | | | | | | * e-storage-set-view.c (set_e_shortcut_selection): Get the storage name if we are dragging a storage instead of a folder. svn path=/trunk/; revision=14604
* Fixed spacing and alignment probelms. (See bug #14281)Anna Marie Dirks2001-11-063-9/+23
| | | | | | | | | | | | 2001-11-05 Anna Marie Dirks <anna@ximian.com> * e-shell-importer.c (prepare_intelligent_page): Fixed spacing and alignment probelms. (See bug #14281) * e-shell-startup-wizard.c (prepare_importer_page): Fixed spacing and alignment problems. (See bug #14281) svn path=/trunk/; revision=14599
* Set the shortcut name to be the folder name, not just the last componentDan Winship2001-11-062-6/+11
| | | | | | | | * e-storage-set-view.c (set_e_shortcut_selection): Set the shortcut name to be the folder name, not just the last component of its path, which may be different. svn path=/trunk/; revision=14589
* Fix for #14281 (missing icons in the druids).Ettore Perazzoli2001-11-032-1/+6
| | | | svn path=/trunk/; revision=14576
* Changed the welcome message and the finishing message to be moreAnna Marie Dirks2001-11-022-7/+20
| | | | | | | | | | | | 2001-11-01 Anna Marie Dirks <anna@ximian.com> * glade/evolution-startup-wizard.glade: Changed the welcome message and the finishing message to be more descriptive. Also changed the window title to be "Evolution Setup Assistant". Finally, fixed a misnamed icon (replaced timezone.png with timezone-48.png). Partially fixes bug #14281 and totally fixes #14286. svn path=/trunk/; revision=14567
* Don't do operations on a NULL path. (updated_folder_cb,Christopher James Lahey2001-11-012-9/+22
| | | | | | | | | | | 2001-10-31 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (cursor_activated): Don't do operations on a NULL path. (updated_folder_cb, folder_changed_cb): Send pre_change signal here. svn path=/trunk/; revision=14558
* If the source folder is stock and the operation is GDK_ACTION_MOVE, alwaysEttore Perazzoli2001-11-012-0/+11
| | | | | | | | * e-storage-set-view.c (handle_evolution_path_drag_motion): If the source folder is stock and the operation is GDK_ACTION_MOVE, always return %FALSE as we don't want that to be allowed ever. svn path=/trunk/; revision=14543
* Removed. (show_existing_view): Don't call it.Ettore Perazzoli2001-10-312-24/+5
| | | | | | | * e-shell-view.c (bonobo_widget_is_dead): Removed. (show_existing_view): Don't call it. svn path=/trunk/; revision=14494
* New utility function. (sleep_with_g_main_loop_timeout_callback): CallbackEttore Perazzoli2001-10-312-1/+34
| | | | | | | | | | | * e-component-registry.c (sleep_with_g_main_loop): New utility function. (sleep_with_g_main_loop_timeout_callback): Callback function for `sleep_with_g_main_loop()'. (wait_for_corba_object_to_die): Use `sleep_with_g_main_loop()' instead of `sleep()'. svn path=/trunk/; revision=14493
* Removed. (idle_cb): Don't call it. (warning_dialog_clicked_callback):Ettore Perazzoli2001-10-312-58/+6
| | | | | | | | * main.c (development_warning): Removed. (idle_cb): Don't call it. (warning_dialog_clicked_callback): Removed. svn path=/trunk/; revision=14490
* If the display uri is NULL, set the view to the default.Iain Holmes2001-10-312-2/+11
| | | | | | | | | 2001-10-30 Iain Holmes <iain@ximian.com> * e-shell-view.c (e_shell_view_load_settings): If the display uri is NULL, set the view to the default. svn path=/trunk/; revision=14489
* Duplicate the owner before pinging it. Fixes #13802.Ettore Perazzoli2001-10-312-0/+17
| | | | | | | * evolution-shell-component.c (owner_ping_callback): Duplicate the owner before pinging it. Fixes #13802. svn path=/trunk/; revision=14488
* New. (class_init): Install it. (impl_unsetOwner): Just emit theEttore Perazzoli2001-10-312-13/+48
| | | | | | | | | | | | | * evolution-shell-component.c (impl_owner_unset): New. (class_init): Install it. (impl_unsetOwner): Just emit the "owner_unset" signal as the default implementation for that signal does all the work now. (impl_owner_died): Set the owner_client to %NULL before unreffing it. (destroy): Likewise. (impl_owner_unset): Likewise. svn path=/trunk/; revision=14484
* Connect to the "removed_folder" signal withEttore Perazzoli2001-10-312-2/+9
| | | | | | | | * e-shell-view.c (e_shell_view_construct): Connect to the "removed_folder" signal with gtk_signal_connect_while_alive() so we don't crash if the view gets destroyed. Fixes #13285. svn path=/trunk/; revision=14478
* If we're not at the end of the druid list, tell the druid we're going to02001-10-302-2/+20
| | | | | | | | | | | | 2001-10-30 <NotZed@Ximian.com> * e-shell-startup-wizard.c (next_func): If we're not at the end of the druid list, tell the druid we're going to change the page. (back_func): Same for going back a page. This way we can properly synchronise with the druid object and not race with the wizard object to set the right page. Part of fix for #12127. svn path=/trunk/; revision=14450
* Require gal 0.15.99.8Joe Shaw2001-10-302-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-29 Joe Shaw <joe@ximian.com> * configure.in: Require gal 0.15.99.8 * addressbook/backend/ebook/e-card-simple.c, addressbook/gui/component/addressbook-storage.c, addressbook/gui/widgets/e-addressbook-view.c, calendar/gui/e-calendar-table.c, calendar/gui/e-itip-control.c, calendar/gui/e-meeting-model.c, calendar/gui/itip-utils.c, calendar/gui/print.c, calendar/gui/alarm-notify/alarm-notify-dialog.c, filter/rule-editor.c, mail/mail-config.c, mail/mail-folder-cache.c, mail/mail-format.c, mail/mail-local.c, mail/mail-ops.c, mail/mail-vfolder.c, shell/e-local-storage.c, shell/e-summary-storage.c: Change includes of e-util/e-unicode-i18n.h to gal/util/e-unicode-i18n.h svn path=/trunk/; revision=14427
* Slightly change the debugigng message for when the shell has disappeared.Ettore Perazzoli2001-10-302-1/+6
| | | | | | | * evolution-shell-component.c (owner_ping_callback): Slightly change the debugigng message for when the shell has disappeared. svn path=/trunk/; revision=14413
* Remove ping debugging messages.Ettore Perazzoli2001-10-302-5/+6
| | | | | | | * evolution-shell-component.c (owner_ping_callback): Remove ping debugging messages. svn path=/trunk/; revision=14408
* Remove debugging message.Ettore Perazzoli2001-10-302-2/+4
| | | | | | * e-shell.c (set_interactive): Remove debugging message. svn path=/trunk/; revision=14403
* use libical-evolution.laDamon Chaplin2001-10-302-1/+5
| | | | | | | | 2001-10-29 Damon Chaplin <damon@ximian.com> * Makefile.am (evolution_LDADD): use libical-evolution.la svn path=/trunk/; revision=14399
* Ref the shell. (destroy): Unref the shell. (destroy): Free theEttore Perazzoli2001-10-293-7/+23
| | | | | | | | | | | * e-shell-view.c (e_shell_view_construct): Ref the shell. (destroy): Unref the shell. (destroy): Free the delayed_selection. No need to call `cleanup_delayed_selection()' as the signal handler will have already be disconnected at this point [as we are using connect_while_alive()']. svn path=/trunk/; revision=14325
* Call `cleanup_delayed_selection()' as there is a slight chance that theEttore Perazzoli2001-10-292-4/+17
| | | | | | | | | | | | * e-shell-view.c (destroy): Call `cleanup_delayed_selection()' as there is a slight chance that the callback gets invoked during the cleanup phase. (e_shell_view_display_uri): For extra safety, make sure we don't get invoked on a dead object by connecting the "new_folder" signal with `e_gtk_signal_connect_full_while_alive()' instead of using plain `gtk_signal_connect_after()'. svn path=/trunk/; revision=14320
* Don't do the `gtk_signal_disconnect_by_func()' as it's already done inEttore Perazzoli2001-10-292-8/+22
| | | | | | | | | | | | | | | | * e-shell-view.c (new_folder_cb): Don't do the `gtk_signal_disconnect_by_func()' as it's already done in `cleanup_delayed_selection()'. (e_shell_view_construct): Set the ->shell member as the first thing. (set_current_notebook_page): Add a cast to make the compiler happy. (new_folder_cb): Don't set priv->uri before calling `e_shell_view_display_uri()', because the latter does it anyways, and also if you set it before calling it, the selection in the folder tree doesn't get updated properly. svn path=/trunk/; revision=14319
* Set the return type of the signal handlers to GTK_TYPE_NONE.92001-10-292-3/+8
| | | | | | | | | 2001-10-29 <NotZed@Ximian.com> * evolution-storage.c (class_init): Set the return type of the signal handlers to GTK_TYPE_NONE. svn path=/trunk/; revision=14314
* [The following should fix #13802, crash on exit.]Ettore Perazzoli2001-10-292-4/+18
| | | | | | | | | | * evolution-shell-component.c (impl_unsetOwner): Set the ping timeout ID to -1 when removing the source. (impl_destroy): Likewise. (impl_unsetOwner): Remove the timeout before unreffing, not after unreffing. svn path=/trunk/; revision=14304
* Distribute credit equally.Jon Trowbridge2001-10-282-3/+40
| | | | | | | | 2001-10-28 Jon Trowbridge <trow@ximian.com> * e-shell-about-box.c: Distribute credit equally. svn path=/trunk/; revision=14280
* Fixing the license text.Ettore Perazzoli2001-10-2810-10/+0
| | | | svn path=/trunk/; revision=14212
* We want XFER_FOLDER not REMOVE_FOLDER!72001-10-272-1/+6
| | | | | | | | | 2001-10-27 <NotZed@Ximian.com> * evolution-storage.c (impl_Storage_async_xfer_folder): We want XFER_FOLDER not REMOVE_FOLDER! svn path=/trunk/; revision=14193
* Fix the license text to make sense.Ettore Perazzoli2001-10-27101-101/+0
| | | | svn path=/trunk/; revision=14192
* Update the licensing information to require version 2 of the GPLEttore Perazzoli2001-10-2710-20/+20
| | | | | | (instead of version 2 or any later version). svn path=/trunk/; revision=14190
* Update the licensing information to require version 2 of the GPLEttore Perazzoli2001-10-27101-202/+202
| | | | | | explicitly. svn path=/trunk/; revision=14186
* Remove debugging messages. (finalize_offline_hash_foreach): Likewise.Ettore Perazzoli2001-10-272-4/+6
| | | | | | | | * e-shell-offline-handler.c (prepare_for_offline): Remove debugging messages. (finalize_offline_hash_foreach): Likewise. svn path=/trunk/; revision=14184
* New member `finished' in `EShellOfflineHandlerPrivate'.Ettore Perazzoli2001-10-272-4/+38
| | | | | | | | | | | | | | | * e-shell-offline-handler.c: New member `finished' in `EShellOfflineHandlerPrivate'. (finalize_offline): Ref the handler as we might get destroyed while putting every component offline. (impl_OfflineProgressListener_updateProgress): Don't emit ::offline_procedure_finished if ->finished is %TRUE. Also, set it to %TRUE after emitting the signal. (cancel_offline): Likewise. (finalize_offline): Likewise. (update_dialog_clist): Guard against NULL ->dialog_gui. svn path=/trunk/; revision=14182
* Implement. (class_init): Add the signal "xfer_folder" signal.Ettore Perazzoli2001-10-273-4/+40
| | | | | | | | | * evolution-storage.c (impl_Storage_async_xfer_folder): Implement. (class_init): Add the signal "xfer_folder" signal. * evolution-storage.h: New signal "xfer_folder". svn path=/trunk/; revision=14177
* New, implementation for the ::async_xfer_folder method. (class_init):Ettore Perazzoli2001-10-272-3/+53
| | | | | | | | | * e-corba-storage.c (async_xfer_folder): New, implementation for the ::async_xfer_folder method. (class_init): Install it. svn path=/trunk/; revision=14173
* Set ->is_initialized to %FALSE. (e_shell_unregister_all): Same here.Ettore Perazzoli2001-10-272-0/+9
| | | | | | | * e-shell.c (destroy): Set ->is_initialized to %FALSE. (e_shell_unregister_all): Same here. svn path=/trunk/; revision=14170
* gtk_widget_show_now() the dialog. Likewise.Ettore Perazzoli2001-10-273-0/+9
| | | | | | | | * e-shell-importer.c (prepare_intelligent_page): gtk_widget_show_now() the dialog. * e-shell-startup-wizard.c (prepare_importer_page): Likewise. svn path=/trunk/; revision=14167
* Use gtk_widget_show_now() so the stupid dialog hopefully displays all theEttore Perazzoli2001-10-272-3/+8
| | | | | | | * main.c (quit_box_new): Use gtk_widget_show_now() so the stupid dialog hopefully displays all the time. svn path=/trunk/; revision=14166
* Clear the folder bar label to be empty. [#12553]Ettore Perazzoli2001-10-272-0/+6
| | | | | | | * e-shell-view.c (set_current_notebook_page): Clear the folder bar label to be empty. [#12553] svn path=/trunk/; revision=14163
* Draw one more line.Ettore Perazzoli2001-10-272-1/+5
| | | | | | * e-shell-about-box.c (timeout_callback): Draw one more line. svn path=/trunk/; revision=14161
* Set the GtkWindow policy so that @allow_shrink, @allow_grow andEttore Perazzoli2001-10-272-0/+7
| | | | | | | | * e-shell-view-menu.c (command_about_box): Set the GtkWindow policy so that @allow_shrink, @allow_grow and @auto_shrink are all %FALSE. svn path=/trunk/; revision=14160
* Don't allow invalid folder names. [#12027]Ettore Perazzoli2001-10-276-46/+81
| | | | | | | | | | | | | | | | | * e-shell-folder-commands.c (e_shell_command_rename_folder): Don't allow invalid folder names. [#12027] * e-shell-folder-creation-dialog.c (entry_name_is_valid): Removed. (dialog_clicked_cb): Use `e_shell_folder_name_is_valid()' instead. * e-shell-utils.c (e_shell_folder_name_is_valid): New. Sorry I18N people, it breaks the string freeze slighty. * e-component-registry.c (component_free): Add a cast. (e_component_registry_restart_component): Argh, use the corba_objref properly in calling `wait_for_corba_object_to_die()'. svn path=/trunk/; revision=14152
* Add accelerators for "Work Offline" and "Work Online".Ettore Perazzoli2001-10-262-2/+7
| | | | | | | * e-shell-view-menu.c (update_offline_menu_item): Add accelerators for "Work Offline" and "Work Online". svn path=/trunk/; revision=14119
* Don't allow translators to translate "Ximian Evolution".Ettore Perazzoli2001-10-262-2/+7
| | | | | | | * e-shell-view.c (update_for_current_uri): Don't allow translators to translate "Ximian Evolution". svn path=/trunk/; revision=14116
* New helper function. (e_component_registry_restart_component): Use it.Ettore Perazzoli2001-10-262-15/+37
| | | | | | | | | * e-component-registry.c (wait_for_corba_object_to_die): New helper function. (e_component_registry_restart_component): Use it. (component_free): Call it to wait for the unowned object to die. svn path=/trunk/; revision=14110
* Handle failure from XGetClassHint properly. Also, free res_name andEttore Perazzoli2001-10-262-4/+12
| | | | | | | | * e-shell.c (impl_Shell_selectUserFolder): Handle failure from XGetClassHint properly. Also, free res_name and res_class in case of success. Fixes #13554. svn path=/trunk/; revision=14104
* Don't display an icon for storages that have subfolders.Ettore Perazzoli2001-10-262-0/+11
| | | | | | | * e-storage-set-view.c (etree_icon_at): Don't display an icon for storages that have subfolders. svn path=/trunk/; revision=14102
* #include "e-util/e-gtk-utils.h".Ettore Perazzoli2001-10-265-4/+20
| | | | | | | | | | | | | | | | | * e-shell-importer.c: #include "e-util/e-gtk-utils.h". * e-shell-folder-creation-dialog.c (e_shell_show_folder_creation_dialog): Constify a local variable to placate a warning. * e-activity-handler.c (task_widget_cancel_callback): #if 0'ed out. * evolution-shell-component-client.c (evolution_shell_component_client_new): Remove unused variable `ior'. svn path=/trunk/; revision=14100
* Set ->priv to NULL. (impl_operationStarted): Check for priv not beingEttore Perazzoli2001-10-262-4/+13
| | | | | | | | | | * e-activity-handler.c (impl_destroy): Set ->priv to NULL. (impl_operationStarted): Check for priv not being NULL. (impl_operationProgressing): Likewise. (impl_operationFinished): Likewise. (impl_requestDialog): Likewise. svn path=/trunk/; revision=14099
* Set the ->mailer to be CORBA_OBJECT_NIL in case of an exception, otherwiseEttore Perazzoli2001-10-262-0/+7
| | | | | | | | * e-shell-startup-wizard.c (make_mail_dialog_pages): Set the ->mailer to be CORBA_OBJECT_NIL in case of an exception, otherwise the caller will not realize about the problem. svn path=/trunk/; revision=14095
* Don't use __FUNCTION__. (evolution_wizard_set_show_finish): Likewise.Ettore Perazzoli2001-10-263-5/+16
| | | | | | | | | | | | | * evolution-wizard.c (evolution_wizard_set_buttons_sensitive): Don't use __FUNCTION__. (evolution_wizard_set_show_finish): Likewise. (evolution_wizard_set_page): Likewise. * e-shell-startup-wizard.c (make_mail_dialog_pages): Do not use __FUNCTION__ and __LINE__. This breaks the string freeze, but the old way made Evolution non-compilable with non-GNU compilers. svn path=/trunk/; revision=14094
* Add a few names to the box.Ettore Perazzoli2001-10-252-0/+8
| | | | | | * e-shell-about-box.c: Add a few names to the box. svn path=/trunk/; revision=14083
* g_return_if_fail if the display_name is NULL. "Fixes" 11182 although thereDan Winship2001-10-252-0/+8
| | | | | | | | | * evolution-storage.c (evolution_storage_new_folder): g_return_if_fail if the display_name is NULL. "Fixes" 11182 although there may be a few more cases lying around that pass NULLs in. svn path=/trunk/; revision=14078
* Set the WMClass of the quit dialog to be different from the default one inEttore Perazzoli2001-10-252-0/+9
| | | | | | | * main.c (quit_box_new): Set the WMClass of the quit dialog to be different from the default one in an attempt to fix #13441. svn path=/trunk/; revision=14076
* New. (async_xfer_folder_callback): Use it so we get the right errorEttore Perazzoli2001-10-252-7/+30
| | | | | | | | | | * e-local-storage.c (storage_result_from_component_result): New. (async_xfer_folder_callback): Use it so we get the right error message. (async_xfer_folder_complete): New arg @success. Don't remove the directory and the metadata if @success is %FALSE. svn path=/trunk/; revision=13991
* Get the path and the shell view instead. (rename_callback_data_free):Ettore Perazzoli2001-10-242-14/+25
| | | | | | | | | | * e-shell-folder-commands.c (rename_callback_data_new): Get the path and the shell view instead. (rename_callback_data_free): Updated accordingly. (rename_cb): Set the name on the folder based on the path, not the actual object [as the old object gets unreffed -- of course]. svn path=/trunk/; revision=13969
* New. (rename_callback_data_free): New. (rename_cb): Rename the folderEttore Perazzoli2001-10-242-7/+57
| | | | | | | | | * e-shell-folder-commands.c (rename_callback_data_new): New. (rename_callback_data_free): New. (rename_cb): Rename the folder here. (e_shell_command_rename_folder): Don't rename the EFolder here. svn path=/trunk/; revision=13967
* Handle the return codes properly, and invoke the result callback too.Ettore Perazzoli2001-10-242-0/+13
| | | | | | | * e-local-storage.c (async_xfer_folder_callback): Handle the return codes properly, and invoke the result callback too. svn path=/trunk/; revision=13965
* #if 0'ed for now, per #7427.Ettore Perazzoli2001-10-242-1/+9
| | | | | | | * e-activity-handler.c (show_cancellation_popup): #if 0'ed for now, per #7427. svn path=/trunk/; revision=13962
* Explicitly deactivate the control frame, and display the default URIEttore Perazzoli2001-10-243-2/+32
| | | | | | | | | | | | | | * e-shell-view.c (storage_set_removed_folder_callback): Explicitly deactivate the control frame, and display the default URI before destroying the dead one. * e-shell.c (e_shell_component_maybe_crashed): If the URI is of a folder that doesn't exist anymore, don't assume that the corresponding component has crashed. Also, try pinging the component first; if the component responds, don't pop up the dialog. svn path=/trunk/; revision=13960
* No need to gtk_widget_show() the view anymore.Ettore Perazzoli2001-10-235-36/+99
| | | | | | | | | | | | | | | | | | | | * e-shell-view-menu.c (command_open_folder_in_new_window): No need to gtk_widget_show() the view anymore. * e-shell-view.c (activate_shortcut_cb): No need to gtk_widget_show() the view anymore. * e-shell.c (impl_Shell_createNewView): Don't explicitly show the new view. (e_shell_create_view): gtk_widget_show() the new view and flush the GTK+ event loop before sending the ::interactive notification. (create_view): New helper function. (e_shell_create_view): Use it. (e_shell_create_view_from_settings): New. (e_shell_restore_from_settings): Use `e_shell_create_view_from_settings()'. svn path=/trunk/; revision=13918
* Remove the ping timeout.Ettore Perazzoli2001-10-232-0/+8
| | | | | | | * evolution-shell-component.c (impl_unsetOwner): Remove the ping timeout. svn path=/trunk/; revision=13908
* Don't die if the parent window has no WMHints.Ettore Perazzoli2001-10-232-3/+7
| | | | | | | * e-shell.c (impl_Shell_selectUserFolder): Don't die if the parent window has no WMHints. svn path=/trunk/; revision=13905
* If the view is dead, just return FALSE. Prevents crash #12483.Ettore Perazzoli2001-10-232-22/+7
| | | | | | | * e-shell-view.c (show_existing_view): If the view is dead, just return FALSE. Prevents crash #12483. svn path=/trunk/; revision=13903
* New member `is_interactive' in `EShellPrivate'. (init): Init to %FALSE.Ettore Perazzoli2001-10-235-7/+108
| | | | | | | | | | | | | | | | | | | | * e-shell.c: New member `is_interactive' in `EShellPrivate'. (init): Init to %FALSE. (set_interactive): New. (e_shell_create_view): Make interactive. (view_destroy_cb): If no views are left, make non-interactive. * evolution-shell-component.c (class_init): Set up the "interactive" signal. (impl_interactive): New implementation for the ::interactive method. (class_init): Install. * evolution-shell-component.h: New signal `interactive'. * Evolution-ShellComponent.idl: New method ::interactive. svn path=/trunk/; revision=13890
* Pass the @folder_type to ::handleDrop.Ettore Perazzoli2001-10-205-3/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-storage-set-view.c (tree_drag_data_received): Pass the @folder_type to ::handleDrop. * evolution-shell-component-dnd.c (impl_GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleMotion): New arg @folder_type. (impl_GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleDrop): Likewise. * evolution-shell-component-dnd.h: Add @folder_type to `DndDestinationFolderHandleDropFn' and `DndDestinationFolderHandleMotionFn'. * e-storage-set-view.c (tree_drag_motion): Pass the folder type to `::handleMotion'. * Evolution-ShellComponentDnd.idl: Pass @folder_type in ::handleDrop and ::handleMotion. * component-factory.c (destination_folder_handle_motion): Get @folder_type here too [to match the changes in the EvolutionShellComponentDnd interface]. Also, remove a debugging message. (destination_folder_handle_drop): Likewise. * gui/component/addressbook-component.c (destination_folder_handle_motion): Get @folder_type here too [to match the changes in the EvolutionShellComponentDnd interface]. Also, remove a debugging message. (destination_folder_handle_drop): Likewise. svn path=/trunk/; revision=13807
* Use EShellAboutBox. (zero_pointer): Removed.Ettore Perazzoli2001-10-205-64/+483
| | | | | | | | | | * e-shell-view-menu.c (command_about_box): Use EShellAboutBox. (zero_pointer): Removed. * e-shell-about-box.h: New. * e-shell-about-box.c: New. svn path=/trunk/; revision=13804
* Ooops. Remove stale files `e-shell-about-box.[ch]'.Ettore Perazzoli2001-10-192-2/+5
| | | | | | | * Makefile.am (evolution_SOURCES): Ooops. Remove stale files `e-shell-about-box.[ch]'. svn path=/trunk/; revision=13767
* Fix the WM problems related to the folder selection dialog beingEttore Perazzoli2001-10-196-4/+75
| | | | | | | out-of-proc. Now it can be set to be a transient window correctly, and fakes its WindowGroup hint appropriately. svn path=/trunk/; revision=13765
* Urgh. Remove stale line that caused `display_default' to be set to TRUEEttore Perazzoli2001-10-182-2/+6
| | | | | | | | * main.c (idle_cb): Urgh. Remove stale line that caused `display_default' to be set to TRUE for all the non-NULL shell cases. svn path=/trunk/; revision=13743
* Re-set the owner on the component that raised OldOwnerHasDied.Ettore Perazzoli2001-10-182-2/+15
| | | | | | | * e-shell.c (set_owner_on_components): Re-set the owner on the component that raised OldOwnerHasDied. svn path=/trunk/; revision=13730
* Fix bug 11114Iain Holmes2001-10-162-0/+7
| | | | svn path=/trunk/; revision=13685
* Add two missing codes.Dan Winship2001-10-153-1/+14
| | | | | | | * e-corba-storage.c (async_folder_cb): * e-storage.c (e_storage_result_to_string): Add two missing codes. svn path=/trunk/; revision=13670
* New function to try to activate a component when you know it's going toDan Winship2001-10-143-0/+61
| | | | | | | | * evolution-shell-component-utils.c (e_activation_failure_dialog): New function to try to activate a component when you know it's going to fail, and then pop up a dialog explaining why it failed. svn path=/trunk/; revision=13657
* Fix strings and the importer window not drawing correctlyIain Holmes2001-10-133-13/+24
| | | | svn path=/trunk/; revision=13636
* [Fix #7643, Starting new view doesn't honor "view" settings.]Ettore Perazzoli2001-10-126-9/+35
| | | | | | | | | | | | | | | | | | | | * e-shell-view-menu.c (command_open_folder_in_new_window): Pass the parent @shell_view as the @template_view arg to `e_shell_create_view()' * e-shell-view.c (activate_shortcut_cb): Pass the _view as the @template_view arg to `e_shell_create_view()'. * e-shell-folder-commands.c (e_shell_command_open_folder_in_other_window): Pass the parent @shell_view as the @template_view arg to `e_shell_create_view()'. * e-shell.c (e_shell_create_view): New arg @template_view. (impl_Shell_createNewView): Pass %NULL as @template_view when calling it. (e_shell_restore_from_settings): Likewise. svn path=/trunk/; revision=13618
* Also flush GDK after flushing GTK. Otherwise GTK might queue draw requestsEttore Perazzoli2001-10-122-0/+11
| | | | | | | | * main.c (quit_box_new): Also flush GDK after flushing GTK. Otherwise GTK might queue draw requests to X that don't get executed. svn path=/trunk/; revision=13617
* [Hopefully really, finally fix #8615 and friends.]Ettore Perazzoli2001-10-124-4/+53
| | | | | | | | | | * main.c (no_views_left_cb): Invoke `e_shell_disconnect_db()' before unreffing the shell. * e-shell.c (e_shell_disconnect_db): New. (destroy): Call it instead of unreffing the db manually here. svn path=/trunk/; revision=13616
* Don't free the folder_command_data here. It is supposed to be freed in theEttore Perazzoli2001-10-122-1/+10
| | | | | | | | | | | | * e-shell-folder-commands.c (folder_selection_dialog_folder_selected_callback): Don't free the folder_command_data here. It is supposed to be freed in the async callback. The leak that Dan supposedly fixed was probably only due to the fact that the component that was supposed to perform the xfer didn't report a result. Now that xfer actually works, it was triggering the crash instead. [Fixes #9769.] svn path=/trunk/; revision=13615
* Only invoke `progress_listener_servant_free()', no need to also doEttore Perazzoli2001-10-122-3/+9
| | | | | | | | | | * e-shell-offline-handler.c (prepare_for_offline): Only invoke `progress_listener_servant_free()', no need to also do `__fini()' on it as `__fini()' is also called by the former. [Fixes #12329.] Also, print out the CORBA exception that gets raised so we have some more clues about what is wrong. svn path=/trunk/; revision=13614
* Don't die if the folder_bar_popup is %NULL. Fixes #10922.Ettore Perazzoli2001-10-122-1/+8
| | | | | | | | * e-shell-view.c (reparent_storage_set_view_box_and_destroy_popup): Don't die if the folder_bar_popup is %NULL. Fixes #10922. svn path=/trunk/; revision=13613
* Display the default view only if we are starting our own shell, or if theEttore Perazzoli2001-10-123-10/+35
| | | | | | | | | | | | * main.c (idle_cb): Display the default view only if we are starting our own shell, or if the command-line has no arguments and we are talking to an already existing shell. * e-uri-schema-registry.c (e_uri_schema_registry_set_handler_for_schema): Do not return a value. svn path=/trunk/; revision=13611
* gr. save then commit.Dan Winship2001-10-121-3/+4
| | | | svn path=/trunk/; revision=13588
* Remove "display_name" arg from update methods. It was only there to do theDan Winship2001-10-128-30/+33
| | | | | | | | | | | | | | | | | | | | | | | | * Evolution-Storage.idl: Remove "display_name" arg from update methods. It was only there to do the "Inbox (5)" hack, which is supported directly now. * evolution-storage.c (impl_Storage_updateFolder): no longer takes display_name. (evolution_storage_update_folder, evolution_storage_update_folder_by_uri): Likewise. (class_init): Update signal signature. * evolution-storage-listener.c (impl_GNOME_Evolution_StorageListener_notifyFolderUpdated): No longer takes display_name, but make it pass the unread_count along in the signal it emits. (class_init): Update signal signature. * e-local-storage.c (bonobo_interface_update_folder_cb): * e-corba-storage.c (impl_StorageListener_notifyFolderUpdated): No longer take display_name. svn path=/trunk/; revision=13587
* Ooops, remove debugging message.Ettore Perazzoli2001-10-102-2/+5
| | | | | | | * e-storage-set-view.c (handle_evolution_path_drag_motion): Ooops, remove debugging message. svn path=/trunk/; revision=13551
* Make this a no-op if the source and the destination path are the same.Ettore Perazzoli2001-10-104-7/+35
| | | | | | | | | | | | | | * e-storage.c (e_storage_async_xfer_folder): Make this a no-op if the source and the destination path are the same. * e-local-storage.c (impl_async_xfer_folder): return after returning `E_STORAGE_CANTCHANGESTOCKFOLDER' to the callback. * e-storage-set-view.c (handle_evolution_path_drag_motion): Make the check for dragging a folder over itself a little bit more accurate. svn path=/trunk/; revision=13550
* This is a message, not a warning! (command_work_online): This is also aJon Trowbridge2001-10-062-2/+9
| | | | | | | | | | | 2001-10-05 Jon Trowbridge <trow@ximian.com> * e-shell-view-menu.c (command_work_offline): This is a message, not a warning! (command_work_online): This is also a message, not a warning! (I'm feeling very anal today.) svn path=/trunk/; revision=13467
* Do not invoke `e_shell_restore_from_settings()' if `shell' is NULL.Ettore Perazzoli2001-10-062-1/+6
| | | | | | | * main.c (idle_cb): Do not invoke `e_shell_restore_from_settings()' if `shell' is NULL. svn path=/trunk/; revision=13462
* Get the right hpaned positions for when the shortcut bar and/or the folderEttore Perazzoli2001-10-062-2/+14
| | | | | | | | * e-shell-view.c (e_shell_view_save_settings): Get the right hpaned positions for when the shortcut bar and/or the folder bar are visible. svn path=/trunk/; revision=13461
* Handle the return value fromEttore Perazzoli2001-10-062-1/+10
| | | | | | | | | | * e-shell.c (impl_Shell_handleURI): Handle the return value from `evolution_shell_component_client_handle_external_uri()' as an EvolutionShellComponentClientResult instead of treating it as a boolean. This prevents the incorrect NotFound exceptions we were getting for `mailto:' invocations. svn path=/trunk/; revision=13460
* Also `gdk_flush()'. (idle_cb): If the user doesn't specify at least oneEttore Perazzoli2001-10-062-20/+34
| | | | | | | | * main.c (quit_box_new): Also `gdk_flush()'. (idle_cb): If the user doesn't specify at least one `evolution:' URI, restore from the settings. [Fixes #6093.] svn path=/trunk/; revision=13459
* New member `ping_timeout_id' in `EvolutionShellComponentPrivate'.Ettore Perazzoli2001-10-062-3/+77
| | | | | | | | | | | | * evolution-shell-component.c: New member `ping_timeout_id' in `EvolutionShellComponentPrivate'. (setup_owner_pinging): New helper function. (impl_owner_died): Unref the owner and set ->owner_client to %NULL. (impl_setOwner): Don't unref here. (destroy): Remove the source for ->ping_timeout_id if not -1. svn path=/trunk/; revision=13451
* #include "e-util/e-gtk-utils.h". (quit_box_new): Queue a draw on theEttore Perazzoli2001-10-062-0/+13
| | | | | | | | * main.c: #include "e-util/e-gtk-utils.h". (quit_box_new): Queue a draw on the window; otherwise it seems to fail to redraw in some cases for some reason [see #11412]. svn path=/trunk/; revision=13450
* If the owner is dead, emit "owner_died" instead of "owner_unset".Ettore Perazzoli2001-10-063-1/+39
| | | | | | | | | | | * evolution-shell-component.c (impl_setOwner): If the owner is dead, emit "owner_died" instead of "owner_unset". (impl_owner_died): New, default implementation for "owner_died". (class_init): Install it. * evolution-shell-component.h: New signal "owner_died". svn path=/trunk/; revision=13449
* If setting the owner fails, print the a warning message out. Then restartEttore Perazzoli2001-10-0612-24/+274
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell.c (set_owner_on_components): If setting the owner fails, print the a warning message out. Then restart the component. * e-component-registry.c (component_free): Return a boolean value. %FALSE if ::unsetOwner raises an exception. (register_type): New arg @override_duplicate, to avoid complaining if a component gets re-registered. (register_component): Likewise. (e_component_registry_restart_component): New. * e-uri-schema-registry.c (e_uri_schema_registry_set_handler_for_schema): Changed return type to `void'. Just remove the old handler and set up the new one. * evolution-shell-component-client.c (corba_exception_to_result): Translate ::OldOwnerHasDied into EVOLUTION_SHELL_COMPONENT_OLDOWNERHASDIED. * evolution-shell-component.h: New enum value `EVOLUTION_SHELL_COMPONENT_OLDOWNERHASDIED'. * evolution-shell-component.c (impl_setOwner): If the old owner is not alive anymore [use CORBA_Object_non_existent() to figure this out], emit OWNER_UNSET and raise `OldOwnerHasDied'. (evolution_shell_component_result_to_string): New. * Evolution-ShellComponent.idl: New exception `OldOwnerHasDied'. (ShellComponent::setOwner): Can raise it. * e-folder-type-registry.c (e_folder_type_register_type_registered): New. (e_folder_type_register_unregister_type): New. svn path=/trunk/; revision=13446
* added BONOBO_GNOME_CFLAGS to make it compile with latest BonoboRodrigo Moya2001-10-042-0/+6
| | | | | | | | | 2001-10-04 Rodrigo Moya <rodrigo@ximian.com> * importer/Makefile.am: added BONOBO_GNOME_CFLAGS to make it compile with latest Bonobo svn path=/trunk/; revision=13408
* [Fix #11326, The folder list can become detached from its parentEttore Perazzoli2001-10-032-0/+11
| | | | | | | | | window.] * e-shell-view.c (folder_context_menu_popped_down_cb): Pop down the folder bar if it's popped up. svn path=/trunk/; revision=13346
* Make the crash message less dorky. [#10264]Ettore Perazzoli2001-10-032-3/+9
| | | | | | | * e-shell.c (e_shell_component_maybe_crashed): Make the crash message less dorky. [#10264] svn path=/trunk/; revision=13309
* [Don't allow dragging from a folder to one of its descendants orEttore Perazzoli2001-10-032-2/+36
| | | | | | | | | | | onto itself, when the operation is GDK_DRAG_MOVE. This fixes bugs like #8737.] * e-storage-set-view.c (handle_evolution_path_drag_motion): Don't highlight if the user is attempting to move a folder to one of its descendants. svn path=/trunk/; revision=13307
* Use `bonobo_ui_component_new_default()', not `bonobo_ui_component_new()'.Ettore Perazzoli2001-10-033-2/+23
| | | | | | | | | | | | | | | | | | | | * e-shell-view.c (e_shell_view_construct): Use `bonobo_ui_component_new_default()', not `bonobo_ui_component_new()'. * mail-account-gui.c (launch_signature_editor): Use `bonobo_ui_component_new_default()', not `bonobo_ui_component_new()'. * e-msg-composer.c (setup_ui): Use `bonobo_ui_component_new_default()', not `bonobo_ui_component_new()'. * gui/dialogs/comp-editor.c (setup_widgets): Use `bonobo_ui_component_new_default()', not `bonobo_ui_component_new()'. svn path=/trunk/; revision=13306
* New, callback for the ::removed_folder signal on the shell's EStorageSet.Ettore Perazzoli2001-10-033-80/+86
| | | | | | | | | | | | | | | | * e-shell-view.c (storage_set_removed_folder_callback): New, callback for the ::removed_folder signal on the shell's EStorageSet. (e_shell_view_construct): Connect. (e_shell_view_remove_control_for_uri): Removed. * e-shell-folder-commands.c (folder_selection_dialog_folder_selected_callback): Don't call `e_shell_view_remove_control_for_uri()'. (e_shell_command_delete_folder): Not here either. And don't display the default URI either. svn path=/trunk/; revision=13305
* [Fix #8053, `GNOME_Evolution_Shortcuts' doesn't seem to work.]Ettore Perazzoli2001-09-292-10/+7
| | | | | | | * e-shell.c (e_shell_construct): Don't create the EShortcuts object a second time. svn path=/trunk/; revision=13236
* [Fix #8434, Shortcut bar not shown properly.]Ettore Perazzoli2001-09-292-8/+15
| | | | | | | | | | * e-shell-view.c (e_shell_view_show_shortcut_bar): Set the hpaned_position from the EPaned *before* hiding it -- otherwise, the position will of course always be zero. (e_shell_view_save_settings): Save from ->hpaned_position and ->view_hpaned_position. svn path=/trunk/; revision=13234
* New place to start the intelligent importersIain Holmes2001-09-293-28/+548
| | | | svn path=/trunk/; revision=13230
* Allow callers to set the default type of folder to be created.Iain Holmes2001-09-2911-18/+103
| | | | svn path=/trunk/; revision=13220
* Remove. (command_new_mail_message): Removed. (command_pilot_settings):Ettore Perazzoli2001-09-282-32/+45
| | | | | | | | | * e-shell-view-menu.c (DEFINE_UNIMPLEMENTED): Remove. (command_new_mail_message): Removed. (command_pilot_settings): New. (e_shell_view_menu_setup): Add tools verbs. svn path=/trunk/; revision=13194
* New helper function. (folder_selected_cb): Call it.Ettore Perazzoli2001-09-274-31/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-view.c (setup_verb_sensitivity_for_folder): New helper function. (folder_selected_cb): Call it. (folder_context_menu_popping_up_cb): New callback for the "folder_context_menu_popping_up" signal on the folder bar's EStorageSetView; set the sensitivities of the verbs according to the right-clicked folder. (folder_context_menu_popped_down_cb): New, callback for the "folder_context_menu_popped_down" signal on the folder bar's EStorageSetView; set the sensitivities of the verbs according to the currently displayed folder. (e_shell_view_get_folder_bar_right_click_path): Add a cast to placate a warning. * e-storage-set-view.c (class_init): Set up the "folder_context_menu_popping_up" and "folder_context_menu_popped_down" signals. (right_click): Emit "folder_context_menu_popping_up" before popping up the menu, "folder_context_menu_popped_down" after the menu is gone. * e-storage-set-view.h: New signals "folder_context_menu_popping_up" and "folder_context_menu_popped_down". svn path=/trunk/; revision=13171
* Put my name in alphabetical orderRodrigo Moya2001-09-271-1/+1
| | | | svn path=/trunk/; revision=13167
* Added myself to about boxRodrigo Moya2001-09-261-0/+1
| | | | svn path=/trunk/; revision=13147
* Change the name on the EFolder object too.Ettore Perazzoli2001-09-262-2/+10
| | | | | | | * e-shell-folder-commands.c (e_shell_command_rename_folder): Change the name on the EFolder object too. svn path=/trunk/; revision=13134
* [Implemented the "Rename" command. Warning, it doesn't quite workEttore Perazzoli2001-09-265-112/+80
| | | | | | | | | | | | | | | | | | | | | yet, as there seems to be something wrong still.] * e-storage.c (e_storage_async_xfer_folder): Ooops. Make the check for CANTMOVETODESCENDANT really work. * e-storage-set-view.c (tree_drag_data_received): Pass the EStorageSetView as the data for the async_xfer function. (folder_xfer_callback): Display an error dialog if something goes wrong. * e-shell-view-menu.c (command_rename_folder): Enable again. * e-shell-folder-commands.c (e_shell_command_rename_folder): Re-implemented. (delete_dialog): Use double quotes instead of single quotes around the folder name, for consistency with the other dialogs. svn path=/trunk/; revision=13131
* New helper function. (command_move_folder): Pass the @folder_path argumentEttore Perazzoli2001-09-268-109/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-view-menu.c (get_path_for_folder_op): New helper function. (command_move_folder): Pass the @folder_path argument to `e_shell_command_move_folder' by using it. (command_copy_folder): Pass the @folder_path argument to `e_shell_command_copy_folder' by using it. (command_delete_folder): Pass the @folder_path argument to `e_shell_command_delete_folder()' by using it. (command_add_folder_to_shortcut_bar): Pass the @folder_path argument to `e_shell_command_add_to_shortcut_bar()' by using it. (command_create_folder): Pass the @parent_folder_path argument to `e_shell_command_create_new_folder()' by using it. (command_new_folder): Use `get_path_for_folder_op()'. * e-shell-folder-commands.c (e_shell_command_add_to_shortcut_bar): New arg @folder_path. (e_shell_command_copy_folder): New arg @folder_path. (e_shell_command_move_folder): New arg @folder_path. (e_shell_command_open_folder_in_other_window): New arg @folder_path. (e_shell_command_create_new_folder): New arg @parent_folder_path. (e_shell_command_delete_folder): New arg @folder_path. * e-shell-view.c (e_shell_view_get_folder_bar_right_click_path): New. * e-storage-set-view.c: New member `right_click_row_path'. (init): Init to NULL. (destroy): Free. (right_click): Set. (popup_folder_menu): Use `gnome_popup_menu_do_popup_modal()' so we are stuck in here until the menu disappears. After that, destroy the menu and call `e_tree_right_click_up()'. (e_storage_set_view_get_right_click_path): New. svn path=/trunk/; revision=13124
* Expand a ~ in the pathIain Holmes2001-09-222-1/+6
| | | | svn path=/trunk/; revision=13062
* Check for a component for the given row *after* trying to handleEttore Perazzoli2001-09-222-5/+14
| | | | | | | | | | | * e-storage-set-view.c (tree_drag_motion): Check for a component for the given row *after* trying to handle EVOLUTION_PATH_TARGET_TYPE. Otherwise, we always fail in the case of dnd between a folder and the toplevel node of its storage. (find_matching_target_for_drag_context): If not on a folder, always return EVOLUTION_PATH_TARGET_TYPE. svn path=/trunk/; revision=13050
* Removed. (folder_bar_popup_map_callback): Don't connect.Ettore Perazzoli2001-09-212-55/+34
| | | | | | | | | | | | | * e-shell-view.c (storage_set_view_box_event_cb): Removed. (folder_bar_popup_map_callback): Don't connect. (reparent_storage_set_view_box_and_destroy_popup): Don't ungrab here. (popdown_transient_folder_bar): Ungrab here. (popdown_transient_folder_bar_idle): New. (switch_on_folder_tree_click): Invoke it in the idle loop. Also, ungrab. svn path=/trunk/; revision=13025
* Only start wizard thing if there are no mail accountsIain Holmes2001-09-212-4/+9
| | | | svn path=/trunk/; revision=13012
* New member `tooltips' in `ETaskWidgetPrivate'. (init): Init to NULL.Ettore Perazzoli2001-09-202-0/+18
| | | | | | | | | | * e-task-widget.c: New member `tooltips' in `ETaskWidgetPrivate'. (init): Init to NULL. (e_task_widget_construct): Create a GtkTooltips and make `tooltips' point to it. (e_task_widget_update): Set the tooltip for the label too. svn path=/trunk/; revision=12989
* Removed globals `activity_client', `progress'. (timeout_callback_3): GetEttore Perazzoli2001-09-206-8/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-test-component.c: Removed globals `activity_client', `progress'. (timeout_callback_3): Get the activity client from @data. (timeout_callback_2): Likewise here. Pass the activity client as the user data pointer for `gtk_timeout_add()'. Put the progress count in a "my_progress" GtkObject data key. (timeout_callback_1): Pass the newly created EActivityClient as the user data pointer for `gtk_timeout_add()'. Also, dispatch itself again with a random timeout delay, for a maximum of NUM_ACTIVITES times. Initialize the "my_progress" GtkObject data to be -1. * e-activity-handler.c: New member `component_id' in `ActivityInfo'. (activity_info_new): New arg @component_id. Init the `component_id' member accordingly. (activity_info_free): Free the `component_id' member. (impl_operationStarted): Pass the component_id to `activity_info_new()'. (task_widget_new_from_activity_info): Pass the component_id to the activity_info. * e-task-widget.c: New member `component_id' in `ETaskWidgetPrivate'. (impl_destroy): Free it. (init): Init to NULL. Also init all the other members to NULL as well. (e_task_widget_construct): New arg @component_id. Assign ->component_id to match it. (e_task_widget_new): New arg @component_id here as well. Pass it over to `e_task_widget_construct()'. (e_task_widget_get_component_id): New. svn path=/trunk/; revision=12988
* New arg @row. Highlight that row. (tree_drag_motion): Pass @row toEttore Perazzoli2001-09-192-1/+11
| | | | | | | | | * e-storage-set-view.c (handle_evolution_path_drag_motion): New arg @row. Highlight that row. (tree_drag_motion): Pass @row to `handle_evolution_path_drag_motion()'. svn path=/trunk/; revision=12961
* #include "e-gtk-utils.h".Ettore Perazzoli2001-09-192-1/+8
| | | | | | * e-splash.c: #include "e-gtk-utils.h". svn path=/trunk/; revision=12947
* Make the canvas backing stored.Ettore Perazzoli2001-09-192-0/+6
| | | | | | * e-splash.c (e_splash_construct): Make the canvas backing stored. svn path=/trunk/; revision=12944
* Call `e_make_widget_backing_stored()' on the widget so it refreshesEttore Perazzoli2001-09-182-0/+11
| | | | | | | | * main.c (quit_box_new): Call `e_make_widget_backing_stored()' on the widget so it refreshes properly even when we are busy waiting on CORBA calls. svn path=/trunk/; revision=12920
* New. (quit_box_destroyed_callback): New. (no_views_left_cb): Use these twoEttore Perazzoli2001-09-182-1/+61
| | | | | | | | | * main.c (quit_box_new): New. (quit_box_destroyed_callback): New. (no_views_left_cb): Use these two functions to display a warning message when Evolution is quitting. svn path=/trunk/; revision=12917
* Only raise NotReady if the local storage pointer is actually NULL. ThisEttore Perazzoli2001-09-182-3/+14
| | | | | | | | | | * e-shell.c (impl_Shell_getLocalStorage): Only raise NotReady if the local storage pointer is actually NULL. This way it is possible for the components to access the local storage during initialization even if the shell is not quite finished initializing yet. svn path=/trunk/; revision=12914
* [Fix #9060, Shell crash after mailer crash.]Ettore Perazzoli2001-09-182-24/+26
| | | | | | | | | | | | | * e-shell-view.c (hash_foreach_destroy_view): Renamed from `hash_forall_destroy_view'. Don't free `name'. (socket_destroy_cb): Use `g_hash_table_lookup()' instead of `g_hash_table_lookup_extended()'. Don't free the URI. (e_shell_view_remove_control_for_uri): Likewise. (show_existing_view): Use view->uri as the key when inserting the view. Remove the old view from the hash when destroying it. (create_new_view_for_uri): Same here. svn path=/trunk/; revision=12913
* Hide the storage_set_view_box *before* getting the child1_size [otherwise,Ettore Perazzoli2001-09-182-4/+9
| | | | | | | | * e-shell-view.c (e_shell_view_show_folder_bar): Hide the storage_set_view_box *before* getting the child1_size [otherwise, the latter will, um, always be zero]. svn path=/trunk/; revision=12902
* Updated required version of gal to 0.11.99.4.Christopher James Lahey2001-09-172-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-16 Christopher James Lahey <clahey@ximian.com> * configure.in: Updated required version of gal to 0.11.99.4. From calendar/ChangeLog: 2001-09-16 Christopher James Lahey <clahey@ximian.com> * gui/dialogs/meeting-page.c (build_etable): Updated this to match the new ETableSimple interface. From mail/ChangeLog: 2001-09-16 Christopher James Lahey <clahey@ximian.com> * message-list.c (ml_get_node_by_id): Made save_id const here. From shell/ChangeLog: 2001-09-16 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (etree_get_node_by_id): Made save_id const here. svn path=/trunk/; revision=12870
* [Automake 1.5 fixes pointed out by Richard BoultonEttore Perazzoli2001-09-153-2/+11
| | | | | | | | | | <richard@tartarus.org>, as per #9258.] * importer/Makefile.am (CLEANFILES): Assign directly using `=', instead of `+='. * Makefile.am (CLEANFILES): Likewise. svn path=/trunk/; revision=12846
* Return a proper value. (impl_Shell_createStorageSetView): Likewise.Ettore Perazzoli2001-09-152-5/+15
| | | | | | | | | | | | * e-shell.c (impl_Shell_getLocalStorage): Return a proper value. (impl_Shell_createStorageSetView): Likewise. (impl_Shell_setLineStatus): Likewise. (impl_Shell__get_displayName): Likewise. (impl_Shell_getComponentByType): Likewise. (impl_Shell_createNewView): Likewise. (impl_Shell_handleURI): Likewise. svn path=/trunk/; revision=12834
* Fix crash and remove warningIain Holmes2001-09-153-30/+20
| | | | svn path=/trunk/; revision=12828
* Removed unused variable.Ettore Perazzoli2001-09-152-3/+5
| | | | | | * e-shell-importer.c (start_import): Removed unused variable. svn path=/trunk/; revision=12827
* [Fix #8204 and the other bugs caused by allowing invocations onEttore Perazzoli2001-09-153-18/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | the ::Shell interface to happen before the shell is actually fully initialized. This is a lame hack and not a nice, complete solution for the problem, but it should do for now.] * e-shell.c: New member `is_initialized' in `EShellPrivate'. (init): Initialize to %FALSE. (e_shell_construct): Set `is_initialized' to %TRUE after the initialization sequence is finished. (raise_exception_if_not_ready): New utility function to raise the notReady exception if the shell is not ready. (impl_Shell__get_displayName): Call it. (impl_Shell_getComponentByType): Likewise. (impl_Shell_createNewView): Likewise. (impl_Shell_handleURI): Likewise. (impl_Shell_selectUserFolder): Likewise. (impl_Shell_getLocalStorage): Likewise. (impl_Shell_createStorageSetView): Likewise. (impl_Shell_setLineStatus): Likewise. (e_shell_construct): Print out the repo_id of the exception from `bonobo_get_object()' if it fails. Also, register on OAF just before displaying the splash. * Evolution-Shell.idl: New exception `NotReady'. All the CORBA methods on ::Shell can now raise this exception. svn path=/trunk/; revision=12826
* [Fix #5990, Remembering Evolution window geometry.]Ettore Perazzoli2001-09-145-11/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell.c (impl_Shell_createNewView): gtk_widget_show() the new view returned by `e_shell_create_view()'. (e_shell_restore_from_settings): Same here, after loading the settings. * e-shell-view.c (activate_shortcut_cb): gtk_widget_show() the new view returned by `e_shell_create_view()'. * e-shell-view-menu.c (command_open_folder_in_new_window): gtk_widget_show() the view returned by `e_shell_create_view()'. * e-shell-folder-commands.c (e_shell_command_open_folder_in_other_window): gtk_widget_show() the view returned by `e_shell_create_view()'. * e-shell.c (e_shell_create_view): Don't show the view automatically anymore. * e-shell-view.c (e_shell_view_save_settings): Save the width and height of the window. (e_shell_view_load_settings): Restore the width and the height and gtk_window_set_default_size() based on them. svn path=/trunk/; revision=12816
* [Remove a bunch of debugging messages, as per #7741.]Ettore Perazzoli2001-09-1415-37/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-wizard.c (impl_GNOME_Evolution_Wizard_notifyAction): Removed debugging messages. * e-storage-set.c (storage_removed_folder_cb): Removed debugging message. * e-storage-set-view.c (tree_drag_begin): Removed debugging message. (tree_drag_data_received): Removed debugging messages. * e-shortcuts.c (idle_cb): Removed debugging message. * e-shortcuts-view-model.c (get_icon_for_item): Removed debugging message. * e-shell.c (setup_components): Removed debugging message. * e-shell-startup-wizard.c (druid_event_notify_cb): Removed debugging message. (e_shell_startup_wizard_create): Removed debugging message. * e-shell-offline-handler.c (finalize_offline_hash_foreach): Removed debugging message. * e-shell-importer.c (start_import): Removed debugging message. (item_selected): Same here. * e-local-storage.c (async_xfer_folder_step): Removed debugging message. * e-corba-storage.c (impl_StorageListener_notifyFolderCreated): Changed the error from a g_print() into a g_warning(). Removed debugging message. * e-corba-storage-registry.c (impl_StorageRegistry_addStorage): Removed debugging message. (impl_StorageRegistry_removeStorageByName): Likewise. * e-component-registry.c (component_free): Removed debugging message. (register_component): Don't printf() about the registered folder type. (register_component): Don't printf() about the registered schema type. svn path=/trunk/; revision=12811
* Disable DnD on the EStorageSetView to avoid strange behaviors.Ettore Perazzoli2001-09-148-23/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-view.c (pop_up_folder_bar): Disable DnD on the EStorageSetView to avoid strange behaviors. (reparent_storage_set_view_box_and_destroy_popup): Re-enable DnD here. (popdown_transient_folder_bar): And here as well. * evolution-storage-set-view-factory.c (evolution_storage_set_view_factory_new_view): Disable DnD on the EStorageSetView. * e-shell-folder-selection-dialog.c (e_shell_folder_selection_dialog_construct): Disable DnD on the EStorageSetView. * e-shell-folder-creation-dialog.c (add_storage_set_view): Disable DnD on the EStorageSetView. * e-storage-set-view.c: New member `allow_dnd' in `EStorageSetViewPrivate'. (init): Init to `allow_dnd' %TRUE. (tree_start_drag): If `allow_dnd' is false, don't start the drag and return %FALSE. (tree_drag_motion): If `allow_dnd' is false, return %FALSE. (e_storage_set_view_get_allow_dnd): New. (e_storage_set_view_set_allow_dnd): New. svn path=/trunk/; revision=12810
* Add SUB_VERSION to the version string passed toEttore Perazzoli2001-09-132-1/+6
| | | | | | | * main.c (main): Add SUB_VERSION to the version string passed to `gnome_init_with_popt_table()'. svn path=/trunk/; revision=12792
* only allow importing to /local folders.Chris Toshok2001-09-132-0/+16
| | | | | | | | | 2001-09-12 Chris Toshok <toshok@ximian.com> * e-shell-importer.c (start_import): only allow importing to /local folders. svn path=/trunk/; revision=12790
* [Fix #4962, "Highlighting is left after a drag".]Ettore Perazzoli2001-09-132-2/+9
| | | | | | | * e-storage-set-view.c (tree_drag_motion): Only highlight when moving over allowed targets. svn path=/trunk/; revision=12789
* Only gtk_widget_destroy() the icon_widget if it's not NULL.Ettore Perazzoli2001-09-132-2/+9
| | | | | | | * e-shell-folder-title-bar.c (unrealize): Only gtk_widget_destroy() the icon_widget if it's not NULL. svn path=/trunk/; revision=12788
* Remove spewIain Holmes2001-09-132-1/+5
| | | | svn path=/trunk/; revision=12785
* Oops. Remove duplicate free.Dan Winship2001-09-112-2/+4
| | | | | | * e-shell-view.c (socket_destroy_cb): Oops. Remove duplicate free. svn path=/trunk/; revision=12732
* Purify run. All small leaks.Dan Winship2001-09-1010-22/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-folder-commands.c (folder_selection_dialog_folder_selected_callback): Free the folder_command_data when destroying the dialog. * e-local-storage.c (remove_folder): Free physical_uri if we allocated it. * e-shortcuts-view.c (pop_up_right_click_menu_for_group): Unref the popup menu, don't destroy it. (destroy_group_cb): Free the question string. (rename_group_cb): Free the new_name. * e-shell-importer.c (create_plugin_menu): Free the list of importers. (get_iid_for_filetype): Likewise. (import_druid_finish): #ifdef out some g_strdups that are only used by other #ifdef'ed-out code. * e-shell-view.c: Make sure the keys in the uri_to_view hash get freed. * e-shell-folder-title-bar.c (set_title_bar_label_style): Unref the style after setting it on the widget. * e-shell-offline-handler.c (impl_destroy): free priv. * e-storage-set-view.c (tree_drag_data_received): Make sure target_type always gets freed. * e-shell-folder-creation-dialog.c (add_folder_types): Don't leak the type names. svn path=/trunk/; revision=12715
* New designIain Holmes2001-09-082-73/+37
| | | | svn path=/trunk/; revision=12690
* Changed this to use the new ETable/ETree drag stuff.Christopher James Lahey2001-09-082-84/+18
| | | | | | | | | 2001-09-07 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (tree_start_drag): Changed this to use the new ETable/ETree drag stuff. svn path=/trunk/; revision=12686
* Remove the "see previous error messages?" comment from the error messageDan Winship2001-09-072-2/+9
| | | | | | | | | | * evolution-shell-component-client.c (evolution_shell_component_client_new): Remove the "see previous error messages?" comment from the error message when starting a component, since oafd eats the output of the components it launches now, so it's just misleading. svn path=/trunk/; revision=12673
* change to match create_folder. (e_marshal_NONE__POINTER_POINTER_POINTER):Chris Toshok2001-09-073-49/+52
| | | | | | | | | | | | | | | | | | | 2001-09-06 Chris Toshok <toshok@ximian.com> * evolution-storage.c (impl_Storage_async_remove_folder): change to match create_folder. (e_marshal_NONE__POINTER_POINTER_POINTER): new marshaller for remove_folder. (class_init): make sure to use the right marshaller for create/remove_folder. * evolution-storage.h: change the signature of both the create_folder and remove_folder signals to be more in line with what's in evolution-storage.c. They both take a Bonobo_Listener which the signal func notifies, instead of synchronously returning the result. svn path=/trunk/; revision=12667
* Allow a value of -1.0 for @progress [which means "unknown progress"].Ettore Perazzoli2001-09-072-1/+7
| | | | | | | | * evolution-activity-client.c (evolution_activity_client_update): Allow a value of -1.0 for @progress [which means "unknown progress"]. svn path=/trunk/; revision=12659
* [Fix #958, ShellComponents should not be created by factories, forEttore Perazzoli2001-09-063-30/+23
| | | | | | | | | | | | | | the test component.] * GNOME_Evolution_TestComponent.oaf: Remove the factory. * evolution-test-component.c (COMPONENT_FACTORY_ID): Removed. (component_factory_init): Removed. (register_component): Rename from `component_fn'. No args, no return value. Register the thing on OAF by yourself instead of using a factory. svn path=/trunk/; revision=12639
* New. (get_efolder_from_shortcut): Removed. (impl_shortcut_dropped): UseEttore Perazzoli2001-09-062-13/+40
| | | | | | | | * e-shortcuts-view.c (get_shortcut_info): New. (get_efolder_from_shortcut): Removed. (impl_shortcut_dropped): Use `get_shortcut_info()' instead. svn path=/trunk/; revision=12628
* Replace "Evolution" with "Ximian Evolution" in a bunch of user-visibleEttore Perazzoli2001-09-065-15/+30
| | | | | | places. svn path=/trunk/; revision=12625
* [Fix #6474 and friends, crash when selecting things from theEttore Perazzoli2001-09-062-2/+29
| | | | | | | | | | | | | | | | | context activity context menu.] * e-activity-handler.c: New member `menu' in struct `ActivityInfo'. (activity_info_new): Init to NULL. (show_cancellation_popup): Set the `menu' member to point to this newly created pop-up, use `gnome_popup_menu_do_popup_modal()' instead of `gnome_popup_menu_do_popup()', and set the `menu' member to NULL when the menu is gone. (activity_info_free): Destroy `menu' member. (impl_requestDialog): Return `GNOME_Evolution_Activity_DIALOG_ACTION_ERROR' instead of nothing. svn path=/trunk/; revision=12624
* [Fix #6971, Default folder should be the Summary.]Ettore Perazzoli2001-09-056-7/+27
| | | | | | | | | | | | | | | | | | | | * main.c (idle_cb): s/DEFAULT_URI/E_SHELL_VIEW_DEFAULT_URI/. * e-shell.c (e_shell_create_view): s/DEFAULT_URI/E_SHELL_VIEW_DEFAULT_URI/. * e-shell-view.c (socket_destroy_cb): s/DEFAULT_URI/E_SHELL_VIEW_DEFAULT_URI/. (e_shell_view_save_settings): Likewise. * e-shell-folder-commands.c (e_shell_command_delete_folder): s/DEFAULT_URI/E_SHELL_VIEW_DEFAULT_URI/. * e-shell-view.h (DEFAULT_URI): Rename to `E_SHELL_VIEW_DEFAULT_URI'. Change from "evolution:/local/Inbox" to be "evolution:/summary". svn path=/trunk/; revision=12618
* [Fix ^#7675, Crashes trying to empty trash folder.]Ettore Perazzoli2001-09-052-5/+15
| | | | | | | | * e-shortcuts.c (e_shortcuts_construct): Use `gtk_signal_connect_while_alive()' so we don't invoke the callbacks on dead EShortcuts objects. svn path=/trunk/; revision=12612
* Report errors in the dialogIain Holmes2001-09-052-0/+6
| | | | svn path=/trunk/; revision=12611
* Just ignore the request if the activity handler has theEttore Perazzoli2001-09-052-0/+30
| | | | | | | | | | | | | * e-activity-handler.c (impl_operationProgressing): Just ignore the request if the activity handler has the GTK_OBJECT_DESTROYED() flag set. This should prevent crashes like #7542 and friends when the components are not well-behaved enough to respect the Bonobo refcounting. (impl_operationStarted): Likewise. (impl_operationFinished): Likewise. (impl_requestDialog): Likewise. svn path=/trunk/; revision=12609
* Check the file exists before trying to import itIain Holmes2001-09-052-0/+20
| | | | svn path=/trunk/; revision=12603
* Shut down other components correctly when cancelling the first time startup ↵Iain Holmes2001-09-052-1/+8
| | | | | | dialog svn path=/trunk/; revision=12600
* Remove debugging message. (tree_drag_motion): Likewise.Ettore Perazzoli2001-09-052-3/+6
| | | | | | | | * e-storage-set-view.c (tree_drag_motion): Remove debugging message. (tree_drag_motion): Likewise. svn path=/trunk/; revision=12598
* Add the root node to the hash. (e_storage_set_view_set_show_folders):Ettore Perazzoli2001-09-052-0/+11
| | | | | | | | * e-storage-set-view.c (e_storage_set_view_construct): Add the root node to the hash. (e_storage_set_view_set_show_folders): Likewise. svn path=/trunk/; revision=12594
* Remove the folder from the EvolutionStorage as well as the EStorage.Peter Williams2001-09-045-13/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-30 Peter Williams <peterw@ximian.com> * e-local-storage.c (async_xfer_folder_complete): Remove the folder from the EvolutionStorage as well as the EStorage. 2001-08-29 Peter Williams <peterw@ximian.com> * e-storage-set-view.c (etree_node_destroy_func): Only call remove_node_from_hash if it's not the root node. (removed_storage_cb): Don't remove the node from the hash here, because it will be removed in the node_destroyed callback. (removed_folder_cb): Same. * e-shell-view.c (e_shell_view_remove_control_for_uri): Disconnect from the destroy signal so as not to confuse ourselves. Also, the page remove in the notebook destroys the control and the socket, so don't do that explicitly. * e-shell-folder-commands.c (folder_selection_dialog_folder_selected_callback): Remove the control for the source view if we're moving. svn path=/trunk/; revision=12578
* Don't convert folder name to UTF-8 manually... (setup_stock_folders): ...Chyla Zbigniew2001-09-014-19/+33
| | | | | | | | | | | | | | | | * e-local-storage.c (setup_folder_as_stock): Don't convert folder name to UTF-8 manually... (setup_stock_folders): ... just use U_() here. (impl_get_display_name): Marked string for translation (with U_). * e-storage-set-view.c (storage_sort_callback): s/strcasecmp/g_utf8_collate/ (folder_sort_callback): ditto * e-summary-storage.c (impl_get_display_name): Marked string for translation (with U_). svn path=/trunk/; revision=12546
* Fix the Pine and Netscape importers. Give them a nice progress reporting GUI.Iain Holmes2001-08-313-33/+96
| | | | | | Revert Jason's changes so that creating a folder works again. svn path=/trunk/; revision=12536
* Check for \r in the folder name, this is an invalid char. Also take aJeffrey Stedfast2001-08-312-13/+33
| | | | | | | | | | | | 2001-08-30 Jeffrey Stedfast <fejj@ximian.com> * e-shell-folder-creation-dialog.c (entry_name_is_valid): Check for \r in the folder name, this is an invalid char. Also take a "reason" argument so we can inform the user why his folder name is invalid. (dialog_clicked_cb): Tell the user why the folder name is invalid. svn path=/trunk/; revision=12533
* Handle the case when there is no URI without crashing. Only add shortcutsEttore Perazzoli2001-08-292-6/+14
| | | | | | | | * e-shortcuts.c (load_shortcuts): Handle the case when there is no URI without crashing. Only add shortcuts when they are evolution: URIs. svn path=/trunk/; revision=12506
* Studlycapsize all the IDs that are not. Likewise. Updated accordingly.Ettore Perazzoli2001-08-2816-77/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Evolution-ShellComponent.idl: Studlycapsize all the IDs that are not. * Evolution-common.idl: Likewise. * evolution-activity-client.c: Updated accordingly. * evolution-shell-component.c: Likewise. * evolution-storage.c: Likewise. * e-activity-handler.c: Likewise. * e-component-registry.c: Likewise. * e-corba-storage.c: Likewise. * e-shell-user-creatable-items-handlers.c: Likewise. * e-local-storage.c (remove_folder): Remove unused variable. * e-shell-view.c (update_for_current_uri): Assign zero to `unread_count', not NULL. * e-shell-importer.c (import_druid_finish): Remove unused variable. * e-shell-user-creatable-items-handler.c: #include "e-corba-utils.h". * e-shell-startup-wizard.c: #include "e-shell-startup-wizard.h". * e-shell-startup-wizard.h: #include <glib.h> * e-summary-weather.c (weather_make_html): Make local variable `icon_name' const. Remove unused variable `uri'. * e-summary.h: Reformatted in GTK+ style. (e_summary_remove_online_connection): Added prototype. * e-summary-preferences.c (fill_mail_shown_clist): Constify local variable `name'. * e-summary-mail.c: #include "e-util/e-path.h". Updated to match the new studlyCapsification in shell/Evolution*.idl. * mail-local.c: Match the studlyCapsification of shell/Evolution*.idl. * mail-config-druid.h: Change type of `event_source' from `Bonobo_EventSource *' to `Bonobo_EventSource'. * mail-accounts.c (mail_delete): Remove unused local variable `label'. * folder-info.c (do_get_info): `#if 0' unused variables. * gui/component/addressbook-component.c: Get rid of a warning by initializing the closing NULL element in folder_types correctly. * gui/component/select-names/e-select-names.c: Updated to match the studlyCapsification of attributes in shell/Evolution*.idl. svn path=/trunk/; revision=12495
* Remove the stupid "do you want me to initialize stuff?" dialog.Ettore Perazzoli2001-08-252-27/+5
| | | | | | | * e-setup.c (copy_default_stuff): Remove the stupid "do you want me to initialize stuff?" dialog. svn path=/trunk/; revision=12465
* Change the `selected_row_path' to be non-const. (destroy): Free it.Ettore Perazzoli2001-08-252-5/+21
| | | | | | | | | | | | * e-storage-set-view.c: Change the `selected_row_path' to be non-const. (destroy): Free it. (e_storage_set_view_set_current_folder): Set the selected_row_path to be this path. (tree_drag_begin): Free the selected_row_path and strdup() the value we assign. svn path=/trunk/; revision=12463
* Ooops. Save the pointer to the control for use after the view struct isEttore Perazzoli2001-08-252-8/+15
| | | | | | | | * e-shell-view.c (e_shell_view_remove_control_for_uri): Ooops. Save the pointer to the control for use after the view struct is freed. svn path=/trunk/; revision=12458
* New struct `View'. Replace `uri_to_control' in `EShellViewPrivate' withEttore Perazzoli2001-08-252-59/+110
| | | | | | | | | | | | | | | | | | | | * e-shell-view.c: New struct `View'. Replace `uri_to_control' in `EShellViewPrivate' with `uri_to_view'. (view_new): New. (hash_forall_destroy_view): New, replacing `hash_forall_destroy_control'. (destroy): Updated to match the uri_to_control -> uri_to_view changes. (socket_destroy_cb): Likewise. (get_view_for_uri): Renamed from `get_control_for_uri'. Return a View instead of a GtkWidget. (show_existing_view): Updated to use `get_view_from_uri', get a @view instead of a @control. (e_shell_view_display_uri): Updated to use `uri_to_view' instead of `uri_to_control'. (e_shell_view_remove_control_for_uri): Likewise. svn path=/trunk/; revision=12457
* Changed to get a @title and a @type. (update_for_current_uri): UpdatedEttore Perazzoli2001-08-252-48/+55
| | | | | | | | | | * e-shell-view.c (update_folder_title_bar): Changed to get a @title and a @type. (update_for_current_uri): Updated accordingly. (update_window_icon): Get a @type instead of a @folder. (update_for_current_uri): Updated accordingly. svn path=/trunk/; revision=12452
* [Fix #5978, "If a component dies, it's toolbar buttons remain".]Ettore Perazzoli2001-08-252-6/+26
| | | | | | | | | * e-shell-view.c (socket_destroy_cb): If the view belongs to a toplevel storage node, get the right type information with `e_storage_get_toplevel_node_uri()' instead of trying to get the [non-existing] folder for it. svn path=/trunk/; revision=12451
* Implement the rest of the Evolution_Wizard eventsIain Holmes2001-08-252-2/+27
| | | | svn path=/trunk/; revision=12449
* Added accelerators for the right-click shortcut menu.Ettore Perazzoli2001-08-252-4/+9
| | | | | | | * e-shortcuts-view.c: Added accelerators for the right-click shortcut menu. svn path=/trunk/; revision=12448
* Added the missing part of my patch:Chyla Zbigniew2001-08-251-0/+1
| | | | | | #include <gal/widgets/e-unicode.h> svn path=/trunk/; revision=12447
* Convert names of the default group and shortcuts to UTF-8.Zbigniew Chyla2001-08-252-6/+25
| | | | | | | | | 2001-08-23 Zbigniew Chyla <cyba@gnome.pl> * e-shortcuts.c (e_shortcuts_add_default_group): Convert names of the default group and shortcuts to UTF-8. svn path=/trunk/; revision=12441
* Convert the name of the group to GTK+ locale before displaying it in aZbigniew Chyla2001-08-252-3/+11
| | | | | | | | | 2001-08-23 Zbigniew Chyla <cyba@gnome.pl> * e-shortcuts-view.c (destroy_group_cb): Convert the name of the group to GTK+ locale before displaying it in a dialog. svn path=/trunk/; revision=12439
* If we get no data, don't notify the receiving component at all.Ettore Perazzoli2001-08-242-0/+8
| | | | | | | * e-storage-set-view.c (tree_drag_data_received): If we get no data, don't notify the receiving component at all. svn path=/trunk/; revision=12423
* [Fix #5736, crashing when copying a message with drag and drop.]Ettore Perazzoli2001-08-242-2/+17
| | | | | | | * e-storage-set-view.c (tree_drag_data_received): Handle NULL data gracefully. svn path=/trunk/; revision=12422
* If the remove_source is %TRUE and destination is a descendant of theEttore Perazzoli2001-08-233-0/+22
| | | | | | | | | | | * e-storage.c (e_storage_async_xfer_folder): If the remove_source is %TRUE and destination is a descendant of the parent, pass an `E_STORAGE_CANTMOVETODESCENDANT' error code to the callback. * e-storage.h: New value `E_STORAGE_CANTMOVETODESCENDANT' in `EStorageResult'. svn path=/trunk/; revision=12397
* Actually return if the folder is being moved into one of its descendants.Ettore Perazzoli2001-08-232-0/+7
| | | | | | | | * e-shell-folder-commands.c (folder_selection_dialog_folder_selected_callback): Actually return if the folder is being moved into one of its descendants. svn path=/trunk/; revision=12395
* `#if 0'ed out. (make_bold): Likewise.Ettore Perazzoli2001-08-233-7/+19
| | | | | | | | | | | | * e-shell-folder-title-bar.c (label_realize_callback): `#if 0'ed out. (make_bold): Likewise. (e_shell_folder_title_bar_construct): Don't call it. * e-local-storage.c (component_async_remove_folder_callback): Only remove the directory if the component succeeds. svn path=/trunk/; revision=12392
* Fix the improper construction of the new folder's physical URI.Peter Williams2001-08-232-2/+10
| | | | | | | | | 2001-08-22 Peter Williams <peterw@ximian.com> * e-local-storage.c (async_xfer_folder_callback): Fix the improper construction of the new folder's physical URI. svn path=/trunk/; revision=12391
* Don't remove the folder directory here.Ettore Perazzoli2001-08-232-37/+44
| | | | | | | | * e-local-storage.c (remove_folder): Don't remove the folder directory here. (component_async_remove_folder_callback): Remove it here instead. svn path=/trunk/; revision=12390
* [Fix #7775, crash trying to do New Task]Ettore Perazzoli2001-08-232-2/+10
| | | | | | | | * e-shell-user-creatable-items-handler.c (verb_fn): Make sure we don't pass NULL strings to `GNOME_Evolution_ShellComponent_userCreateNewItem()'. svn path=/trunk/; revision=12388
* unref the rc_style.Damon Chaplin2001-08-222-0/+5
| | | | | | | | 2001-08-21 Damon Chaplin <damon@ximian.com> * e-gray-bar.c (endarken_style): unref the rc_style. svn path=/trunk/; revision=12373
* #include "e-shell-startup-wizard.h".Ettore Perazzoli2001-08-224-0/+37
| | | | | | | | * e-shell.c: #include "e-shell-startup-wizard.h". * e-shell-startup-wizard.h: New. svn path=/trunk/; revision=12359
* Add `sgmldocs.make' to `EXTRA_DIST'.Ettore Perazzoli2001-08-221-1/+17
| | | | | | * Makefile.am: Add `sgmldocs.make' to `EXTRA_DIST'. svn path=/trunk/; revision=12358
* Show an error dialog when the Evolution Mailer Wizard interface cannot be ↵Iain Holmes2001-08-222-1/+9
| | | | | | created svn path=/trunk/; revision=12354
* Fix a leak: unref the EFont after we have used it. Also, don't crash ifEttore Perazzoli2001-08-222-2/+12
| | | | | | | | | * e-shell-folder-title-bar.c (label_realize_callback): Fix a leak: unref the EFont after we have used it. Also, don't crash if `e_font_to_gdk_font()' returns NULL. [This should fix #7666, Folder View crashes Evo.] svn path=/trunk/; revision=12353
* Don't print a NULL. Crashes on SolarisIain Holmes2001-08-222-2/+6
| | | | svn path=/trunk/; revision=12349
* Do the import correctly.Iain Holmes2001-08-214-38/+94
| | | | svn path=/trunk/; revision=12327
* Don't set the paneds' positions if the respective left-hand elements [i.e.Ettore Perazzoli2001-08-212-2/+18
| | | | | | | | | | | * e-shell-view.c (e_shell_view_load_settings): Don't set the paneds' positions if the respective left-hand elements [i.e. the shortcut bar and the folder bar] are hidden. (e_shell_view_show_folder_bar): Set the paned position to zero when hiding. (e_shell_view_show_shortcut_bar): Likewise. svn path=/trunk/; revision=12321
* Don't free the returned displayname.Ettore Perazzoli2001-08-212-4/+7
| | | | | | | * e-shell-startup-wizard.c (finish_func): Don't free the returned displayname. svn path=/trunk/; revision=12318
* Make sure we display a pin when we are popped up.Ettore Perazzoli2001-08-202-0/+8
| | | | | | | * e-shell-view.c (pop_up_folder_bar): Make sure we display a pin when we are popped up. svn path=/trunk/; revision=12259
* Don't set the paned tree position.Ettore Perazzoli2001-08-202-1/+5
| | | | | | | * e-shell-view.c (setup_widgets): Don't set the paned tree position. svn path=/trunk/; revision=12250
* fill the corba sequence for the accepted_dnd_types.Chris Toshok2001-08-202-0/+7
| | | | | | | | | 2001-08-19 Chris Toshok <toshok@ximian.com> * evolution-shell-component.c (impl__get_supported_types): fill the corba sequence for the accepted_dnd_types. svn path=/trunk/; revision=12249
* Don't show the vbox here. (setup_widgets): Don't show theEttore Perazzoli2001-08-202-2/+8
| | | | | | | | * e-shell-view.c (setup_storage_set_subwindow): Don't show the vbox here. (setup_widgets): Don't show the storage_set_view_box here. svn path=/trunk/; revision=12246
* Added display_name and description to the type.Ettore Perazzoli2001-08-2011-32/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-test-component.c: Added display_name and description to the type. * evolution-shell-component.c (impl__get_supported_types): Pass `display_name' and `description' here. (evolution_shell_component_construct): Likewise. * evolution-shell-component.h: New members `display_name', `description' in `EvolutionShellComponentFolderType'. * e-component-registry.c (register_type): New args @description and @display_name. Pass to `e_folder_type_registry_register_type()'. (register_component): Pass the values returned in the sequence from __get_supported_types. * e-folder-type-registry.c: New members `display_name' and `description' in `struct _FolderType'. (folder_type_new): New args @description and @display_name. Initialize the respective fields in the `FolderType' accordingly. (folder_type_free): Free `display_name' and `description'. (register_folder_type): New args @display_name, @description. (e_folder_type_registry_register_type): New args @display_name, @description. (e_folder_type_registry_get_description_for_type): New. (e_folder_type_registry_get_display_name_for_type): New. * Evolution-ShellComponent.idl: Added `display_name' and `description' fields to the `FolderType' struct. svn path=/trunk/; revision=12245
* Put the bonobo_object_release_unref() for the db at the top in an attemptEttore Perazzoli2001-08-202-3/+10
| | | | | | | * e-shell.c (destroy): Put the bonobo_object_release_unref() for the db at the top in an attempt to fix #7542. svn path=/trunk/; revision=12238
* Change type of toplevel node from "Summary" to "summary". [All the otherEttore Perazzoli2001-08-203-1/+6
| | | | | | | | | | | * e-summary-storage.c (e_summary_storage_new): Change type of toplevel node from "Summary" to "summary". [All the other folder types use lowercase names.] * e-shortcuts.c (load_shortcuts): Also use the display name for the storage. svn path=/trunk/; revision=12234
* Also use the display name for the storage.Ettore Perazzoli2001-08-202-7/+18
| | | | | | | * e-shortcuts.c (load_shortcuts): Also use the display name for the storage. svn path=/trunk/; revision=12233
* Use xmlMemStrdup() to override the type as it's expected to be allocatedEttore Perazzoli2001-08-205-43/+97
| | | | | | | | | | | | | | | | | | | * e-shortcuts.c (load_shortcuts): Use xmlMemStrdup() to override the type as it's expected to be allocated by libxml later on. Also, get the icon for the storage if the shortcut points to a storage. * e-storage-set-view.c (etree_icon_at): Don't special case the Summary storage. Rather, use `e_storage_get_toplevel_node_type()' for getting the type of the node. * e-shortcuts-view-model.c (get_icon_for_item): New helper function. (shortcuts_update_shortcut_cb): Use it. (shortcuts_new_shortcut_cb): Use it. (load_group_into_model): Use it. svn path=/trunk/; revision=12232
* New constant `MIN_POPUP_TREE_WIDTH'. (pop_up_folder_bar): Make sure theEttore Perazzoli2001-08-192-2/+14
| | | | | | | | | | * e-shell-view.c: New constant `MIN_POPUP_TREE_WIDTH'. (pop_up_folder_bar): Make sure the pop-up is always this size or more. (setup_widgets): Pass %FALSE for @shrink to `e_paned_pack1()'. (reparent_storage_set_view_box_and_destroy_popup): Likewise. svn path=/trunk/; revision=12211
* New, replacing `shortcut_bar_mode_changed_cb'.Ettore Perazzoli2001-08-194-167/+221
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-view-menu.c (shortcut_bar_visibility_changed_cb): New, replacing `shortcut_bar_mode_changed_cb'. (folder_bar_visibility_changed_cb): New, replacing `folder_bar_mode_changed_cb'. (command_toggle_folder_bar): Use `e_shell_view_show_folder_bar()' instead of `e_shell_view_set_folder_bar_mode()'. (command_toggle_shortcut_bar): Use `e_shell_view_show_shortcut_bar()' instead of `e_shell_view_set_shortcut_bar_mode()'. (e_shell_view_menu_setup): Updated for the "shortcut_bar_visibility_changed" and "folder_bar_visibility_changed" signals and the above changes. * e-shell-view.c: New member `folder_bar_popup' in `EShellViewPrivate'. Replaced `folder_bar_mode' and `shortcut_bar_mode' with `folder_bar_shown' and `shortcut_bar_shown', respectively. (init): Updated to initialize these correctly. (reparent): New helper function. (reparent_storage_set_view_box_and_destroy_popup): New helper function. (popdown_transient_folder_bar): Updated to use the `folder_bar_popup'. (folder_bar_popup_map_callback): Renamed from `storage_set_view_box_map_cb'. (e_shell_view_set_shortcut_bar_mode): Removed. (e_shell_view_set_folder_bar_mode): Removed. (e_shell_view_show_shortcut_bar): New. All the calls to `e_shell_view_set_shortcut_bar_mode()' replaced with calls to this one. (e_shell_view_show_folder_bar): New. All the calls to `e_shell_view_set_folder_bar_mode()' replaced with calls to this one. (e_shell_view_folder_bar_shown): New. All the calls to `e_shell_view_get_folder_bar_mode()' replaced with calls to this one. (e_shell_view_shortcut_bar_shown): New. All the calls to `e_shell_view_get_shortcut_bar_mode()' replaced with calls to this one. (class_init): Replace signal `folder_bar_mode_changed' with `folder_bar_visibility_changed' and `shortcut_bar_mode_changed' with `shortcut_visibility_changed'. (e_shell_view_save_settings): Use keys "ShortcutBarShown" and "FolderBarShown" instead of "ShortcutBarMode" and "FolderBarMode", respectively. (e_shell_view_load_settings): Likewise. * e-shell-view.h: Removed enum `EShellViewSubwindowMode'. Renamed signal `shortcut_bar_mode_changed' to `shortcut_bar_visibility_changed' and `folder_bar_mode_changed' to `folder_bar_visibility_changed'. svn path=/trunk/; revision=12203
* Build fixIain Holmes2001-08-182-0/+5
| | | | svn path=/trunk/; revision=12176
* Add a warning for EttoreIain Holmes2001-08-181-0/+1
| | | | svn path=/trunk/; revision=12174
* Changelog I forgotIain Holmes2001-08-181-0/+5
| | | | svn path=/trunk/; revision=12173
* Compile fixesIain Holmes2001-08-183-3/+8
| | | | svn path=/trunk/; revision=12172
* g_return_if_fail(), not g_return_val_if_fail().Ettore Perazzoli2001-08-182-2/+8
| | | | | | | | * evolution-shell-client.c (evolution_shell_client_set_line_status): g_return_if_fail(), not g_return_val_if_fail(). svn path=/trunk/; revision=12167
* Added some g_warnings for when we return CORBA_OBJECT_NIL; this might helpEttore Perazzoli2001-08-182-3/+16
| | | | | | | | | | * evolution-shell-client.c (evolution_shell_client_get_local_storage): Added some g_warnings for when we return CORBA_OBJECT_NIL; this might help to figure out what is wrong with bug #6625. Also, added a missing CORBA_exception_free(). svn path=/trunk/; revision=12165
* tedfast <fejj@ximian.com>Jeffrey Stedfast2001-08-181-0/+2
| | | | | | | | tedfast <fejj@ximian.com> * e-shell.c (e_shell_construct): Don't destroy the splash twice. svn path=/trunk/; revision=12161
* Don't destroy the splash twice.Jeffrey Stedfast2001-08-181-29/+26
| | | | | | | | 2001-08-17 Jeffrey Stedfast <fejj@ximian.com> * e-shell.c (e_shell_construct): Don't destroy the splash twice. svn path=/trunk/; revision=12160
* utf_name should not be const as e_utf8_from_locale_string() returns anJeffrey Stedfast2001-08-182-3/+10
| | | | | | | | | | 2001-08-17 Jeffrey Stedfast <fejj@ximian.com> * e-local-storage.c (setup_folder_as_stock): utf_name should not be const as e_utf8_from_locale_string() returns an allocated buffer. svn path=/trunk/; revision=12158
* Startup assistant stuffIain Holmes2001-08-1711-6/+1656
| | | | svn path=/trunk/; revision=12145
* I know what you did last summer!Jason Leach2001-08-172-0/+3
| | | | | | | | 2001-08-16 Jason Leach <jleach@ximian.com> * AUTHORS: I know what you did last summer! svn path=/trunk/; revision=12140
* Desensitize the move/copy/delete/rename in the menus (including rightJason Leach2001-08-173-23/+38
| | | | | | | | | | | | | 2001-08-16 Jason Leach <jleach@ximian.com> * e-shell-view.c (folder_selected_cb): Desensitize the move/copy/delete/rename in the menus (including right click) for stock folders. * Evolution-Icon.idl: Actually remove this file from CVS (its contents are now in Evolution-common.idl). svn path=/trunk/; revision=12139
* Remove the Help menu verbs and add a "HelpFAQ" verb. (command_help):Ettore Perazzoli2001-08-172-12/+12
| | | | | | | | | * e-shell-view-menu.c: Remove the Help menu verbs and add a "HelpFAQ" verb. (command_help): Removed. (command_help_faq): New, implementation for the "HelpFAQ" verb. svn path=/trunk/; revision=12127
* New callback for the realize signal. (make_bold): New. Hooks up theEttore Perazzoli2001-08-172-1/+44
| | | | | | | | | | * e-shell-folder-title-bar.c (label_realize_callback): New callback for the realize signal. (make_bold): New. Hooks up the label_realize_callback. (e_shell_folder_title_bar_construct): Make the name of the folder bold using it. svn path=/trunk/; revision=12114
* Evil GTK+ hackery. Of course if GTK+ made things easier, I wouldn'tEttore Perazzoli2001-08-173-28/+36
| | | | | | | | | | | | have to do this. * e-gray-bar.c (endarken_style): Just hardcode the colors. * e-shell-folder-title-bar.c (set_title_bar_label_style): New. (e_shell_folder_title_bar_construct): Call it on the labels here, so we get nice white labels. svn path=/trunk/; revision=12110
* s/the view for `%s' have/the views for `%s' have/.Ettore Perazzoli2001-08-172-1/+6
| | | | | | | * e-shell.c (e_shell_component_maybe_crashed): s/the view for `%s' have/the views for `%s' have/. svn path=/trunk/; revision=12107
* Remove debugging message.Ettore Perazzoli2001-08-172-1/+5
| | | | | | * e-storage-set-view.c (etree_icon_at): Remove debugging message. svn path=/trunk/; revision=12104
* Don't hardcode/build a help URI here, use gnome_help_display() instead,Jason Leach2001-08-162-9/+15
| | | | | | | | | | | | | 2001-08-15 Jason Leach <jleach@ximian.com> * e-shell-view-menu.c (command_help): Don't hardcode/build a help URI here, use gnome_help_display() instead, which will figure out what language the user needs, etc. (help_verbs): Adapt these menu items to above changes, they don't need to pass "evolution/foo.html" to command_help, just "foo.html". svn path=/trunk/; revision=12072
* forgot to commit thisJacob Leach2001-08-161-3/+10
| | | | svn path=/trunk/; revision=12064
* Emit a "changed" signal at the end of this function. Bug #7232.Jason Leach2001-08-162-2/+7
| | | | | | | | | 2001-08-15 Jason Leach <jleach@ximian.com> * e-folder.c (e_folder_set_child_highlight): Emit a "changed" signal at the end of this function. Bug #7232. svn path=/trunk/; revision=12063
* Changed help menus to point to evolution/ and not evolution-guide/.Aaron Weber2001-08-162-5/+10
| | | | | | | | | 2001-08-15 Aaron Weber <aaron@ximian.com> * e-shell-view-menu.c (command_about_box): Changed help menus to point to evolution/ and not evolution-guide/. svn path=/trunk/; revision=12062
* s/My Evolution/Summary/Iain Holmes2001-08-163-5/+12
| | | | svn path=/trunk/; revision=12058
* Add a new IDL function, Evolution::Shell::setLineStatus (in boolean). BugJason Leach2001-08-164-3/+58
| | | | | | | | | | | | | | | | | 2001-08-15 Jason Leach <jleach@ximian.com> * Evolution-Shell.idl: Add a new IDL function, Evolution::Shell::setLineStatus (in boolean). Bug #3030. * e-shell.c (impl_Shell_setLineStatus): Implementation of the above. * evolution-shell-client.c (evolution_shell_client_set_line_status): A wrapper function for the above, this is what a component can call to set the shell on/offline. svn path=/trunk/; revision=12057
* Use the passed-in unread_count.Dan Winship2001-08-153-1/+10
| | | | | | | | | | * evolution-storage.c (evolution_storage_new_folder): Use the passed-in unread_count. * e-corba-storage.c (impl_StorageListener_notifyFolderCreated): Pass the passed-in unread_count to e_storage_new_folder. svn path=/trunk/; revision=12018
* Add missing entry for `endarken_style()'.Ettore Perazzoli2001-08-141-0/+1
| | | | svn path=/trunk/; revision=11979