[Xfce4-commits] r27051 - xfce-mcs-plugins/branches/xfce-plugins-stephan/dialogs/keyboard-settings
Stephan Arts
stephan at xfce.org
Fri Jun 13 01:01:11 CEST 2008
Author: stephan
Date: 2008-06-12 23:01:10 +0000 (Thu, 12 Jun 2008)
New Revision: 27051
Modified:
xfce-mcs-plugins/branches/xfce-plugins-stephan/dialogs/keyboard-settings/keyboard-dialog.glade
xfce-mcs-plugins/branches/xfce-plugins-stephan/dialogs/keyboard-settings/main.c
Log:
Connect the first property in the kb-settings dialog
Modified: xfce-mcs-plugins/branches/xfce-plugins-stephan/dialogs/keyboard-settings/keyboard-dialog.glade
===================================================================
--- xfce-mcs-plugins/branches/xfce-plugins-stephan/dialogs/keyboard-settings/keyboard-dialog.glade 2008-06-12 22:12:16 UTC (rev 27050)
+++ xfce-mcs-plugins/branches/xfce-plugins-stephan/dialogs/keyboard-settings/keyboard-dialog.glade 2008-06-12 23:01:10 UTC (rev 27051)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
-<!--Generated with glade3 3.4.5 on Fri Jun 13 00:10:47 2008 -->
+<!--Generated with glade3 3.4.5 on Fri Jun 13 01:00:30 2008 -->
<glade-interface>
<requires lib="xfce4"/>
<widget class="GtkDialog" id="keyboard-settings-dialog">
@@ -248,7 +248,7 @@
<widget class="GtkVBox" id="vbox4">
<property name="visible">True</property>
<child>
- <widget class="GtkCheckButton" id="checkbutton2">
+ <widget class="GtkCheckButton" id="net_cursor_blink_check">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">Show blinking</property>
@@ -287,7 +287,7 @@
</packing>
</child>
<child>
- <widget class="GtkHScale" id="hscale3">
+ <widget class="GtkHScale" id="net_cursor_blink_time_scale">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="adjustment">10 0 100 1 10 10</property>
Modified: xfce-mcs-plugins/branches/xfce-plugins-stephan/dialogs/keyboard-settings/main.c
===================================================================
--- xfce-mcs-plugins/branches/xfce-plugins-stephan/dialogs/keyboard-settings/main.c 2008-06-12 22:12:16 UTC (rev 27050)
+++ xfce-mcs-plugins/branches/xfce-plugins-stephan/dialogs/keyboard-settings/main.c 2008-06-12 23:01:10 UTC (rev 27051)
@@ -55,6 +55,14 @@
{
XfconfChannel *xsettings_channel = xfconf_channel_new("xsettings");
+ GtkWidget *blinking_check = glade_xml_get_widget (gxml, "net_cursor_blink_check");
+ GtkWidget *blinking_scale = glade_xml_get_widget (gxml, "net_cursor_blink_time_scale");
+
+ xfconf_g_property_bind (xsettings_channel,
+ "/Net/CursorBlink",
+ G_TYPE_BOOLEAN,
+ (GObject *)blinking_check, "active");
+
GtkWidget *dialog = glade_xml_get_widget (gxml, "keyboard-settings-dialog");
gtk_widget_show_all(dialog);
gtk_widget_hide(dialog);
More information about the Xfce4-commits
mailing list