summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLeon Kowarschick <lkowarschick@gmail.com>2020-06-02 20:20:35 +0200
committerLeon Kowarschick <lkowarschick@gmail.com>2020-06-02 20:20:35 +0200
commitfb75f5d1e4d4ebb91e375f4c3ba16e94f85d856d (patch)
tree5a3e9ea1db75a66e35d479493ed455e75936a35a /src
parent8921ee0cd6725a62c5ccf5e2a5b0ff72696d5c1f (diff)
add gtk window class to mainwindow.
This allows pavucontrol to be specifically addressed when creating GTK themes.
Diffstat (limited to 'src')
-rw-r--r--src/mainwindow.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainwindow.cc b/src/mainwindow.cc
index 09dc783..f3d8620 100644
--- a/src/mainwindow.cc
+++ b/src/mainwindow.cc
@@ -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;