aboutsummaryrefslogtreecommitdiffstats
path: root/shell/evolution-shell-component-utils.c
Commit message (Collapse)AuthorAgeFilesLines
* Removed. Nothing uses this interface (which didn't use the EError routinesJeffrey Stedfast2004-05-221-47/+0
| | | | | | | | | | 2004-05-21 Jeffrey Stedfast <fejj@novell.com> * evolution-shell-component-utils.c (e_activation_failure_dialog): Removed. Nothing uses this interface (which didn't use the EError routines anyway). svn path=/trunk/; revision=26035
* Change component icons to use the icon theme names for icons RemoveMichael Terry2004-04-191-16/+7
| | | | | | | | | | | | | | | | | | | | | | 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
* Update for e_notice move. Likewise Likewise Likewise Likewise LikewiseDan Winship2003-03-251-1/+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
* Define EVOLUTION_IMAGES using $(imagesdir). Define EVOLUTION_GLADEDIRDan Winship2003-02-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Set GTK_RESPONSE_OK as the default response.Ettore Perazzoli2003-01-281-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* RevertedRodrigo Moya2002-12-021-1/+0
| | | | svn path=/trunk/; revision=18983
* Included gtkmessagedialog.h.Rodrigo Moya2002-12-021-0/+1
| | | | | | | | 2002-12-02 Rodrigo Moya <rodrigo@ximian.com> * evolution-shell-component-utils.c: Included gtkmessagedialog.h. svn path=/trunk/; revision=18982
* changed to use a gtkdialog instead of a gnome one.Not Zed2002-12-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
* First big sync of my GNOME 2 porting work (incomplete, and stillEttore Perazzoli2002-11-021-7/+6
| | | | | | | | pretty broken). Weeeeee! svn path=/trunk/; revision=18503
* (e_get_activation_failure_msg): If the exception_id is NULL,Ettore Perazzoli2002-10-211-0/+3
| | | | | | return NULL instead of crashing. [#25891] svn path=/trunk/; revision=18397
* Change type of parent_class to BonoboXObjectClass.Ettore Perazzoli2002-04-041-1/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-shell-component.c: Change type of parent_class to BonoboXObjectClass. * e-shell.c (pop_up_activation_error_dialog): New helper function to pop up a dialog if one of the components couldn't be activated, getting the description for the error from e_get_activation_failure_msg(). (setup_components): Use this function in case of activation error. (set_owner_on_components): Likewise, when the component gets restarted. Also get a @splash arg so we can set the parent for this dialog correctly. * e-component-registry.c (register_component): New arg @ev. (e_component_registry_register_component): Likewise. (e_component_registry_restart_component): Likewise. Also, remove some bogus code that was #if'ed out. * evolution-shell-component-client.c (evolution_shell_component_client_new): New arg @ev. * evolution-shell-component-utils.c (e_get_activation_failure_msg): New. svn path=/trunk/; revision=16342
* 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
* New function to try to activate a component when you know it's going toDan Winship2001-10-141-0/+51
| | | | | | | | * evolution-shell-component-utils.c (e_activation_failure_dialog): New function to try to activate a component when you know it's going to fail, and then pop up a dialog explaining why it failed. svn path=/trunk/; revision=13657
* set "pixname" value only if pixbuf was loaded successfully. OtherwiseGediminas Paulauskas2001-07-051-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | 2001-07-04 Gediminas Paulauskas <menesis@delfi.lt> * evolution-shell-component-utils.c (e_pixmaps_update): set "pixname" value only if pixbuf was loaded successfully. Otherwise component crashes if image is not found. Should be checked for sanity in bonobo_ui_component_set_prop IMHO. 2001-07-04 Gediminas Paulauskas <menesis@delfi.lt> * Makefile.am: install apply-filters-16.xpm 2001-07-04 Gediminas Paulauskas <menesis@delfi.lt> * evolution-mail-message.xml: MessageApplyFilters now has an icon. 2001-07-04 Gediminas Paulauskas <menesis@delfi.lt> * folder-browser-ui.c (message_pixcache): set icon for ApplyFilters command. svn path=/trunk/; revision=10783
* New file. (e_pixmaps_update): Moved here from e-util to break e-utilDan Winship2001-05-281-0/+87
* 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