aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/alarm-notify/alarm-notify-dialog.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/calendar/gui/alarm-notify/alarm-notify-dialog.c b/calendar/gui/alarm-notify/alarm-notify-dialog.c
index 2a11026f23..665419241f 100644
--- a/calendar/gui/alarm-notify/alarm-notify-dialog.c
+++ b/calendar/gui/alarm-notify/alarm-notify-dialog.c
@@ -27,6 +27,7 @@
#include <gtk/gtkwindow.h>
#include <libgnome/gnome-defs.h>
#include <libgnome/gnome-i18n.h>
+#include <libgnomeui/gnome-winhints.h>
#include <glade/glade.h>
#include <gal/widgets/e-unicode.h>
#include "alarm-notify-dialog.h"
@@ -301,6 +302,11 @@ alarm_notify_dialog (time_t trigger, time_t occur_start, time_t occur_end,
/* Run! */
+ if (!GTK_WIDGET_REALIZED (an->dialog))
+ gtk_widget_realize (an->dialog);
+
+ gnome_win_hints_set_state (an->dialog, WIN_STATE_STICKY);
+
gtk_widget_show (an->dialog);
return TRUE;
}