aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-dialog-utils.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2003-03-25 23:47:45 +0800
committerDan Winship <danw@src.gnome.org>2003-03-25 23:47:45 +0800
commit233ec937746ac54c25d52771bfbb9ecc475a8919 (patch)
tree2e42ce083827aca360c5c1e122e8ec1929b74641 /e-util/e-dialog-utils.h
parent351cb225cbaf139c4d8264e26962460e9705280e (diff)
downloadgsoc2013-evolution-233ec937746ac54c25d52771bfbb9ecc475a8919.tar.gz
gsoc2013-evolution-233ec937746ac54c25d52771bfbb9ecc475a8919.tar.zst
gsoc2013-evolution-233ec937746ac54c25d52771bfbb9ecc475a8919.zip
Move this here from gal. Use e_dialog_set_transient_for so it DTRT for
* e-dialog-utils.c (e_notice): Move this here from gal. Use e_dialog_set_transient_for so it DTRT for out-of-proc components. (e_notice_with_xid): Like e_notice but with an X Window ID as the parent window (e_gnome_dialog_set_parent): Remove this, since it was marked deprecated and only used in one place. (e_file_dialog_save): Make this use GtkMessageDialog instead of GnomeDialog svn path=/trunk/; revision=20498
Diffstat (limited to 'e-util/e-dialog-utils.h')
-rw-r--r--e-util/e-dialog-utils.h35
1 files changed, 17 insertions, 18 deletions
diff --git a/e-util/e-dialog-utils.h b/e-util/e-dialog-utils.h
index dfacfd4149..6e6cff8fb9 100644
--- a/e-util/e-dialog-utils.h
+++ b/e-util/e-dialog-utils.h
@@ -23,24 +23,23 @@
#ifndef E_DIALOG_UTILS_H
#define E_DIALOG_UTILS_H
-#include <gtk/gtkwindow.h>
-#include <gtk/gtkwidget.h>
-#include <libgnomeui/gnome-types.h>
-#include <libgnomeui/gnome-dialog.h>
-
-void e_dialog_set_transient_for (GtkWindow *dialog,
- GtkWidget *parent_widget);
-void e_dialog_set_transient_for_xid (GtkWindow *dialog,
- GdkNativeWindow xid);
-
-/* FIXME These functions should go away completely at some point. */
-
-#ifndef GNOME_DISABLE_DEPRECATED
-void e_gnome_dialog_set_parent (GnomeDialog *dialog,
- GtkWindow *parent);
-#endif
-
-char *e_file_dialog_save (const char *title);
+#include <gtk/gtkmessagedialog.h>
+
+void e_notice (gpointer parent,
+ GtkMessageType type,
+ const char *format,
+ ...);
+void e_notice_with_xid (GdkNativeWindow parent,
+ GtkMessageType type,
+ const char *format,
+ ...);
+
+void e_dialog_set_transient_for (GtkWindow *dialog,
+ GtkWidget *parent_widget);
+void e_dialog_set_transient_for_xid (GtkWindow *dialog,
+ GdkNativeWindow xid);
+
+char *e_file_dialog_save (const char *title);
#endif