diff options
author | Not Zed <NotZed@Ximian.com> | 2002-12-02 11:23:57 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2002-12-02 11:23:57 +0800 |
commit | 9d77b85ae36094fd1a0b07be4ebb69e047c9cec1 (patch) | |
tree | bbbaa747e8cf40cb220d651d4b2fdd8159fae652 /shell/e-shell-shared-folder-picker-dialog.c | |
parent | 2a7bc6967326be929beb1e0d7a3ba091022d59e9 (diff) | |
download | gsoc2013-evolution-9d77b85ae36094fd1a0b07be4ebb69e047c9cec1.tar.gz gsoc2013-evolution-9d77b85ae36094fd1a0b07be4ebb69e047c9cec1.tar.zst gsoc2013-evolution-9d77b85ae36094fd1a0b07be4ebb69e047c9cec1.zip |
changed to use a gtkdialog instead of a gnome one.
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
Diffstat (limited to 'shell/e-shell-shared-folder-picker-dialog.c')
-rw-r--r-- | shell/e-shell-shared-folder-picker-dialog.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/shell/e-shell-shared-folder-picker-dialog.c b/shell/e-shell-shared-folder-picker-dialog.c index 3d42c79d68..18ec980678 100644 --- a/shell/e-shell-shared-folder-picker-dialog.c +++ b/shell/e-shell-shared-folder-picker-dialog.c @@ -195,7 +195,7 @@ setup_server_option_menu (EShell *shell, g_object_set_data_full (G_OBJECT (menu_item), "storage_name", g_strdup (storage_name), g_free); gtk_widget_show (menu_item); - gtk_menu_append (GTK_MENU (menu), menu_item); + gtk_menu_shell_append(GTK_MENU_SHELL(menu), menu_item); if (*storage_name_return == NULL) *storage_name_return = g_strdup (storage_name); @@ -354,7 +354,7 @@ create_progress_dialog (EShell *shell, char *text; dialog = gnome_dialog_new (_("Opening Folder"), GNOME_STOCK_BUTTON_CANCEL, NULL); - gtk_widget_set_usize (dialog, 300, -1); + gtk_widget_set_size_request (dialog, 300, -1); gtk_window_set_policy (GTK_WINDOW (dialog), FALSE, FALSE, FALSE); g_signal_connect (dialog, "close", @@ -445,8 +445,7 @@ shared_folder_discovery_callback (EStorage *storage, else e_shell_create_view (shell, uri, NULL); } else { - e_notice (parent ? GTK_WINDOW (parent) : NULL, - GNOME_MESSAGE_BOX_ERROR, + e_notice (parent ? GTK_WINDOW (parent) : NULL, GTK_MESSAGE_ERROR, _("Could not open shared folder: %s."), e_storage_result_to_string (result)); } @@ -499,7 +498,7 @@ discover_folder (EShell *shell, error: /* FIXME: Be more verbose? */ - e_notice (GTK_WINDOW (parent), GNOME_MESSAGE_BOX_ERROR, + e_notice (GTK_WINDOW (parent), GTK_MESSAGE_ERROR, _("Cannot find the specified shared folder.")); } |