aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Pavel <jpavel@src.gnome.org>2000-10-20 04:45:22 +0800
committerJesse Pavel <jpavel@src.gnome.org>2000-10-20 04:45:22 +0800
commit68c272f8674a2c80dfaf049d5bcfb1fea1c16139 (patch)
treec515b0c1d3d8ef00501e77a317633ed8e3b840cc
parent172f70c6412b2af09ad400d3d4da39537866c466 (diff)
downloadgsoc2013-evolution-68c272f8674a2c80dfaf049d5bcfb1fea1c16139.tar.gz
gsoc2013-evolution-68c272f8674a2c80dfaf049d5bcfb1fea1c16139.tar.zst
gsoc2013-evolution-68c272f8674a2c80dfaf049d5bcfb1fea1c16139.zip
*** empty log message ***
svn path=/trunk/; revision=6050
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/e-meeting-dialog.glade11
-rw-r--r--calendar/gui/event-editor.c10
-rw-r--r--calendar/gui/event-editor.h2
4 files changed, 27 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 4b89f4f8be..a222fbcc0f 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+2000-10-19 Jesse Pavel <jpavel@helixcode.com>
+
+ * gui/event-editor.[ch]: added a public function which causes the
+ event editor to reload its widgets to the associated CalComponent.
+
2000-10-19 Ettore Perazzoli <ettore@helixcode.com>
* gui/Makefile.am: Add `event-editor-dialog.glade.h'.
diff --git a/calendar/gui/e-meeting-dialog.glade b/calendar/gui/e-meeting-dialog.glade
index 5f52030d71..96e6707013 100644
--- a/calendar/gui/e-meeting-dialog.glade
+++ b/calendar/gui/e-meeting-dialog.glade
@@ -66,7 +66,7 @@ Updates</label>
<widget>
<class>GtkButton</class>
<child_name>Toolbar:button</child_name>
- <name>button4</name>
+ <name>cancel_button</name>
<label>Cancel
Meeting</label>
<stock_pixmap>GNOME_STOCK_PIXMAP_CLOSE</stock_pixmap>
@@ -78,6 +78,15 @@ Meeting</label>
<width>12</width>
<height>58</height>
</widget>
+
+ <widget>
+ <class>GtkButton</class>
+ <child_name>Toolbar:button</child_name>
+ <name>schedule_button</name>
+ <label>Schedule
+Time</label>
+ <stock_pixmap>GNOME_STOCK_PIXMAP_MULTIPLE</stock_pixmap>
+ </widget>
</widget>
<widget>
diff --git a/calendar/gui/event-editor.c b/calendar/gui/event-editor.c
index 57242978e8..97e98db1b4 100644
--- a/calendar/gui/event-editor.c
+++ b/calendar/gui/event-editor.c
@@ -860,6 +860,16 @@ fill_widgets (EventEditor *ee)
cal_component_free_exdate_list (list);
}
+
+/* Tell the event editor to reread its widget values from the associated
+ CalComponent object. If one changes the CalComponent through a means other
+ than the GUI, one should call this function. */
+void
+event_editor_update_widgets (EventEditor *ee)
+{
+ fill_widgets (ee);
+}
+
/* Decode the radio button group for classifications */
diff --git a/calendar/gui/event-editor.h b/calendar/gui/event-editor.h
index 009beb4dd5..b978eb8cd5 100644
--- a/calendar/gui/event-editor.h
+++ b/calendar/gui/event-editor.h
@@ -62,6 +62,8 @@ void event_editor_set_event_object (EventEditor *ee, CalComponent *comp);
void event_editor_focus (EventEditor *ee);
+void event_editor_update_widgets (EventEditor *ee);
+
#if 0
/* Convenience function to create and show a new event editor for an
* event that goes from day_begin to day_end of the specified day.