Author: olivier
Date: 2008-11-11 18:53:57 +0000 (Tue, 11 Nov 2008)
New Revision: 28760

Modified:
   xfwm4/trunk/ChangeLog
   xfwm4/trunk/settings-dialogs/xfwm4-settings.c
Log:
        * settings-dialogs/xfwm4-settings.c: Fix focus model selection

Modified: xfwm4/trunk/ChangeLog
===================================================================
--- xfwm4/trunk/ChangeLog       2008-11-11 18:42:40 UTC (rev 28759)
+++ xfwm4/trunk/ChangeLog       2008-11-11 18:53:57 UTC (rev 28760)
@@ -1,3 +1,7 @@
+2008-11-11  olivier
+
+       * settings-dialogs/xfwm4-settings.c: Fix focus model selection
+
 2008-11-11     jannis
 
        * src/settings.c: Place the sidewalks again after wrap_workspaces has

Modified: xfwm4/trunk/settings-dialogs/xfwm4-settings.c
===================================================================
--- xfwm4/trunk/settings-dialogs/xfwm4-settings.c       2008-11-11 18:42:40 UTC 
(rev 28759)
+++ xfwm4/trunk/settings-dialogs/xfwm4-settings.c       2008-11-11 18:53:57 UTC 
(rev 28760)
@@ -420,6 +420,7 @@
   GtkWidget          *focus_delay_scale;
   GtkWidget          *raise_on_click_check;
   GtkWidget          *raise_on_focus_check;
+  GtkWidget          *click_to_focus_radio;
   GtkWidget          *focus_new_check;
   GtkWidget          *box_move_check;
   GtkWidget          *box_resize_check;
@@ -629,6 +630,7 @@
   focus_new_check = glade_xml_get_widget (settings->priv->glade_xml, 
"focus_new_check");
   raise_on_focus_check = glade_xml_get_widget (settings->priv->glade_xml, 
"raise_on_focus_check");
   raise_on_click_check = glade_xml_get_widget (settings->priv->glade_xml, 
"raise_on_click_check");
+  click_to_focus_radio = glade_xml_get_widget (settings->priv->glade_xml, 
"click_to_focus_radio");
 
   /* Focus tab */
   xfconf_g_property_bind (settings->priv->wm_channel, "/general/focus_delay", 
G_TYPE_INT,
@@ -639,6 +641,8 @@
                           raise_on_focus_check, "active");
   xfconf_g_property_bind (settings->priv->wm_channel, "/general/focus_new", 
G_TYPE_BOOLEAN,
                           focus_new_check, "active");
+  xfconf_g_property_bind (settings->priv->wm_channel, 
"/general/click_to_focus", G_TYPE_BOOLEAN,
+                          click_to_focus_radio, "active");
 
   g_signal_connect (settings->priv->wm_channel, 
"property-changed::/general/click_to_focus", 
                     G_CALLBACK 
(xfwm_settings_click_to_focus_property_changed), settings);

_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to