[evolution-patches] patch for #44719



This bug is a regression
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.1802
diff -u -p -r1.1802 ChangeLog
--- ChangeLog	25 Jun 2003 16:08:55 -0000	1.1802
+++ ChangeLog	25 Jun 2003 20:43:28 -0000
@@ -1,3 +1,11 @@
+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.
+	
 2003-06-25  Bolian Yin <bolian yin sun com>
 
 	Fixes #45275
Index: gui/alarm-notify/alarm-notify-dialog.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/alarm-notify/alarm-notify-dialog.c,v
retrieving revision 1.21
diff -u -p -r1.21 alarm-notify-dialog.c
--- gui/alarm-notify/alarm-notify-dialog.c	19 Apr 2003 10:29:08 -0000	1.21
+++ gui/alarm-notify/alarm-notify-dialog.c	25 Jun 2003 20:43:28 -0000
@@ -396,11 +396,8 @@ alarm_notify_dialog (time_t trigger, tim
 	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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]