pidgin/pidgin
Clone
Summary
Browse
Changes
Graph
Add devel CSS to application windows
20 months ago, Elliott Sales de Andrade
6032b86cb76b
Parents
83e6692c76a3
Children
35f8ce475b21
Add devel CSS to application windows
This adds a bit of styling on the header bar, which I guess you won't see without CSD.
https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/style-classes.html#development-window
Testing Done:
Opened and saw a bit of striping on the title bar.
Reviewed at https://reviews.imfreedom.org/r/1776/
1 files changed, 4 insertions(+), 0 deletions(-)
+4
-0
pidgin/pidginapplication.c
--- a/pidgin/pidginapplication.c Fri Sep 16 01:54:11 2022 -0500
+++ b/pidgin/pidginapplication.c Fri Sep 16 21:26:34 2022 -0500
@@ -737,6 +737,10 @@
GTK_APPLICATION_CLASS(pidgin_application_parent_class)->window_added(application,
window);
+ if(strstr(VERSION, "-devel")) {
+ gtk_widget_add_css_class(GTK_WIDGET(window), "devel");
+ }
+
g_hash_table_iter_init(&iter, pidgin_application->action_groups);
while(g_hash_table_iter_next(&iter, &key, &value)) {
GActionGroup *action_group = value;