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

@ -1402,7 +1402,8 @@ 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)
gconf_change_set_check_value (peditor->p->changeset, peditor->p->key, &value);