Commit 171bf0e2 authored by Nick Schermer's avatar Nick Schermer

Don't hide the tab and set better label.

Hiding the notebook completely feels a bit strange.
parent 77f2f3aa
......@@ -1102,7 +1102,6 @@ mouse_settings_device_selection_changed (GtkBuilder *builder)
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (object), is_enabled > 0);
object = gtk_builder_get_object (builder, "device-notebook");
gtk_notebook_set_show_tabs (GTK_NOTEBOOK (object), is_synaptics || is_wacom);
gtk_widget_set_sensitive (GTK_WIDGET (object), is_enabled == 1);
/* synaptics options */
......
......@@ -409,7 +409,7 @@
<object class="GtkLabel" id="label4">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">_General</property>
<property name="label" translatable="yes">B_uttons and Feedback</property>
<property name="use_underline">True</property>
</object>
<packing>
......@@ -618,7 +618,7 @@
</packing>
</child>
<child type="tab">
<object class="GtkLabel" id="label5">
<object class="GtkLabel" id="synaptics-label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">T_ouchpad</property>
......@@ -747,7 +747,7 @@
</packing>
</child>
<child type="tab">
<object class="GtkLabel" id="label13">
<object class="GtkLabel" id="wacom-label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Table_t</property>
......
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