diff options
author | Federico Mena Quintero <federico@ximian.com> | 2001-08-15 00:04:33 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2001-08-15 00:04:33 +0800 |
commit | f8473e11f76fef784b136614fb609424e6453911 (patch) | |
tree | 23fa33dfad68eebb5add677036a70f214fd887ab /widgets/misc/ChangeLog | |
parent | 9086989f207a11e7edb50177662539bd75da0370 (diff) | |
download | gsoc2013-evolution-f8473e11f76fef784b136614fb609424e6453911.tar.gz gsoc2013-evolution-f8473e11f76fef784b136614fb609424e6453911.tar.zst gsoc2013-evolution-f8473e11f76fef784b136614fb609424e6453911.zip |
*Please* add accessor functions instead of just object arguments!
2001-08-14 Federico Mena Quintero <federico@ximian.com>
*Please* add accessor functions instead of just object arguments!
* e-search-bar.c (e_search_bar_set_option_choice): New function.
(e_search_bar_set_suboption_choice): New function.
(e_search_bar_set_text): New function.
(impl_set_arg): Use the functions above instead of setting things
directly.
(add_dropdown): If the item is a separator, set it as insensitive.
(activate_by_subitems): Handle the translate field in the subitem
structure. Also, allow the creation of separators by having NULL
text strings in the subitems.
(set_option): If the item is a separator, set it as insensitive.
(set_option): Do not use the subitem_garbage hack. Do proper
memory management instead.
(e_search_bar_set_suboption): New function to change the suboption
items in a search bar.
* e-search-bar.h (ESearchBarSubitem): Added a `translate' field.
This API sucks so much it is not funny.
(ESearchBar): Removed the subitem_garbage hack. Please do proper
memory management.
svn path=/trunk/; revision=12014
Diffstat (limited to 'widgets/misc/ChangeLog')
-rw-r--r-- | widgets/misc/ChangeLog | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index 51a95cc647..ce4994f43f 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -1,3 +1,27 @@ +2001-08-14 Federico Mena Quintero <federico@ximian.com> + + *Please* add accessor functions instead of just object arguments! + + * e-search-bar.c (e_search_bar_set_option_choice): New function. + (e_search_bar_set_suboption_choice): New function. + (e_search_bar_set_text): New function. + (impl_set_arg): Use the functions above instead of setting things + directly. + (add_dropdown): If the item is a separator, set it as insensitive. + (activate_by_subitems): Handle the translate field in the subitem + structure. Also, allow the creation of separators by having NULL + text strings in the subitems. + (set_option): If the item is a separator, set it as insensitive. + (set_option): Do not use the subitem_garbage hack. Do proper + memory management instead. + (e_search_bar_set_suboption): New function to change the suboption + items in a search bar. + + * e-search-bar.h (ESearchBarSubitem): Added a `translate' field. + This API sucks so much it is not funny. + (ESearchBar): Removed the subitem_garbage hack. Please do proper + memory management. + 2001-08-14 Jon Trowbridge <trow@ximian.com> * e-search-bar.c (activate_by_subitems): Oops... initial |