[gnome-chess] Remove "Show Toolbar" option
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-chess] Remove "Show Toolbar" option
- Date: Sat, 6 Jul 2013 19:58:08 +0000 (UTC)
commit 87425a5a02bc271641a266cce10767f69ce89dae
Author: Michael Catanzaro <mike catanzaro gmail com>
Date: Sat Jul 6 14:36:58 2013 -0500
Remove "Show Toolbar" option
Toolbar is now mandatory. You won't be able to do much without it.
data/org.gnome.gnome-chess.gschema.xml.in | 5 -----
data/preferences.ui | 16 ----------------
src/gnome-chess.vala | 3 ---
3 files changed, 0 insertions(+), 24 deletions(-)
---
diff --git a/data/org.gnome.gnome-chess.gschema.xml.in b/data/org.gnome.gnome-chess.gschema.xml.in
index 7f7aee5..7f2f47e 100644
--- a/data/org.gnome.gnome-chess.gschema.xml.in
+++ b/data/org.gnome.gnome-chess.gschema.xml.in
@@ -72,11 +72,6 @@
<_summary>A flag to enable the move history browser</_summary>
<_description>A flag to enable the move history browser</_description>
</key>
- <key name="show-toolbar" type="b">
- <default>false</default>
- <_summary>A flag to enable the toolbar</_summary>
- <_description>A flag to enable the toolbar</_description>
- </key>
<key name="save-directory" type="s">
<default>''</default>
<_summary>The directory to open the save game dialog in</_summary>
diff --git a/data/preferences.ui b/data/preferences.ui
index a018ca5..fa44772 100644
--- a/data/preferences.ui
+++ b/data/preferences.ui
@@ -592,22 +592,6 @@
</packing>
</child>
<child>
- <object class="GtkCheckButton" id="show_toolbar_check">
- <property name="label" translatable="yes" comments="Preferences Dialog: Check box
for selecting if toolbar is visible">Show _Toolbar</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="xalign">0.5</property>
- <property name="draw_indicator">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">3</property>
- </packing>
- </child>
- <child>
<object class="GtkCheckButton" id="show_history_check">
<property name="label" translatable="yes" comments="Preferences Dialog: Check box
for selecting if history browser is visible">Show _History</property>
<property name="visible">True</property>
diff --git a/src/gnome-chess.vala b/src/gnome-chess.vala
index 4cbe69d..8e0612b 100644
--- a/src/gnome-chess.vala
+++ b/src/gnome-chess.vala
@@ -115,7 +115,6 @@ public class Application : Gtk.Application
history_combo = (Gtk.ComboBox) builder.get_object ("history_combo");
white_time_label = (Gtk.Widget) builder.get_object ("white_time_label");
black_time_label = (Gtk.Widget) builder.get_object ("black_time_label");
- settings.bind ("show-toolbar", builder.get_object ("toolbar"), "visible", SettingsBindFlags.DEFAULT);
settings.bind ("show-history", builder.get_object ("navigation_box"), "visible",
SettingsBindFlags.DEFAULT);
var view_box = (Gtk.VBox) builder.get_object ("view_box");
view_container = (Gtk.Container) builder.get_object ("view_container");
@@ -1252,8 +1251,6 @@ public class Application : Gtk.Application
"active", SettingsBindFlags.DEFAULT);
settings.bind ("show-move-hints", preferences_builder.get_object ("show_move_hints_check"),
"active", SettingsBindFlags.DEFAULT);
- settings.bind ("show-toolbar", preferences_builder.get_object ("show_toolbar_check"),
- "active", SettingsBindFlags.DEFAULT);
settings.bind ("show-history", preferences_builder.get_object ("show_history_check"),
"active", SettingsBindFlags.DEFAULT);
settings.bind ("show-3d", preferences_builder.get_object ("show_3d_check"),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]