diff options
author | Milan Crha <mcrha@redhat.com> | 2011-08-23 22:56:29 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2011-08-23 22:57:26 +0800 |
commit | a7840ef0ef78bf909deda11c7bb99ce9d5474652 (patch) | |
tree | 7f57b487b8324364391c626c3640d83d18f74744 | |
parent | 25b1e4a09c35c623a46d304eb2fef0a837027118 (diff) | |
download | gsoc2013-evolution-a7840ef0ef78bf909deda11c7bb99ce9d5474652.tar gsoc2013-evolution-a7840ef0ef78bf909deda11c7bb99ce9d5474652.tar.gz gsoc2013-evolution-a7840ef0ef78bf909deda11c7bb99ce9d5474652.tar.bz2 gsoc2013-evolution-a7840ef0ef78bf909deda11c7bb99ce9d5474652.tar.lz gsoc2013-evolution-a7840ef0ef78bf909deda11c7bb99ce9d5474652.tar.xz gsoc2013-evolution-a7840ef0ef78bf909deda11c7bb99ce9d5474652.tar.zst gsoc2013-evolution-a7840ef0ef78bf909deda11c7bb99ce9d5474652.zip |
Bug #655666 - Split task preferences into its own tab
-rw-r--r-- | modules/calendar/e-calendar-preferences.c | 1 | ||||
-rw-r--r-- | modules/calendar/e-calendar-preferences.ui | 191 | ||||
-rw-r--r-- | plugins/publish-calendar/org-gnome-publish-calendar.eplug.xml | 18 |
3 files changed, 118 insertions, 92 deletions
diff --git a/modules/calendar/e-calendar-preferences.c b/modules/calendar/e-calendar-preferences.c index a3dd435910..115226dcf3 100644 --- a/modules/calendar/e-calendar-preferences.c +++ b/modules/calendar/e-calendar-preferences.c @@ -490,6 +490,7 @@ static ECalConfigItem eccp_items[] = { { E_CONFIG_PAGE, (gchar *) "10.display", (gchar *) "display", calendar_preferences_get_config_widget }, { E_CONFIG_SECTION, (gchar *) "10.display/00.general", (gchar *) "displayGeneral", calendar_preferences_get_config_widget }, { E_CONFIG_SECTION, (gchar *) "10.display/10.taskList", (gchar *) "taskList", calendar_preferences_get_config_widget }, + { E_CONFIG_PAGE, (gchar *) "12.tasks", (gchar *) "tasks-vbox", calendar_preferences_get_config_widget }, { E_CONFIG_PAGE, (gchar *) "15.alarms", (gchar *) "alarms", calendar_preferences_get_config_widget }, { E_CONFIG_PAGE, (gchar *) "20.freeBusy", (gchar *) "freebusy", calendar_preferences_get_config_widget }, { E_CONFIG_SECTION, (gchar *) "20.freeBusy/00.defaultServer", (gchar *) "default-freebusy-vbox", calendar_preferences_get_config_widget }, diff --git a/modules/calendar/e-calendar-preferences.ui b/modules/calendar/e-calendar-preferences.ui index 96f0d70e43..27de6cc996 100644 --- a/modules/calendar/e-calendar-preferences.ui +++ b/modules/calendar/e-calendar-preferences.ui @@ -823,11 +823,15 @@ </object> <packing> <property name="position">1</property> + <property name="expand">True</property> + <property name="fill">True</property> </packing> </child> </object> <packing> <property name="position">0</property> + <property name="expand">False</property> + <property name="fill">False</property> </packing> </child> <child> @@ -917,6 +921,80 @@ </packing> </child> <child> + <object class="GtkLabel" id="label65"> + <property name="visible">True</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">Date/Time Format</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">2</property> + </packing> + </child> + <child> + <object class="GtkHBox" id="hbox27"> + <property name="visible">True</property> + <property name="spacing">12</property> + <child> + <object class="GtkLabel" id="label66"> + <property name="visible">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkTable" id="datetime_format_table"> + <property name="visible">True</property> + <property name="n_columns">3</property> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + </object> + <packing> + <property name="position">1</property> + </packing> + </child> + </object> + <packing> + <property name="position">3</property> + </packing> + </child> + </object> + <packing> + <property name="tab_fill">False</property> + <property name="tab_expand">False</property> + <property name="position">1</property> + </packing> + </child> + <child type="tab"> + <object class="GtkLabel" id="label2"> + <property name="visible">True</property> + <property name="label" translatable="yes">Display</property> + </object> + <packing> + <property name="position">1</property> + <property name="tab_fill">False</property> + </packing> + </child> + <child> + <object class="GtkVBox" id="tasks-vbox"> + <property name="visible">True</property> + <property name="border_width">12</property> + <property name="spacing">12</property> + <child> <object class="GtkLabel" id="label18"> <property name="visible">True</property> <property name="xalign">0</property> @@ -928,7 +1006,7 @@ <packing> <property name="expand">False</property> <property name="fill">False</property> - <property name="position">2</property> + <property name="position">0</property> </packing> </child> <child> @@ -981,6 +1059,17 @@ <property name="position">1</property> </packing> </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkHBox" id="hbox15"> + <property name="visible">True</property> + <property name="spacing">12</property> <child> <object class="GtkLabel" id="label22"> <property name="visible">True</property> @@ -992,8 +1081,7 @@ <packing> <property name="expand">False</property> <property name="fill">False</property> - <property name="pack_type">end</property> - <property name="position">3</property> + <property name="position">0</property> </packing> </child> <child> @@ -1007,15 +1095,14 @@ <packing> <property name="expand">False</property> <property name="fill">False</property> - <property name="pack_type">end</property> - <property name="position">2</property> + <property name="position">1</property> </packing> </child> </object> <packing> <property name="expand">False</property> <property name="fill">False</property> - <property name="position">0</property> + <property name="position">1</property> </packing> </child> <child> @@ -1065,7 +1152,9 @@ </child> </object> <packing> - <property name="position">1</property> + <property name="position">2</property> + <property name="expand">False</property> + <property name="fill">False</property> </packing> </child> </object> @@ -1076,75 +1165,23 @@ </object> <packing> <property name="expand">False</property> - <property name="position">3</property> - </packing> - </child> - <child> - <object class="GtkLabel" id="label65"> - <property name="visible">True</property> - <property name="xalign">0</property> - <property name="label" translatable="yes">Date/Time Format</property> - <attributes> - <attribute name="weight" value="bold"/> - </attributes> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">4</property> - </packing> - </child> - <child> - <object class="GtkHBox" id="hbox27"> - <property name="visible">True</property> - <property name="spacing">12</property> - <child> - <object class="GtkLabel" id="label66"> - <property name="visible">True</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">False</property> - <property name="position">0</property> - </packing> - </child> - <child> - <object class="GtkTable" id="datetime_format_table"> - <property name="visible">True</property> - <property name="n_columns">3</property> - <child> - <placeholder/> - </child> - <child> - <placeholder/> - </child> - <child> - <placeholder/> - </child> - </object> - <packing> - <property name="position">1</property> - </packing> - </child> - </object> - <packing> - <property name="position">5</property> + <property name="position">1</property> </packing> </child> </object> <packing> <property name="tab_fill">False</property> <property name="tab_expand">False</property> - <property name="position">1</property> + <property name="position">2</property> </packing> </child> <child type="tab"> - <object class="GtkLabel" id="label2"> + <object class="GtkLabel" id="tasks-tab-label"> <property name="visible">True</property> - <property name="label" translatable="yes">Display</property> + <property name="label" translatable="yes">Tasks</property> </object> <packing> - <property name="position">1</property> + <property name="position">2</property> <property name="tab_fill">False</property> </packing> </child> @@ -1368,7 +1405,7 @@ <packing> <property name="tab_fill">False</property> <property name="tab_expand">False</property> - <property name="position">2</property> + <property name="position">3</property> </packing> </child> <child type="tab"> @@ -1379,14 +1416,13 @@ <packing> <property name="tab_fill">False</property> <property name="tab_expand">False</property> - <property name="position">2</property> + <property name="position">3</property> </packing> </child> <child> <object class="GtkVBox" id="freebusy"> <property name="visible">True</property> <property name="border_width">12</property> - <property name="orientation">vertical</property> <property name="spacing">12</property> <child> <object class="GtkLabel" id="default-freebusy-header"> @@ -1398,9 +1434,9 @@ </attributes> </object> <packing> + <property name="position">0</property> <property name="expand">False</property> <property name="fill">False</property> - <property name="position">0</property> </packing> </child> <child> @@ -1410,7 +1446,6 @@ <child> <object class="GtkVBox" id="default-freebusy-vbox"> <property name="visible">True</property> - <property name="orientation">vertical</property> <property name="spacing">6</property> <child> <object class="GtkHBox" id="hbox18"> @@ -1422,9 +1457,9 @@ <property name="label" translatable="yes">Template:</property> </object> <packing> + <property name="position">0</property> <property name="expand">False</property> <property name="fill">False</property> - <property name="position">0</property> </packing> </child> <child> @@ -1435,11 +1470,15 @@ </object> <packing> <property name="position">1</property> + <property name="expand">True</property> + <property name="fill">True</property> </packing> </child> </object> <packing> <property name="position">0</property> + <property name="expand">False</property> + <property name="fill">False</property> </packing> </child> <child> @@ -1452,36 +1491,34 @@ </attributes> </object> <packing> + <property name="position">1</property> <property name="expand">False</property> <property name="fill">False</property> - <property name="position">1</property> </packing> </child> </object> </child> </object> <packing> + <property name="position">1</property> <property name="expand">False</property> <property name="fill">False</property> - <property name="position">1</property> </packing> </child> </object> <packing> - <property name="tab_expand">False</property> + <property name="position">4</property> <property name="tab_fill">False</property> - <property name="position">3</property> </packing> </child> <child type="tab"> <object class="GtkLabel" id="label3"> <property name="visible">True</property> - <property name="label" translatable="yes">Free/Busy</property> + <property name="label" translatable="yes">Publishing Information</property> </object> <packing> - <property name="tab_expand">False</property> + <property name="position">4</property> <property name="tab_fill">False</property> - <property name="position">3</property> </packing> </child> </object> diff --git a/plugins/publish-calendar/org-gnome-publish-calendar.eplug.xml b/plugins/publish-calendar/org-gnome-publish-calendar.eplug.xml index dcb26e23f7..c9e514bc27 100644 --- a/plugins/publish-calendar/org-gnome-publish-calendar.eplug.xml +++ b/plugins/publish-calendar/org-gnome-publish-calendar.eplug.xml @@ -22,21 +22,9 @@ <!-- config page --> <hook class="org.gnome.evolution.calendar.config:1.0"> - <group - target="prefs" - id="org.gnome.evolution.calendar.prefs"> - <item - type="page" - path="30.publishing" - _label="Calendar Publishing"/> - <item - type="section" - path="30.publishing/00.urls" - _label="Locations"/> - <item - type="item" - path="30.publishing/00.urls/00.locations" - factory="publish_calendar_locations"/> + <group target="prefs" id="org.gnome.evolution.calendar.prefs"> + <item type="section" path="30.publishing/00.urls" _label="Locations"/> + <item type="item" path="30.publishing/00.urls/00.locations" factory="publish_calendar_locations"/> </group> </hook> </e-plugin> |