aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-startup-wizard.c
Commit message (Collapse)AuthorAgeFilesLines
* Same.Jeffrey Stedfast2004-04-201-1/+1
| | | | | | | | | | | | | | | | | 2004-04-19 Jeffrey Stedfast <fejj@ximian.com> * e-user-creatable-items-handler.c (ensure_menu_items): Same. * e-shell-startup-wizard.c (make_timezone_page): Same. * e-shell-settings-dialog.c (load_pages): Same. * e-shell-importer.c (e_shell_importer_start_import): Same. * e-component-registry.c (query_components): Don't use absolute pixel sizes, use the E_ICON_SIZE enums instead. svn path=/trunk/; revision=25528
* Change component icons to use the icon theme names for icons RemoveMichael Terry2004-04-191-1/+11
| | | | | | | | | | | | | | | | | | | | | | 2004-04-19 Michael Terry <mike@mterry.name> * GNOME_Evolution_Test.server.in.in: Change component icons to use the icon theme names for icons * Makefile.am: Remove e-icon-factory.[ch] * e-component-registry.c: Use the icon theme for component icons * e-icon-factory.[ch]: Removed these files * e-shell-importer.c: * e-shell-settings-dialog.c: * e-shell-startup-wizard.c: * e-shell-window-commands.c: * e-user-creatable-items-handler.c: * evolution-shell-component-utils.[ch]: * main.c: * glade/evolution-startup-wizard.glade: * importer/import.glade: Use the icon theme via EIconFactory for all of the icons in the shell, and the window icons svn path=/trunk/; revision=25512
* Remove dialog separators Change the border with of the dialog's vbox andRodney Dawes2004-04-011-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-31 Rodney Dawes <dobey@ximian.com> * e-shell-importer.c (choose_importer_from_list): (start_import): (prepare_intelligent_page): Remove dialog separators * e-shell-offline-handler.c (pop_up_confirmation_dialog): Change the border with of the dialog's vbox and action area to be HIG-compliant * e-shell-settings-dialog.c (init): Remove the dialog separator * e-shell-startup-wizard.c (prepare_importer_page): Remove the dialog separator to be more HIG-compliant (key_press_event_callback): Fix compile warnings and cast to the correct widget types for calling various gtk api Remove the dialog separator to be more HIG-compliant * main.c (show_development_warning): Make the devel warning dialog that pops up for unstable versions be HIG-compliant * glade/e-active-connection-dialog.glade: Make the active connection dialog for going off-line be HIG-compliant * importer/intelligent.c (create_gui): Remove the dialog separator and set the dialog's vbox and action area border widths to be more compliant with the HIG svn path=/trunk/; revision=25267
* Used the stock icon in confirm dialog.Bill Zhu2004-03-111-2/+2
| | | | | | | | | | | | 2004-03-10 Bill Zhu <bill.zhu@sun.com> * e-shell-startup-wizzard.c (key_press_event_callback): Used the stock icon in confirm dialog. Fixes #55063 svn path=/trunk/; revision=25008
* add a ')' to create a valid queryJP Rosevear2004-01-081-1/+1
| | | | | | | | | 2004-01-08 JP Rosevear <jpr@ximian.com> * e-shell-startup-wizard.c (get_intelligent_importers): add a ')' to create a valid query svn path=/trunk/; revision=24112
* check that we found any importers before deferencing the pointer.Not Zed2004-01-081-0/+6
| | | | | | | | | 2004-01-08 Not Zed <NotZed@Ximian.com> * e-shell-startup-wizard.c (get_intelligent_importers): check that we found any importers before deferencing the pointer. svn path=/trunk/; revision=24103
* Use BASE_VERSION for repo_ids and OAFIIDs Update killev to kill theRodney Dawes2003-12-021-2/+9
| | | | | | | | | | 2003-12-01 Rodney Dawes <dobey@ximian.com> * Use BASE_VERSION for repo_ids and OAFIIDs * Update killev to kill the correct versions of gnome-spell and the GtkHTML Editor svn path=/trunk/; revision=23543
* connect to "key_press_event" signal with key_press_event_callback.Charles Zhang2003-09-231-0/+37
| | | | | | | | | | 2003-09-23 Charles Zhang <charles.zhang@sun.com> * e-shell-startup-wizard.c (e_shell_startup_wizard_create): connect to "key_press_event" signal with key_press_event_callback. (key_press_event): Handle `ESC` key press event. [#48145] svn path=/trunk/; revision=22657
* connect to "delete_event" signal with startup_wizard_delete. [#46284]Antonio Xu2003-07-221-0/+12
| | | | | | | | | 2003-07-22 Antonio Xu <antonio.xu@sun.com> * e-shell-startup-wizard.c (e_shell_startup_wizard_create): connect to "delete_event" signal with startup_wizard_delete. [#46284] svn path=/trunk/; revision=21885
* connect "back" signal to back_finish_func in finish page.Antonio Xu2003-07-211-0/+16
| | | | | | | | | | | | 2003-07-21 Antonio Xu <antonio.xu@sun.com> * e-shell-startup-wizard.c (e_shell_startup_wizard_create): connect "back" signal to back_finish_func in finish page. (back_finish_func): handle "back" signal. (prepare_importer_page): Jump to finish page when running equal zero. [#46026] svn path=/trunk/; revision=21875
* If the wizard factory returns NULL, we'll get a NIL wizard but noDan Winship2003-03-121-19/+41
| | | | | | | | | | | * e-shell-startup-wizard.c (start_wizard): If the wizard factory returns NULL, we'll get a NIL wizard but no exception. Deal with that case. (ie, try the next wizard). (finish_func): Simplify for e-timezone-dialog changes. (prepare_timezone_page): If there is already a timezone set in gconf, set the map to point to it. (For connector autoconfig.) svn path=/trunk/; revision=20257
* New routine to attempt to start each available startup wizard in priorityDan Winship2003-02-271-7/+38
| | | | | | | | | | * e-shell-startup-wizard.c (start_wizard): New routine to attempt to start each available startup wizard in priority order, and return once it has successfully started one. (Allows Connector, etc, to override the mailer startup wizard.) (make_corba_dialog_pages): Use it. svn path=/trunk/; revision=20072
* Change this to let the Wizard provide an array of title/icon/controlDan Winship2003-02-251-227/+57
| | | | | | | | | | | | | | | | | | | | | | | | | * Evolution-Wizard.idl: Change this to let the Wizard provide an array of title/icon/control triplets, instead of just controls, so the shell doesn't need to know the name of each page a priori. * glade/evolution-startup-wizard.glade: Remove the mailer-specific pages, which are now inserted at run time based on info from the mailer. * evolution-wizard.c: Update for new idl. (evolution_wizard_new): Now takes no arguments. (evolution_wizard_add_page): New function to add page info to the wizard. * e-shell-startup-wizard.c: Various renamings to make this slightly less mailer-centric, though it still explicitly launches the mailer startup wizard. (make_corba_page): Replaces make_identity_page, make_receive_page, etc. Uses the new Wizard idl to generically create a page and insert it into the druid. (e_shell_startup_wizard_create): Update svn path=/trunk/; revision=20053
* Use g_signal_connect_after to connect to the "prepare" signal to workDan Winship2003-02-251-6/+11
| | | | | | | | | | | | | | * e-shell-startup-wizard.c (connect_page, make_importer_page): Use g_signal_connect_after to connect to the "prepare" signal to work around a GnomeDruidPageStandard bug (b.g.o 81869) (e_shell_startup_wizard_create): Remove the "return TRUE" that was added here a while back to disable the startup wizard. * glade/evolution-startup-wizard.glade: Change "Next" and "Finish" in the text to "Forward" and "Apply" to match the gnome 2 druid buttons. svn path=/trunk/; revision=20049
* Define EVOLUTION_IMAGES using $(imagesdir). Define EVOLUTION_GLADEDIRDan Winship2003-02-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (INCLUDES): Define EVOLUTION_IMAGES using $(imagesdir). Define EVOLUTION_GLADEDIR using $(gladedir) (eshellincludedir): Define in terms of $(privincludedir) (evolution_LDFLAGS): Remove this. gmodule-2's LDFLAGS include the equivalent of -export-dynamic for us. (serverdir, etspecdir): Remove. Defined in configure.in now. * e-folder.c: #include <string.h> * e-corba-config-page.c: Likewise * e-shell-config.c: Likewise * e-shell-folder-creation-dialog.c: Likewise * e-shell-folder-title-bar.c: Likewise * e-shell-startup-wizard.c: Likewise * evolution-activity-client.c: Likewise. * evolution-shell-component-client.c: Likewise * evolution-shell-component-utils.c: Likewise * evolution-storage.c: Likewise * evolution-test-component.c: Likewise * e-shortcuts-view.c (destroy_group_cb): Remove unused variable * importer/Makefile.am (INCLUDES): Remove -I$(includedir). Define EVOLUTION_GLADEDIR using $(gladedir). (libevolution_importerincludedir): Define in terms of $(privincludedir) (gladedir): Removed. Defined in configure.in now. * glade/Makefile.am (gladedir): Likewise svn path=/trunk/; revision=19774
* re-enable. (prepare_importer_page): re-enable importer code.Not Zed2003-02-051-8/+3
| | | | | | | | | | | | | | | | | | | | | | | | 2003-02-05 Not Zed <NotZed@Ximian.com> * e-shell-startup-wizard.c (start_importers): re-enable. (prepare_importer_page): re-enable importer code. * e-shell-importer.c (druid_finish_button_change): removed, since its not such a hack to change anymore. Dunno how to get an icon on it tho, without a stock button. (show_import_wizard): Change the apply button to "Import" here. 2003-01-28 Not Zed <NotZed@Ximian.com> * e-local-storage.c (create_folder_directory): We can't use pointer arithmetic with g_path_get_*, so adjust code accordingly. 2003-01-16 Not Zed <NotZed@Ximian.com> * e-shell-startup-wizard.c (e_shell_startup_wizard_create): Hook onto finish instead of next on the last page. svn path=/trunk/; revision=19753
* Set GTK_RESPONSE_OK as the default response.Ettore Perazzoli2003-01-281-2/+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
* 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
* Disabled for now.Ettore Perazzoli2002-11-201-24/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * main.c (upgrade_from_1_0_if_needed): Disabled for now. * e-shell-startup-wizard.c: Removed member config_listener from struct SWData. (e_shell_startup_wizard_create): Updated accordingly, just use GConf, checking the /apps/evolution/mail/account-list key. (finish_func): Use GConf. * e-shell-config-default-folders.c: Removed member config_listener in struct EvolutionDefaultFolderConfig. (e_shell_config_default_folders_create_widget): Do not initialize here. GConfified the paths. (config_control_destroy_notify): No unref of the config_listener anymore. (config_control_apply_cb): Use GConf. (setup_folder_selector): Likewise. * e-shell-config-autocompletion.c: Removed member config_listener from EvolutionAutocompletionConfig. (config_control_destroy_notify): Do not unref. (config_control_apply_callback): Use a GConfClient. * e-folder-list.c (e_folder_list_init): Add missing cast. * main.c (show_development_warning): Use GConf. * e-setup.c (e_setup_check_config): Removed arg @listener. GConfified. * e-shell-view.c (e_shell_view_save_defaults): New. (e_shell_view_save_settings): Removed. (e_shell_view_load_settings): Removed. (setup_defaults): New helper function. (e_shell_view_construct): New arg @uri. (e_shell_view_new): New arg @uri. * e-shell.c: Removed member config_listener in struct EShellPrivate. (impl_dispose): Do not unref. (init): Do not initialize. (get_config_start_offline): New helper function. (e_shell_construct): Use this to get the startup mode in case E_SHELL_STARTUP_LINE_MODE_CONFIG. (save_misc_settings): Changed to use GConfClient instead of EConfigListener. (e_shell_create_view_from_settings): Removed. (e_shell_restore_from_settings): Removed. (e_shell_get_config_listener): Removed. (e_shell_disconnect_db): Removed. (parse_default_uri): Use GConf. * main.c (idle_cb): Simplified the logic here. Always assume that the view will be created with the default folder open by just using e_shell_create_view(). svn path=/trunk/; revision=18844
* (e_shell_startup_wizard_create): ForEttore Perazzoli2002-11-161-1/+1
| | | | | | now, always return TRUE. svn path=/trunk/; revision=18781
* Removed. (no_views_left_cb): Use g_object_add_weak_pointer() instad ofEttore Perazzoli2002-11-151-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * main.c (quit_box_destroyed_callback): Removed. (no_views_left_cb): Use g_object_add_weak_pointer() instad of connecting to the "destroy" signal. (destroy_cb): Removed. (shell_weak_notify): New. (idle_cb): Use g_object_weak_ref() on the shell object instead of connecting to the "destroy" signal. * evolution-test-component.c (dialog_destroy_callback): Removed. (dialog_weak_notify): New. (create_new_folder_selector): Use g_object_weak_ref() on the dialog instead of connecting the "destroy" signal. * e-shortcuts.c (view_destroyed_cb): Removed. (view_weak_notify): New. (e_shortcuts_new_view): g_object_weak_ref() the new view instead of connecting the "destroy" signal. (impl_dispose): Free the ->views and g_object_weak_unref() all the items. * e-shell.c (view_destroy_cb): Removed. (view_weak_notify): New. (create_view): Use g_object_weak_ref() on the newly created view instead of connecting to the "destroy" signal. (impl_dispose): g_object_weak_unref() the views. (e_shell_show_settings): Use g_object_add_weak_pointer() on the settings_dialog instead of connecting to the "destroy" signal. (settings_dialog_destroy_cb): Removed. * e-shell-shared-folder-picker-dialog.c (progress_bar_weak_notify): New. (progress_bar_destroy_callback): Removed. (create_progress_dialog): Use g_object_weak_ref() on the progress bar object instead of connecting to its "destroy" signal. (shell_destroy_callback): Removed. (shell_view_destroy_callback): Removed. (storage_destroy_callback): Removed. (shell_weak_notify): New. (shell_view_weak_notify): New. (storage_weak_notify): New. (discover_folder): Use g_object_weak_ref() on the shell, parent, storage objects instead of connecting to their "destroy" signals. * e-shell-importer.c: Removed member destroyed from ImporterComponentData. (import_cb): Instead of checking if ->destroyed is TRUE, check if ->dialog is NULL to decide whether the dialog has been destroyed or not. (dialog_destroy_cb): Removed. (start_import): Use g_object_weak_ref() on the dialog object instead of connecting to its "destroy" signal. (dialog_close): Removed. (dialog_weak_notify): New. (show_import_wizard): Use g_object_weak_ref() on the dialog object instead of connecting to its "destroy" signal. (import_druid_destroy): New. (import_druid_weak_notify): New. (show_import_wizard): Use g_object_weak_ref() on the druid object instead of connecting to its "destroy" signal. * e-shell-folder-selection-dialog.c (e_shell_folder_selection_dialog_construct): g_object_weak_ref() the shell object instead of connecting to its "destroy" signal. * e-shell-folder-creation-dialog.c (dialog_destroy_cb): Removed. (dialog_destroy_notify): New. (e_shell_show_folder_creation_dialog): g_object_weak_ref() the dialog instead of connecting to its "destroy" signal. (shell_destroy_cb): Removed. (shell_destroy_notify): New. (e_shell_show_folder_creation_dialog): g_object_weak_ref() the shell object instead of connecting to its "destroy" signal. * e-shell-config-offline.c (config_control_destroy_callback): Removed. (config_control_destroy_notify): New. (e_shell_config_offline_create_widget): g_object_weak_ref() the config_control instead of connecting to its "destroy" signal. * e-shell-config-default-folders.c (config_control_destroy_callback): Removed. (config_control_destroy_notify): New. (e_shell_config_default_folders_create_widget): g_object_weak_ref() instead of connecting to the "destroy" signal. * e-shell-config-autocompletion.c (config_control_destroy_notify): New. (config_control_destroy_callback): Removed. (e_shell_config_autocompletion_create_widget): g_object_weak_ref() instead of connecting to the "destroy" signal. * e-activity-handler.c (task_bar_destroy_cb): Removed. (task_bar_destroy_notify): New. (e_activity_handler_attach_task_bar): Weak_ref the task_bar using task_bar_destroy_notify. (impl_dispose): Weak_unref the task bars in priv->task_bars. svn path=/trunk/; revision=18756
* Change type of member etd inEttore Perazzoli2002-11-141-2/+2
| | | | | | | TimezoneDialogPage to GObject from GtkObject. (make_timezone_page): Cast to G_OBJECT() not GTK_OBJECT(). svn path=/trunk/; revision=18748
* Connect finish_func to the "next" signal for now, since GnomeDruid seemsEttore Perazzoli2002-11-141-2/+1
| | | | | | | | | | | | | | | * e-shell-startup-wizard.c (e_shell_startup_wizard_create): Connect finish_func to the "next" signal for now, since GnomeDruid seems to be borked. * e-uri-schema-registry.c (schema_handler_new): g_object_ref() @component instead of bonobo_object_ref(). * e-local-storage.c (create_folder): g_object_ref() for the component_client, instead of bonobo_object_ref(). (remove_folder_step): Likewise. svn path=/trunk/; revision=18741
* Pass TRUE for arg allow_creation to e_shell_folder_selection_dialog_new().Ettore Perazzoli2002-11-051-0/+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-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | * *.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-40/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* (startup_wizard_cancel): Unref theEttore Perazzoli2002-07-061-0/+14
| | | | | | | ETimezoneDialog. (finish_func): Likewise. svn path=/trunk/; revision=17375
* handle translated timezone names.Damon Chaplin2002-01-121-2/+6
| | | | | | | | | | | 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
* make timezone default to "UTC" rather than "".Damon Chaplin2001-11-151-1/+1
| | | | | | | | | 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-131-1/+43
| | | | | | Fix a memory leak svn path=/trunk/; revision=14680
* Fixed spacing and alignment probelms. (See bug #14281)Anna Marie Dirks2001-11-061-5/+8
| | | | | | | | | | | | 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
* If we're not at the end of the druid list, tell the druid we're going to02001-10-301-2/+12
| | | | | | | | | | | | 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
* 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
* gtk_widget_show_now() the dialog. Likewise.Ettore Perazzoli2001-10-271-0/+2
| | | | | | | | * 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
* Set the ->mailer to be CORBA_OBJECT_NIL in case of an exception, otherwiseEttore Perazzoli2001-10-261-0/+1
| | | | | | | | * 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-261-2/+2
| | | | | | | | | | | | | * 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
* Fix bug 11114Iain Holmes2001-10-161-0/+2
| | | | svn path=/trunk/; revision=13685
* Fix strings and the importer window not drawing correctlyIain Holmes2001-10-131-13/+8
| | | | svn path=/trunk/; revision=13636
* Only start wizard thing if there are no mail accountsIain Holmes2001-09-211-4/+3
| | | | svn path=/trunk/; revision=13012
* Fix crash and remove warningIain Holmes2001-09-151-2/+2
| | | | svn path=/trunk/; revision=12828
* [Remove a bunch of debugging messages, as per #7741.]Ettore Perazzoli2001-09-141-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* New designIain Holmes2001-09-081-73/+32
| | | | svn path=/trunk/; revision=12690
* Studlycapsize all the IDs that are not. Likewise. Updated accordingly.Ettore Perazzoli2001-08-281-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Implement the rest of the Evolution_Wizard eventsIain Holmes2001-08-251-2/+17
| | | | svn path=/trunk/; revision=12449
* 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-221-1/+4
| | | | | | created svn path=/trunk/; revision=12354
* Do the import correctly.Iain Holmes2001-08-211-11/+18
| | | | svn path=/trunk/; revision=12327
* Don't free the returned displayname.Ettore Perazzoli2001-08-211-4/+2
| | | | | | | * e-shell-startup-wizard.c (finish_func): Don't free the returned displayname. svn path=/trunk/; revision=12318
* Compile fixesIain Holmes2001-08-181-2/+4
| | | | svn path=/trunk/; revision=12172
* Startup assistant stuffIain Holmes2001-08-171-0/+845
svn path=/trunk/; revision=12145