[longomatch] Include the new buttons rc file, and customize the dashboard editor widgets.



commit 1896154b9fe49b3955a4f2c6323d0f03b60c80e1
Author: Julien Moutte <julien fluendo com>
Date:   Thu Aug 21 12:48:18 2014 +0200

    Include the new buttons rc file, and customize the dashboard editor widgets.

 data/theme/gtk-2.0/gtkrc |   93 ++++++---------------------------------------
 1 files changed, 13 insertions(+), 80 deletions(-)
---
diff --git a/data/theme/gtk-2.0/gtkrc b/data/theme/gtk-2.0/gtkrc
index 4435a06..6096976 100644
--- a/data/theme/gtk-2.0/gtkrc
+++ b/data/theme/gtk-2.0/gtkrc
@@ -66,86 +66,6 @@ style "longomatch-default"
   }
 }
 
-style "longomatch-rounded-button" = "longomatch-default"
-{
-  font_name = "Ubuntu 14"
-
-  engine "pixmap"
-  {
-    image
-    {
-      function  = BOX
-      state     = NORMAL
-      file      = "Buttons/button-rounded-default.svg"
-      border    = { 4, 4, 4, 4 }
-      stretch   = TRUE
-    }
-    image
-    {
-      function   = BOX
-      state      = PRELIGHT
-      file       = "Buttons/button-rounded-prelight.svg"
-      border     = { 4, 4, 4, 4 }
-      stretch    = TRUE
-    }
-    image
-    {
-      function   = BOX
-      state      = ACTIVE
-      file       = "Buttons/button-rounded-pressed.svg"
-      border     = { 4, 4, 4, 4 }
-      stretch    = TRUE
-    }
-    image
-    {
-      function   = BOX
-      state      = INSENSITIVE
-      file       = "Buttons/button-rounded-default.svg"
-      border     = { 4, 4, 4, 4 }
-      stretch    = TRUE
-    }
-  }
-}
-
-style "longomatch-rect-button" = "longomatch-default"
-{
-  engine "pixmap"
-  {
-    image
-    {
-      function  = BOX
-      state     = NORMAL
-      file      = "Buttons/button-rect-default.svg"
-      border    = { 4, 4, 4, 4 }
-      stretch   = TRUE
-    }
-    image
-    {
-      function   = BOX
-      state      = PRELIGHT
-      file       = "Buttons/button-rect-prelight.svg"
-      border     = { 4, 4, 4, 4 }
-      stretch    = TRUE
-    }
-    image
-    {
-      function   = BOX
-      state      = ACTIVE
-      file       = "Buttons/button-rect-pressed.svg"
-      border     = { 4, 4, 4, 4 }
-      stretch    = TRUE
-    }
-    image
-    {
-      function   = BOX
-      state      = INSENSITIVE
-      file       = "Buttons/button-rect-default.svg"
-      border     = { 4, 4, 4, 4 }
-      stretch    = TRUE
-    }
-  }
-}
-
 style "longomatch-entry" = "longomatch-default" {
 
   font = "Ubuntu 12"
@@ -186,6 +106,15 @@ style "longomatch-header" {
   text[NORMAL]      = @base_color
 }
 
+style "longomatch-editor" {
+  text[NORMAL]      = @text_color
+  fg[NORMAL]      = @text_color
+}
+
+style "longomatch-drawingarea" {
+  bg[NORMAL]        = @bg_dark_color
+}
+
 style "longomatch-editor-treeview" {
   # Background color
   base[NORMAL]       = @bg_dark_color
@@ -337,9 +266,11 @@ style "longomatch-combobox" {
    }
 }
 
+include "buttons.rc"
 
 class "GtkWidget"                                style "longomatch-default"
 class "GtkEntry"                                 style "longomatch-entry"
+class "GtkButton"                                style "longomatch-square-button"
 # Background for the menubar
 class "GtkMenuBar"                               style "longomatch-menubar"
 # Text color for the menu items in the bar and the menus
@@ -349,6 +280,8 @@ widget_class "*<GtkComboBox>"                    style "longomatch-combobox"
 #widget_class "*<GtkComboBox>*<GtkButton>"        style "longomatch-combobox-button"
 #widget_class "*<GtkComboBox>*<GtkEntry>"         style "longomatch-combobox-entry"
 
+widget "*editorbuttonbar.*" style "longomatch-editor"
+widget "*dashboardeditorvbox.*.drawingarea" style "longomatch-drawingarea"
 widget "*roundedbutton*" style "longomatch-rounded-button"
 widget "*rectbutton*" style "longomatch-rect-button"
 widget "*headereventbox" style "longomatch-header"


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