[gimp] themes: never set the focus line with to 0, that's just broken



commit 97d6da3ff531ad5adf36bf096dbe13bbf8cc08dc
Author: Michael Natterer <mitch gimp org>
Date:   Sat Jun 8 21:59:32 2013 +0200

    themes: never set the focus line with to 0, that's just broken
    
    A widget should either be focussable and have the indicator, or not be
    focussable in special cases.

 themes/Default/gtkrc |   16 ++++------------
 themes/Small/gtkrc   |   16 ++++------------
 2 files changed, 8 insertions(+), 24 deletions(-)
---
diff --git a/themes/Default/gtkrc b/themes/Default/gtkrc
index 80bbfb8..b3fa812 100644
--- a/themes/Default/gtkrc
+++ b/themes/Default/gtkrc
@@ -82,8 +82,8 @@ style "gimp-dockable-style" = "gimp-default-style"
 {
   GimpFrame::label-bold       = 0
   GimpFrame::label-spacing    = 2
-  GtkButton::focus-line_width = 1
-  GtkButton::focus-padding    = 0
+  GtkWidget::focus-line_width = 1
+  GtkWidget::focus-padding    = 0
 }
 
 widget "*GimpDockable.*" style "gimp-dockable-style"
@@ -96,16 +96,8 @@ style "gimp-display-style" = "gimp-default-style"
   GimpScaleComboBox::label-scale = 0.8333
   GtkComboBox::arrow-size        = 8
   GtkButton::inner-border        = { 0, 0, 0, 0 }
-  GtkButton::focus-line_width    = 0
-  GtkButton::focus-padding       = 0
+  GtkWidget::focus-line_width    = 1
+  GtkWidget::focus-padding       = 0
 }
 
 widget "*GimpDisplayShell.*" style "gimp-display-style"
-
-
-style "gimp-overlay-style" = "gimp-display-style"
-{
-  GtkButton::focus-line_width = 1
-}
-
-widget_class "*<GimpOverlayFrame>*" style "gimp-overlay-style"
diff --git a/themes/Small/gtkrc b/themes/Small/gtkrc
index 8a13496..de80109 100644
--- a/themes/Small/gtkrc
+++ b/themes/Small/gtkrc
@@ -89,8 +89,8 @@ widget "*GimpContainerGridView*GtkViewport*" style "gimp-grid-view-style"
 style "gimp-dockable-style" = "gimp-default-style"
 {
   GimpFrame::label-bold       = 0
-  GtkButton::focus-line_width = 1
-  GtkButton::focus-padding    = 0
+  GtkWidget::focus-line_width = 1
+  GtkWidget::focus-padding    = 0
 }
 
 widget "*GimpDockable.*" style "gimp-dockable-style"
@@ -103,16 +103,8 @@ style "gimp-display-style" = "gimp-default-style"
   GimpScaleComboBox::label-scale = 0.8333
   GtkComboBox::arrow-size        = 8
   GtkButton::inner-border        = { 0, 0, 0, 0 }
-  GtkButton::focus-line-width    = 0
-  GtkButton::focus-padding       = 0
+  GtkWidget::focus-line-width    = 1
+  GtkWidget::focus-padding       = 0
 }
 
 widget "*GimpDisplayShell.*" style "gimp-display-style"
-
-
-style "gimp-overlay-style" = "gimp-display-style"
-{
-  GtkButton::focus-line_width = 1
-}
-
-widget_class "*<GimpOverlayFrame>*" style "gimp-overlay-style"


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