Issue 2990: workaround for

style->get_background_color(Gtk::STATE_FLAG_SELECTED) which is not
handled properly by Gtk3
This commit is contained in:
Hombre
2015-11-30 01:26:00 +01:00
parent 9cac516219
commit 72acf67304
2 changed files with 10 additions and 35 deletions

View File

@@ -92,7 +92,9 @@ void ThumbBrowserEntryBase::updateBackBuffer ()
Gdk::RGBA textn = style->get_color(Gtk::STATE_FLAG_NORMAL);
Gdk::RGBA texts = style->get_color(Gtk::STATE_FLAG_SELECTED);
Gdk::RGBA bgn = style->get_background_color(Gtk::STATE_FLAG_NORMAL);
Gdk::RGBA bgs = style->get_background_color(Gtk::STATE_FLAG_SELECTED);
//Gdk::RGBA bgs = style->get_background_color(Gtk::STATE_FLAG_SELECTED);
Gdk::RGBA bgs;
bgs.set_rgba(0.3372549, 0.3372549, 0.3372549);
// clear area, draw frames and background
style->render_background(cc, 0., 0., exp_width, exp_height);