diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2003-01-28 05:08:46 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2003-01-28 05:08:46 +0800 |
commit | dd15703ae5ba4fbca40190130ad64b3e78341a6a (patch) | |
tree | fa0cd9d710894f1b1c1965b0e90ea1d398ca9374 /e-util/e-dialog-utils.h | |
parent | 1d9a3023e59067ea10eea867cbcb831ea265beb3 (diff) | |
download | gsoc2013-evolution-dd15703ae5ba4fbca40190130ad64b3e78341a6a.tar.gz gsoc2013-evolution-dd15703ae5ba4fbca40190130ad64b3e78341a6a.tar.zst gsoc2013-evolution-dd15703ae5ba4fbca40190130ad64b3e78341a6a.zip |
Port to GtkDialog. Strdup the text returned by GtkEntry after destroying
* e-request.c (e_request_string): Port to GtkDialog. Strdup the
text returned by GtkEntry after destroying the dialog, not before.
Use gtk_editable_select_region() instead of
gtk_entry_select_region(). Add a little bit of padding to make it
look less crampy and set a default width.
* e-dialog-utils.h (e_gnome_dialog_set_parent): Declare only if
GNOME_DISABLE_DEPRECATED is not #defined.
(e_gnome_warning_dialog_parented): Likewise.
(e_gnome_ok_cancel_dialog_parented): Likewise.
svn path=/trunk/; revision=19657
Diffstat (limited to 'e-util/e-dialog-utils.h')
-rw-r--r-- | e-util/e-dialog-utils.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/e-util/e-dialog-utils.h b/e-util/e-dialog-utils.h index 275f8ec264..fbb32d8804 100644 --- a/e-util/e-dialog-utils.h +++ b/e-util/e-dialog-utils.h @@ -34,6 +34,10 @@ void e_set_dialog_parent (GtkWindow *dialog, GtkWidget *parent_widget); void e_set_dialog_parent_from_xid (GtkWindow *dialog, Window 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); GtkWidget *e_gnome_warning_dialog_parented (const char *warning, @@ -42,6 +46,8 @@ GtkWidget *e_gnome_ok_cancel_dialog_parented (const char *message, GnomeReplyCallback callback, gpointer data, GtkWindow *parent); +#endif + char *e_file_dialog_save (const char *title); |