diff options
author | Milan Crha <mcrha@redhat.com> | 2008-12-06 03:20:28 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2008-12-06 03:20:28 +0800 |
commit | 7b221ebc07a7867c3528b113e82f25a01816a015 (patch) | |
tree | 975f1efd25565d3fd930c935fabeb10ec5b866da /calendar | |
parent | 888965285486dbe274238c1b6062ed89986676a8 (diff) | |
download | gsoc2013-evolution-7b221ebc07a7867c3528b113e82f25a01816a015.tar gsoc2013-evolution-7b221ebc07a7867c3528b113e82f25a01816a015.tar.gz gsoc2013-evolution-7b221ebc07a7867c3528b113e82f25a01816a015.tar.bz2 gsoc2013-evolution-7b221ebc07a7867c3528b113e82f25a01816a015.tar.lz gsoc2013-evolution-7b221ebc07a7867c3528b113e82f25a01816a015.tar.xz gsoc2013-evolution-7b221ebc07a7867c3528b113e82f25a01816a015.tar.zst gsoc2013-evolution-7b221ebc07a7867c3528b113e82f25a01816a015.zip |
** Fix for bug #332629
2008-12-05 Milan Crha <mcrha@redhat.com>
** Fix for bug #332629
* filter/filter-option.h: (struct _filter_option),
(struct _FilterOption), (filter_option_add):
* filter/filter-option.c: (filter_option_init), (filter_option_finalise),
(filter_option_add), (xml_create), (get_widget), (clone):
Be able to define optionlist with dynamically created list of options.
* filter/filter-label.c: (fill_options): Adapt.
* addressbook/gui/widgets/addresstypes.xml:
* calendar/gui/caltypes.xml:
* calendar/gui/memotypes.xml:
* calendar/gui/tasktypes.xml:
Use dynamically created list of categories in the option's widget.
svn path=/trunk/; revision=36836
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 9 | ||||
-rw-r--r-- | calendar/gui/caltypes.xml | 70 | ||||
-rw-r--r-- | calendar/gui/memotypes.xml | 70 | ||||
-rw-r--r-- | calendar/gui/tasktypes.xml | 71 |
4 files changed, 12 insertions, 208 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 854f8649bd..58c6860eaf 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,12 @@ +2008-12-05 Milan Crha <mcrha@redhat.com> + + ** Part of fix for bug #332629 + + * gui/caltypes.xml: + * gui/memotypes.xml: + * gui/tasktypes.xml: + Use dynamically created list of categories in the option's widget. + 2008-12-03 Milan Crha <mcrha@redhat.com> ** Part of fix for bug #352287 diff --git a/calendar/gui/caltypes.xml b/calendar/gui/caltypes.xml index 3f93daa8ee..c1997a4fb0 100644 --- a/calendar/gui/caltypes.xml +++ b/calendar/gui/caltypes.xml @@ -129,75 +129,7 @@ </option> </input> <input type="optionlist" name="category"> - <option value="Anniversary"> - <_title>Anniversary</_title> - </option> - <option value="Holiday"> - <_title>Holiday</_title> - </option> - <option value="Ideas"> - <_title>Ideas</_title> - </option> - <option value="Status"> - <_title>Status</_title> - </option> - <option value="Holiday Cards"> - <_title>Holiday Cards</_title> - </option> - <option value="Hot Contacts"> - <_title>Hot Contacts</_title> - </option> - <option value="International"> - <_title>International</_title> - </option> - <option value="Next 7 days"> - <_title>Next 7 days</_title> - </option> - <option value="Birthday"> - <_title>Birthday</_title> - </option> - <option value="VIP"> - <_title>VIP</_title> - </option> - <option value="Gifts"> - <_title>Gifts</_title> - </option> - <option value="Waiting"> - <_title>Waiting</_title> - </option> - <option value="Key Customer"> - <_title>Key Customer</_title> - </option> - <option value="Time & Expenses"> - <_title>Time & Expenses </_title> - </option> - <option value="Miscellaneous"> - <_title>Miscellaneous</_title> - </option> - <option value="Business"> - <_title>Business</_title> - </option> - <option value="Personal"> - <_title>Personal</_title> - </option> - <option value="Suppliers"> - <_title>Suppliers</_title> - </option> - <option value="Goals/Objectives"> - <_title>Goals/Objectives</_title> - </option> - <option value="Strategies"> - <_title>Strategies</_title> - </option> - <option value="Competition"> - <_title>Competition</_title> - </option> - <option value="Favourites"> - <_title>Favourites</_title> - </option> - <option value="Phone Calls"> - <_title>Phone Calls</_title> - </option> + <dynamic func="e_util_get_category_filter_options"/> </input> </part> diff --git a/calendar/gui/memotypes.xml b/calendar/gui/memotypes.xml index 3b9a560a96..1872461ab4 100644 --- a/calendar/gui/memotypes.xml +++ b/calendar/gui/memotypes.xml @@ -99,75 +99,7 @@ </option> </input> <input type="optionlist" name="category"> - <option value="Anniversary"> - <_title>Anniversary</_title> - </option> - <option value="Holiday"> - <_title>Holiday</_title> - </option> - <option value="Ideas"> - <_title>Ideas</_title> - </option> - <option value="Status"> - <_title>Status</_title> - </option> - <option value="Holiday Cards"> - <_title>Holiday Cards</_title> - </option> - <option value="Hot Contacts"> - <_title>Hot Contacts</_title> - </option> - <option value="International"> - <_title>International</_title> - </option> - <option value="Next 7 days"> - <_title>Next 7 Days</_title> - </option> - <option value="Birthday"> - <_title>Birthday</_title> - </option> - <option value="VIP"> - <_title>VIP</_title> - </option> - <option value="Gifts"> - <_title>Gifts</_title> - </option> - <option value="Waiting"> - <_title>Waiting</_title> - </option> - <option value="Key Customer"> - <_title>Key Customer</_title> - </option> - <option value="Time & Expenses"> - <_title>Time & Expenses</_title> - </option> - <option value="Miscellaneous"> - <_title>Miscellaneous</_title> - </option> - <option value="Business"> - <_title>Business</_title> - </option> - <option value="Personal"> - <_title>Personal</_title> - </option> - <option value="Suppliers"> - <_title>Suppliers</_title> - </option> - <option value="Goals/Objectives"> - <_title>Goals/Objectives</_title> - </option> - <option value="Strategies"> - <_title>Strategies</_title> - </option> - <option value="Competition"> - <_title>Competition</_title> - </option> - <option value="Favourites"> - <_title>Favourites</_title> - </option> - <option value="Phone Calls"> - <_title>Phone Calls</_title> - </option> + <dynamic func="e_util_get_category_filter_options"/> </input> </part> diff --git a/calendar/gui/tasktypes.xml b/calendar/gui/tasktypes.xml index 10515ad5bf..cd9876bd29 100644 --- a/calendar/gui/tasktypes.xml +++ b/calendar/gui/tasktypes.xml @@ -165,76 +165,7 @@ </option> </input> <input type="optionlist" name="category"> - <option value="Anniversary"> - <_title>Anniversary</_title> - </option> - <option value="Holiday"> - <_title>Holiday</_title> - </option> - <option value="Ideas"> - <_title>Ideas</_title>ke - </option> - <option value="Status"> - <_title>Status</_title> - </option> - <option value="Holiday Cards"> - <_title>Holiday Cards</_title> - </option> - <option value="Hot Contacts"> - <_title>Hot Contacts</_title> - </option> - <option value="International"> - <_title>International</_title> - </option> - <option value="Next 7 days"> - <_title>Next 7 days</_title> - </option> - <option value="Birthday"> - <_title>Birthday</_title> - </option> - <option value="VIP"> - <_title>VIP</_title> - </option> - <option value="Gifts"> - <_title>Gifts</_title> - </option> - <option value="Waiting"> - <_title>Waiting</_title> - </option> - <option value="Key Customer"> - <_title>Key Customer</_title> - </option> - <option value="Time & Expenses"> - <_title>Time & Expenses </_title> - </option> - <option value="Miscellaneous"> - <_title>Miscellaneous</_title> - </option> - <option value="Business"> - <_title>Business</_title> - </option> - <option value="Personal"> - ke - <_title>Personal</_title> - </option> - <option value="Suppliers"> - <_title>Suppliers</_title> - </option> - <option value="Goals/Objectives"> - <_title>Goals/Objectives</_title> - </option> - <option value="Strategies"> - <_title>Strategies</_title> - </option> - <option value="Competition"> - <_title>Competition</_title> - </option> - <option value="Favourites"> - <_title>Favourites</_title> - </option> - <option value="Phone Calls"> - <_title>Phone Calls</_title> - </option> + <dynamic func="e_util_get_category_filter_options"/> </input> </part> |