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
This commit is contained in:
@ -62,7 +62,7 @@ void e_pixmaps_update (BonoboUIComponent *uic, EPixmap *pixcache)
|
||||
g_warning ("Cannot load image -- %s", path);
|
||||
} else {
|
||||
pixcache [i].pixbuf = bonobo_ui_util_pixbuf_to_xml (pixbuf);
|
||||
gdk_pixbuf_unref (pixbuf);
|
||||
g_object_unref (pixbuf);
|
||||
bonobo_ui_component_set_prop (uic,
|
||||
pixcache [i].path, "pixname",
|
||||
pixcache [i].pixbuf, NULL);
|
||||
@ -136,7 +136,7 @@ e_activation_failure_dialog (GtkWindow *parent, const char *msg,
|
||||
}
|
||||
CORBA_exception_free (&ev);
|
||||
|
||||
e_notice (parent, GNOME_MESSAGE_BOX_ERROR, errmsg);
|
||||
e_notice (parent, GTK_MESSAGE_ERROR, errmsg);
|
||||
g_free (errmsg);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user