summaryrefslogtreecommitdiff
path: root/capplets/windows/mate-window-properties.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-02-18 12:44:29 +0100
committerStefano Karapetsas <[email protected]>2014-02-18 12:44:29 +0100
commit09005bb34140eb70e2763df12b1c58a1d1ae3023 (patch)
treebece1699988efc946a8675114a3be62a06353be8 /capplets/windows/mate-window-properties.c
parent510db1d630afce59d26d92410acc0bfa6e1478b9 (diff)
downloadmate-control-center-09005bb34140eb70e2763df12b1c58a1d1ae3023.tar.bz2
mate-control-center-09005bb34140eb70e2763df12b1c58a1d1ae3023.tar.xz
windows: Disable the dialog if window manager changed, without quit
Diffstat (limited to 'capplets/windows/mate-window-properties.c')
-rw-r--r--capplets/windows/mate-window-properties.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/capplets/windows/mate-window-properties.c b/capplets/windows/mate-window-properties.c
index e663cd8f..65aa5a2a 100644
--- a/capplets/windows/mate-window-properties.c
+++ b/capplets/windows/mate-window-properties.c
@@ -228,10 +228,7 @@ wm_changed_callback (GdkScreen *screen,
current_wm = gdk_x11_screen_get_window_manager_name (screen);
- if (g_strcmp0 (current_wm, WM_COMMON_MARCO) != 0) {
- wm_unsupported ();
- gtk_main_quit ();
- }
+ gtk_widget_set_sensitive (dialog_win, g_strcmp0 (current_wm, WM_COMMON_MARCO) == 0);
}
static void