aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view-menu.c
Commit message (Collapse)AuthorAgeFilesLines
* remove dead filesJP Rosevear2004-02-051-878/+0
| | | | | | | | 2004-02-04 JP Rosevear <jpr@ximian.com> * e-shell-view-menu[hc]: remove dead files svn path=/trunk/; revision=24618
* added ForgetPasswords menu item. (command_forget_passwords): callback forRodrigo Moya2004-01-161-0/+10
| | | | | | | | | | | 2004-01-15 Rodrigo Moya <rodrigo@ximian.com> * e-shell-view-menu.c: added ForgetPasswords menu item. (command_forget_passwords): callback for the new menu item. * e-shell-window-commands.c: (command_forget_passwords): ditto. svn path=/trunk/; revision=24246
* Update for e_notice move. Likewise Likewise Likewise Likewise LikewiseDan Winship2003-03-251-2/+2
| | | | | | | | | | | | | | | | | | | * e-folder-dnd-bridge.c: Update for e_notice move. * e-setup.c: Likewise * e-shell-folder-commands.c: Likewise * e-shell-folder-creation-dialog.c: Likewise * e-shell-offline-sync.c: Likewise * e-shell-shared-folder-picker-dialog.c: Likewise * e-shell-view-menu.c: Likewise * e-shell.c: Likewise * evolution-shell-component-utils.c: Likewise * Makefile.am (libeshell_la_LIBADD): libeshell depends on libeutil. * e-corba-storage.c: Fix warnings svn path=/trunk/; revision=20500
* remove unused commandJP Rosevear2003-03-211-9/+0
| | | | | | | | 2003-03-20 JP Rosevear <jpr@ximian.com> * e-shell-view-menu.c: remove unused command svn path=/trunk/; revision=20446
* Added icon for "/popups/NewPopup/Folder".Ettore Perazzoli2003-03-061-1/+3
| | | | svn path=/trunk/; revision=20176
* Set GTK_RESPONSE_OK as the default response.Ettore Perazzoli2003-01-281-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-importer.c (choose_importer_from_list): Set GTK_RESPONSE_OK as the default response. * Makefile.am (INCLUDES): Add -DGNOME_DISABLE_DEPRECATED, -DBONOBO_DISABLE_DEPRECATED. * e-shortcuts.c (update_shortcut_and_emit_signal): Use g_signal_emit() instead of gtk_signal_emit(). * e-shortcuts-view.c (destroy_group_cb): Port from GnomeMessageBox to GtkMessageDialog. * e-shell.c (get_icon_path_for_component_info): Use gnome_program_locate_file() instead of gnome_pixmap_file(). (impl_finalize): Use bonobo_activation_unregister_active_server() instead of bonobo_activation_active_server_register(). (e_shell_construct): Use bonobo_activation_register_active_server() instead of bonobo_activation_active_server_register(). * e-shell-view-menu.c (command_submit_bug): Use e_notice(). (launch_pilot_settings): Use g_find_program_in_path() instead of gnome_is_program_in_path(). (command_submit_bug): Likewise. * e-shell-utils.c (get_icon_path): Use g_file_test() instead of g_file_exists(). * e-shell-startup-wizard.c (prepare_importer_page): Port from GnomeMessageBox to GtkMessageDialog. * e-shell-shared-folder-picker-dialog.c (show_dialog): Update for GtkDialog. (progress_dialog_close_callback): Removed. (progress_dialog_clicked_callback): Removed. (progress_dialog_response_callback): New. (create_progress_dialog): Ported to GnomeDialog. * e-shell-offline-sync.c: Add member parent_window to struct SyncData. (e_shell_offline_sync_all_folders): Set it from the parent_window arg. (progress_dialog_close_callback): Removed. (progress_dialog_clicked_callback): Removed. (progress_dialog_response_callback): New. (setup_dialog): Create a GtkDialog instead of a GnomeDialog. (sync_folder): Updated for GtkDialog. * e-shell-offline-handler.c (dialog_handle_ok): Make it get a GtkDialog instead of a GnomeDialog. (dialog_handle_cancel): Likewise. (dialog_clicked_cb): Removed. (dialog_response_cb): New. (pop_up_confirmation_dialog): Connect the new dialog_response_cb() instead of the old dialog_clicked_cb(). Removed gnome_dialog_set_default() call. * e-shell-folder-creation-dialog.c (dialog_response_cb): Make first arg a GtkDialog, not a GnomeDialog. * e-shell-folder-commands.c (e_shell_command_delete_folder): Expect delete_dialog() to return a GtkResponseType. (delete_dialog): Ported to GtkMessageDialog; Return a GtkResponseType. * e-shell-config-default-folders.c (e_shell_config_default_folders_create_widget): Removed unused variable. * e-setup.c (check_evolution_directory): Remove Evolution directory installation message. (e_setup): Remove check for the Executive-Summary directory. * e-local-storage.c (create_folder_directory): Use g_file_test() instead of g_file_exists(). * evolution-shell-component-utils.c (e_pixmaps_update): Use g_build_filename() of g_concat_dir_and_file(). * e-folder-dnd-bridge.c (handle_data_received_path): Likewise. * e-local-folder.c (construct_loading_metadata): Likewise. (save_metadata): Likewise. * e-local-storage.c (remove_folder_directory): Likewise. (append_xfer_item_list): Likewise. * e-setup.c (check_dir_recur): Likewise. (e_shell_rm_dir): Likewise. (setup_bonobo_conf_private_directory): Likewise. * e-shell-folder-commands.c (folder_selection_dialog_folder_selected_callback): Likewise. (e_shell_command_rename_folder): Likewise. * e-shell-folder-creation-dialog.c (dialog_response_cb): Likewise. * e-shell-settings-dialog.c (load_pages): Likewise. * e-shell-utils.c (get_icon_path): Likewise. * e-shell.c (setup_local_storage): Likewise. (get_icon_path_for_component_info): Likewise. (e_shell_construct): Likewise. * main.c (main): Likewise. svn path=/trunk/; revision=19658
* Make the view save its settings as the default ones if it's the last one.Ettore Perazzoli2003-01-111-0/+2
| | | | | | | | | | * e-shell.c (e_shell_request_close_view): Make the view save its settings as the default ones if it's the last one. * e-shell-view-menu.c (command_quit): Make this view save its settings as the defaults before quitting. svn path=/trunk/; revision=19410
* [With this commit, the shell compiles without deprecatedEttore Perazzoli2002-12-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GLib/GTK+ functions, except for a couple of places were we use GtkCList.] * Makefile.am (INCLUDES): Add `-DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED'. * evolution-test-component.c (create_new_folder_selector): No gtk_window_set_policy(). * main.c (quit_box_new): gtk_window_set_resizable() instead of gtk_window_set_policy(). (view_map_callback): g_signal_handlers_disconnect_by_func() instead of gtk_signal_disconnect_by_func(). (main): No need to push the GdkRGB visual/cmap anymore. (new_view_created_callback): Likewise. * e-task-widget.c: Renamed member pixmap of ETaskWidgetPrivate to `image'. (init): Updated accordingly. (e_task_widget_construct): Use GtkImage, not GtkPixmap. * e-storage.c (class_init): Converted from gtk_signal_new() to g_signal_new(). * e-storage-set.c (class_init): Converted from gtk_signal_new() to g_signal_new(). * e-storage-set-view.c (setup_folder_properties_items_if_corba_storage_clicked): g_string_append_printf() instead of g_string_sprintfa(). (class_init): Converted from gtk_signal_new() to g_signal_new(). (setup_folder_changed_callbacks): Use e_signal_connect_while_alive() and e_signal_connect_full_while_alive(). * e-splash.c (e_splash_construct): gtk_window_set_resizable() instead of gtk_window_set_policy(). * e-shortcuts.c: Do not #include e-unicode.h. (shortcut_item_update): Use g_path_get_basename() instead of g_basename(). (e_shortcuts_add_default_shortcuts): No need to de-utfize strings. (e_shortcuts_add_default_group): Same here. * e-shortcuts-view.c: Do not #include <e-unicode.h>. (class_init): Converted from gtk_signal_new() to g_signal_new(). (destroy_group_cb): No need to convert the text from UTF8. * e-shell.c (impl_dispose): g_signal_handlers_disconnect_by_func() instead of gtk_signal_disconnect_by_func(). (class_init): Use g_signal_new() instead of gtk_signal_new(). * e-shell-view.c: Do not #include e-unicode.h. Renamed member offline_toggle_pixmap to offline_toggle_image in EShellViewPrivate. (update_folder_title_bar): No need to de-UTF8-ize the title. (cleanup_delayed_selection): g_signal_handlers_disconnect_by_func() instead of gtk_signal_disconnect_by_func(). (ui_engine_add_hint_callback): gtk_label_set_text(), not gtk_label_set(). (class_init): Use g_signal_new() instead of gtk_signal_new(). (update_for_current_uri): No need to convert the title from UTF8. (setup_offline_toggle): Changed to set up a GtkImage, not a GtkPixmap. (update_offline_toggle_status): Accordingly (gtk_image* instead of gtk_pixmap*). (set_current_notebook_page): gtk_notebook_set_current_page(), not gtk_notebook_set_page(). (get_storage_set_path_from_uri): g_ascii_strncasecmp() instead of g_strncasecmp(). (folder_bar_popup_map_callback): Use e_signal_connect_while_alive() instead of gtk_signal_connect_while_alive(). (e_shell_view_construct): Likewise. (display_uri): g_signal_connect_after() instead of gtk_signal_connect_full(). (update_for_current_uri): g_signal_handlers_{block,unblock}_by_func() instead of gtk_signal_handler_{block,unblock}_by_func(). * e-shell-view-menu.c (command_about_box): gtk_window_set_resizable() instead of gtk_window_set_policy(). * e-shell-utils.c (get_mini_name): g_path_get_basename() instead of g_basename(). * e-shell-user-creatable-items-handler.c (append_xml_for_menu_item): g_string_append_printf() instead of g_string_sprintfa(). (create_menu_xml): Likewise. * e-shell-shared-folder-picker-dialog.c: Do not #include e-unicode.h. (progress_bar_timeout_callback): Expect a GtkProgressBar data and just use gtk_progress_bar_pulse(). (create_progress_dialog): gtk_window_set_resizable() instead of gtk_window_set_policy(). No gtk_progress_set_activity_mode(). (setup_server_option_menu): Just use gtk_menu_item_new_with_label() instead of e_utf8_gtk_menu_item_new_with_label(). * e-shell-settings-dialog.c (set_dialog_size): Ported to Pango. * e-shell-offline-sync.c (impl_SyncFolderProgressListener_updateProgress): gtk_progress_set_fraction() instead of gtk_progress_bar_set_percentage(). (sync_folder): Likewise. (setup_dialog): gtk_window_set_resizable() instead of gtk_window_set_policy(). (sync_folder): No gtk_progress_set_activity_mode(). * e-shell-offline-handler.c: #undef {G,GTK}_DISABLE_DEPRECATED here for now (need to port from GtkCList). (class_init): Use g_signal_new() * e-shell-importer.c: #undef {G,GTK}_DISABLE_DEPRECATED here for now (need to port from GtkCList). * e-shell-folder-title-bar.c (create_image_widget_from_xpm): Renamed from create_pixmap_widget_from_xpm(); handle GtkImage instead of GtkPixmap. (new_empty_image_widget): Renamed from new_empty_pixmap_widget(); return a GtkImage instead of a GtkPixmap. (add_navigation_buttons): Updated accordingly; so use GtkImages instead of GtkPixmaps. (e_shell_folder_title_bar_construct): Likewise. (e_shell_folder_title_bar_set_icon): Use gtk_image_* instead of gtk_pixmap_* on the image widgets. (class_init): Converted to use g_signal_new() instead of gtk_signal_new(). (e_shell_folder_title_bar_new): No need for pushing the GdkRGB visual/cmap anymore. * e-shell-folder-selection-dialog.c (check_folder_type_valid): Just use strcmp instead of strcasecmp(). (class_init): g_signal_new() instead of gtk_signal_new(). (e_shell_folder_selection_dialog_construct): Removed call to gtk_window_set_policy(). * e-shell-folder-creation-dialog.c (type_with_display_name_compare_func): Changed to use g_utf8_casefold(). * e-shell-folder-commands.c: Do not #include e-unicode.h. (e_shell_command_rename_folder): g_path_get_dirname() instead of g_dirname(). (folder_selection_dialog_folder_selected_callback): g_path_get_basename() instead of g_basename(). (rename_cb): Likewise. (delete_dialog): Do not convert from UTF8 for display purposes. (e_shell_command_rename_folder): Likewise. * e-shell-about-box.c (timeout_callback): Ported to Pango and use gdk_window_invalidate_rect() instead of gtk_widget_draw(). * e-setup.c (check_evolution_directory): Use gtk_window_set_resizable() instead of gtk_window_set_policy(). * e-local-storage.c: Do not include e-unicode.h. (create_folder): Use g_path_get_basename() instead of g_basename(). (create_folder_directory): Likewise. (remove_folder_directory): Likewise. (append_xfer_item_list): Likewise. * e-local-folder.c (construct_loading_metadata): Use g_path_get_basename() instead of g_basename(). * e-folder-dnd-bridge.c (handle_evolution_path_drag_motion): Use g_path_get_basename() instead of g_basename(). * e-corba-storage-registry.c: G_STRUCT_OFFSET instead of GTK_STRUCT_OFFSET. * e-corba-shortcuts.c: G_STRUCT_OFFSET instead of GTK_STRUCT_OFFSET. * e-component-registry.c (sleep_with_g_main_loop_timeout_callback): g_main_loop_* instead of g_main_*. (sleep_with_g_main_loop): Likewise. * e-activity-handler.c: G_STRUCT_OFFSET instead of GTK_STRUCT_OFFSET. * evolution-wizard.c (evolution_wizard_class_init): g_signal_new() instead of gtk_signal_new(). * evolution-storage-listener.c (class_init): g_signal_new() instead of gtk_signal_new(). * evolution-shell-view.c (class_init): g_signal_new() instead of gtk_signal_new(). * evolution-shell-component-dnd.c: G_STRUCT_OFFSET instead of GTK_STRUCT_OFFSET. * evolution-shell-component.c: G_STRUCT_OFFSET instead of GTK_STRUCT_OFFSET. * evolution-session.c: G_STRUCT_OFFSET instead of GTK_STRUCT_OFFSET. * evolution-folder-selector-button.c: Do not include e-unicode.h. (set_folder): No need to convert from UTF8 to locale encoding anymore. Removed unused variable. * evolution-config-control.c (class_init): Use g_signal_new() instead of gtk_signal_new(). * evolution-activity-client.c (class_init): Use g_signal_new() instead of gtk_signal_new(). * e-folder-list.c: Do not include e-unicode.h. Use E_MAKE_TYPE(). (e_folder_list_get_type): Removed explicit implementation of this. (e_folder_list_set_arg): Removed. (e_folder_list_get_arg): Removed. (e_folder_list_set_property): New. (e_folder_list_get_property): New. (e_folder_list_destroy): Removed. (e_folder_list_dispose): New. (e_folder_list_class_init): Updated accordingly. * e-folder.c (impl_save_info): Use G_OBJECT_TYPE_NAME() instead of gtk_type_name(). (impl_load_info): Likewise. (impl_remove): Likewise. (class_init): Use g_signal_new() instead of gtk_signal_new(). svn path=/trunk/; revision=19170
* changed to use a gtkdialog instead of a gnome one.Not Zed2002-12-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-27 Not Zed <NotZed@Ximian.com> * main.c (show_development_warning): changed to use a gtkdialog instead of a gnome one. (warning_dialog_response_callback): clicked->response. * e-shell-folder-selection-dialog.c: Include gtk/gtkstock.h * e-shell-folder-creation-dialog.c: include gnome-dialog.h (dialog_response_cb): gtk_entry_get_text now returns const. Dont free result. * e-setup.c: include gnome-messagebox.h * *.c: (re)run fix.sh over all, for e_notice changes & pick up some deprecated functions. * e-shell-shared-folder-picker-dialog.c (shared_folder_discovery_callback): reformat e_notice call for script. * e-shell-offline-sync.c (impl_SyncFolderProgressListener_reportFailure): Fix e_notice call, we weren't passing type in. * e-shell-folder-commands.c (xfer_result_callback): changed around slightly to save some processing & allow a script to run. (e_shell_command_rename_folder): reformat e_notice call to help script. Include gnome-messagebox.h svn path=/trunk/; revision=18977
* re-enable importer wizard.Not Zed2002-11-181-1/+1
| | | | | | | | 2002-11-18 Not Zed <NotZed@Ximian.com> * e-shell-view-menu.c (file_verbs[]): re-enable importer wizard. svn path=/trunk/; revision=18823
* Removed. (impl_finalize): New. (class_init): Install finalize handler, notEttore Perazzoli2002-11-051-2/+4
| | | | | | | | | | | | | * e-shell-about-box.c (impl_destroy): Removed. (impl_finalize): New. (class_init): Install finalize handler, not destroy. * e-shell-view-menu.c (command_about_box): Use a GtkWindow again. Set the GTK_WINDOW_TYPE_HINT_DIALOG hint. * e-shell-about-box.c (e_shell_about_box_construct): Removed. svn path=/trunk/; revision=18534
* Pass TRUE for arg allow_creation to e_shell_folder_selection_dialog_new().Ettore Perazzoli2002-11-051-4/+2
| | | | | | | | | | | | | | | | | | | | | | * e-shell-folder-commands.c (e_shell_command_copy_folder): Pass TRUE for arg allow_creation to e_shell_folder_selection_dialog_new(). (e_shell_command_move_folder): Likewise. * e-shell-view-menu.c (command_goto_folder): Likewise. (command_new_shortcut): Likewise. * e-shell.c (impl_Shell_selectUserFolder): Likewise. * e-shell-folder-selection-dialog.c (e_shell_folder_selection_dialog_set_allow_creation): Removed. (e_shell_folder_selection_dialog_get_allow_creation): Removed. (e_shell_folder_selection_dialog_new): New arg allow_creation. (e_shell_folder_selection_dialog_construct): Likewise. Also, do set priv->shell. * e-shell-folder-selection-dialog.h, e-shell-folder-selection-dialog.c: Port to GtkDialog. svn path=/trunk/; revision=18533
* Changed all gtk_object_refs()/gtk_object_unrefs() intoEttore Perazzoli2002-11-041-25/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | * *.c, *.h: Changed all gtk_object_refs()/gtk_object_unrefs() into g_object_refs()/g_object_unrefs() and all gtk_signal_connect_*() into g_signal_connect_*(). [Except for some case where we have gtk_signal_connect_full() or gtk_signal_connect_while_alive() calls that cannot be trivially ported to use the g_signal_* functions, we'll have to fix those later.] * e-splash.c (impl_finalize): Finalize implementation, copied over from impl_destroy. (impl_destroy): Removed. (class_init): Override finalize, not destroy. * e-activity-handler.c: Ported from GtkObject to GObject. * evolution-storage.c: Likewise. * e-corba-shortcuts.c: Likewise. * evolution-session.h: Likewise. * evolution-config-control.c: Likewise. * evolution-shell-component-dnd.c: Likewise. * evolution-shell-component.c: Likewise. * evolution-shell-view.c: Likewise. * evolution-storage-set-view.c: Likewise. * evolution-wizard.c: Likewise. svn path=/trunk/; revision=18513
* Renamed from GNOME_Evolution_Shell.oaf.in.Ettore Perazzoli2002-11-041-16/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * GNOME_Evolution_Shell.server.in: Renamed from GNOME_Evolution_Shell.oaf.in. * Makefile.am: Port from OAF to bonobo-activation. (INCLUDES): Define SYSCONFDIR, DATADIR, LIBDIR. * main.c (main): Use gnome_program_init(). * e-corba-storage-registry.c (e_corba_storage_registry_new): g_object_new(), not gtk_type_new(). (impl_finalize): New, ported over from destroy. (destroy): Removed. (class_init): Install finalize handler, not destroy handler, since we are not a GtkObject anymore. * e-corba-storage.c (e_corba_storage_new): g_object_new(), not gtk_type_new(). * e-shell.c (class_init): Override finalize, not destroy. (impl_finalize): Finalize implementation, basically the old destroy renamed. (e_shell_new): g_object_new(), not gtk_type_new(). (class_init): Use e_shell_marshal_NONE__INT for line_status_changed instead of using an ENUM. (e_shell_construct): Use g_signal_connect_object() instead of gtk_signal_connect_while_alive(). * e-setup.c (e_setup): Do not unref local_folder if NULL. * e-folder.c (init): Make not floating. (e_folder_construct): No need to make it floating here anymore. * e-shell.c (impl_Shell_selectUserFolder): For now don't set dialog parent from xid. * main.c (no_views_left_cb): Add missing GTK_SIGNAL_FUNC() cast. (new_view_created_callback): Likewise. (warning_dialog_clicked_callback): Update to use the EConfigListener from the shell instead of bonobo-conf. (show_development_warning): Likewise. (upgrade_from_1_0_if_needed): BONOBO_EX_ID -> BONOBO_EX_REPOID. (idle_cb): Use bonobo-activation and BONOBO_EX_REPOID(). (main): Cleaned up the various things that are unneeded in GNOME 2. (upgrade_from_1_0_if_needed): Use EConfigListener. * evolution-storage-set-view.h, evolution-storage-set-view.c: BonoboXObjectified. * e-storage.c (class_init): GLIB2-ified and made to use e-shell-marshal.h. (ES_CLASS): Use GTK_OBJECT_GET_CLASS(). (e_storage_new_folder): Added missing GTK_SIGNAL_FUNC() prototype. * e-storage-set.c (class_init): GLIB2-ified and made to use e-shell-marshal.h. * e-storage-set-view.c (popup_folder_menu): For now, do not add the pop-up since we lack bonobo_ui_container_get_win() and I am not sure how to work around it. (popup_folder_menu): Pass self as the for_widget arg to gnome_popup_menu_do_popup_modal(). (class_init): GLIB2-ified, and got to use e-shell-marshal.h. (marshal_NONE__GDKDRAGCONTEXT_STRING_STRING_STRING): Removed. (impl_tree_drag_data_get): Don't set the selection for now -- we have to fix the CORBA target stuff to match GTK 2. (e_storage_set_view_construct): Pass NULL as the opt_ev arg to bonobo_ui_component_set_container(). * e-splash.c: #include <libgnomecanvas/gnome-canvas-pixbuf.h> instead of <gdk-pixbuf/gnome-canvas-pixbuf.h>. (e_splash_new): Pass NULL as the error arg to gdk_pixbuf_new_from_file(). * e-shortcuts.c (class_init): GLIB2-ified. Also use the e-shell-marshal marshallers. (e_shortcuts_new_view): Add missing GTK_SIGNAL_FUNC() cast. * e-shortcuts-view.c: Use GTK_STOCK_* stuff instead of GNOME_STOCK_* stuff. (pop_up_right_click_menu_for_group): Pass self as the for_widget arg to gnome_popup_menu_do_popup_modal(). (pop_up_right_click_menu_for_shortcut): Likewise. (class_init): GLIB2-ified. * e-shell.c: Do not #include <gal/util/e-unicode-i18n.h> or #include <libgnome/gnome-defs.h>. (set_interactive): Use BONOBO_EX_REPOID(). (setup_local_storage): Use _() not U_(). (destroy): Use gtk_widget_destroy() instead of gtk_object_destroy() on priv->settings_dialog. (class_init): GLIB2-ized. (init): Initialize config_listener member. (get_icon_path_for_component_info): Port to bonobo-activation from OAF. (setup_components): Likewise. (destroy): Likewise. (e_shell_construct): Use e_setup_check_config(), not e_setup_check_db (). Use the e_config_listener instead of bonobo-conf. (save_settings_for_views): Likewise. (save_misc_settings): Likewise. (e_shell_restore_from_settings): Likewise. (parse_default_uri): Likewise. (e_shell_component_maybe_crashed): Pass NULL for opt_ev arg to bonobo_unkown_ping() (e_shell_component_maybe_crashed): Use bonobo_engine_deregister_dead_components() instead of bonobo_window_deregister_component_by_ref() which is no more. (e_shell_send_receive): BONOBO_EX_REPOID() instead of BONOBO_EX_ID(). (e_shell_get_config_listener): Return the config_listener. * e-shell-view.c (find_inbox_in_storage): Use _() instead of U_(). (load_images): Pass NULL as the error arg to gdk_pixbuf_new_from_file(). (load_images): Likewise. (find_inbox_in_storage): Work around the lack of g_utf8_strcasecmp() in glib-2.0. (class_init): GLIB2-ified. Also, use the marshallers in e-shell-marshal.h. (pop_up_folder_bar): Use gtk_window_move()/gtk_widget_show() instead gtk_widget_popup(). (unmerge_on_error): Work around the death of bonobo_ui_component_get_win() and bonobo_window_deregister_component_by_ref(). (e_shell_view_construct): Pass NULL as the uic arg to bonobo_window_construct(). Add missing GTK_SIGNAL_FUNC() cast. Match the new BonoboWindow behavior wrt the UIContainer and the new opt_ev args. (display_uri): Use bonobo_ui_engine_freeze() and bonobo_ui_engine_thaw() since bonobo_window_freeze() and bonobo_window_thaw() got axed [sigh]. (e_shell_view_save_settings): Use EConfigListener. (e_shell_view_load_settings): Likewise. (get_view_for_uri): Use bonobo_widget_new_control_from_objref() instead of e_bonobo_widget_new_control_from_objref(). * e-shell-view-menu.c (command_help_faq): Pass NULL for the error arg to gnome_url_show(). (command_about_box): Use GtkDialog instead of a GtkWindow of a type GTK_WINDOW_DIALOG [which does not exist anymore]. (command_xml_dump): Removed. (menu_do_misc): Do not add the corresponding verb. * e-shell-user-creatable-items-handler.c (execute_verb): Use BONOBO_EX_REPOID(). * e-shell-startup-wizard.c: Remove id member from SWData. Replace member db with config_listener. (e_shell_startup_wizard_create): Initialize config_listener. (make_mail_dialog_pages): Do not set the listener id here. (druid_event_notify_cb): Pass FALSE as the help_sensitive arg to gnome_druid_set_buttons_sensitive(). (e_shell_startup_wizard_create): Likewise. (make_mail_dialog_pages): Use bonobo-activation instead of OAF. (get_intelligent_importers): Likewise. (prepare_importer_page): Likewise. (start_importers): Do nothing here for now. (finish_func): Constify local variable displayname. (finish_func): Updated to use the config_listener instead of the bono-conf db. (prepare_importer_page): Do not actually run the importer yet. (e_shell_startup_wizard_create): Pass NULL as the domain arg to glade_xml_new(). Use the config_listener. * e-shell-shared-folder-picker-dialog.c (user_clicked): BONOBO_EX_REPOID() instead of BONOBO_EX_ID(). (setup_name_selector): Likewise. (setup_name_selector): Use bonobo-activation. (show_dialog): Pass NULL as the domain arg to glade_xml_new(). (setup_name_selector): Add a missing GTK_SIGNAL_FUNC() cast. * e-shell-settings-dialog.c: #include <bonobo-activation/bonobo-activation.h>. Use Bonobo_ActivationProperty instead of OAF_Property. (set_dialog_size): Use gtk_style_get_font() to get the font from the widget->style. (load_pages): Converted to use bonobo-activation instead of OAF. Pass NULL as the error arg to gdk_pixbuf_new_from_file(). * e-shell-offline-sync.c (sync_folder): BONOBO_EX_REPOID(), not BONOBO_EX_ID(). (e_shell_offline_sync_all_folders): For now, avoid doing anything [see changes to e-shell-config-offline.c below]. (setup_progress_listener): #if 0 for now. (setup_dialog): Likewise. (sync_folder): Likewise. (cleanup): Likewise. (progress_listener_servant_free): Likewise. (progress_listener_servant_new): Likewise. (impl_SyncFolderProgressListener_updateProgress): Likewise. (impl_SyncFolderProgressListener_reportSuccess): Likewise. (impl_SyncFolderProgressListener_reportFailure): Likewise. (progress_dialog_close_callback): Likewise. (progress_dialog_clicked_callback): Likewise. * e-shell-offline-handler.c (prepare_for_offline): Use BONOBO_EX_REPOID(). (pop_up_confirmation_dialog): Pass NULL as the domain arg to glade_xml_new(). (class_init): GLIB2-ified. * Makefile.am: Do not compile e-shell-importer.c, e-shell-importer.h for now. * e-shell-folder-title-bar.c (get_max_clipped_label_width): Use gtk_style_get_font() to retrieve the font. (class_init): GLIB2-ified. (e_shell_folder_title_bar_construct): Get {x,y}thickness from widget->style, not from widget->style->klass. * e-shell-folder-selection-dialog.c: #include <string.h>, <gtk/gtklabel.h> and <gtk/gtksignal.h>. (class_init): GLIB2-ified. * e-shell-folder-creation-dialog.c: No <libgnome/gnome-defs.h>, add some GTK includes. (e_shell_show_folder_creation_dialog): Pass NULL as the domain arg to glade_xml_new(). Added missing GTK_SIGNAL_FUNC() cast. * e-shell-folder-commands.c: Do not #include <libgnomeui/gnome-stock.h> and #include <bonobo-conf/Bonobo_Config.h>. * e-shell-config-default-folders.c: Replace member db in EvolutionDefaultFolderConfig with config_listener. (e_shell_config_default_folders_create_widget): Init here. (config_control_destroy_cb): Unref here. (config_control_apply_cb): Use EConfigListener instead of BonoboConf. (setup_folder_selector): Likewise. (e_shell_config_default_folders_create_widget): Pass NULL as the domain arg to glade_xml_new(). * e-shell-config-offline.c (config_control_apply_callback): For now, do not change the configuration. [Needs to be ported to EConfigListener or something, but we were storing a sequence using typecodes here and there is no trivial way to do that right now.] (init_storage_set_view_status_from_config): Likewise, do not retrieve the configuration here. svn path=/trunk/; revision=18510
* Increase the width slightly.Ettore Perazzoli2002-10-291-0/+2
| | | | | | | | | | * e-shell-settings-dialog.c (set_dialog_size): Increase the width slightly. * e-shell-view-menu.c: Set "settings.png" as the icon for /menu/Tools/Settings. svn path=/trunk/; revision=18460
* Calls e_shell_command_remove_shared_folder. (file_verbs): Set upDan Winship2002-10-011-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-view-menu.c (command_remove_other_users_folder): Calls e_shell_command_remove_shared_folder. (file_verbs): Set up command_remove_other_users_folder. * e-shell-folder-commands.c (e_shell_command_remove_shared_folder): New. Calls e_storage_set_async_remove_shared_folder with a callback to pop up an error dialog if it fails. * e-storage-set.c (e_storage_set_async_remove_shared_folder): Implement. Mostly like async_remove_folder. * e-storage.c (e_storage_supports_shared_folders, e_storage_async_discover_shared_folder, e_storage_async_remove_shared_folder): New methods. Default implementations return FALSE, NOTIMPLEMENTED, and NOTIMPLEMENTED. * e-corba-storage.c (supports_shared_folders, async_discover_shared_folder, async_remove_shared_folder): Implement using CORBA. * Evolution-Storage.idl: add Storage_asyncRemoveSharedFolder * e-shell-shared-folder-picker-dialog.c: Remove all the CORBA stuff from here and use the new EStorage methods. (setup_server_option_menu): Use e_storage_supports_shared_folders. (discover_folder): Use e_storage_async_discover_shared_folder. * evolution-storage.c (impl_Storage_asyncRemoveSharedFolder): Implement this by emitting a REMOVE_SHARED_FOLDER signal. (impl_Storage_asyncDiscoverSharedFolder): Make the DISCOVER_SHARED_FOLDER signal put the Bonobo_Listener first like all the other signals do. (class_init): Set up REMOVE_SHARED_FOLDER signal. svn path=/trunk/; revision=18265
* Placate compiler.Ettore Perazzoli2002-09-251-1/+1
| | | | | | | | | | | | | * e-shell-view-menu.c (launch_pilot_settings): Placate compiler. * e-shell-folder-commands.c (xfer_result_callback): When FOLDER_COMMAND_MOVE, update the shortcuts by using e_shortcuts_update_shortcuts_for_changed_uri(). * e-shortcuts.c (e_shortcuts_update_shortcuts_for_changed_uri): New. svn path=/trunk/; revision=18206
* Add PilotConduitSettings verb. [#14019]Ettore Perazzoli2002-09-241-17/+33
| | | | | | | (command_pilot_conduit_settings): Implementation for the verb. (launch_pilot_settings): Helper function. svn path=/trunk/; revision=18201
* Use e_shell_request_close_view().Ettore Perazzoli2002-09-241-8/+2
| | | | | | | | | | | * e-shell-view-menu.c (command_close): Use e_shell_request_close_view(). * e-shell.c (e_shell_request_close_view): New, code moved out of view_delete_event_cb(). (view_delete_event_cb): Use it. svn path=/trunk/; revision=18183
* Pass TRUE as @queue to e_shell_view_display_uri().Ettore Perazzoli2002-09-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell.c (create_view): Pass TRUE as @queue to e_shell_view_display_uri(). * e-shell-view-menu.c (command_activate_view): Pass TRUE as @queue to e_shell_view_display_uri(). (goto_folder_dialog_folder_selected_cb): Likewise. * e-shell-shared-folder-picker-dialog.c (shared_folder_discovery_listener_callback): Pass TRUE as @queue to e_shell_view_display_uri(). * e-shell-view.c (display_uri): New arg @queue. If true, it allows the delayed_selection mechanism to happen transparently (returning TRUE, while before it used to return FALSE). Otherwise, refuse to queue the URI and return FALSE. (e_shell_view_display_uri): New arg @queue; pass it to display_uri(). (handle_current_folder_removed): Pass TRUE as @queue to e_shell_view_display_uri(). (set_folder_timeout): Likewise. (switch_on_folder_tree_click): Likewise. (activate_shortcut_cb): Likewise. (corba_interface_change_current_view_cb): Likewise. (socket_destroy_cb): Likewise. (socket_destroy_cb): Likewise. (e_shell_view_load_settings): Here, try displaying the old URI with @queue set to FALSE; if this fails, display the default URI and then invoke display again using @queue = TRUE so it gets queued up. This should fix #27721. svn path=/trunk/; revision=17972
* Capitalize the title of the dialog for consistency.Ettore Perazzoli2002-07-271-1/+1
| | | | | | | | | | | * e-shell-view-menu.c (command_new_shortcut): Capitalize the title of the dialog for consistency. * e-shell-folder-creation-dialog.c (setup_dialog): Don't prepend the window's title with "Evolution -" since we don't do that anywhere else. Also capitalize properly. svn path=/trunk/; revision=17616
* (command_work_online): Remove debuggingEttore Perazzoli2002-07-241-2/+0
| | | | | | | message. (command_work_offline): Likewise. svn path=/trunk/; revision=17563
* If the custom_icon_name is not NULL, return the pixbuf for it.Ettore Perazzoli2002-07-101-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shortcuts-view-model.c (get_icon_for_item): If the custom_icon_name is not NULL, return the pixbuf for it. * e-storage-set-view.c: #include "e-icon-factory.h". * e-shortcuts-view.c (impl_shortcut_dropped): Pass the custom_icon_name. (get_shortcut_info): New arg @custom_icon_name_return. (rename_shortcut_cb): Pass the custom_icon_name here. * e-shell-view-menu.c (new_shortcut_dialog_folder_selected_cb): Pass the custom_icon_name for the folder's shortcut. * e-shell-folder-commands.c (e_shell_command_add_to_shortcut_bar): Pass the custom_icon_name for the folder's shortcut. * e-corba-shortcuts.c (impl_add): Use the customIconName member in struct ::Shortcuts::Shortcut. (shorcut_list_to_corba): Set the customIconName member on the returned shortcuts. (impl_get): Likewise. * Evolution-Shortcuts.idl: New member customIconName in struct Shortcut. * e-shortcuts.c (shortcut_item_new): New arg @custom_icon_name; initialize the member in EShortcutItem from it. (shortcut_item_update): New arg @custom_icon_name; set the custom_icon_name from it. Also remove some braindeadness from this code. (update_shortcut_and_emit_signal): New arg @custom_icon_name. (load_shortcuts): Load the custom icon name from the XML [eg. <item name="foo" type="mail" icon="inbox">]. (save_shortcuts): Save the custom icon name in the XML. (e_shortcuts_add_shortcut): New arg @custom_icon_name. (update_shortcuts_by_path): Pass the custom_icon_name to update_shortcut_and_emit_signal(). (e_shortcuts_update_shortcut): New arg @custom_icon_name; pass it to update_shortcut_and_emit_signal(). (e_shortcuts_add_default_group): Pass "inbox" as the custom_icon_name for the inbox shortcut, and NULL for the other shortcuts. * e-shortcuts.h: New member custom_icon_name in EShortcutItem. svn path=/trunk/; revision=17394
* Connect about_box_event_callback() to the "key_press_event" signal asEttore Perazzoli2002-05-311-0/+2
| | | | | | | | | * e-shell-view-menu.c (command_about_box): Connect about_box_event_callback() to the "key_press_event" signal as well. This way the about box is closed when you press a key too. [#25349] svn path=/trunk/; revision=17044
* No more @default_type arg to e_shell_folder_selection_dialog_new().Ettore Perazzoli2002-05-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell.c (impl_Shell_selectUserFolder): No more @default_type arg to e_shell_folder_selection_dialog_new(). * e-shell-view-menu.c (command_goto_folder): No more @default_type arg to e_shell_folder_selection_dialog_new(). (command_new_shortcut): Likewise. * e-shell-importer.c (import_druid_finish): No more @default_type arg to e_shell_folder_selection_dialog_new(). * e-shell-folder-commands.c (e_shell_command_move_folder): No more @default_type arg to e_shell_folder_selection_dialog_new(). (e_shell_command_copy_folder): Likewise. * e-shell-folder-selection-dialog.c: Removed default_type member in EShellFolderSelectionDialogPrivate. (e_shell_folder_selection_dialog_new): Removed @default_type arg. (e_shell_folder_selection_dialog_construct): Likewise. (impl_clicked): Just pass the first of the allowed types to e_shell_show_folder_creation_dialog() for the default type. * evolution-shell-client.c (user_select_folder): No more @default_type arg to the ::userSelectFolder CORBA method. * Evolution-Shell.idl (selectUserFolder): Remove arg @default_type. svn path=/trunk/; revision=16983
* Ask e_shell_prepare_for_quit() before destroying the view if it's the lastEttore Perazzoli2002-05-161-1/+8
| | | | | | | | | | * e-shell.c (view_delete_event_cb): Ask e_shell_prepare_for_quit() before destroying the view if it's the last one. * e-shell-view-menu.c (command_close): Synthesize a delete_event on the view instead of directly destroying it. svn path=/trunk/; revision=16931
* Check with e_shell_prepare_for_quit() before quitting.Ettore Perazzoli2002-05-161-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-view-menu.c (command_quit): Check with e_shell_prepare_for_quit() before quitting. * e-shell.c (e_shell_prepare_for_quit): New. * evolution-test-component.c (request_quit_fn): New function asking for confirmation to quit. * evolution-shell-component.c (evolution_shell_component_new): New arg @request_quit_fn. (impl_requestQuit): New, implementation for EvolutionShellComponent::requestQuit. (evolution_shell_component_result_to_string): Handle EVOLUTION_SHELL_COMPONENT_CANCEL. (evolution_shell_component_client_request_quit): New. * Evolution-ShellComponent.idl (requestQuit): New. * component-factory.c (create_component): Pass NULL as @request_quit_fn. * component-factory.c (create_component): Pass NULL as @request_quit_fn. * gui/component-factory.c (create_object): Pass NULL as @request_quit_fn. * gui/component/addressbook-component.c (create_component): Pass NULL as @request_quit_fn. svn path=/trunk/; revision=16925
* Added some tests for the custom storage.Ettore Perazzoli2002-05-111-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-test-component.c: Added some tests for the custom storage. * evolution-storage.c: New signal DISCOVER_SHARED_FOLDER. (impl_Storage_asyncXferFolder): Renamed from impl_Storage_async_xfer_folder. (impl_Storage_asyncRemoveFolder): Renamed from impl_Storage_async_remove_folder. (impl_Storage_asyncCreateFolder): Renamed from impl_Storage_async_create_folder. (impl_Storage_asyncOpenFolder): Renamed from impl_storage_async_open_folder. (impl_Storage_addListener): Renamed from impl_Storage_add_listener. (impl_Storage_removeListener): Renamed from impl_Storage_remove_listener. (impl_Storage_asyncDiscoverSharedFolder): New, implementation for ::asyncDiscoverSharedFolder. (evolution_storage_get_epv): Install the CORBA method here. (class_init): Set up the "discover_shared_folder" signal here. (e_marshal_NONE__POINTER_POINTER): Yet Another Marshaller. Die die die. * Evolution-Storage.idl (Storage::asyncDiscoverSharedFolder): New method. (StorageListener::notifySharedFolderDiscovered): New method. * e-shell-view-menu.c (command_open_other_users_folder): New, implementation for the FileOpenOtherUsersFolder verb. * Makefile.am: Generate stubs and skels for Evolution::Addressbook::SelectNames as well. * glade/e-shell-shared-folder-picker-dialog.glade: New. svn path=/trunk/; revision=16746
* emit show_settings signal (corba_class_init): assign epv methodJP Rosevear2002-04-191-11/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-04-18 JP Rosevear <jpr@ximian.com> * evolution-shell-view.c (impl_ShellView_show_settings): emit show_settings signal (corba_class_init): assign epv method (class_init): add signal * evolution-shell-view.h: new signal * e-shell.c (init): init settings_dialog private member (settings_dialog_destroy_cb): reset dialog pointer (e_shell_show_settings): show the settings dialog, bring it to the front if one already exists for this shell * e-shell.h: new proto * e-shell-view.c (corba_interface_show_settings): implement showSettings method (setup_corba_interface): listen for show_settings signal (e_shell_view_show_settings): show the settings dialog * e-shell-view.h: new proto * e-shell-view-menu.c (command_settings): call e_shell_view_show_settings instead * Evolution-ShellView.idl: add showSettings method svn path=/trunk/; revision=16510
* set type (load_pages): get the oaf property for type and track the pageJP Rosevear2002-04-071-2/+5
| | | | | | | | | | | | | | | | | | | | 2002-04-06 JP Rosevear <jpr@ximian.com> * e-shell-settings-dialog.c (page_new): set type (load_pages): get the oaf property for type and track the page number of the highest priority for each type (destroy_type_entry): destroy hash func (impl_destroy): destroy the hash table (init): create private struct and hash table (e_shell_settings_dialog_show_type): show the page of the given type * e-shell-view-menu.c (command_settings): show the page for the current folder type by default * e-shell-settings-dialog.h: new proto svn path=/trunk/; revision=16376
* Make all the verb/menu arrays appropriately static.Ettore Perazzoli2002-03-211-6/+6
| | | | | | | * e-shell-view-menu.c: Make all the verb/menu arrays appropriately static. svn path=/trunk/; revision=16221
* Move the ComponentActionsPlaceholder into the Actions menu, instead of theEttore Perazzoli2002-03-211-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution.xml: Move the ComponentActionsPlaceholder into the Actions menu, instead of the Actions menu being in the ComponentActionsPlaceholder. * evolution-addressbook.xml: Updated accordingly. * evolution-calendar.xml: Updated accordingly. * evolution-mail-global.xml: Updated accordingly. * evolution-mail-list.xml: Updated accordingly. * evolution-mail-message.xml: Updated accordingly. * evolution-mail-messagedisplay.xml: Updated accordingly. * evolution-tasks.xml: Updated accordingly. * evolution.xml: Add "SendReceive" verb, menu item and toolbar button. * evolution-mail-global.xml: Remove "MailGetSend" verb and menu item. * e-shell-view-menu.c (command_send_receive): New, implementation for the "SendReceive" verb. * e-shell.c (e_shell_send_receive): New. * evolution-shell-component.c (impl_sendReceive): Implementation of ShellComponent::sendReceive. (class_init): Add the "send_receive" signal. * evolution-shell-component.h: Added `send_receive' signal. * Evolution-ShellComponent.idl: Added ShellComponent::sendReceive. * component-factory.c (send_receive_cb): New, callback for the "send_receive" signal on the EvolutionShellComponent. (create_component): Connect. * folder-browser-ui.c: Remove verb "MailGetSend". * mail-callbacks.c (send_receive_mail): Removed. * mail-send-recv.c: Remove member current_folder from struct _send_data. (free_send_data): No need to unref here. (build_dialogue): Removed arg @current_folder. (mail_send_receive): Likewise. svn path=/trunk/; revision=16220
* New function to create a test configuration page for the test component.Ettore Perazzoli2002-03-081-13/+37
| | | | | | | | | | | | | | | | | | | | | * evolution-test-component.c (create_configuration_page): New function to create a test configuration page for the test component. (configuration_control_factory_fn): Factory function for the configuration controls. (register_configuration_control_factory): New function to register the factory. (main): Call it. * e-shell-view-menu.c: Add verb "Settings". (command_settings): Implementation for the "Settings" verb. * GNOME_Evolution_TestComponent.oaf: Add a configuration control. * e-shell-settings-dialog.c: New. * e-shell-settings-dialog.h: New. svn path=/trunk/; revision=15977
* Don't show the folder bar and the shortcut bar in the new window.Ettore Perazzoli2002-02-211-0/+3
| | | | | | | | | | | | | | | | | | | | | * e-shell-view-menu.c (command_open_folder_in_new_window): Don't show the folder bar and the shortcut bar in the new window. * e-shell-view.c (activate_shortcut_cb): Don't show the folder bar and the shortcut bar in the new window. * e-shell-view.c (e_shell_create_view): Don't flush the GTK events here. * e-shell.c (e_shell_construct): New arg @start_online. If true, invoke `e_shell_go_online()' before returning. (e_shell_new): New arg @start_online. Pass it to e_shell_construct(). (init): Default ->line_status to E_SHELL_LINE_STATUS_OFFLINE. * main.c (main): Add "--offline" and "--online" options. svn path=/trunk/; revision=15776
* [Fix #7827, Switching desktops leaves the folder bar popped up.]Ettore Perazzoli2001-12-061-0/+16
| | | | | | | | | | | | | | | * 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
* Fix the license text to make sense.Ettore Perazzoli2001-10-271-1/+0
| | | | svn path=/trunk/; revision=14192
* Update the licensing information to require version 2 of the GPLEttore Perazzoli2001-10-271-2/+2
| | | | | | explicitly. svn path=/trunk/; revision=14186
* Set the GtkWindow policy so that @allow_shrink, @allow_grow andEttore Perazzoli2001-10-271-0/+1
| | | | | | | | * 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
* Add accelerators for "Work Offline" and "Work Online".Ettore Perazzoli2001-10-261-2/+2
| | | | | | | * e-shell-view-menu.c (update_offline_menu_item): Add accelerators for "Work Offline" and "Work Online". svn path=/trunk/; revision=14119
* No need to gtk_widget_show() the view anymore.Ettore Perazzoli2001-10-231-2/+0
| | | | | | | | | | | | | | | | | | | | * 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
* Use EShellAboutBox. (zero_pointer): Removed.Ettore Perazzoli2001-10-201-64/+33
| | | | | | | | | | * 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
* [Fix #7643, Starting new view doesn't honor "view" settings.]Ettore Perazzoli2001-10-121-1/+1
| | | | | | | | | | | | | | | | | | | | * 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
* This is a message, not a warning! (command_work_online): This is also aJon Trowbridge2001-10-061-2/+2
| | | | | | | | | | | 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
* Allow callers to set the default type of folder to be created.Iain Holmes2001-09-291-2/+3
| | | | svn path=/trunk/; revision=13220
* Remove. (command_new_mail_message): Removed. (command_pilot_settings):Ettore Perazzoli2001-09-281-32/+38
| | | | | | | | | * 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
* 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
* [Implemented the "Rename" command. Warning, it doesn't quite workEttore Perazzoli2001-09-261-1/+2
| | | | | | | | | | | | | | | | | | | | | 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-261-18/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* [Fix #5990, Remembering Evolution window geometry.]Ettore Perazzoli2001-09-141-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Replace "Evolution" with "Ximian Evolution" in a bunch of user-visibleEttore Perazzoli2001-09-061-2/+2
| | | | | | places. svn path=/trunk/; revision=12625
* New, replacing `shortcut_bar_mode_changed_cb'.Ettore Perazzoli2001-08-191-37/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* I know what you did last summer!Jason Leach2001-08-171-0/+1
| | | | | | | | 2001-08-16 Jason Leach <jleach@ximian.com> * AUTHORS: I know what you did last summer! svn path=/trunk/; revision=12140
* Remove the Help menu verbs and add a "HelpFAQ" verb. (command_help):Ettore Perazzoli2001-08-171-11/+5
| | | | | | | | | * 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
* Don't hardcode/build a help URI here, use gnome_help_display() instead,Jason Leach2001-08-161-9/+8
| | | | | | | | | | | | | 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
* Changed help menus to point to evolution/ and not evolution-guide/.Aaron Weber2001-08-161-5/+5
| | | | | | | | | 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
* [Removing Evolution::LocalStorage interface, abstracting the unread countsJason Leach2001-08-041-3/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-03 Jason Leach <jleach@ximian.com> [Removing Evolution::LocalStorage interface, abstracting the unread counts from a folder's name, also abstract unread counts from a shortcut's name. Fixes #4489 and #5497] * e-shortcuts.c (shortcut_item_new): Take an unread_count argument now. (shortcut_item_update): Ditto. * e-shortcuts-view-model.c (get_name_with_unread): Get a string containing a shortcut name and it's unread, because these are abstracted now. (load_group_into_model): Use the above function to make shortcuts that have unread counts. * e-storage-set-view.c (update_folder_with_unread_hash): Keep a hash of folder names with unread counts, because the folder name and it's unread count are to be separated, only the ETree is supposed to present it as one string. * e-shell-view.c: Renamed EShellView::view_title_bar to folder_title_bar, to closer match the * e-shell-view-menu.c (new_shortcut_dialog_folder_selected_cb): Make a shortcut with the unread count. * e-shell-folder-commands.c (e_shell_command_add_to_shortcut_bar): Make a shortcut with the unread count. * e-local-storage.c: Updated for API changes. * e-folder.c (e_folder_get_unread_count): New function, does what it says. (e_folder_set_unread_count): Ditto. * e-corba-storage.c (impl_StorageListener_new_folder): Renamed to match the IDL function name. (impl_StorageListener_update_folder): Ditto. (impl_StorageListener_removed_folder): Ditto. * Evolution-Storage.idl (struct Folder): Replace the boolean highlighted with a long unread_count. (updateFolder): Brought in from the now dead Evolution::LocalStorage. * Evolution-Shell.idl (getLocalStorage): Return a Storage instead of a LocalStorage. * Evolution-LocalStorage.idl: Removed, no longer needed, only used function, updateFolder, has been moved into Evolution::Storage interface. * evolution-local-storage.[ch]: Ditto. * evolution-storage.c (impl_Storage_updateFolder): Implementation of the updateFolder taken from ::LocalStorage. (class_init): New "update_folder" signal, taken from evolution-local-storage.c too. (evolution_storage_update_folder): Take an @unread_count int instead of a @highlighted boolean. (evolution_storage_new_folder): Same for here. (evolution_storage_update_folder_by_uri): And here. * evolution-storage-listener.h: "update_folder" signal no longer sends a @highlighted boolean. 2001-08-03 Jason Leach <jleach@ximian.com> * e-shell-view-menu.c (update_offline_menu_item): Use Jakub's new "Work Online" icon and fix a typo. svn path=/trunk/; revision=11633
* Do a NULL-check on current_uri - socket is being closed? (as per theJeffrey Stedfast2001-08-021-4/+4
| | | | | | | | | | 2001-08-01 Jeffrey Stedfast <fejj@ximian.com> * e-shell-view-menu.c (command_new_folder): Do a NULL-check on current_uri - socket is being closed? (as per the comments for the NULL-check in e-shell-view.c:socket_destroy_cb). svn path=/trunk/; revision=11557
* Little UI nit: capitalize the words Offline/Online for the File menu.Jason Leach2001-07-271-3/+3
| | | | | | | | | 2001-07-26 Jason Leach <jleach@ximian.com> * e-shell-view-menu.c (update_offline_menu_item): Little UI nit: capitalize the words Offline/Online for the File menu. svn path=/trunk/; revision=11428
* Get the manuals from the `evolution-guide' dir as that's where they getEttore Perazzoli2001-07-241-5/+5
| | | | | | | * e-shell-view-menu.c: Get the manuals from the `evolution-guide' dir as that's where they get installed. svn path=/trunk/; revision=11309
* Fix a crash that could happen by closing one or more views, and thenEttore Perazzoli2001-07-151-2/+3
| | | | | | clicking on the off-line button. svn path=/trunk/; revision=11107
* Because bugzilla.ximian does have a mail gateway now, we can haveJason Leach2001-07-131-21/+5
| | | | | | | | | | 2001-07-12 Jason Leach <jleach@ximian.com> * e-shell-view-menu.c (command_submit_bug): Because bugzilla.ximian does have a mail gateway now, we can have Help->Submit Bug Report open up bug-buddy. svn path=/trunk/; revision=11075
* Get the File -> Folder -> Properties menu item work again for theEttore Perazzoli2001-07-051-13/+0
| | | | | | mailer. svn path=/trunk/; revision=10793
* Implemented the `File -> New -> Shortcut' command.Ettore Perazzoli2001-07-011-14/+77
| | | | | | | I have also implemented a "no-new-button" mode for the folder selection dialog widget. svn path=/trunk/; revision=10655
* Rename `e_shell_new_view()' into `e_shell_create_view()' to avoidEttore Perazzoli2001-06-281-1/+1
| | | | | | confusion with `e_shell_view_new()'. svn path=/trunk/; revision=10556
* Remove the ugliness that was `e_shell_quit()'; implement anEttore Perazzoli2001-06-251-3/+1
| | | | | | | `e_shell_destroy_all_views()' function instead, and get the "Exit" menu item to use that instead. svn path=/trunk/; revision=10467
* Fix a bunch of stupid warnings caused by missing includes. AlsoEttore Perazzoli2001-06-231-0/+3
| | | | | | placate GCC on a bogus "uninitialized variable" error. svn path=/trunk/; revision=10438
* Fix the "Quit" command so that the shell actually exits properly.Ettore Perazzoli2001-06-231-0/+2
| | | | svn path=/trunk/; revision=10435
* Fix the help URLsDan Winship2001-06-191-6/+5
| | | | | | * e-shell-view-menu.c: Fix the help URLs svn path=/trunk/; revision=10265
* Plug in all the folder tree right click menu verbs so bonobo-warningsJason Leach2001-06-061-0/+38
| | | | | | | | | | | | | | | | 2001-06-05 Jason Leach <jleach@ximian.com> * e-shell-view-menu.c: Plug in all the folder tree right click menu verbs so bonobo-warnings aren't emitted (even though the respective implementation functions are currently unimplemented). (command_delete_folder): New function, see above. (command_rename_folder): Ditto. (command_folder_properties): Ditto. * e-shell-folder-commands.c (e_shell_command_delete_folder): New function, currently unimplemented. svn path=/trunk/; revision=10128
* Removed an unecessary sleep(2) call, so evolution will start up 2 secondsJason Leach2001-05-311-0/+13
| | | | | | | | | | | | | | | | | | | | | 2001-05-30 Jason Leach <jleach@ximian.com> * e-shell.c (e_shell_construct): Removed an unecessary sleep(2) call, so evolution will start up 2 seconds faster now. 2001-05-30 Jason Leach <jleach@ximian.com> * e-shell-view-menu.c: Connect the AddFolderToShortcutBar verb to their implementation functions. * e-shell-view.c (e_shell_view_get_current_shortcuts_group_num): New function, use it to find out which shourtcut group is currently open on the shortcut bar. * e-shell-folder-commands.c (e_shell_command_add_to_shortcut_bar): Implement this using new function described above. svn path=/trunk/; revision=10052
* New file. (e_pixmaps_update): Moved here from e-util to break e-utilDan Winship2001-05-281-1/+1
| | | | | | | | | | | | | | * evolution-shell-component-utils.c: New file. (e_pixmaps_update): Moved here from e-util to break e-util bonobo dependency. * e-shell-view-menu.c: #include "evolution-shell-component-utils.h" instead of "e-gui-utils.h" * Makefile.am (libeshell_la_SOURCES, eshellinclude_HEADERS): Add evolution-shell-component-utils.[ch] svn path=/trunk/; revision=10018
* Implemented the "Copy Folder" and "Move Folder" menu items. Untested.Ettore Perazzoli2001-05-201-0/+12
| | | | svn path=/trunk/; revision=9899
* Add a caption to the folder selection dialog widget, and get theEttore Perazzoli2001-05-201-0/+16
| | | | | | existing dialogs in the shell to use it. svn path=/trunk/; revision=9894
* Renamed the "NewWindow" verb into "OpenFolderInNewWindow". Got theEttore Perazzoli2001-05-191-4/+12
| | | | | | `File -> Folder -> Open in New Window' menu item to work. svn path=/trunk/; revision=9893
* Create new files for the folder commands, and move the "Create newEttore Perazzoli2001-05-191-12/+3
| | | | | | folder" implementation into them. svn path=/trunk/; revision=9889
* Make the "Submit Bug Report" menu item fire up a browser withEttore Perazzoli2001-05-161-1/+19
| | | | | | | | http://bugzilla.ximian.com in it, rather than Bug Buddy (which will not work with our bug tracker, as the latter doesn't have an email interface yet). svn path=/trunk/; revision=9836
* Add an "Evolution FAQ" entry to the Help menu, and update the existingEttore Perazzoli2001-05-161-5/+6
| | | | | | entries for the guide's chapters to match the new paths. svn path=/trunk/; revision=9835
* Update the file name in the top comment.Ettore Perazzoli2001-05-161-1/+1
| | | | svn path=/trunk/; revision=9833
* Some demeeksifying indentation changes.Ettore Perazzoli2001-05-161-25/+16
| | | | svn path=/trunk/; revision=9832
* Ask for a folder to import into.Iain Holmes2001-05-121-1/+1
| | | | svn path=/trunk/; revision=9775
* Added command entry for 'ToggleOffline'.Jon Trowbridge2001-05-081-2/+2
| | | | | | | | | | | | | 2001-05-07 Jon Trowbridge <trow@ximian.com> * evolution.xml: Added command entry for 'ToggleOffline'. 2001-05-07 Jon Trowbridge <trow@ximian.com> * e-shell-view-menu.c (update_offline_menu_item): Changed some references to /commands/WorkOffline to /commands/ToggleOffline. svn path=/trunk/; revision=9699
* Complete the shell side for supporting off-line operations, gettingEttore Perazzoli2001-05-041-16/+91
| | | | | | | the dialog to fully work and the menu item to change its label according to the current status of the line. svn path=/trunk/; revision=9662
* Initial implementation for the "warning, some connections are stillEttore Perazzoli2001-05-041-1/+32
| | | | | | active" dialog. svn path=/trunk/; revision=9661
* Blessed by Ettore.Gediminas Paulauskas2001-04-021-0/+12
| | | | | | | | | | | | | | Guided by Jacub Stener's mail, where he explaned which icons were renamed or added, I added a bunch of new icons to menus, fixed renamed ones. Changed Trash and Executive summary folder type icons. Fixed art/Makefile.am for these changes. Also, pulled icon cache from mailer and moved it to e-util/e-gui-utils.h, made all components and dialogs use cache and not load pixmaps every time. Accidentally got a couple of includes fix in, but they won't break anything. svn path=/trunk/; revision=9092
* Remove/replace unneeded includes and move around stuff so that systemKjartan Maraas2001-03-301-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-29 Kjartan Maraas <kmaraas@gnome.org> * e-component-registry.c: Remove/replace unneeded includes and move around stuff so that system headers are included first. * e-corba-storage.c: Replace #include <bonobo.h> * e-folder-tree.c: Shuffle. * e-folder.c: Remove #include <gtk/gtkobject.h> * e-local-storage.c: Replace #include <gnome.h> and <bonobo.h> * e-setup.c: Replace #include <glib.h> and <gnome.h> * e-shell-folder-creation-dialog.c: Replace #include <gnome.h> * e-shell-folder-title-bar.c: Replace <gnome.h> * e-shell-utils.c: Same here. * e-shell-view-menu.c: Same here (and <bonobo.h>) * e-shell-view.c: Replace <gnome.h> and <bonobo.h> * e-shell.c: Replace <gnome.h> * e-shell.h: Shuffle. * e-shortcuts-view-model.c: Replace <gnome.h> * e-shortcuts-view.c: Remove #include <gnome.h> * e-shortcuts.c: Move <string.h> up. * e-splash.c: Replace <gnome.h> * e-storage-set-view.c: Replace <gnome.h> * e-storage-set.c: Shuffle * e-storage.c: Replace <gnome.h> * evolution-local-storage.c: Same here * evolution-local-storage.h: And here. * evolution-session.c: Same here too. * evolution-session.h: Replace <bonobo.h> * evolution-shell-client.c: Here too. * evolution-shell-component-client.c: Shuffle. * evolution-shell-component.c: Replace <bonobo.h> * evolution-shell-view.c: Remove #include <bonobo.h> * evolution-shell-view.h: Replace <gnome.h> * evolution-storage-listener.c: Replace <gnome.h> and <bonobo.h> * evolution-storage-listener.h: Replace <gnome.h> * evolution-storage-set-view-listener.c: Replace <gnome.h> and <bonobo.h> * evolution-storage-set-view.c: Remove <gnome.h> * evolution-storage.c: Replace <bonobo.h> * main.c: Replace <gnome.h> and <bonobo.h> * importer/importer.c: Replace <gnome.h> * importer/intelligent.c: Replace <gnome.h>. Add prototype for svn path=/trunk/; revision=9019
* In a fit of egomania, added myself to the authors array.Jon Trowbridge2001-03-281-0/+1
| | | | | | | | | 2001-03-28 Jon Trowbridge <trow@gnu.org> * e-shell-view-menu.c: In a fit of egomania, added myself to the authors array. svn path=/trunk/; revision=8989
* renaming icons to make Miguel's speedups possibleJakub Steiner2001-03-221-0/+1
| | | | svn path=/trunk/; revision=8884
* Cast this fucntion pointer.Christopher James Lahey2001-02-171-1/+1
| | | | | | | | | | | | | | | | | | | | 2001-02-17 Christopher James Lahey <clahey@ximian.com> * e-shell-view-menu.c (file_verbs): Cast this fucntion pointer. * e-storage-set-view.c (ETABLE_SPEC): Turn on horizontal scrolling here. * evolution-shell-component.c (impl_ShellComponent_async_copy_folder): Commented out this unused function. * evolution-storage.c (storage_gtk_to_corba_result): Removed an unused variable here. * importer/importer.c: Include gal/widets/e-gui-utils.h. svn path=/trunk/; revision=8269
* Merge from the stable branch: display the `SUB_VERSION' in the aboutEttore Perazzoli2001-02-101-32/+43
| | | | | | box as well. svn path=/trunk/; revision=8159
* Change the folder selection dialog so that, when you click on "New"Ettore Perazzoli2001-02-091-2/+6
| | | | | | | and create a folder, that folder becomes the default folder when you go back to the selection dialog. svn path=/trunk/; revision=8119
* Remove all instances of non-portable macro `__FUNCTION__' from theEttore Perazzoli2001-01-271-1/+1
| | | | | | shell. svn path=/trunk/; revision=7841
* (Fix #1252: Need a File->Close way to close a view)Jason Leach2001-01-251-0/+14
| | | | | | | | | | | | | | | | | | | | 2001-01-24 Jason Leach <jasonleach@usa.net> (Fix #1252: Need a File->Close way to close a view) * evolution.xml: new File->Close menu item and associated command. 2001-01-24 Jason Leach <jasonleach@usa.net> (Fix #1252: Need a File->Close way to close a view) * e-shell-view-menu.c (command_close): New function, destroys the current view. * e-shell.c (view_destroy_cb): Make sure shell settings get saved when the last view is destroyed. svn path=/trunk/; revision=7787
* (Fix bug #934: Add Right-click item to hide the shortcut bar)Jason Leach2001-01-141-1/+0
| | | | | | | | | | | | | | | | | | 2001-01-13 Jason Leach <jasonleach@usa.net> (Fix bug #934: Add Right-click item to hide the shortcut bar) * e-shortcuts-view.c (class_init): Create a new hide_requested signal. (hide_shortcut_bar_cb): New function that gets called from the right click menu items, it emits the hide_requested signal. * e-shell-view.c (setup_widgets): Connect the hide_requested from the shortcut bar. (hide_requested_cb): New function. svn path=/trunk/; revision=7485
* Added translation strings.Miguel de Icaza2001-01-121-2/+2
| | | | | | | | 2001-01-12 Miguel de Icaza <miguel@ximian.com> * e-storage-set-view.c: Added translation strings. svn path=/trunk/; revision=7446
* Remove "window" from the moniker path.Miguel de Icaza2001-01-121-1/+1
| | | | | | | | | | | | 2001-01-12 Miguel de Icaza <miguel@ximian.com> * e-shell-view-menu.c (command_new_mail_message): Remove "window" from the moniker path. * e-splash.c (e_splash_construct): Make the spalsh screen a toplevel instead of a popup. svn path=/trunk/; revision=7440
* Fix prototype (command_new_view): ditto. (command_new_mail_message):Miguel de Icaza2001-01-121-1/+17
| | | | | | | | | | | | 2001-01-10 Miguel de Icaza <miguel@helixcode.com> * e-shell-view-menu.c (command_goto_folder): Fix prototype (command_new_view): ditto. (command_new_mail_message): Implement command_new_mail_message. verbs: Use BONOBO_UI_VERB instead of BONOBO_UI_UNSAFE_VERB svn path=/trunk/; revision=7415
* add the importer part 1Iain Holmes2001-01-121-0/+4
| | | | svn path=/trunk/; revision=7398
* Fix prototype (command_new_view): ditto.Miguel de Icaza2001-01-101-18/+18
| | | | | | | | | | | 2001-01-10 Miguel de Icaza <miguel@helixcode.com> * e-shell-view-menu.c (command_goto_folder): Fix prototype (command_new_view): ditto. verbs: Use BONOBO_UI_VERB instead of BONOBO_UI_UNSAFE_VERB svn path=/trunk/; revision=7361
* Fix a crash when the user tries to "Submit bug report" but doesn't haveJason Leach2000-12-261-4/+1
| | | | | | | | | | | | | | | | 2000-12-23 Jason Leach <jasonleach@usa.net> * e-shell-view-menu.c (command_run_bugbuddy): Fix a crash when the user tries to "Submit bug report" but doesn't have bug-buddy installed. Bug #633. 2000-12-23 Jason Leach <jasonleach@usa.net> * e-setup.c (copy_default_stuff): Make the "Evolution installation" dialog resizable. Bug #742. (check_evolution_directory): Here too. svn path=/trunk/; revision=7174
* Update - hopefully I assigned blame correctly :-)JP Rosevear2000-11-281-0/+3
| | | | | | | | | | | | | | 2000-11-27 JP Rosevear <jpr@helixcode.com> * AUTHORS: Update - hopefully I assigned blame correctly :-) * MAINTAINERS: ditto 2000-11-27 JP Rosevear <jpr@helixcode.com> * e-shell-view-menu.c (command_about_box): Add myself, anna, jesse svn path=/trunk/; revision=6684
* The big api rename ...Michael Meeks2000-11-021-1/+1
| | | | | | | | 2000-11-02 Michael Meeks <michael@helixcode.com> * The big api rename ... svn path=/trunk/; revision=6346
* update to new UI handlerMichael Meeks2000-10-211-8/+8
| | | | | | | | | | | | | | | | 2000-10-20 Michael Meeks <michael@helixcode.com> * evolution-shell-component-client.c (evolution_shell_component_client_populate_folder_context_menu), (evolution_shell_component_client_create_view): update to new UI handler * e-shell-view-menu.c (command_create_folder): ditto. * e-storage-set-view.c (popup_folder_menu): ditto. * evolution-shell-component-client.h: kill ui-compat include. svn path=/trunk/; revision=6082
* Check if there are any files in default_user that are not in ~/evolutionIain Holmes2000-10-161-0/+1
| | | | | | | | | | | | | | | | | | 2000-10-11 Iain Holmes <iain@helixcode.com> * e-setup.c (check_evolution_directory): Check if there are any files in default_user that are not in ~/evolution and if so copy them over. (check_dir_recur): Recursive function to check the directory. * e-shell-view-menu.c: Look Maw! I'm an Evolution hacker too. * e-shell-view.c: Don't quit on when a view is destroyed. * e-shell.c: Save the settings for the remaining views whenever a view is destroyed. svn path=/trunk/; revision=5929
* if we are in LDAP mode then merge in the extra few items, otherwise justMichael Meeks2000-10-151-1/+1
| | | | | | | | | | | | 2000-10-14 Michael Meeks <michael@helixcode.com> * gui/component/addressbook.c (control_activate): if we are in LDAP mode then merge in the extra few items, otherwise just merge the standard thing; saves duplication. * shell/e-shell-view-menu.c: rename debug verb. svn path=/trunk/; revision=5920
* Change paths in such a way as to require HEAD bonobo.Michael Meeks2000-10-091-2/+8
| | | | | | | | | | | 2000-10-09 Michael Meeks <michael@helixcode.com> * e-shell-view-menu.c: Change paths in such a way as to require HEAD bonobo. (command_toggle_folder_bar, command_toggle_shortcut_bar): only respond to state changes. svn path=/trunk/; revision=5793
* add a freeze / thaw pair to reduce flicker on switching controls.Michael Meeks2000-10-061-11/+1
| | | | | | | | | | | | | 2000-10-06 Michael Meeks <michael@helixcode.com> * e-shell-view.c (e_shell_view_display_uri): add a freeze / thaw pair to reduce flicker on switching controls. 2000-10-05 Michael Meeks <michael@helixcode.com> * e-shell-view-menu.c (command_xml_dump): fix. svn path=/trunk/; revision=5757
* Disable summary stuff, it appears to be badly broken.Michael Meeks2000-10-051-42/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-05 Michael Meeks <michael@helixcode.com> * component-factory.c (summary_fn, component_factory_init): Disable summary stuff, it appears to be badly broken. * Makefile.am (evolution_mail_SOURCES): add mail-summary.[ch] * subscribe-dialog.c (update_pixmaps): upd. (set_pixmap): upd. (subscribe_dialog_gui_init): upd. remove redundant and annoying forward definitions. * folder-browser-factory.c (control_deactivate): upd. (control_activate_cb): upd. (control_activate): upd. (set_pixmap): upd. (update_pixmaps): upd. (register_ondemand): upd. (create_ondemand_hooks): upd. 2000-10-05 Michael Meeks <michael@helixcode.com> * e-shell-view-menu.c (shortcut_bar_mode_changed_cb): upd. (folder_bar_mode_changed_cb): upd. (command_xml_dump): clobber. (e_shell_view_menu_setup): upd. * e-shell-view.c (shell_view_interface_set_message_cb): upd. (shell_view_interface_unset_message_cb): upd. (e_shell_view_construct): upd. (get_control_for_uri): upd. (e_shell_view_get_bonobo_ui_component): upd. 2000-10-05 Michael Meeks <michael@helixcode.com> * contact-editor/e-contact-editor.c (create_ui): upd. (e_contact_editor_init): upd. * gui/component/addressbook.c (control_activate_cb): upd. (control_deactivate): kill. (control_activate): upd. 2000-10-05 Michael Meeks <michael@helixcode.com> * gui/calendar-commands.c: upd. (calendar_control_activate): upd. (calendar_control_deactivate): upd. 2000-10-05 Michael Meeks <michael@helixcode.com> * component/e-summary-factory.c (control_activate): upd. (set_pixmap): upd. (update_pixmaps): upd. (control_activate_cb): upd. (control_deactivate): upd. svn path=/trunk/; revision=5742
* ui/evolution-addressbook-ldap.xml, ui/evolution-addressbook.xml,Matt Bissiri2000-10-041-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-03 Matt Bissiri <bissiri@eecs.umich.edu> * ui/evolution-addressbook-ldap.xml, * ui/evolution-addressbook.xml, * ui/evolution-calendar.xml, * ui/evolution-contact-editor.xml: Fixed typo `_decr' -> `_descr', so some missing tooltips will appear. Also fixed some typos in descr values. From shell/ChangeLog: 2000-10-03 Matt Bissiri <bissiri@eecs.umich.edu> * e-shell-view-menu.c (e_shell_view_menu_setup): Use `bonobo_ui_component_add_verb_list' instead of `bonobo_ui_component_add_verb_list_with_data' for help_verbs, so that `command_help' gets an html filename as user_data, instead of a ptr to EShellView. (menu_do_misc): Move DumpXML from help_verbs to here, because `command_xml_dump' needs to get EShellView as user_data. svn path=/trunk/; revision=5703
* kill.Michael Meeks2000-10-031-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-03 Michael Meeks <michael@helixcode.com> * e-shell-view.c (setup_bonobo_ui_handler): kill. * e-shell-view-menu.c (e_shell_view_menu_setup): strip out the XML UI merge; move it to * e-shell-view.c (e_shell_view_construct): here, + freeze / thaw pair. * e-shell-view.c (setup_progress_bar): impl. (setup_widgets): hook in. (progress_bar_timeout_cb): fix. (start_progress_bar): fix. (stop_progress_bar): fix. (e_shell_view_construct): setup ui handler first. 2000-09-22 Michael Meeks <michael@helixcode.com> * e-shell-view-menu.c (e_shell_view_menu_setup): upd. + upd ChangeLogs svn path=/trunk/; revision=5678
* Updates for the Bonobo changes from Michael who is having someEttore Perazzoli2000-09-231-12/+3
| | | | | | troubles with CVS at home (so I commit this on his behalf). svn path=/trunk/; revision=5560
* Dear native speakers,Federico Mena Quintero2000-09-221-1/+1
| | | | | | | | | | | | | Dear native speakers, It is spelled "calendar". This has been a public service announcement courtesy of a non-native speaker. Thank you for your attention. svn path=/trunk/; revision=5543
* s/Bonobo_UIHandler/Bonobo_UIContainer/Michael Meeks2000-09-211-0/+15
| | | | | | s/include "bonobo-ui-handler.h"/include "bonobo-ui-compat.h"/ svn path=/trunk/; revision=5539
* Everywhere add a -DEVOLUTION_DATADIR=${datadir} in the Makefile.amMichael Meeks2000-09-171-1/+2
| | | | | | | | And use this in grabbing the ui from the xml file. Requires HEAD bonobo. svn path=/trunk/; revision=5474
* add bonobo_ui_handler_unset_container to stop menus screwing up.Michael Meeks2000-09-141-2/+2
| | | | | | | | | | | 2000-09-14 Michael Meeks <michael@helixcode.com> * folder-browser-factory.c (control_deactivate): add bonobo_ui_handler_unset_container to stop menus screwing up. * Add 2 missing stock icons in toolbar. svn path=/trunk/; revision=5428
* re-order to suit and add freeze / thaw, update paths to toggles, removeMichael Meeks2000-09-141-16/+18
| | | | | | | | | 2000-09-14 Michael Meeks <michael@helixcode.com> * e-shell-view-menu.c (e_shell_view_menu_setup): re-order to suit and add freeze / thaw, update paths to toggles, remove warnings svn path=/trunk/; revision=5416
* The Commit from hell that breaks all UI related stuff;Michael Meeks2000-09-141-224/+85
| | | | | | Anything UI related that breaks is now my fault; apologies in advance. svn path=/trunk/; revision=5415
* Fix menus and add placeholders in the menubar for the components toEttore Perazzoli2000-08-181-31/+22
| | | | | | use. svn path=/trunk/; revision=4868
* Add myself to the about box, finally.Peter Williams2000-08-111-1/+2
| | | | svn path=/trunk/; revision=4700
* Add a placeholder for the print items in the "File" menu.Ettore Perazzoli2000-08-091-0/+2
| | | | svn path=/trunk/; revision=4632
* Update the ::user_select_folder() interface so that it accepts both aEttore Perazzoli2000-08-041-7/+2
| | | | | | physical URI or an evolution: one for specifying the default folder. svn path=/trunk/; revision=4508
* Change EShellView so that it creates the menus with BonoboUIHandlerEttore Perazzoli2000-07-231-143/+234
| | | | | | | | | directly instead of using the GnomeUIInfo convertion functions, that were not doing the right thing by translating the path as well (and as a consequence, the components were not able to set up their own menu items if the locale was not the default one). svn path=/trunk/; revision=4278
* Added/fixed support for multiple views.Ettore Perazzoli2000-07-201-3/+23
| | | | svn path=/trunk/; revision=4234
* Some menu cleanup.Ettore Perazzoli2000-07-091-31/+7
| | | | svn path=/trunk/; revision=3986
* Shell command for creating new folders.Ettore Perazzoli2000-07-061-1/+29
| | | | svn path=/trunk/; revision=3901
* Added an extra @allowed_types parameter to the shell's folderEttore Perazzoli2000-07-021-20/+21
| | | | | | selection dialog, and update the code that uses it accordingly. svn path=/trunk/; revision=3854
* Folder selection dialog, (untested) CORBA interfaces for it, and a newEttore Perazzoli2000-06-111-1/+73
| | | | | | | "Go to folder..." menu item. Also made the creation dialog slightly larger. svn path=/trunk/; revision=3508
* Initial support for creating/removing folders. This implies some newEttore Perazzoli2000-06-101-19/+27
| | | | | | | | IDL methods and new functions to implement on the component side. I have also added a simple folder creation dialog in the shell. It's quite unfinished and untested. svn path=/trunk/; revision=3491
* changed "Using the Shell" to "Getting Started"Jeffrey Stedfast2000-06-031-1/+1
| | | | svn path=/trunk/; revision=3402
* New menu callback to launch the help browser. (menu_help): add pointers toDan Winship2000-06-021-3/+40
| | | | | | | | | * e-shell-view-menu.c (command_help): New menu callback to launch the help browser. (menu_help): add pointers to the users' guide. (e_shell_view_menu_setup): Add the help menu stuff to the uih. svn path=/trunk/; revision=3347
* Initialize the toggle items in the View menu when creating them, soEttore Perazzoli2000-05-311-6/+14
| | | | | | | | that they start up in the correct state. Deactivate the current control when displaying an empty error page. Removed some crufty debugging messages. svn path=/trunk/; revision=3310
* Make quit work again by implementing a CORBA method to unregisterEttore Perazzoli2000-05-311-17/+103
| | | | | | | | | | components in ShellComponent. Implemented toggle menu items to hide/show the shortcut bar and the folder bar (but they don't work, apparently because of some BonoboUIHandler bogosity). Implemented a CORBA method in Shell to allow a client to get the component that handles a certain folder type. svn path=/trunk/; revision=3303
* Added my name to the about boxJeffrey Stedfast2000-05-281-0/+1
| | | | svn path=/trunk/; revision=3229
* + * e-shell-view-menu.c (command_about_box): Make authorlist moreMatthew Loper2000-05-271-8/+29
| | | | | | | | | | + alphabetical. + (command_show_treeview): New function; shows the treeview, when it + has been hidden. + (command_show_shortcut_bar): New function; shows the shortcut bar, + when it's been hidden. svn path=/trunk/; revision=3225
* Get rid of the old `evolution-service-repository' cruft and startEttore Perazzoli2000-05-231-1/+1
| | | | | | implementing new CORBA storage interfaces for the shell. svn path=/trunk/; revision=3178
* Added an about box.Christopher James Lahey2000-05-111-0/+53
| | | | | | | | 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * e-shell-view-menu.c: Added an about box. svn path=/trunk/; revision=2973
* New function; allows users to submit a bug. + (command_run_bugbuddy):Matthew Loper2000-05-101-3/+23
| | | | | | | | * e-shell-view-menu.c (command_run_bugbuddy): New function; allows users to submit a bug. + (command_run_bugbuddy): Implemented with jacob's patch. svn path=/trunk/; revision=2960
* + * calendar/pcs/cal-backend.c (cal_backend_add_cal): Return nothingMatthew Loper2000-05-101-0/+17
| | | | | | | | | | + for a 'void' function. + * folder-browser-factory.c (control_activate): Remove "File->mail" + menuitem. + * e-shell-view-menu.c (command_run_bugbuddy): New function; allows + users to submit a bug. svn path=/trunk/; revision=2948
* Machinery for quitting and handling the relationship between a shellEttore Perazzoli2000-05-071-1/+18
| | | | | | and its views. svn path=/trunk/; revision=2862
* Big shell reorganization.Ettore Perazzoli2000-05-071-151/+83
| | | | svn path=/trunk/; revision=2848
* + * widgets/Makefile.am: Added e-paned directory.Matthew Loper2000-04-241-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + + * default_user/Makefile.am: new file. + + * default_user/Main_Shortcuts.xml: New file; is used to fill the + shortcut bar's "main shortcuts" pane. + + * default_user/Other_Shortcuts.xml: New file, used to fill the + shortcut bar's "other shortcuts" pane. + + * default_user/Inbox.mbox: New file. This is the first message a + new user will see when they fire up Evolution. Needs work. + + * Makefile.am: added default_user directory. + * configure.in: same. + + * e-paned.c: New file. Makes a GtkPaned with more than two + children. + * e-paned.h: same. + + * Makefile.am: added e-paned.[ch]. + + * e-shell-view.h: Added hpaned and treeview widgets to + EShellView. Added e_shell_view_toggle_shortcut_bar() and + e_shell_view_toggle_treeview(). + + * e-shell-view.c (e_shell_view_setup_shortcut_display): Use EPaned + widget to house our shortcut bar. + (e_shell_view_toggle_shortcut_bar): New function; toggles whether + the shortcut bar is showing. + (e_shell_view_toggle_treeview): Same, for the treeview (NYI). + (e_shell_view_new): Put the notebook view in our EPaned widget. + + * e-shell-view-menu.c (esv_cmd_toggle_shortcut_bar): New function; + toggles whether the shortcut bar is viewed. + (esv_cmd_toggle_treeview): Same, but with the treeview. Added + menuitems in the "view" menu to allow access to the above. + svn path=/trunk/; revision=2575
* Make Evolution compile with the latest Bonobo changes.Arturo Espinosa2000-01-261-7/+7
| | | | | | | | Make Evolution compile with the latest Bonobo changes. Miguel. svn path=/trunk/; revision=1636
* MoreArturo Espinosa2000-01-121-0/+227
More svn path=/trunk/; revision=1561