2001-08-14 Damon Chaplin <damon@ximian.com> * gui/dialogs/task-page.c: * gui/dialogs/event-page.c: added support for the Contacts field. Note that I'm not sure what we should put in the iCalendar CONTACT properties. Currently we put "name <email>", but it isn't recognized as a contact when we reopen the dialog, so we may need more info here. Also we currently use a simple parser to parse the above format, and we should maybe use some camel function. * gui/dialogs/task-page.glade: * gui/dialogs/event-page.glade: replaced the GtkEntry fields for the Contacts with a GtkEventBox which we put the BonoboControl in at runtime. * gui/dialogs/meeting-page.c (invite_entry_changed): added FIXMEs since it doesn't seem to be freeing the EDestination stuff. JP? * gui/dialogs/comp-editor-util.c: added bunch of utility functions to handle the Contacts field in the main Event and Task pages. * gui/gnome-cal.c: added visible_start and visible_end fields, so we only emit the 'dates-shown-changed' signal when really necessary. Currently changing the folder title bar label results in a complete redraw of the Evolution window (silly GtkLabel queueing a resize), so we want to avoid that as much as possible. (gnome_calendar_new_appointment_for): only move the event's end time to the end of the day if it is not already 00:00:00. * gui/e-week-view-event-item.c: * gui/e-week-view.c: * gui/e-day-view.c: added support for double-clicking on an event to open it, and for double-clicking on the background to create a new event. There is still a minor problem to sort out, but it basically works. * cal-util/cal-component.c: added support for CONTACT properties, mainly by copying the code for COMMENT properties which are exactly the same type. * gui/e-day-view.c (e_day_view_realize): use the same color for the top canvas background as the shortcut bar, to make it look a little nicer (I think). Although we still have the theme problem with hard-coded colors. svn path=/trunk/; revision=12039
488 lines
11 KiB
XML
488 lines
11 KiB
XML
<?xml version="1.0"?>
|
|
<GTK-Interface>
|
|
|
|
<project>
|
|
<name>task-page</name>
|
|
<program_name>task-page</program_name>
|
|
<directory></directory>
|
|
<source_directory>src</source_directory>
|
|
<pixmaps_directory>pixmaps</pixmaps_directory>
|
|
<language>C</language>
|
|
<gnome_support>True</gnome_support>
|
|
<gettext_support>True</gettext_support>
|
|
</project>
|
|
|
|
<widget>
|
|
<class>GtkWindow</class>
|
|
<name>task-toplevel</name>
|
|
<visible>False</visible>
|
|
<title>window1</title>
|
|
<type>GTK_WINDOW_TOPLEVEL</type>
|
|
<position>GTK_WIN_POS_NONE</position>
|
|
<modal>False</modal>
|
|
<allow_shrink>False</allow_shrink>
|
|
<allow_grow>True</allow_grow>
|
|
<auto_shrink>False</auto_shrink>
|
|
|
|
<widget>
|
|
<class>GtkVBox</class>
|
|
<name>task-page</name>
|
|
<border_width>4</border_width>
|
|
<homogeneous>False</homogeneous>
|
|
<spacing>4</spacing>
|
|
|
|
<widget>
|
|
<class>GtkTable</class>
|
|
<name>table3</name>
|
|
<rows>1</rows>
|
|
<columns>2</columns>
|
|
<homogeneous>False</homogeneous>
|
|
<row_spacing>4</row_spacing>
|
|
<column_spacing>4</column_spacing>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>False</expand>
|
|
<fill>True</fill>
|
|
</child>
|
|
|
|
<widget>
|
|
<class>GtkLabel</class>
|
|
<name>label3</name>
|
|
<label>Su_mmary:</label>
|
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
|
<wrap>False</wrap>
|
|
<xalign>0.5</xalign>
|
|
<yalign>0.5</yalign>
|
|
<xpad>0</xpad>
|
|
<ypad>0</ypad>
|
|
<default_focus_target>summary</default_focus_target>
|
|
<child>
|
|
<left_attach>0</left_attach>
|
|
<right_attach>1</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>False</xfill>
|
|
<yfill>False</yfill>
|
|
</child>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkEntry</class>
|
|
<name>summary</name>
|
|
<can_focus>True</can_focus>
|
|
<editable>True</editable>
|
|
<text_visible>True</text_visible>
|
|
<text_max_length>0</text_max_length>
|
|
<text></text>
|
|
<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>
|
|
<class>GtkFrame</class>
|
|
<name>frame2</name>
|
|
<label>Date & Time</label>
|
|
<label_xalign>0</label_xalign>
|
|
<shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>False</expand>
|
|
<fill>True</fill>
|
|
</child>
|
|
|
|
<widget>
|
|
<class>GtkHBox</class>
|
|
<name>hbox4</name>
|
|
<border_width>4</border_width>
|
|
<homogeneous>False</homogeneous>
|
|
<spacing>0</spacing>
|
|
|
|
<widget>
|
|
<class>GtkTable</class>
|
|
<name>table1</name>
|
|
<rows>2</rows>
|
|
<columns>3</columns>
|
|
<homogeneous>False</homogeneous>
|
|
<row_spacing>2</row_spacing>
|
|
<column_spacing>4</column_spacing>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>False</expand>
|
|
<fill>True</fill>
|
|
</child>
|
|
|
|
<widget>
|
|
<class>GtkLabel</class>
|
|
<name>label6</name>
|
|
<label>Sta_rt Date:</label>
|
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
|
<wrap>False</wrap>
|
|
<xalign>0</xalign>
|
|
<yalign>0.5</yalign>
|
|
<xpad>0</xpad>
|
|
<ypad>0</ypad>
|
|
<child>
|
|
<left_attach>0</left_attach>
|
|
<right_attach>1</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>True</xfill>
|
|
<yfill>False</yfill>
|
|
</child>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkLabel</class>
|
|
<name>label5</name>
|
|
<label>_Due Date:</label>
|
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
|
<wrap>False</wrap>
|
|
<xalign>0</xalign>
|
|
<yalign>0.5</yalign>
|
|
<xpad>0</xpad>
|
|
<ypad>0</ypad>
|
|
<child>
|
|
<left_attach>0</left_attach>
|
|
<right_attach>1</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>due-date</name>
|
|
<creation_function>task_page_create_date_edit</creation_function>
|
|
<int1>0</int1>
|
|
<int2>0</int2>
|
|
<last_modification_time>Fri, 01 Jun 2001 18:59:52 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_page_create_date_edit</creation_function>
|
|
<int1>0</int1>
|
|
<int2>0</int2>
|
|
<last_modification_time>Fri, 01 Jun 2001 18:59:57 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>
|
|
<class>Custom</class>
|
|
<name>due-timezone</name>
|
|
<creation_function>make_timezone_entry</creation_function>
|
|
<int1>0</int1>
|
|
<int2>0</int2>
|
|
<last_modification_time>Tue, 19 Jun 2001 04:43:54 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>True</xexpand>
|
|
<yexpand>False</yexpand>
|
|
<xshrink>False</xshrink>
|
|
<yshrink>False</yshrink>
|
|
<xfill>True</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>Tue, 19 Jun 2001 04:43:46 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>True</xfill>
|
|
<yfill>True</yfill>
|
|
</child>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkVBox</class>
|
|
<name>vbox1</name>
|
|
<homogeneous>False</homogeneous>
|
|
<spacing>0</spacing>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>True</expand>
|
|
<fill>True</fill>
|
|
</child>
|
|
|
|
<widget>
|
|
<class>GtkLabel</class>
|
|
<name>label18</name>
|
|
<label>Description:</label>
|
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
|
<wrap>False</wrap>
|
|
<xalign>0</xalign>
|
|
<yalign>0.5</yalign>
|
|
<xpad>0</xpad>
|
|
<ypad>0</ypad>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>False</expand>
|
|
<fill>False</fill>
|
|
</child>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkScrolledWindow</class>
|
|
<name>scrolledwindow1</name>
|
|
<hscrollbar_policy>GTK_POLICY_NEVER</hscrollbar_policy>
|
|
<vscrollbar_policy>GTK_POLICY_AUTOMATIC</vscrollbar_policy>
|
|
<hupdate_policy>GTK_UPDATE_CONTINUOUS</hupdate_policy>
|
|
<vupdate_policy>GTK_UPDATE_CONTINUOUS</vupdate_policy>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>True</expand>
|
|
<fill>True</fill>
|
|
</child>
|
|
|
|
<widget>
|
|
<class>GtkText</class>
|
|
<name>description</name>
|
|
<height>80</height>
|
|
<can_focus>True</can_focus>
|
|
<editable>True</editable>
|
|
<text></text>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkFrame</class>
|
|
<name>frame24</name>
|
|
<label>Classification</label>
|
|
<label_xalign>0</label_xalign>
|
|
<shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>False</expand>
|
|
<fill>True</fill>
|
|
</child>
|
|
|
|
<widget>
|
|
<class>GtkHBox</class>
|
|
<name>hbox6</name>
|
|
<border_width>2</border_width>
|
|
<homogeneous>False</homogeneous>
|
|
<spacing>4</spacing>
|
|
|
|
<widget>
|
|
<class>GtkRadioButton</class>
|
|
<name>classification-public</name>
|
|
<can_focus>True</can_focus>
|
|
<label>Pu_blic</label>
|
|
<active>True</active>
|
|
<draw_indicator>True</draw_indicator>
|
|
<group>classification_radio_group</group>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>False</expand>
|
|
<fill>False</fill>
|
|
</child>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkRadioButton</class>
|
|
<name>classification-private</name>
|
|
<can_focus>True</can_focus>
|
|
<label>Pri_vate</label>
|
|
<active>False</active>
|
|
<draw_indicator>True</draw_indicator>
|
|
<group>classification_radio_group</group>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>False</expand>
|
|
<fill>False</fill>
|
|
</child>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkRadioButton</class>
|
|
<name>classification-confidential</name>
|
|
<can_focus>True</can_focus>
|
|
<label>_Confidential</label>
|
|
<active>False</active>
|
|
<draw_indicator>True</draw_indicator>
|
|
<group>classification_radio_group</group>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>False</expand>
|
|
<fill>False</fill>
|
|
</child>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkHBox</class>
|
|
<name>hbox2</name>
|
|
<homogeneous>False</homogeneous>
|
|
<spacing>2</spacing>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>False</expand>
|
|
<fill>True</fill>
|
|
</child>
|
|
|
|
<widget>
|
|
<class>GtkButton</class>
|
|
<name>contacts-button</name>
|
|
<can_focus>True</can_focus>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>False</expand>
|
|
<fill>False</fill>
|
|
</child>
|
|
|
|
<widget>
|
|
<class>GtkLabel</class>
|
|
<name>label16</name>
|
|
<label>_Contacts...</label>
|
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
|
<wrap>False</wrap>
|
|
<xalign>0.5</xalign>
|
|
<yalign>0.5</yalign>
|
|
<xpad>4</xpad>
|
|
<ypad>0</ypad>
|
|
</widget>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkEventBox</class>
|
|
<name>contacts-box</name>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>True</expand>
|
|
<fill>True</fill>
|
|
</child>
|
|
|
|
<widget>
|
|
<class>Placeholder</class>
|
|
</widget>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkButton</class>
|
|
<name>categories-button</name>
|
|
<can_focus>True</can_focus>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>False</expand>
|
|
<fill>False</fill>
|
|
</child>
|
|
|
|
<widget>
|
|
<class>GtkLabel</class>
|
|
<name>label17</name>
|
|
<label>Ca_tegories...</label>
|
|
<justify>GTK_JUSTIFY_CENTER</justify>
|
|
<wrap>False</wrap>
|
|
<xalign>0.5</xalign>
|
|
<yalign>0.5</yalign>
|
|
<xpad>4</xpad>
|
|
<ypad>0</ypad>
|
|
</widget>
|
|
</widget>
|
|
|
|
<widget>
|
|
<class>GtkEntry</class>
|
|
<name>categories</name>
|
|
<can_focus>True</can_focus>
|
|
<editable>True</editable>
|
|
<text_visible>True</text_visible>
|
|
<text_max_length>0</text_max_length>
|
|
<text></text>
|
|
<child>
|
|
<padding>0</padding>
|
|
<expand>True</expand>
|
|
<fill>True</fill>
|
|
</child>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
|
|
</GTK-Interface>
|