Set fsel to modal, it seems to fix a weird grabbing bug.

2002-03-28  Richard Hestilow  <hestilow@ximian.com>

	* gconf-property-editor.c (peditor_image_clicked_cb): Set
	fsel to modal, it seems to fix a weird grabbing bug.
This commit is contained in:
Richard Hestilow 2002-03-28 23:54:34 +00:00 committed by Rachel Hestilow
parent b58a24bd2e
commit ad88cdbaba
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2002-03-28 Richard Hestilow <hestilow@ximian.com>
* gconf-property-editor.c (peditor_image_clicked_cb): Set
fsel to modal, it seems to fix a weird grabbing bug.
2003-03-26 Kjartan Maraas <kmaraas@gnome.org>
* activate-settings-daemon.c: Fix a string.

View file

@ -1402,6 +1402,7 @@ peditor_image_clicked_cb (GConfPropertyEditor *peditor, GtkButton *button)
GtkWidget *fsel;
fsel = preview_file_selection_new (_("Please select an image."), TRUE);
gtk_window_set_modal (GTK_WINDOW (fsel), TRUE);
/* need the current filename */
if (peditor->p->changeset)