[gnome-tetravex/arnaudb/new-theme] Name themes.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tetravex/arnaudb/new-theme] Name themes.
- Date: Tue, 8 Oct 2019 21:53:31 +0000 (UTC)
commit ded1d85c400c5f2ced34a8e8f9eae100c1cc4f1b
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Tue Oct 8 23:53:02 2019 +0200
Name themes.
Let’s go for NeoRetro and Nostalgia.
data/org.gnome.Tetravex.gschema.xml | 2 +-
src/app-menu.ui | 12 ++++++------
src/puzzle-view.vala | 2 +-
3 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/data/org.gnome.Tetravex.gschema.xml b/data/org.gnome.Tetravex.gschema.xml
index 1d5f0fc..6d62baf 100644
--- a/data/org.gnome.Tetravex.gschema.xml
+++ b/data/org.gnome.Tetravex.gschema.xml
@@ -32,7 +32,7 @@
<description>For users which have a mouse with “Forward” and “Back” buttons, this key will set which
button activates the “Redo” command. Possible values range between 6 and 14.</description>
</key>
<key name="theme" type="s">
- <default>'new'</default>
+ <default>'neoretro'</default>
<!-- Translators: summary of a settings key, see 'dconf-editor /org/gnome/Tetravex/theme' -->
<summary>Theme</summary>
<!-- TODO add description, see Reversi -->
diff --git a/src/app-menu.ui b/src/app-menu.ui
index 0e20701..b96b4ef 100644
--- a/src/app-menu.ui
+++ b/src/app-menu.ui
@@ -16,16 +16,16 @@
<attribute name="label" translatable="yes">A_ppearance</attribute>
<section>
<item>
- <!-- Translators: entry of the Appearance submenu of the hamburger menu (with a mnemonic that
appears when pressing Alt); set theme to New Theme; other possible theme is _Old theme -->
- <attribute name="label" translatable="yes">_New theme</attribute>
+ <!-- Translators: entry of the Appearance submenu of the hamburger menu (with a mnemonic that
appears when pressing Alt); set theme to NeoRetro; other possible theme is _Nostalgia -->
+ <attribute name="label" translatable="yes">Neo_Retro</attribute>
<attribute name="action">app.theme</attribute>
- <attribute name="target">new</attribute>
+ <attribute name="target">neoretro</attribute>
</item>
<item>
- <!-- Translators: entry of the Appearance submenu of the hamburger menu (with a mnemonic that
appears when pressing Alt); set theme to Old Theme; other possible theme is _New theme -->
- <attribute name="label" translatable="yes">_Old theme</attribute>
+ <!-- Translators: entry of the Appearance submenu of the hamburger menu (with a mnemonic that
appears when pressing Alt); set theme to Nostalgia; other possible theme is Neo_Retro -->
+ <attribute name="label" translatable="yes">_Nostalgia</attribute>
<attribute name="action">app.theme</attribute>
- <attribute name="target">old</attribute>
+ <attribute name="target">nostalgia</attribute>
</item>
</section>
</submenu>
diff --git a/src/puzzle-view.vala b/src/puzzle-view.vala
index 8c52464..ceedb44 100644
--- a/src/puzzle-view.vala
+++ b/src/puzzle-view.vala
@@ -103,7 +103,7 @@ private class PuzzleView : Gtk.DrawingArea
{
internal set
{
- if (value != "old") // including "value == new"
+ if (value != "nostalgia") // including "value == neoretro"
{ theme = new NewTheme (); if (tilesize != 0) theme.configure (tilesize); queue_draw ();
return; }
else
{ theme = new OldTheme (); if (tilesize != 0) theme.configure (tilesize); queue_draw ();
return; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]