diff options
author | Damon Chaplin <damon@ximian.com> | 2001-06-19 13:23:16 +0800 |
---|---|---|
committer | Damon Chaplin <damon@src.gnome.org> | 2001-06-19 13:23:16 +0800 |
commit | 84dc93b8de0c5944982f66559bfc1cc74edb19db (patch) | |
tree | 92a9e795070ea5eec32eed0bae87020c98f85245 /calendar/gui/dialogs/event-page.glade | |
parent | 15d3afd9d6efcc62264d8de14f2272b41c1f6891 (diff) | |
download | gsoc2013-evolution-84dc93b8de0c5944982f66559bfc1cc74edb19db.tar gsoc2013-evolution-84dc93b8de0c5944982f66559bfc1cc74edb19db.tar.gz gsoc2013-evolution-84dc93b8de0c5944982f66559bfc1cc74edb19db.tar.bz2 gsoc2013-evolution-84dc93b8de0c5944982f66559bfc1cc74edb19db.tar.lz gsoc2013-evolution-84dc93b8de0c5944982f66559bfc1cc74edb19db.tar.xz gsoc2013-evolution-84dc93b8de0c5944982f66559bfc1cc74edb19db.tar.zst gsoc2013-evolution-84dc93b8de0c5944982f66559bfc1cc74edb19db.zip |
added timezone fields. Also moved the 'All Day' flag into an alignment so
2001-06-19 Damon Chaplin <damon@ximian.com>
* gui/dialogs/task-details-page.glade:
* gui/dialogs/task-page.glade:
* gui/dialogs/event-page.glade: added timezone fields. Also moved the
'All Day' flag into an alignment so it doesn't mess up the height of
the other widgets.
* gui/dialogs/task-details-page.c:
* gui/dialogs/task-page.c:
* gui/dialogs/event-page.c: added code to handle the timezone fields.
This still needs to be hooked up when the libical code is finished.
* gui/dialogs/e-timezone-dialog.c (on_map_leave): new function to
clear the preview label and turn off the highlighted point on the
map when you move the mouse outside it.
(find_selected_point): new function to try to find the point
corresponding to the text in the combo.
(on_combo_changed): call the above function to update the selected
point.
(on_map_leave): turn off the preview point & label when the mouse
leaves the map.
(e_timezone_dialog_set_cal_client): changed it so that selecting "None"
clears the entry.
* gui/dialogs/comp-editor-page.[hc]: added set_cal_client() virtual
method since some pages need to access the CalClient to get timezone
information. Also added comp_editor_page_set_cal_client() to call
the virtual method.
* gui/dialogs/comp-editor.c (comp_editor_set_cal_client): called
comp_editor_page_set_cal_client() on each page.
* gui/calendar-config.c: added functions to get & set the timezone.
svn path=/trunk/; revision=10285
Diffstat (limited to 'calendar/gui/dialogs/event-page.glade')
-rw-r--r-- | calendar/gui/dialogs/event-page.glade | 105 |
1 files changed, 81 insertions, 24 deletions
diff --git a/calendar/gui/dialogs/event-page.glade b/calendar/gui/dialogs/event-page.glade index e9b774fe41..bd1c094357 100644 --- a/calendar/gui/dialogs/event-page.glade +++ b/calendar/gui/dialogs/event-page.glade @@ -117,7 +117,7 @@ <name>table12</name> <border_width>4</border_width> <rows>2</rows> - <columns>3</columns> + <columns>4</columns> <homogeneous>False</homogeneous> <row_spacing>4</row_spacing> <column_spacing>4</column_spacing> @@ -175,29 +175,6 @@ </widget> <widget> - <class>GtkCheckButton</class> - <name>all-day-event</name> - <can_focus>True</can_focus> - <label>A_ll day event</label> - <active>False</active> - <draw_indicator>True</draw_indicator> - <child> - <left_attach>2</left_attach> - <right_attach>3</right_attach> - <top_attach>0</top_attach> - <bottom_attach>1</bottom_attach> - <xpad>0</xpad> - <ypad>0</ypad> - <xexpand>False</xexpand> - <yexpand>False</yexpand> - <xshrink>False</xshrink> - <yshrink>False</yshrink> - <xfill>True</xfill> - <yfill>False</yfill> - </child> - </widget> - - <widget> <class>Custom</class> <name>start-time</name> <creation_function>make_date_edit</creation_function> @@ -244,6 +221,84 @@ <yfill>True</yfill> </child> </widget> + + <widget> + <class>Custom</class> + <name>end-timezone</name> + <creation_function>make_timezone_entry</creation_function> + <int1>0</int1> + <int2>0</int2> + <last_modification_time>Mon, 18 Jun 2001 23:51:40 GMT</last_modification_time> + <child> + <left_attach>2</left_attach> + <right_attach>3</right_attach> + <top_attach>1</top_attach> + <bottom_attach>2</bottom_attach> + <xpad>0</xpad> + <ypad>0</ypad> + <xexpand>False</xexpand> + <yexpand>False</yexpand> + <xshrink>False</xshrink> + <yshrink>False</yshrink> + <xfill>False</xfill> + <yfill>True</yfill> + </child> + </widget> + + <widget> + <class>Custom</class> + <name>start-timezone</name> + <creation_function>make_timezone_entry</creation_function> + <int1>0</int1> + <int2>0</int2> + <last_modification_time>Mon, 18 Jun 2001 23:51:34 GMT</last_modification_time> + <child> + <left_attach>2</left_attach> + <right_attach>3</right_attach> + <top_attach>0</top_attach> + <bottom_attach>1</bottom_attach> + <xpad>0</xpad> + <ypad>0</ypad> + <xexpand>False</xexpand> + <yexpand>False</yexpand> + <xshrink>False</xshrink> + <yshrink>False</yshrink> + <xfill>True</xfill> + <yfill>True</yfill> + </child> + </widget> + + <widget> + <class>GtkAlignment</class> + <name>alignment1</name> + <xalign>0.5</xalign> + <yalign>7.45058e-09</yalign> + <xscale>1</xscale> + <yscale>0</yscale> + <child> + <left_attach>3</left_attach> + <right_attach>4</right_attach> + <top_attach>0</top_attach> + <bottom_attach>2</bottom_attach> + <xpad>0</xpad> + <ypad>0</ypad> + <xexpand>True</xexpand> + <yexpand>False</yexpand> + <xshrink>False</xshrink> + <yshrink>False</yshrink> + <xfill>True</xfill> + <yfill>True</yfill> + </child> + + <widget> + <class>GtkCheckButton</class> + <name>all-day-event</name> + <can_focus>True</can_focus> + <label>A_ll day event</label> + <active>False</active> + <draw_indicator>True</draw_indicator> + </widget> + </widget> </widget> </widget> @@ -350,6 +405,7 @@ <class>GtkButton</class> <name>contacts-button</name> <can_focus>True</can_focus> + <relief>GTK_RELIEF_NORMAL</relief> <child> <padding>0</padding> <expand>False</expand> @@ -388,6 +444,7 @@ <class>GtkButton</class> <name>categories-button</name> <can_focus>True</can_focus> + <relief>GTK_RELIEF_NORMAL</relief> <child> <padding>0</padding> <expand>False</expand> |