summaryrefslogtreecommitdiff
path: root/capplets/common
diff options
context:
space:
mode:
authorRichard Hestilow <hestilow@ximian.com>2002-03-28 23:54:34 +0000
committerRachel Hestilow <hestgray@src.gnome.org>2002-03-28 23:54:34 +0000
commitad88cdbaba0c6be5db1d1d74a9ca8e5d77c25b5f (patch)
tree5c78aa6a9b8e311c2158c19cea2dee9b484a91b4 /capplets/common
parentb58a24bd2e909f1fd1665e994d02ae23d668408a (diff)
downloadgnome-control-center-ad88cdbaba0c6be5db1d1d74a9ca8e5d77c25b5f.tar.gz
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.
Diffstat (limited to 'capplets/common')
-rw-r--r--capplets/common/ChangeLog5
-rw-r--r--capplets/common/gconf-property-editor.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/capplets/common/ChangeLog b/capplets/common/ChangeLog
index 955fb5cc1..46c0bdafa 100644
--- a/capplets/common/ChangeLog
+++ b/capplets/common/ChangeLog
@@ -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.
diff --git a/capplets/common/gconf-property-editor.c b/capplets/common/gconf-property-editor.c
index 4d0c01f85..3c4d52515 100644
--- a/capplets/common/gconf-property-editor.c
+++ b/capplets/common/gconf-property-editor.c
@@ -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);