[Xfce4-commits] <xfce4-settings:master> Set sensitivity of custom dpi spinner.
Nick Schermer
noreply at xfce.org
Fri Feb 25 10:58:01 CET 2011
Updating branch refs/heads/master
to c481d29bfd38f86b3bcfa9f5ca62c4d6044c87e1 (commit)
from 38e24bbf265081f31c5690c0f6db88c08cbfe825 (commit)
commit c481d29bfd38f86b3bcfa9f5ca62c4d6044c87e1
Author: Nick Schermer <nick at xfce.org>
Date: Fri Feb 25 10:57:22 2011 +0100
Set sensitivity of custom dpi spinner.
dialogs/appearance-settings/main.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dialogs/appearance-settings/main.c b/dialogs/appearance-settings/main.c
index 0f900e1..4ec41c4 100644
--- a/dialogs/appearance-settings/main.c
+++ b/dialogs/appearance-settings/main.c
@@ -783,6 +783,7 @@ appearance_settings_dialog_configure_widgets (GtkBuilder *builder)
object = gtk_builder_get_object (builder, "xft_custom_dpi_check_button");
object2 = gtk_builder_get_object (builder, "xft_custom_dpi_spin_button");
appearance_settings_dialog_channel_property_changed (xsettings_channel, "/Xft/DPI", NULL, builder);
+ gtk_widget_set_sensitive (GTK_WIDGET (object2), gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (object)));
g_signal_connect (G_OBJECT (object), "toggled", G_CALLBACK (cb_custom_dpi_check_button_toggled), object2);
g_signal_connect (G_OBJECT (object2), "value-changed", G_CALLBACK (cb_custom_dpi_spin_button_changed), object);
More information about the Xfce4-commits
mailing list