From eb52ee5a862b132e6c0655cd44b5887d64ead3ca Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Tue, 3 Jul 2001 04:48:06 +0000 Subject: New files with the alarm options dialog; this configures the 2001-07-02 Federico Mena Quintero * gui/dialogs/alarm-options.[ch]: New files with the alarm options dialog; this configures the repeat/duration properties and the options specific to each alarm action type. * gui/dialogs/alarm-page.c (AlarmPagePrivate): Added the alarm options button. Also, keep an alarm structure which we are editing and an alarm options dialog. (init_widgets): Connect to the options button. (add_clicked_cb): Clone the component we are editing instead of creating a new one so that we preserve the data from the alarm options dialog. (button_options_clicked_cb): Pop up the alarm options dialog. * cal-util/cal-component.c (cal_component_alarm_new): Doh, initialize the other fields in the new alarm. svn path=/trunk/; revision=10731 --- calendar/gui/dialogs/alarm-options.glade | 398 +++++++++++++++++++++++++++++++ 1 file changed, 398 insertions(+) create mode 100644 calendar/gui/dialogs/alarm-options.glade (limited to 'calendar/gui/dialogs/alarm-options.glade') diff --git a/calendar/gui/dialogs/alarm-options.glade b/calendar/gui/dialogs/alarm-options.glade new file mode 100644 index 0000000000..ad0c181561 --- /dev/null +++ b/calendar/gui/dialogs/alarm-options.glade @@ -0,0 +1,398 @@ + + + + + Dialogs + dialogs + + src + pixmaps + C + True + True + + + + GtkWindow + alarm-options-toplevel + + GTK_WINDOW_DIALOG + GTK_WIN_POS_NONE + True + False + True + True + + + GtkVBox + vbox1 + 4 + False + 4 + + + GtkFrame + frame1 + + 0 + GTK_SHADOW_ETCHED_IN + + 0 + False + False + + + + GtkHBox + hbox1 + 4 + False + 4 + + + GtkCheckButton + repeat-toggle + True + True + + False + True + + 0 + False + False + + + + + GtkHBox + repeat-group + False + 4 + + 0 + False + False + + + + GtkSpinButton + repeat-quantity + True + 1 + 0 + False + GTK_UPDATE_ALWAYS + False + False + 1 + 0 + 999 + 1 + 10 + 10 + + 0 + True + True + + + + + GtkLabel + label1 + + GTK_JUSTIFY_CENTER + False + 0.5 + 0.5 + 0 + 0 + + 0 + False + False + + + + + GtkSpinButton + repeat-value + True + 1 + 0 + False + GTK_UPDATE_ALWAYS + False + False + 1 + 0 + 999 + 1 + 10 + 10 + + 0 + True + True + + + + + GtkOptionMenu + repeat-unit + True + minutes +hours +days + + 0 + + 0 + False + False + + + + + + + + GtkVBox + dalarm-group + False + False + 4 + + 0 + True + True + + + + GtkLabel + label2 + + GTK_JUSTIFY_CENTER + False + 0 + 0.5 + 0 + 0 + + 0 + False + False + + + + + GtkScrolledWindow + scrolledwindow1 + GTK_POLICY_NEVER + GTK_POLICY_AUTOMATIC + GTK_UPDATE_CONTINUOUS + GTK_UPDATE_CONTINUOUS + + 0 + True + True + + + + GtkText + dalarm-description + True + True + + + + + + + GtkHBox + aalarm-group + False + False + 4 + + 0 + False + False + + + + GtkLabel + label3 + + GTK_JUSTIFY_CENTER + False + 0.5 + 0.5 + 0 + 0 + + 0 + False + False + + + + + GnomeFileEntry + file-entry1 + 10 + False + False + + 0 + True + True + + + + GtkEntry + GnomeEntry:entry + aalarm-attach + True + True + True + 0 + + + + + + + GtkLabel + malarm-group + False + + GTK_JUSTIFY_CENTER + False + 0.5 + 0.5 + 0 + 0 + + 0 + False + False + + + + + GtkHBox + palarm-group + False + False + 4 + + 0 + False + False + + + + GtkLabel + label5 + + GTK_JUSTIFY_CENTER + False + 0.5 + 0.5 + 0 + 0 + + 0 + False + False + + + + + GtkEntry + palarm-program + True + True + True + 0 + + + 0 + True + True + + + + + GtkLabel + label6 + + GTK_JUSTIFY_CENTER + False + 0.5 + 0.5 + 0 + 0 + + 0 + False + False + + + + + GtkEntry + palarm-args + True + True + True + 0 + + + 0 + True + True + + + + + + GtkHButtonBox + hbuttonbox1 + GTK_BUTTONBOX_END + 30 + 85 + 27 + 7 + 0 + + 0 + False + False + + + + GtkButton + button-ok + True + True + True + GNOME_STOCK_BUTTON_OK + GTK_RELIEF_NORMAL + + + + GtkButton + button-cancel + True + True + GNOME_STOCK_BUTTON_CANCEL + GTK_RELIEF_NORMAL + + + + + + -- cgit