You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
calculate-overlay/profiles/templates/3.6/6_ac_install_patch/x11-misc/mate-notification-daemon/mate-notification-daemon-se...

24 lines
791 B

# Calculate format=diff
diff --git a/src/themes/coco/coco-theme.c b/src/themes/coco/coco-theme.c
index 2401e6c..efa555e 100644
--- a/src/themes/coco/coco-theme.c
+++ b/src/themes/coco/coco-theme.c
@@ -372,6 +372,7 @@ get_theme_info(char **theme_name,
GtkWindow *
create_notification(UrlClickedCb url_clicked)
{
+ GtkStyleContext* context;
GtkWidget *win;
GtkWidget *main_vbox;
GtkWidget *vbox;
@@ -388,6 +389,9 @@ create_notification(UrlClickedCb url_clicked)
gtk_window_set_resizable(GTK_WINDOW(win), FALSE);
windata->win = win;
+ context = gtk_widget_get_style_context (win);
+ gtk_style_context_add_class (context, "app-notification");
+
windata->rtl = gtk_widget_get_default_direction();
windata->composited = FALSE;
screen = gtk_window_get_screen(GTK_WINDOW(win));