[evolution-data-server] M!50 - Added style class to alarm notification window
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] M!50 - Added style class to alarm notification window
- Date: Wed, 11 Nov 2020 15:02:30 +0000 (UTC)
commit 7fefd86735ddabad68fe434520ac1540f88dca80
Author: ptrxyz <ptrxyz gmail com>
Date: Mon Nov 9 20:30:34 2020 +0000
M!50 - Added style class to alarm notification window
Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/merge_requests/50
src/services/evolution-alarm-notify/e-alarm-notify.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/services/evolution-alarm-notify/e-alarm-notify.c
b/src/services/evolution-alarm-notify/e-alarm-notify.c
index 341a7bfa0..5dbfcd3ea 100644
--- a/src/services/evolution-alarm-notify/e-alarm-notify.c
+++ b/src/services/evolution-alarm-notify/e-alarm-notify.c
@@ -1064,6 +1064,7 @@ e_alarm_notify_activate (GApplication *application)
{
EAlarmNotify *an = E_ALARM_NOTIFY (application);
gint paned_position;
+ GtkStyleContext *context;
if (g_application_get_is_remote (application)) {
g_application_quit (application);
@@ -1084,6 +1085,8 @@ e_alarm_notify_activate (GApplication *application)
NULL);
an->priv->window = gtk_application_window_new (GTK_APPLICATION (an));
+ context = gtk_widget_get_style_context (GTK_WIDGET (an->priv->window));
+ gtk_style_context_add_class (context, "evolution-alarm-notify-window");
gtk_window_set_title (GTK_WINDOW (an->priv->window), _("Reminders"));
gtk_window_set_icon_name (GTK_WINDOW (an->priv->window), "appointment-soon");
gtk_window_set_default_size (GTK_WINDOW (an->priv->window),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]