Ticket #4175: 0003-Separators-make-them-the-correct-line-width-SL-4175.patch

File 0003-Separators-make-them-the-correct-line-width-SL-4175.patch, 1.7 KB (added by manuq, 11 years ago)
  • gtk3/theme/gtk-widgets.css.em

    From 9618c3b73e9bd6ce165aa35485afe518c55ba527 Mon Sep 17 00:00:00 2001
    From: =?UTF-8?q?Manuel=20Qui=C3=B1ones?= <manuq@laptop.org>
    Date: Thu, 8 Nov 2012 19:20:38 -0300
    Subject: [PATCH artwork 3/3] Separators, make them the correct line width -
     SL #4175
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    Mail-Followup-To: <sugar-devel@lists.sugarlabs.org>
    
    Setting -GtkWidget-wide-separators: true; allows configurable width [1]
    
    [1] http://developer.gnome.org/gtk3/stable/GtkWidget.html#GtkWidget--s-wide-separators
    
    Signed-off-by: Manuel Quiñones <manuq@laptop.org>
    ---
     gtk3/theme/gtk-widgets.css.em | 10 +++++-----
     1 file changed, 5 insertions(+), 5 deletions(-)
    
    diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
    index dd27473..6c27289 100644
    a b icon_large = icon_base * 5 
    7676    /* 0.05 works good for both the sugar and sugar-xo themes */
    7777    -GtkWidget-cursor-aspect-ratio: 0.05;
    7878
    79     -GtkWidget-wide-separators: false;
     79    -GtkWidget-wide-separators: true;
    8080    -GtkWidget-separator-height: $thickness;
    8181    -GtkWidget-separator-width: $thickness;
    8282
    SugarPaletteWindow SugarGroupBox *:insensitive { 
    458458
    459459.menuitem.separator {
    460460    padding: $(subcell_size)px 0px;
    461     color: @button_grey;
    462461}
    463462
    464463SugarPaletteHeader.menuitem {
    GtkProgressBar.trough { 
    534533
    535534/* Separators */
    536535
    537 GtkVSeparator, GtkHSeparator,
    538 .toolbar GtkSeparatorToolItem {
    539     color: @button_grey;
     536.separator {
     537    border-style: solid;
     538    border-color: @button_grey;
     539    border-width: $thickness;
    540540}
    541541
    542542/* Tool buttons */