Skip to content
Snippets Groups Projects
Commit fb75f5d1 authored by ElKowar's avatar ElKowar
Browse files

add gtk window class to mainwindow.

This allows pavucontrol to be specifically addressed when creating GTK
themes.
parent 8921ee0c
No related branches found
No related tags found
1 merge request!40Add gtk window class to mainwindow
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment