From f409fc63dd3e5c4965c21049816a3fe53608cd99 Mon Sep 17 00:00:00 2001 From: Jabiertxof Date: Thu, 13 Sep 2018 22:42:09 +0200 Subject: Allow symbols dialog on dark theme --- share/ui/style.css | 18 +++++------------- src/ui/dialog/symbols.cpp | 1 + 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/share/ui/style.css b/share/ui/style.css index 8aee47484..72649a1e5 100644 --- a/share/ui/style.css +++ b/share/ui/style.css @@ -171,20 +171,12 @@ combobox window.popup scrolledwindow treeview separator { spinbutton undershoot { outline-style : none; } - -#dashCombo button{ - background-image:image(rgb(230,230,230)); - color:rgb(0,0,0); -} +#symbolsView, +#markerCombo button, +#markerCombo menu, +#dashCombo button, #dashCombo menu{ background-image:image(rgb(230,230,230)); color:rgb(0,0,0); } -#markerCombo button{ - background-image:image(rgb(230,230,230)); - color:rgb(0,0,0); -} -#markerCombo menu{ - background-image:image(rgb(230,230,230)); - color:rgb(0,0,0); -} + diff --git a/src/ui/dialog/symbols.cpp b/src/ui/dialog/symbols.cpp index 99fdf2d07..6c26ece9b 100644 --- a/src/ui/dialog/symbols.cpp +++ b/src/ui/dialog/symbols.cpp @@ -188,6 +188,7 @@ SymbolsDialog::SymbolsDialog( gchar const* prefsPath ) : icon_view = new Gtk::IconView(static_cast >(store)); //icon_view->set_text_column( columns->symbol_id ); icon_view->set_tooltip_column( 1 ); + icon_view->set_name( "symbolsView" ); icon_view->set_pixbuf_column( columns->symbol_image ); // Giving the iconview a small minimum size will help users understand // What the dialog does. -- cgit v1.2.3