Browse Source

Moved Info css to window.cc

merge-requests/382/head
eidheim 8 years ago
parent
commit
ff6bcd3b81
  1. 4
      src/info.cc
  2. 1
      src/window.cc

4
src/info.cc

@ -9,9 +9,7 @@ Info::Info() {
label.set_line_wrap(true);
content_area->add(label);
auto provider = Gtk::CssProvider::create();
provider->load_from_data("* {border-radius: 5px;}");
get_style_context()->add_provider(provider, GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
get_style_context()->add_class("juci_info");
//Workaround from https://bugzilla.gnome.org/show_bug.cgi?id=710888
//Issue described at the same issue report

1
src/window.cc

@ -28,6 +28,7 @@ Window::Window() {
provider->load_from_data(R"(
.juci_directories *:selected {border-left-color: inherit; color: inherit; background-color: rgba(128, 128, 128 , 0.2); background-image: inherit;}
)"+notebook_style+R"(
.juci_info {border-radius: 5px;}
.juci_tooltip_window {background-color: transparent;}
.juci_tooltip_box {)"+border_radius_style+R"(padding: 3px;}
)");

Loading…
Cancel
Save