diff options
Diffstat (limited to 'src/themes')
-rw-r--r-- | src/themes/coco/coco-theme.c | 2 | ||||
-rw-r--r-- | src/themes/nodoka/nodoka-theme.c | 2 | ||||
-rw-r--r-- | src/themes/slider/theme.c | 2 | ||||
-rw-r--r-- | src/themes/standard/theme.c | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/src/themes/coco/coco-theme.c b/src/themes/coco/coco-theme.c index e95ff0a..01ded85 100644 --- a/src/themes/coco/coco-theme.c +++ b/src/themes/coco/coco-theme.c @@ -420,8 +420,10 @@ create_notification(UrlClickedCb url_clicked) #if GTK_CHECK_VERSION (4,0,0) gtk_widget_add_css_class (main_vbox, "notification-box"); + gtk_widget_add_css_class (main_vbox, "coco-theme"); #else gtk_style_context_add_class (gtk_widget_get_style_context (main_vbox), "notification-box"); + gtk_style_context_add_class (gtk_widget_get_style_context (main_vbox), "coco-theme"); #endif g_signal_connect (G_OBJECT (main_vbox), "draw", diff --git a/src/themes/nodoka/nodoka-theme.c b/src/themes/nodoka/nodoka-theme.c index 052623a..320ab52 100644 --- a/src/themes/nodoka/nodoka-theme.c +++ b/src/themes/nodoka/nodoka-theme.c @@ -775,8 +775,10 @@ create_notification(UrlClickedCb url_clicked) #if GTK_CHECK_VERSION (4,0,0) gtk_widget_add_css_class (main_vbox, "notification-box"); + gtk_widget_add_css_class (main_vbox, "nodoka-theme"); #else gtk_style_context_add_class (gtk_widget_get_style_context (main_vbox), "notification-box"); + gtk_style_context_add_class (gtk_widget_get_style_context (main_vbox), "nodoka-theme"); #endif g_signal_connect (G_OBJECT (main_vbox), "draw", G_CALLBACK (on_draw), windata); diff --git a/src/themes/slider/theme.c b/src/themes/slider/theme.c index bc03d23..d30ee33 100644 --- a/src/themes/slider/theme.c +++ b/src/themes/slider/theme.c @@ -366,8 +366,10 @@ GtkWindow* create_notification(UrlClickedCb url_clicked) #if GTK_CHECK_VERSION (4,0,0) gtk_widget_add_css_class (main_vbox, "notification-box"); + gtk_widget_add_css_class (main_vbox, "slider-theme"); #else gtk_style_context_add_class (gtk_widget_get_style_context (main_vbox), "notification-box"); + gtk_style_context_add_class (gtk_widget_get_style_context (main_vbox), "slider-theme"); #endif windata->main_hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0); diff --git a/src/themes/standard/theme.c b/src/themes/standard/theme.c index 7b4f267..5e065f5 100644 --- a/src/themes/standard/theme.c +++ b/src/themes/standard/theme.c @@ -698,8 +698,10 @@ GtkWindow* create_notification(UrlClickedCb url_clicked) #if GTK_CHECK_VERSION (4,0,0) gtk_widget_add_css_class (main_vbox, "notification-box"); + gtk_widget_add_css_class (main_vbox, "default-theme"); #else gtk_style_context_add_class (gtk_widget_get_style_context (main_vbox), "notification-box"); + gtk_style_context_add_class (gtk_widget_get_style_context (main_vbox), "default-theme"); #endif g_signal_connect (G_OBJECT (main_vbox), "draw", G_CALLBACK (on_draw), windata); |