From 5cc97da325c7d802e0f6c0652603a91dfc962991 Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Sat, 19 Apr 2003 10:29:08 +0000 Subject: removed 'heading' and 'message' labels. 2003-04-18 Rodrigo Moya * gui/alarm-notify/alarm-notify.glade: removed 'heading' and 'message' labels. * gui/alarm-notify/alarm-notify-dialog.c: removed deleted widgets. (alarm_notify_dialog): don't load the removed widgets. svn path=/trunk/; revision=20895 --- calendar/gui/alarm-notify/alarm-notify-dialog.c | 6 +--- calendar/gui/alarm-notify/alarm-notify.glade | 42 ------------------------- 2 files changed, 1 insertion(+), 47 deletions(-) (limited to 'calendar/gui') diff --git a/calendar/gui/alarm-notify/alarm-notify-dialog.c b/calendar/gui/alarm-notify/alarm-notify-dialog.c index 2d013b4463..f128701708 100644 --- a/calendar/gui/alarm-notify/alarm-notify-dialog.c +++ b/calendar/gui/alarm-notify/alarm-notify-dialog.c @@ -52,8 +52,6 @@ typedef struct { GtkWidget *close; GtkWidget *snooze; GtkWidget *edit; - GtkWidget *heading; - GtkWidget *message; GtkWidget *snooze_time; GtkWidget *html; @@ -344,12 +342,10 @@ alarm_notify_dialog (time_t trigger, time_t occur_start, time_t occur_end, an->close = glade_xml_get_widget (an->xml, "close"); an->snooze = glade_xml_get_widget (an->xml, "snooze"); an->edit = glade_xml_get_widget (an->xml, "edit"); - an->heading = glade_xml_get_widget (an->xml, "heading"); - an->message = glade_xml_get_widget (an->xml, "message"); an->snooze_time = glade_xml_get_widget (an->xml, "snooze-time"); an->html = g_object_get_data (G_OBJECT (glade_xml_get_widget (an->xml, "frame")), "html"); - if (!(an->dialog && an->close && an->snooze && an->edit && an->heading && an->message + if (!(an->dialog && an->close && an->snooze && an->edit && an->snooze_time)) { g_message ("alarm_notify_dialog(): Could not find all widgets in Glade file!"); g_object_unref (an->xml); diff --git a/calendar/gui/alarm-notify/alarm-notify.glade b/calendar/gui/alarm-notify/alarm-notify.glade index 2867aa52a3..bc0da43f22 100644 --- a/calendar/gui/alarm-notify/alarm-notify.glade +++ b/calendar/gui/alarm-notify/alarm-notify.glade @@ -32,48 +32,6 @@ False 6 - - - True - - False - False - GTK_JUSTIFY_LEFT - True - False - 0 - 0.5 - 0 - 0 - - - 0 - False - False - - - - - - True - - False - False - GTK_JUSTIFY_LEFT - True - False - 0 - 0.5 - 0 - 0 - - - 0 - False - False - - - True -- cgit