diff options
author | Christopher James Lahey <clahey@ximian.com> | 2002-01-11 15:24:08 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2002-01-11 15:24:08 +0800 |
commit | 5027f2008badcb8d8056190dac1403335754f202 (patch) | |
tree | 768d6583b3a3b86e104e59a828eb442907d26680 /addressbook/gui/widgets/e-addressbook-view.h | |
parent | d17adcedf443dde2018070d868e53e75790d5936 (diff) | |
download | gsoc2013-evolution-5027f2008badcb8d8056190dac1403335754f202.tar gsoc2013-evolution-5027f2008badcb8d8056190dac1403335754f202.tar.gz gsoc2013-evolution-5027f2008badcb8d8056190dac1403335754f202.tar.bz2 gsoc2013-evolution-5027f2008badcb8d8056190dac1403335754f202.tar.lz gsoc2013-evolution-5027f2008badcb8d8056190dac1403335754f202.tar.xz gsoc2013-evolution-5027f2008badcb8d8056190dac1403335754f202.tar.zst gsoc2013-evolution-5027f2008badcb8d8056190dac1403335754f202.zip |
Handle setting the search bar to "Advanced..." when the alphabet buttons
2002-01-11 Christopher James Lahey <clahey@ximian.com>
* gui/component/addressbook.c (alphabet_state_changed): Handle
setting the search bar to "Advanced..." when the alphabet buttons
are pushed and back when they're cleared. Fixes Ximian bug
#12904.
(addressbook_menu_activated): When the user calls Search->clear,
set the search to ESB_ANY and "", don't just set the text. This
is especially useful when it's set to ESB_ADVANCED.
* gui/widgets/e-addressbook-view.c,
gui/widgets/e-addressbook-view.h (alphabet_state_change): Added
this signal which gets emitted when the alphabet buttons are
pushed.
(command_state_change): Removed the ref pair here. It's not
necessary. gtk_signal_emit refs the object itself.
svn path=/trunk/; revision=15295
Diffstat (limited to 'addressbook/gui/widgets/e-addressbook-view.h')
-rw-r--r-- | addressbook/gui/widgets/e-addressbook-view.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/addressbook/gui/widgets/e-addressbook-view.h b/addressbook/gui/widgets/e-addressbook-view.h index b3034ef3fd..d338bd9797 100644 --- a/addressbook/gui/widgets/e-addressbook-view.h +++ b/addressbook/gui/widgets/e-addressbook-view.h @@ -26,6 +26,7 @@ #include "e-addressbook-model.h" #include "widgets/menus/gal-view-menus.h" #include "addressbook/backend/ebook/e-book.h" +#include <gal/unicode/gunicode.h> #ifdef __cplusplus extern "C" { @@ -90,9 +91,10 @@ struct _EAddressbookViewClass /* * Signals */ - void (*status_message) (EAddressbookView *view, const gchar *message); - void (*folder_bar_message) (EAddressbookView *view, const gchar *message); - void (*command_state_change) (EAddressbookView *view); + void (*status_message) (EAddressbookView *view, const gchar *message); + void (*folder_bar_message) (EAddressbookView *view, const gchar *message); + void (*command_state_change) (EAddressbookView *view); + void (*alphabet_state_change) (EAddressbookView *view, gunichar letter); }; GtkWidget *e_addressbook_view_new (void); |