From 09005bb34140eb70e2763df12b1c58a1d1ae3023 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Tue, 18 Feb 2014 12:44:29 +0100 Subject: windows: Disable the dialog if window manager changed, without quit --- capplets/windows/mate-window-properties.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'capplets') 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 -- cgit v1.2.1