[gnome-commander] New colour theme: green tiger



commit a4ec58ae14d80ceb77a4b876f279958fba71d1a0
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Fri May 20 00:25:14 2011 +0200

    New colour theme: green tiger

 NEWS                            |    1 +
 doc/C/gnome-commander.xml       |    3 +++
 src/gnome-cmd-data.cc           |   10 ++++++++++
 src/gnome-cmd-options-dialog.cc |    1 +
 src/gnome-cmd-types.h           |    1 +
 5 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/NEWS b/NEWS
index cbe0d6e..e4c5fa0 100644
--- a/NEWS
+++ b/NEWS
@@ -19,6 +19,7 @@ New features:
  * Open terminal with administrator privileges
  * Context popup menu for internal viewer
  * --config-dir command line option for customized location of config files
+ * New colour theme: green tiger
  * New or updated docs: cs, de, en, es, fr, sl
  * New or updated translations: cs, da, eo, es, eu, fr, hu, ko, nb, pl, pt_BR, ro, ru, sl, uk, zh_CN
  * New key bindings:
diff --git a/doc/C/gnome-commander.xml b/doc/C/gnome-commander.xml
index d6a5aaf..67164f4 100644
--- a/doc/C/gnome-commander.xml
+++ b/doc/C/gnome-commander.xml
@@ -7632,6 +7632,9 @@
                             <para>--config-dir command line option for customized location of config files</para>
                         </listitem>
                         <listitem>
+                            <para>New colour theme: green tiger</para>
+                        </listitem>
+                        <listitem>
                             <para>New or updated docs: cs, de, en, es, fr, sl</para>
                         </listitem>
                         <listitem>
diff --git a/src/gnome-cmd-data.cc b/src/gnome-cmd-data.cc
index dfc692a..dc97d85 100644
--- a/src/gnome-cmd-data.cc
+++ b/src/gnome-cmd-data.cc
@@ -1065,6 +1065,16 @@ void GnomeCmdData::load()
     priv->color_themes[GNOME_CMD_COLOR_CAFEZINHO].curs_fg = gdk_color_new (0xe4e4,0xdede,0xd5d5);
     priv->color_themes[GNOME_CMD_COLOR_CAFEZINHO].curs_bg = gdk_color_new (0x4d4d,0x4d4d,0x4d4d);
 
+    priv->color_themes[GNOME_CMD_COLOR_GREEN_TIGER].respect_theme = FALSE;
+    priv->color_themes[GNOME_CMD_COLOR_GREEN_TIGER].norm_fg = gdk_color_new (0xffff,0xc644,0);
+    priv->color_themes[GNOME_CMD_COLOR_GREEN_TIGER].norm_bg = gdk_color_new (0x1919,0x2e2e,0);
+    priv->color_themes[GNOME_CMD_COLOR_GREEN_TIGER].alt_fg = gdk_color_new (0xffff,0xc6c6,0);
+    priv->color_themes[GNOME_CMD_COLOR_GREEN_TIGER].alt_bg = gdk_color_new (0x1f1f,0x3939,0x101);
+    priv->color_themes[GNOME_CMD_COLOR_GREEN_TIGER].sel_fg = gdk_color_new (0xffff,0xffff,0xffff);
+    priv->color_themes[GNOME_CMD_COLOR_GREEN_TIGER].sel_bg = gdk_color_new (0,0,0x4444);
+    priv->color_themes[GNOME_CMD_COLOR_GREEN_TIGER].curs_fg = gdk_color_new (0,0,0);
+    priv->color_themes[GNOME_CMD_COLOR_GREEN_TIGER].curs_bg = gdk_color_new (0xaaaa,0xaaaa,0xaaaa);
+
     priv->color_themes[GNOME_CMD_COLOR_NONE].respect_theme = TRUE;
     priv->color_themes[GNOME_CMD_COLOR_NONE].norm_fg = NULL;
     priv->color_themes[GNOME_CMD_COLOR_NONE].norm_bg = NULL;
diff --git a/src/gnome-cmd-options-dialog.cc b/src/gnome-cmd-options-dialog.cc
index d02ae63..257d276 100644
--- a/src/gnome-cmd-options-dialog.cc
+++ b/src/gnome-cmd-options-dialog.cc
@@ -661,6 +661,7 @@ static GtkWidget *create_layout_tab (GtkWidget *parent)
         _("Classic"),
         _("Deep blue"),
         _("Cafezinho"),
+        _("Green tiger"),
         _("Custom"),
         NULL
     };
diff --git a/src/gnome-cmd-types.h b/src/gnome-cmd-types.h
index be09122..65a2b9f 100644
--- a/src/gnome-cmd-types.h
+++ b/src/gnome-cmd-types.h
@@ -72,6 +72,7 @@ enum GnomeCmdColorMode
     GNOME_CMD_COLOR_CLASSIC,
     GNOME_CMD_COLOR_DEEP_BLUE,
     GNOME_CMD_COLOR_CAFEZINHO,
+    GNOME_CMD_COLOR_GREEN_TIGER,
     GNOME_CMD_COLOR_CUSTOM,
     GNOME_CMD_NUM_COLOR_MODES
 };



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]