[gnome-tetravex/arnaudb/new-theme-2] Rename to Extrusion.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tetravex/arnaudb/new-theme-2] Rename to Extrusion.
- Date: Wed, 9 Oct 2019 21:20:53 +0000 (UTC)
commit 7ec8a3660c79473fe2ca4dfb71c78f71ac45b8b5
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Wed Oct 9 23:20:25 2019 +0200
Rename to Extrusion.
data/org.gnome.Tetravex.gschema.xml | 2 +-
po/POTFILES.in | 2 +-
po/POTFILES.skip | 2 +-
src/app-menu.ui | 8 ++++----
src/meson.build | 2 +-
src/puzzle-view.vala | 2 +-
src/{theme-adwaita.vala => theme-extrusion.vala} | 2 +-
7 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/data/org.gnome.Tetravex.gschema.xml b/data/org.gnome.Tetravex.gschema.xml
index 775f418..34b08cb 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>'adwaita'</default>
+ <default>'extrusion'</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/po/POTFILES.in b/po/POTFILES.in
index 91fbd5c..6bca6e2 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -10,6 +10,6 @@ src/help-overlay.ui
src/puzzle.vala
src/puzzle-view.vala
src/score-dialog.vala
-src/theme-adwaita.vala
+src/theme-extrusion.vala
src/theme-neoretro.vala
src/theme-nostalgia.vala
diff --git a/po/POTFILES.skip b/po/POTFILES.skip
index 8cd780c..43a1ad7 100644
--- a/po/POTFILES.skip
+++ b/po/POTFILES.skip
@@ -2,6 +2,6 @@ src/gnome-tetravex.c
src/puzzle.c
src/puzzle-view.c
src/score-dialog.c
-src/theme-adwaita.c
+src/theme-extrusion.c
src/theme-neoretro.c
src/theme-nostalgia.c
diff --git a/src/app-menu.ui b/src/app-menu.ui
index 67d3b83..619bd96 100644
--- a/src/app-menu.ui
+++ b/src/app-menu.ui
@@ -17,18 +17,18 @@
<section>
<item>
<!-- Translators: entry of the Appearance submenu of the hamburger menu (with a mnemonic that
appears when pressing Alt); set theme to Adwaita; other possible themes are Neo_Retro and _Nostalgia -->
- <attribute name="label" translatable="yes">_Adwaita</attribute>
+ <attribute name="label" translatable="yes">_Extrusion</attribute>
<attribute name="action">app.theme</attribute>
- <attribute name="target">adwaita</attribute>
+ <attribute name="target">extrusion</attribute>
</item>
<item>
- <!-- Translators: entry of the Appearance submenu of the hamburger menu (with a mnemonic that
appears when pressing Alt); set theme to NeoRetro; other possible themes are _Adwaita and _Nostalgia -->
+ <!-- Translators: entry of the Appearance submenu of the hamburger menu (with a mnemonic that
appears when pressing Alt); set theme to NeoRetro; other possible themes are _Extrusion and _Nostalgia -->
<attribute name="label" translatable="yes">Neo_Retro</attribute>
<attribute name="action">app.theme</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 Nostalgia; other possible themes are _Adwaita and Neo_Retro -->
+ <!-- Translators: entry of the Appearance submenu of the hamburger menu (with a mnemonic that
appears when pressing Alt); set theme to Nostalgia; other possible themes are _Extrusion and Neo_Retro -->
<attribute name="label" translatable="yes">_Nostalgia</attribute>
<attribute name="action">app.theme</attribute>
<attribute name="target">nostalgia</attribute>
diff --git a/src/meson.build b/src/meson.build
index 771a616..0124bad 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -9,7 +9,7 @@ sources = files (
'puzzle.vala',
'puzzle-view.vala',
'score-dialog.vala',
- 'theme-adwaita.vala',
+ 'theme-extrusion.vala',
'theme-neoretro.vala',
'theme-nostalgia.vala'
)
diff --git a/src/puzzle-view.vala b/src/puzzle-view.vala
index 6cae849..c27fee9 100644
--- a/src/puzzle-view.vala
+++ b/src/puzzle-view.vala
@@ -121,7 +121,7 @@ private class PuzzleView : Gtk.DrawingArea
switch (value)
{
default:
- case "adwaita" : theme = new AdwaitaTheme (); break;
+ case "extrusion" : theme = new ExtrusionTheme (); break;
case "neoretro" : theme = new NeoRetroTheme (); break;
case "nostalgia" : theme = new NostalgiaTheme (); break;
}
diff --git a/src/theme-adwaita.vala b/src/theme-extrusion.vala
similarity index 99%
rename from src/theme-adwaita.vala
rename to src/theme-extrusion.vala
index 7ecfb11..0fd6838 100644
--- a/src/theme-adwaita.vala
+++ b/src/theme-extrusion.vala
@@ -9,7 +9,7 @@
* license.
*/
-private class AdwaitaTheme : Theme
+private class ExtrusionTheme : Theme
{
/*\
* * colors arrays
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]