From fd6e9b75700544aec9ce03e5380e7385f4cce4f8 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Fri, 9 Feb 2001 00:48:07 +0000 Subject: fill in new classification stuff properly (get_widgets): load new class. 2001-02-08 JP Rosevear * gui/dialogs/task-editor.c (fill_widgets): fill in new classification stuff properly (get_widgets): load new class. widgets (init_widgets): if the class. widgets change, mark the dialog dirty (dialog_to_comp_object): set the comp class. from the new widgets * gui/dialogs/task-editor-dialog.glade: Make more consistent, fixing bugs 1247 and 1249 * gui/dialogs/task-editor.c (fill_widgets): * gui/event-editor-dialog.glade: Gui tidying * gui/event-editor.c: Remove old alarm cruft * cal-util/cal-component.c (cal_component_set_url): Don't try and write an empty string as a property svn path=/trunk/; revision=8132 --- calendar/gui/event-editor-dialog.glade | 2116 ++++++++++++++++---------------- 1 file changed, 1051 insertions(+), 1065 deletions(-) (limited to 'calendar/gui/event-editor-dialog.glade') diff --git a/calendar/gui/event-editor-dialog.glade b/calendar/gui/event-editor-dialog.glade index 8e8ea8dc9f..10fdcfe54e 100644 --- a/calendar/gui/event-editor-dialog.glade +++ b/calendar/gui/event-editor-dialog.glade @@ -18,75 +18,134 @@ - GnomeApp + GnomePropertyBox event-editor-dialog False - event-editor-dialog - GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False False - True + False False - True - GnomeDock - GnomeApp:dock - dock2 - True - - 0 - True - True - + GtkNotebook + GnomeDock:contents + notebook1 + 2 + True + True + True + GTK_POS_TOP + False + 2 + 2 + False - GtkNotebook - GnomeDock:contents - dialog-contents - 2 - True - True - True - GTK_POS_TOP - False - 2 - 2 - False + GtkVBox + vbox51 + 4 + False + 6 - GtkVBox - vbox2 - 4 + GtkTable + table11 + 1 + 2 False - 6 + 4 + 4 + + 0 + False + True + + + + GtkLabel + label56 + + GTK_JUSTIFY_CENTER + False + 7.45058e-09 + 0.5 + 0 + 0 + general-summary + + 0 + 1 + 0 + 1 + 0 + 0 + False + False + False + False + True + False + + + + + GtkEntry + general-summary + True + True + True + 0 + + + 1 + 2 + 0 + 1 + 0 + 0 + True + False + False + False + True + False + + + + + + GtkFrame + frame31 + + 0 + GTK_SHADOW_ETCHED_IN + + 0 + False + False + GtkTable - table5 - 1 - 2 + table12 + 4 + 2 + 3 False 4 4 - - 0 - False - True - GtkLabel - label13 - + label57 + GTK_JUSTIFY_CENTER False - 7.45058e-09 + 0 0.5 0 0 - general-summary 0 1 @@ -104,21 +163,46 @@ - GtkEntry - general-summary + GtkLabel + label58 + + GTK_JUSTIFY_CENTER + False + 0 + 0.5 + 0 + 0 + + 0 + 1 + 1 + 2 + 0 + 0 + False + False + False + False + True + False + + + + + GtkCheckButton + all-day-event True - True - True - 0 - + + False + True - 1 - 2 + 2 + 3 0 1 0 0 - True + False False False False @@ -126,524 +210,803 @@ False - - - - GtkFrame - frame4 - - 0 - GTK_SHADOW_ETCHED_IN - - 0 - False - False - - GtkTable - table3 - 4 - 2 - 3 - False - 4 - 4 - - - GtkLabel - label15 - - GTK_JUSTIFY_CENTER - False - 0 - 0.5 + Custom + start-time + make_date_edit + + + 0 + 0 + Tue, 16 May 2000 19:11:05 GMT + + 1 + 2 + 0 + 1 0 0 - - 0 - 1 - 0 - 1 - 0 - 0 - False - False - False - False - True - False - - + False + True + False + False + False + True + + - - GtkLabel - label16 - - GTK_JUSTIFY_CENTER - False - 0 - 0.5 + + Custom + end-time + make_date_edit + 0 + 0 + Tue, 16 May 2000 19:11:10 GMT + + 1 + 2 + 1 + 2 0 0 - - 0 - 1 - 1 - 2 - 0 - 0 - False - False - False - False - True - False - - - - - GtkCheckButton - all-day-event - True - - False - True - - 2 - 3 - 0 - 1 - 0 - 0 - False - False - False - False - True - False - - - - - Custom - start-time - make_date_edit - - - 0 - 0 - Tue, 16 May 2000 19:11:05 GMT - - 1 - 2 - 0 - 1 - 0 - 0 - False - True - False - False - False - True - - - - - Custom - end-time - make_date_edit - 0 - 0 - Tue, 16 May 2000 19:11:10 GMT - - 1 - 2 - 1 - 2 - 0 - 0 - False - True - False - False - False - True - - + False + True + False + False + False + True + + - - GtkScrolledWindow - scrolledwindow3 - GTK_POLICY_NEVER - GTK_POLICY_AUTOMATIC - GTK_UPDATE_CONTINUOUS - GTK_UPDATE_CONTINUOUS - - 0 - True - True - - - - GtkText - description - True - True - - - + + GtkScrolledWindow + scrolledwindow12 + GTK_POLICY_NEVER + GTK_POLICY_AUTOMATIC + GTK_UPDATE_CONTINUOUS + GTK_UPDATE_CONTINUOUS + + 0 + True + True + - GtkFrame - frame5 - - 0 - GTK_SHADOW_ETCHED_IN - - 0 - False - False - - - - GtkHBox - hbox6 - 2 - False - 4 - - - GtkRadioButton - classification-public - True - - True - True - classification_radio_group - - 0 - False - False - - - - - GtkRadioButton - classification-private - True - - False - True - classification_radio_group - - 0 - False - False - - - - - GtkRadioButton - classification-confidential - True - - False - True - classification_radio_group - - 0 - False - False - - - + GtkText + description + True + True + + + + + GtkFrame + frame32 + + 0 + GTK_SHADOW_ETCHED_IN + + 0 + False + False + GtkHBox - hbox49 + hbox52 + 2 False - 2 - - 0 - False - True - + 4 - GtkButton - categories-button + GtkRadioButton + classification-public True + + True + True + classification_radio_group 0 False False - - - GtkLabel - label51 - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 4 - 0 - - - - - GtkEntry - contacts - True - True - True - 0 - - - 0 - True - True - - GtkButton - categories-button + GtkRadioButton + classification-private True + + False + True + classification_radio_group 0 False False - - - GtkLabel - label52 - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 4 - 0 - - GtkEntry - categories + GtkRadioButton + classification-confidential True - True - True - 0 - + + False + True + classification_radio_group 0 - True - True + False + False - GtkLabel - Notebook:tab - label11 - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 0 - 0 - - - - GtkVBox - vbox49 - 4 + GtkHBox + hbox53 False - 4 + 2 + + 0 + False + True + - GtkFrame - frame29 - - 0 - GTK_SHADOW_ETCHED_IN + GtkButton + contacts-button + True 0 False - True + False - GtkTable - table10 - 4 - 2 - 2 - False - 2 - 2 + GtkLabel + label59 + + GTK_JUSTIFY_CENTER + False + 0.5 + 0.5 + 4 + 0 + + - - GtkLabel - label53 - - GTK_JUSTIFY_CENTER - False - 0 - 0.5 + + GtkEntry + contacts + True + True + True + 0 + + + 0 + True + True + + + + + GtkButton + categories-button + True + + 0 + False + False + + + + GtkLabel + label60 + + GTK_JUSTIFY_CENTER + False + 0.5 + 0.5 + 4 + 0 + + + + + GtkEntry + categories + True + True + True + 0 + + + 0 + True + True + + + + + + + GtkLabel + Notebook:tab + label61 + + GTK_JUSTIFY_CENTER + False + 0.5 + 0.5 + 0 + 0 + + + + GtkVBox + vbox52 + 4 + False + 4 + + + GtkFrame + frame33 + + 0 + GTK_SHADOW_ETCHED_IN + + 0 + False + True + + + + GtkTable + table13 + 4 + 2 + 2 + False + 2 + 2 + + + GtkLabel + label62 + + GTK_JUSTIFY_CENTER + False + 0 + 0.5 + 0 + 0 + reminder-summary + + 0 + 1 + 0 + 1 + 0 + 0 + False + False + False + False + True + False + + + + + GtkLabel + label63 + + GTK_JUSTIFY_CENTER + False + 0 + 0.5 + 0 + 0 + + 0 + 1 + 1 + 2 + 0 + 0 + False + False + False + False + True + False + + + + + GtkEntry + reminder-summary + True + True + True + 0 + + + 1 + 2 + 0 + 1 + 0 + 0 + True + False + True + False + True + False + + + + + GtkAlignment + reminder-starting-data + 0 + 0.5 + 0 + 0 + + 1 + 2 + 1 + 2 0 0 - reminder-summary + False + False + False + False + True + True + + + + Custom + reminder-starting-date + make_date_edit + 0 + 0 + Fri, 22 Sep 2000 20:51:38 GMT + + + + + + + GtkFrame + frame34 + + 0 + GTK_SHADOW_ETCHED_IN + + 0 + True + True + + + + GtkVBox + vbox53 + 4 + False + 4 + + + GtkHBox + hbox54 + False + 4 + + 0 + False + True + + + + GtkOptionMenu + reminder-action + True + Show a dialog +Play a sound +Send an email +Run a program + + 0 - 0 - 1 - 0 - 1 - 0 - 0 - False - False - False - False - True - False + 0 + False + False - GtkLabel - label54 - - GTK_JUSTIFY_CENTER + GtkSpinButton + reminder-interval-value + True + 1 + 0 + True + GTK_UPDATE_ALWAYS + False False - 0 - 0.5 - 0 - 0 + 1 + 0 + 100 + 1 + 10 + 10 - 0 - 1 - 1 - 2 - 0 - 0 - False - False - False - False - True - False + 0 + False + True - GtkEntry - reminder-summary + GtkOptionMenu + reminder-value-units True - True - True - 0 - + minute(s) +hour(s) +day(s) + + 0 - 1 - 2 - 0 - 1 - 0 - 0 - True - False - True - False - True - False + 0 + False + False - GtkAlignment - alignment38 - 0 - 0.5 - 0 - 0 + GtkOptionMenu + reminder-relative + True + before +after + + 0 + + 0 + False + False + + + + + GtkOptionMenu + reminder-time + True + start of appointment +end of appointment + + 0 + + 0 + False + False + + + + + GtkButton + button9 + True + + + 0 + False + False + + + + + + GtkHBox + hbox55 + False + 0 + + 0 + True + True + + + + GtkScrolledWindow + scrolledwindow13 + GTK_POLICY_NEVER + GTK_POLICY_AUTOMATIC + GTK_UPDATE_CONTINUOUS + GTK_UPDATE_CONTINUOUS + + 0 + True + True + + + + GtkCList + reminder-list + True + 1 + 80 + GTK_SELECTION_BROWSE + False + GTK_SHADOW_IN + + + GtkLabel + CList:title + label64 + + GTK_JUSTIFY_CENTER + False + 0.5 + 0.5 + 0 + 0 + + + + + + GtkVButtonBox + vbuttonbox2 + GTK_BUTTONBOX_START + 10 + 85 + 27 + 7 + 0 - 1 - 2 - 1 - 2 - 0 - 0 - False - False - False - False - True - True + 0 + False + False - Custom - reminder-starting-date - make_date_edit - 0 - 0 - Fri, 22 Sep 2000 20:51:38 GMT + GtkButton + reminder-add + True + True + + + + + GtkButton + reminder-delete + True + True + + + + + + GtkLabel + Notebook:tab + label65 + + GTK_JUSTIFY_CENTER + False + 0.5 + 0.5 + 0 + 0 + + + + GtkVBox + vbox54 + 4 + False + 4 + + + GtkFrame + frame35 + + 0 + GTK_SHADOW_ETCHED_IN + + 0 + False + False + + + + GtkTable + table14 + 4 + 2 + 2 + False + 2 + 2 + + + GtkLabel + label66 + + GTK_JUSTIFY_CENTER + False + 0 + 0.5 + 0 + 0 + recurrence-summary + + 0 + 1 + 0 + 1 + 0 + 0 + False + False + False + False + True + False + + + + + GtkLabel + label67 + + GTK_JUSTIFY_CENTER + False + 0 + 0.5 + 0 + 0 + + 0 + 1 + 1 + 2 + 0 + 0 + False + False + False + False + True + False + + + + + GtkEntry + recurrence-summary + True + True + True + 0 + + + 1 + 2 + 0 + 1 + 0 + 0 + True + False + True + False + True + False + + + + + GtkAlignment + alignment40 + 0 + 0.5 + 0 + 0 + + 1 + 2 + 1 + 2 + 0 + 0 + False + False + False + False + True + True + + + + Custom + recurrence-starting-date + make_date_edit + 0 + 0 + Fri, 22 Sep 2000 20:51:38 GMT + + + + + + + GtkVBox + vbox55 + False + 4 + + 0 + True + True + GtkFrame - frame30 - + frame36 + 0 GTK_SHADOW_ETCHED_IN 0 - True - True + False + False GtkVBox - vbox50 + vbox56 + 4 False 4 GtkHBox - hbox51 + hbox56 False 4 0 False - True + False - GtkOptionMenu - reminder-action + GtkRadioButton + recurrence-none True - Show a dialog -Play a sound -Send an email -Run a program - - 0 + + False + True + recurrence-radio 0 False @@ -652,37 +1015,13 @@ Run a program - GtkSpinButton - reminder-interval-value + GtkRadioButton + recurrence-simple True - 1 - 0 - True - GTK_UPDATE_ALWAYS - False - False - 1 - 0 - 100 - 1 - 10 - 10 - - 0 - False - True - - - - - GtkOptionMenu - reminder-value-units - True - minute(s) -hour(s) -day(s) - - 0 + + False + True + recurrence-radio 0 False @@ -691,40 +1030,13 @@ day(s) - GtkOptionMenu - reminder-relative + GtkRadioButton + recurrence-custom True - before -after - - 0 - - 0 - False - False - - - - - GtkOptionMenu - reminder-time - True - start of appointment -end of appointment - - 0 - - 0 - False - False - - - - - GtkButton - button3 - True - + + False + True + recurrence-radio 0 False @@ -735,245 +1047,160 @@ end of appointment GtkHBox - hbox50 + hbox57 False 0 0 - True - True + False + False - GtkScrolledWindow - scrolledwindow11 - GTK_POLICY_NEVER - GTK_POLICY_AUTOMATIC - GTK_UPDATE_CONTINUOUS - GTK_UPDATE_CONTINUOUS + GtkHBox + recurrence-params + False + 2 0 - True - True + False + False - GtkCList - reminder-list - True - 1 - 80 - GTK_SELECTION_BROWSE - False - GTK_SHADOW_IN + GtkLabel + label68 + + GTK_JUSTIFY_CENTER + False + 0 + 0.5 + 0 + 0 + + 0 + False + False + + + + + GtkSpinButton + recurrence-interval-value + True + 1 + 0 + True + GTK_UPDATE_ALWAYS + False + False + 1 + 1 + 10000 + 1 + 10 + 10 + + 0 + False + False + + + + + GtkOptionMenu + recurrence-interval-unit + True + day(s) +week(s) +month(s) +year(s) + + 0 + + 0 + False + False + + + + + GtkAlignment + recurrence-special + 0.5 + 0.5 + 0 + 0 + + 0 + False + False + + + + Placeholder + + + + + GtkOptionMenu + recurrence-ending-menu + True + for +until +forever + + 0 + + 0 + False + False + + + + + GtkAlignment + recurrence-ending-special + 0.5 + 0.5 + 0 + 0 + + 0 + False + False + - GtkLabel - CList:title - label55 - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 0 - 0 + Placeholder - GtkVButtonBox - vbuttonbox1 - GTK_BUTTONBOX_START - 10 - 85 - 27 - 7 - 0 + GtkAlignment + recurrence-custom-warning-bin + 0 + 0.5 + 1 + 1 0 - False - False + True + True - GtkButton - reminder-add - True - True - - - - - GtkButton - reminder-delete - True - True - + Placeholder - - - - GtkLabel - Notebook:tab - label42 - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 0 - 0 - - - - GtkVBox - vbox41 - 4 - False - 4 - - - GtkFrame - frame26 - - 0 - GTK_SHADOW_ETCHED_IN - - 0 - False - False - - - - GtkTable - table9 - 4 - 2 - 2 - False - 2 - 2 - - - GtkLabel - label44 - - GTK_JUSTIFY_CENTER - False - 0 - 0.5 - 0 - 0 - recurrence-summary - - 0 - 1 - 0 - 1 - 0 - 0 - False - False - False - False - True - False - - - - - GtkLabel - label45 - - GTK_JUSTIFY_CENTER - False - 0 - 0.5 - 0 - 0 - - 0 - 1 - 1 - 2 - 0 - 0 - False - False - False - False - True - False - - - - - GtkEntry - recurrence-summary - True - True - True - 0 - - - 1 - 2 - 0 - 1 - 0 - 0 - True - False - True - False - True - False - - - - - GtkAlignment - alignment37 - 0 - 0.5 - 0 - 0 - - 1 - 2 - 1 - 2 - 0 - 0 - False - False - False - False - True - True - - - - Custom - recurrence-starting-date - make_date_edit - 0 - 0 - Fri, 22 Sep 2000 20:51:38 GMT - - - - - GtkVBox - vbox43 + GtkHBox + hbox59 False 4 @@ -984,26 +1211,26 @@ end of appointment GtkFrame - frame28 - + frame37 + 0 GTK_SHADOW_ETCHED_IN 0 - False - False + True + True - GtkVBox - vbox47 + GtkHBox + hbox60 4 False 4 - GtkHBox - hbox47 + GtkVBox + vbox57 False 4 @@ -1013,13 +1240,10 @@ end of appointment - GtkRadioButton - recurrence-none + GtkButton + recurrence-exception-add True - - False - True - recurrence-radio + 0 False @@ -1028,13 +1252,10 @@ end of appointment - GtkRadioButton - recurrence-simple + GtkButton + recurrence-exception-modify True - - False - True - recurrence-radio + 0 False @@ -1043,13 +1264,10 @@ end of appointment - GtkRadioButton - recurrence-custom + GtkButton + recurrence-exception-delete True - - False - True - recurrence-radio + 0 False @@ -1059,144 +1277,37 @@ end of appointment - GtkHBox - hbox48 + GtkVBox + vbox58 False - 0 + 4 0 - False - False + True + True - GtkHBox - recurrence-params - False - 2 + Custom + recurrence-exception-date + make_date_edit + 0 + 0 + Tue, 16 May 2000 01:42:29 GMT 0 False False - - - GtkLabel - label46 - - GTK_JUSTIFY_CENTER - False - 0 - 0.5 - 0 - 0 - - 0 - False - False - - - - - GtkSpinButton - recurrence-interval-value - True - 1 - 0 - True - GTK_UPDATE_ALWAYS - False - False - 1 - 1 - 10000 - 1 - 10 - 10 - - 0 - False - False - - - - - GtkOptionMenu - recurrence-interval-unit - True - day(s) -week(s) -month(s) -year(s) - - 0 - - 0 - False - False - - - - - GtkAlignment - recurrence-special - 0.5 - 0.5 - 0 - 0 - - 0 - False - False - - - - Placeholder - - - - - GtkOptionMenu - recurrence-ending-menu - True - for -until -forever - - 0 - - 0 - False - False - - - - - GtkAlignment - recurrence-ending-special - 0.5 - 0.5 - 0 - 0 - - 0 - False - False - - - - Placeholder - - - GtkAlignment - recurrence-custom-warning-bin - 0 - 0.5 - 1 - 1 + GtkScrolledWindow + scrolledwindow14 + GTK_POLICY_NEVER + GTK_POLICY_AUTOMATIC + GTK_UPDATE_CONTINUOUS + GTK_UPDATE_CONTINUOUS 0 True @@ -1204,7 +1315,27 @@ forever - Placeholder + GtkCList + recurrence-exception-list + True + 1 + 80 + GTK_SELECTION_BROWSE + False + GTK_SHADOW_IN + + + GtkLabel + CList:title + label69 + + GTK_JUSTIFY_CENTER + False + 0.5 + 0.5 + 0 + 0 + @@ -1212,211 +1343,66 @@ forever - GtkHBox - hbox45 + GtkVBox + vbox59 False - 4 + 0 0 - True - True + False + False - GtkFrame - frame24 - - 0 - GTK_SHADOW_ETCHED_IN + GtkLabel + label70 + + GTK_JUSTIFY_CENTER + False + 0 + 0.5 + 0 + 0 0 - True - True + False + False - - - GtkHBox - hbox46 - 4 - False - 4 - - - GtkVBox - vbox44 - False - 4 - - 0 - False - False - - - - GtkButton - recurrence-exception-add - True - - - 0 - False - False - - - - - GtkButton - recurrence-exception-modify - True - - - 0 - False - False - - - - - GtkButton - recurrence-exception-delete - True - - - 0 - False - False - - - - - - GtkVBox - vbox45 - False - 4 - - 0 - True - True - - - - Custom - recurrence-exception-date - make_date_edit - 0 - 0 - Tue, 16 May 2000 01:42:29 GMT - - 0 - False - False - - - - - GtkScrolledWindow - scrolledwindow10 - GTK_POLICY_NEVER - GTK_POLICY_AUTOMATIC - GTK_UPDATE_CONTINUOUS - GTK_UPDATE_CONTINUOUS - - 0 - True - True - - - - GtkCList - recurrence-exception-list - True - 1 - 80 - GTK_SELECTION_BROWSE - False - GTK_SHADOW_IN - - - GtkLabel - CList:title - label49 - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 0 - 0 - - - - - - GtkVBox - vbox48 - False - 0 + GtkAlignment + recurrence-preview-bin + 0 + 0 + 1 + 1 0 - False - False + True + True - GtkLabel - label50 - - GTK_JUSTIFY_CENTER - False - 0 - 0.5 - 0 - 0 - - 0 - False - False - - - - - GtkAlignment - recurrence-preview-bin - 0 - 0 - 1 - 1 - - 0 - True - True - - - - Placeholder - + Placeholder + - - GtkLabel - Notebook:tab - label43 - - GTK_JUSTIFY_CENTER - False - 0.5 - 0.5 - 0 - 0 - + + GtkLabel + Notebook:tab + label71 + + GTK_JUSTIFY_CENTER + False + 0.5 + 0.5 + 0 + 0 -- cgit v1.2.3