[pulseaudio-commits] [Git][pulseaudio/pavucontrol][master] add gtk window class to mainwindow.
Tanu Kaskinen
gitlab at gitlab.freedesktop.org
Thu Jun 4 12:38:44 UTC 2020
Tanu Kaskinen pushed to branch master at PulseAudio / pavucontrol
Commits:
fb75f5d1 by Leon Kowarschick at 2020-06-02T20:20:35+02:00
add gtk window class to mainwindow.
This allows pavucontrol to be specifically addressed when creating GTK
themes.
- - - - -
1 changed file:
- src/mainwindow.cc
Changes:
=====================================
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;
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/commit/fb75f5d1e4d4ebb91e375f4c3ba16e94f85d856d
--
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/commit/fb75f5d1e4d4ebb91e375f4c3ba16e94f85d856d
You're receiving this email because of your account on gitlab.freedesktop.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20200604/3e178058/attachment.htm>
More information about the pulseaudio-commits
mailing list