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 /libversit | |
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 'libversit')
0 files changed, 0 insertions, 0 deletions