[pulseaudio-commits] src/mainwindow.cc

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Jun 4 12:38:45 UTC 2020


 src/mainwindow.cc |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit fb75f5d1e4d4ebb91e375f4c3ba16e94f85d856d
Author: Leon Kowarschick <lkowarschick at gmail.com>
Date:   Tue Jun 2 20:20:35 2020 +0200

    add gtk window class to mainwindow.
    
    This allows pavucontrol to be specifically addressed when creating GTK
    themes.

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;



More information about the pulseaudio-commits mailing list