diff options
author | John Sullivan <sullivan@src.gnome.org> | 2000-08-02 22:35:11 +0000 |
---|---|---|
committer | John Sullivan <sullivan@src.gnome.org> | 2000-08-02 22:35:11 +0000 |
commit | d4f4026de543a1877d0a336aa762ebaa28aa3c58 (patch) | |
tree | 923076cf66bd1118243a4bb39409df0368c14a27 /libnautilus-extensions/nautilus-global-preferences.c | |
parent | d7268124497ec908754aea35361027fce47c570b (diff) | |
download | nautilus-d4f4026de543a1877d0a336aa762ebaa28aa3c58.tar.gz |
Fixed bug 1877 (Customize window doesn't come to front if
it's already showing when menu item selected)
* src/nautilus-property-browser.c:
(nautilus_property_browser_show): Use nautilus_gtk_window_present
instead of gtk_widget_show.
* libnautilus-extensions/nautilus-global-preferences.c:
(nautilus_global_preferences_show_dialog): Same thing for the
user-level settings window.
Diffstat (limited to 'libnautilus-extensions/nautilus-global-preferences.c')
-rw-r--r-- | libnautilus-extensions/nautilus-global-preferences.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libnautilus-extensions/nautilus-global-preferences.c b/libnautilus-extensions/nautilus-global-preferences.c index 9edcb627f..8d6d93b44 100644 --- a/libnautilus-extensions/nautilus-global-preferences.c +++ b/libnautilus-extensions/nautilus-global-preferences.c @@ -33,6 +33,7 @@ #include "nautilus-preferences-dialog.h" #include "nautilus-user-level-manager.h" #include "nautilus-glib-extensions.h" +#include "nautilus-gtk-extensions.h" #include "nautilus-file-utilities.h" #include "nautilus-view-identifier.h" #include "nautilus-string.h" @@ -788,7 +789,7 @@ nautilus_global_preferences_show_dialog (void) { GtkWidget *dialog = global_preferences_get_dialog (); - gtk_widget_show (dialog); + nautilus_gtk_window_present (GTK_WINDOW (dialog)); } void |