Commit Graph

9 Commits

Author SHA1 Message Date
233ec93774 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
2003-03-25 15:47:45 +00:00
71defb68b9 Rename, rewrite, make them actually work.
* e-dialog-utils.c (e_dialog_set_transient_for,
	e_dialog_set_transient_for_xid): Rename, rewrite, make them
	actually work.

svn path=/trunk/; revision=20482
2003-03-24 17:13:28 +00:00
dd15703ae5 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
2003-01-27 21:08:46 +00:00
9104b3079a open a file selection dialog with the given title and return the selected
2002-03-29  JP Rosevear  <jpr@ximian.com>

	* e-dialog-utils.c (e_file_dialog_save): open a file selection
	dialog with the given title and return the selected file name
	(save_ok): if the ok button is clicked, make sure the file doesn't
	already exist and if it does, see if the user wants to over write
	it

	* e-dialog-utils.h: new proto

svn path=/trunk/; revision=16284
2002-03-29 21:30:46 +00:00
178c7af85f remove e_gnome_dialog util functions and use e-util ones instead
2002-01-02  JP Rosevear  <jpr@ximian.com>

	* mail-callbacks.c: remove e_gnome_dialog util functions and use
	e-util ones instead

2002-01-02  JP Rosevear  <jpr@ximian.com>

	* e-dialog-utils.c (e_gnome_dialog_set_parent): util function
	moved from mail-callbacks, also destroys the dialog if the parent
	is destroyed
	(e_gnome_warning_dialog_parented): similarly
	(e_gnome_ok_cancel_dialog_parented): ditto

	* e-dialog-utils.h: new protos

svn path=/trunk/; revision=15225
2002-01-02 19:11:03 +00:00
08fb7329cb Fixing the license text.
svn path=/trunk/; revision=14212
2001-10-27 16:59:46 +00:00
02dcd0aadf Update the licensing information to require version 2 of the GPL
(instead of version 2 or any later version).

svn path=/trunk/; revision=14190
2001-10-27 00:25:49 +00:00
cb0ed21028 Fix the WM problems related to the folder selection dialog being
out-of-proc.  Now it can be set to be a transient window correctly,
and fakes its WindowGroup hint appropriately.

svn path=/trunk/; revision=13765
2001-10-18 19:58:22 +00:00
af262b103c New. New.
* e-dialog-utils.h: New.
* e-dialog-utils.c: New.

svn path=/trunk/; revision=11767
2001-08-08 08:17:00 +00:00