summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJabiertxof <jabier.arraiza@marker.es>2018-09-13 20:42:09 +0000
committerJabiertxof <jabier.arraiza@marker.es>2018-09-13 20:42:09 +0000
commitf409fc63dd3e5c4965c21049816a3fe53608cd99 (patch)
tree4b8312828d7e67590eed5b6c7b0ddfbdbda4d4e7
parentFix bug applying powerclip/mask to non cliped/masked elements (diff)
downloadinkscape-f409fc63dd3e5c4965c21049816a3fe53608cd99.tar.gz
inkscape-f409fc63dd3e5c4965c21049816a3fe53608cd99.zip
Allow symbols dialog on dark theme
-rw-r--r--share/ui/style.css18
-rw-r--r--src/ui/dialog/symbols.cpp1
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<Glib::RefPtr<Gtk::TreeModel> >(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.