diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2003-06-27 16:59:35 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2003-06-27 16:59:35 +0800 |
commit | e62619554adc0caa28bc549721727c71ed651153 (patch) | |
tree | 229c41fab113bc1e630e42e84b25dd604b783b37 | |
parent | e40eebc573fe67ef07208921fd8ebf7ff37ddb31 (diff) | |
download | gsoc2013-evolution-e62619554adc0caa28bc549721727c71ed651153.tar gsoc2013-evolution-e62619554adc0caa28bc549721727c71ed651153.tar.gz gsoc2013-evolution-e62619554adc0caa28bc549721727c71ed651153.tar.bz2 gsoc2013-evolution-e62619554adc0caa28bc549721727c71ed651153.tar.lz gsoc2013-evolution-e62619554adc0caa28bc549721727c71ed651153.tar.xz gsoc2013-evolution-e62619554adc0caa28bc549721727c71ed651153.tar.zst gsoc2013-evolution-e62619554adc0caa28bc549721727c71ed651153.zip |
Fixes #44719
2003-06-25 Rodrigo Moya <rodrigo@ximian.com>
Fixes #44719
* gui/alarm-notify/alarm-notify-dialog.c (alarm_notify_dialog): use
gtk_window_set_icon_from_file to set the window's icon and implemented
the code to make the window sticky with GTK 2.x API.
svn path=/trunk/; revision=21559
-rw-r--r-- | calendar/gui/alarm-notify/alarm-notify-dialog.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/calendar/gui/alarm-notify/alarm-notify-dialog.c b/calendar/gui/alarm-notify/alarm-notify-dialog.c index f128701708..203fa39cb4 100644 --- a/calendar/gui/alarm-notify/alarm-notify-dialog.c +++ b/calendar/gui/alarm-notify/alarm-notify-dialog.c @@ -396,11 +396,8 @@ alarm_notify_dialog (time_t trigger, time_t occur_start, time_t occur_end, if (!GTK_WIDGET_REALIZED (an->dialog)) gtk_widget_realize (an->dialog); -#if 0 - gnome_win_hints_set_state (an->dialog, WIN_STATE_STICKY); - gnome_win_hints_set_layer (an->dialog, WIN_LAYER_ONTOP); - gnome_window_icon_set_from_file (GTK_WINDOW (an->dialog), EVOLUTION_IMAGESDIR "/alarm.png"); -#endif + gtk_window_stick (GTK_WINDOW (an->dialog)); + gtk_window_set_icon_from_file (GTK_WINDOW (an->dialog), EVOLUTION_IMAGESDIR "/alarm.png", NULL); gtk_widget_show (an->dialog); return an; |