Commit c481d29b authored by Nick Schermer's avatar Nick Schermer
Browse files

Set sensitivity of custom dpi spinner.

parent 38e24bbf
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment