[gnome-tetravex/arnaudb/new-theme] Rename classes also.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tetravex/arnaudb/new-theme] Rename classes also.
- Date: Tue, 8 Oct 2019 22:34:17 +0000 (UTC)
commit 59dd9c2195ca4e3dc4b28c7ad598b1993a782a8c
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Wed Oct 9 00:34:10 2019 +0200
Rename classes also.
src/puzzle-view.vala | 4 ++--
src/theme-neoretro.vala | 2 +-
src/theme-nostalgia.vala | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/puzzle-view.vala b/src/puzzle-view.vala
index ceedb44..7a52cf2 100644
--- a/src/puzzle-view.vala
+++ b/src/puzzle-view.vala
@@ -104,9 +104,9 @@ private class PuzzleView : Gtk.DrawingArea
internal set
{
if (value != "nostalgia") // including "value == neoretro"
- { theme = new NewTheme (); if (tilesize != 0) theme.configure (tilesize); queue_draw ();
return; }
+ { theme = new NeoRetroTheme (); if (tilesize != 0) theme.configure (tilesize); queue_draw
(); return; }
else
- { theme = new OldTheme (); if (tilesize != 0) theme.configure (tilesize); queue_draw ();
return; }
+ { theme = new NostalgiaTheme (); if (tilesize != 0) theme.configure (tilesize); queue_draw
(); return; }
}
}
diff --git a/src/theme-neoretro.vala b/src/theme-neoretro.vala
index 1e06490..b00bddf 100644
--- a/src/theme-neoretro.vala
+++ b/src/theme-neoretro.vala
@@ -9,7 +9,7 @@
* license.
*/
-private class NewTheme : Theme
+private class NeoRetroTheme : Theme
{
/*\
* * colors arrays
diff --git a/src/theme-nostalgia.vala b/src/theme-nostalgia.vala
index 5b1019a..d67c343 100644
--- a/src/theme-nostalgia.vala
+++ b/src/theme-nostalgia.vala
@@ -9,7 +9,7 @@
* license.
*/
-private class OldTheme : Theme
+private class NostalgiaTheme : Theme
{
/*\
* * colors arrays
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]