diff options
author | Damon Chaplin <damon@helixcode.com> | 2000-09-11 07:25:16 +0800 |
---|---|---|
committer | Damon Chaplin <damon@src.gnome.org> | 2000-09-11 07:25:16 +0800 |
commit | 278215b3cf2caa93af681a771e4003288cdaf203 (patch) | |
tree | 1cfaca8aef9bf3eb5138b21fffc24a78089863a5 /calendar/gui/dialogs/task-page.glade | |
parent | 3ef38d9cc08d0dc1e0e94bfc8b01ca78416bae30 (diff) | |
download | gsoc2013-evolution-278215b3cf2caa93af681a771e4003288cdaf203.tar.gz gsoc2013-evolution-278215b3cf2caa93af681a771e4003288cdaf203.tar.zst gsoc2013-evolution-278215b3cf2caa93af681a771e4003288cdaf203.zip |
changed to use EDateEdit.
2000-09-11 Damon Chaplin <damon@helixcode.com>
* gui/dialogs/task-editor.c: changed to use EDateEdit.
* gui/dialogs/task-editor-dialog.glade: added "None" option to
Classification option menu, and used custom widgets for the date
entries so we can use EDateEdit widgets.
* gui/event-editor.c: changed to use EDateEdit. Note that this needs
to be fixed at some point to handle invalid dates, i.e. when
e_date_edit_get_time returns -1.
* gui/calendar-model.c (ensure_task_complete):
(ensure_task_not_complete): new functions to set the related properties
to make sure a task is marked as complete on not, i.e. "Date Completed"
"Status" and "Percent" properties.
2000-09-08 Damon Chaplin <damon@helixcode.com>
* gui/calendar-model.c (get_is_complete): use the status field rather
than the completed date, as it is more reliable.
(get_is_overdue): use get_is_complete().
(calendar_model_mark_task_complete): check if it is already complete,
and if so don't update it.
* cal-util/cal-component.c (cal_component_get_status):
(cal_component_set_status): added functions to support the STATUS
property. Also added the property to CalComponentPrivate and set it
to NULL in free_icalcomponent(). Someone should check my code as I've
mainly done a Cut & Paste job.
svn path=/trunk/; revision=5305
Diffstat (limited to 'calendar/gui/dialogs/task-page.glade')
-rw-r--r-- | calendar/gui/dialogs/task-page.glade | 144 |
1 files changed, 71 insertions, 73 deletions
diff --git a/calendar/gui/dialogs/task-page.glade b/calendar/gui/dialogs/task-page.glade index 8a8ca800d6..7f5bff8e6f 100644 --- a/calendar/gui/dialogs/task-page.glade +++ b/calendar/gui/dialogs/task-page.glade @@ -162,54 +162,6 @@ </child> <widget> - <class>GnomeDateEdit</class> - <name>due-date</name> - <show_time>True</show_time> - <use_24_format>True</use_24_format> - <week_start_monday>False</week_start_monday> - <lower_hour>7</lower_hour> - <upper_hour>19</upper_hour> - <child> - <left_attach>1</left_attach> - <right_attach>2</right_attach> - <top_attach>0</top_attach> - <bottom_attach>1</bottom_attach> - <xpad>0</xpad> - <ypad>0</ypad> - <xexpand>True</xexpand> - <yexpand>False</yexpand> - <xshrink>False</xshrink> - <yshrink>False</yshrink> - <xfill>True</xfill> - <yfill>False</yfill> - </child> - </widget> - - <widget> - <class>GnomeDateEdit</class> - <name>start-date</name> - <show_time>True</show_time> - <use_24_format>True</use_24_format> - <week_start_monday>False</week_start_monday> - <lower_hour>7</lower_hour> - <upper_hour>19</upper_hour> - <child> - <left_attach>1</left_attach> - <right_attach>2</right_attach> - <top_attach>1</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>False</yfill> - </child> - </widget> - - <widget> <class>GtkLabel</class> <name>label6</name> <label>Sta_rt Date:</label> @@ -320,6 +272,52 @@ <yfill>False</yfill> </child> </widget> + + <widget> + <class>Custom</class> + <name>due-date</name> + <creation_function>task_editor_create_date_edit</creation_function> + <int1>0</int1> + <int2>0</int2> + <last_modification_time>Sun, 10 Sep 2000 17:32:18 GMT</last_modification_time> + <child> + <left_attach>1</left_attach> + <right_attach>2</right_attach> + <top_attach>0</top_attach> + <bottom_attach>1</bottom_attach> + <xpad>0</xpad> + <ypad>0</ypad> + <xexpand>True</xexpand> + <yexpand>False</yexpand> + <xshrink>False</xshrink> + <yshrink>False</yshrink> + <xfill>True</xfill> + <yfill>False</yfill> + </child> + </widget> + + <widget> + <class>Custom</class> + <name>start-date</name> + <creation_function>task_editor_create_date_edit</creation_function> + <int1>0</int1> + <int2>0</int2> + <last_modification_time>Sun, 10 Sep 2000 17:33:31 GMT</last_modification_time> + <child> + <left_attach>1</left_attach> + <right_attach>2</right_attach> + <top_attach>1</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>False</yfill> + </child> + </widget> </widget> </widget> @@ -435,7 +433,8 @@ Low <class>GtkOptionMenu</class> <name>classification</name> <can_focus>True</can_focus> - <items>Public + <items>None +Public Private Confidential </items> @@ -587,30 +586,6 @@ Confidential <column_spacing>4</column_spacing> <widget> - <class>GnomeDateEdit</class> - <name>completed-date</name> - <show_time>True</show_time> - <use_24_format>True</use_24_format> - <week_start_monday>False</week_start_monday> - <lower_hour>7</lower_hour> - <upper_hour>19</upper_hour> - <child> - <left_attach>1</left_attach> - <right_attach>2</right_attach> - <top_attach>0</top_attach> - <bottom_attach>1</bottom_attach> - <xpad>0</xpad> - <ypad>0</ypad> - <xexpand>True</xexpand> - <yexpand>False</yexpand> - <xshrink>False</xshrink> - <yshrink>False</yshrink> - <xfill>True</xfill> - <yfill>False</yfill> - </child> - </widget> - - <widget> <class>GtkLabel</class> <name>label12</name> <label>Date Completed:</label> @@ -685,6 +660,29 @@ Confidential <yfill>False</yfill> </child> </widget> + + <widget> + <class>Custom</class> + <name>completed-date</name> + <creation_function>task_editor_create_date_edit</creation_function> + <int1>0</int1> + <int2>0</int2> + <last_modification_time>Sun, 10 Sep 2000 17:34:07 GMT</last_modification_time> + <child> + <left_attach>1</left_attach> + <right_attach>2</right_attach> + <top_attach>0</top_attach> + <bottom_attach>1</bottom_attach> + <xpad>0</xpad> + <ypad>0</ypad> + <xexpand>True</xexpand> + <yexpand>False</yexpand> + <xshrink>False</xshrink> + <yshrink>False</yshrink> + <xfill>True</xfill> + <yfill>False</yfill> + </child> + </widget> </widget> <widget> |