diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-03-19 04:37:14 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-03-19 04:37:14 +0800 |
commit | ad1e6e7f4427bae086d50c3b31075a96ecf0bd82 (patch) | |
tree | 1bf0e7d6eb372ea1757b9369fddc49d52506d265 /widgets/misc/e-search-bar.h | |
parent | 6b5f07ff016b73f5f633604dea76a1f71161ede1 (diff) | |
download | gsoc2013-evolution-ad1e6e7f4427bae086d50c3b31075a96ecf0bd82.tar.gz gsoc2013-evolution-ad1e6e7f4427bae086d50c3b31075a96ecf0bd82.tar.zst gsoc2013-evolution-ad1e6e7f4427bae086d50c3b31075a96ecf0bd82.zip |
Init clear_button to NULL. (add_button): New helper function to add a
* e-search-bar.c (init): Init clear_button to NULL.
(add_button): New helper function to add a button to the search
bar with the right spacing etc.
(clear_search): New helper function.
(add_activate_button): Removed.
(clear_button_clicked_cb): New.
(e_search_bar_construct): Just add the button here using
`add_button'. Also add a clear_button.
(clear_verb_cb): Rewritten by means of `clear_search()'.
* e-search-bar.h (ESearchBar): Add clear_button.
svn path=/trunk/; revision=16198
Diffstat (limited to 'widgets/misc/e-search-bar.h')
-rw-r--r-- | widgets/misc/e-search-bar.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/widgets/misc/e-search-bar.h b/widgets/misc/e-search-bar.h index 18c4b370c1..a20f8c4d6a 100644 --- a/widgets/misc/e-search-bar.h +++ b/widgets/misc/e-search-bar.h @@ -80,6 +80,7 @@ struct _ESearchBar GtkWidget *suboption_menu; GtkWidget *dropdown_menu; GtkWidget *activate_button; + GtkWidget *clear_button; GtkWidget *entry_box; guint pending_activate; |