add gtk window class to mainwindow.
This allows pavucontrol to be specifically addressed when creating GTK themes.
This commit is contained in:
parent
8921ee0cd6
commit
fb75f5d1e4
|
@ -188,6 +188,7 @@ MainWindow* MainWindow::create(bool maximize) {
|
|||
x->add_from_file(GLADE_FILE, "liststore4");
|
||||
x->add_from_file(GLADE_FILE, "mainWindow");
|
||||
x->get_widget_derived("mainWindow", w);
|
||||
w->get_style_context()->add_class("pavucontrol-window");
|
||||
if (w && maximize)
|
||||
w->maximize();
|
||||
return w;
|
||||
|
|
Loading…
Reference in New Issue