From 3b6d208d5d4b9bcfc60192f6d00918e921839a6a Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 4 Dec 2013 15:36:55 +0100 Subject: fix invisible text under the cursor with theme-galaxy.css, text was rendered white on gray we need to prevent the default rule to be applied (which is useless for us anyway) since it's loaded after our own rules (gtknew('MDV_Notebook') => import_style_ressources()) and set our own colors for normal & hover states --- control-center | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'control-center') diff --git a/control-center b/control-center index 3e349773..46439753 100755 --- a/control-center +++ b/control-center @@ -724,7 +724,7 @@ gtkadd($window_global, 1, gtkpack_(Gtk3::HBox->new(0, 0), 1, $steps = gtknew('MDV_Notebook', parent_window => $window_global, children => [ #Layout Fixed # 145 is the vertical offset in order to be below the actual logo: - [ gtknew('VBox', widget_name => 'Steps', spacing => 0, width => (192 - $offset), + [ gtknew('VBox', spacing => 0, width => (192 - $offset), children_tight => [ map { gtknew('HBox', spacing => 0, children => [ 1, $_, @@ -983,7 +983,7 @@ foreach (@tree) { } $strings[$my_index] = $string; - push @buttons, gtknew('Button', relief => 'none', child => + push @buttons, gtknew('Button', relief => 'none', widget_name => 'StepsLabel', child => gtknew('Label_Right', text_markup => qq($text), ellipsize => 'end'), clicked => sub { $current_string_idx = $my_index; -- cgit v1.2.1