diff --git a/settings-dialogs/tweaks-settings.c b/settings-dialogs/tweaks-settings.c index 38ebf8993741c9b7ed9ed452060db43109bae434..caf9e5d3b6006c4746c17712d1db5fb5cc11e349 100644 --- a/settings-dialogs/tweaks-settings.c +++ b/settings-dialogs/tweaks-settings.c @@ -75,13 +75,13 @@ cb_use_compositing_check_button_toggled (GtkToggleButton *toggle, GtkWidget *box { gtk_widget_set_sensitive (box, gtk_toggle_button_get_active (toggle)); } - +#if 0 void cb_prevent_focus_stealing_check_button_toggled (GtkToggleButton *toggle, GtkWidget *box) { gtk_widget_set_sensitive (box, gtk_toggle_button_get_active (toggle)); } - +#endif void cb_activate_action_bring_radio_toggled (GtkToggleButton *toggle, XfconfChannel *channel) { @@ -208,11 +208,12 @@ wm_tweaks_dialog_configure_widgets (GladeXML *gxml) "toggled", G_CALLBACK (cb_activate_action_none_radio_toggled), xfwm4_channel); - +#if 0 g_signal_connect (G_OBJECT (prevent_focus_stealing_check), "toggled", G_CALLBACK (cb_prevent_focus_stealing_check_button_toggled), prevent_focus_stealing_box); +#endif g_signal_connect (G_OBJECT (use_compositing_check), "toggled", G_CALLBACK (cb_use_compositing_check_button_toggled), diff --git a/settings-dialogs/xfwm4-tweaks-dialog.glade b/settings-dialogs/xfwm4-tweaks-dialog.glade index 3b950b24324626d7f5d7e4b1ce82fd9eca5044df..6b821a36b5dd4d7f7eba42d98a51ffb671e837fb 100644 --- a/settings-dialogs/xfwm4-tweaks-dialog.glade +++ b/settings-dialogs/xfwm4-tweaks-dialog.glade @@ -119,7 +119,7 @@ or "skip taskbar" properties set</property> <child> <widget class="GtkVBox" id="prevent_focus_stealing_box"> <property name="visible">True</property> - <property name="sensitive">False</property> + <property name="sensitive">True</property> <property name="spacing">6</property> <child> <widget class="GtkLabel" id="label11">