aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gnome-cal.c
diff options
context:
space:
mode:
authorGediminas Paulauskas <menesis@delfi.lt>2001-05-08 01:33:31 +0800
committerGediminas Paulauskas <menesis@src.gnome.org>2001-05-08 01:33:31 +0800
commita703c61b47151e7b6897fa657bc22be6e8526c3a (patch)
tree364bbc4de381773e824de8147d20734b49284597 /calendar/gui/gnome-cal.c
parent85a74e8277cb8064c5958b30de8484eac8b04d8a (diff)
downloadgsoc2013-evolution-a703c61b47151e7b6897fa657bc22be6e8526c3a.tar
gsoc2013-evolution-a703c61b47151e7b6897fa657bc22be6e8526c3a.tar.gz
gsoc2013-evolution-a703c61b47151e7b6897fa657bc22be6e8526c3a.tar.bz2
gsoc2013-evolution-a703c61b47151e7b6897fa657bc22be6e8526c3a.tar.lz
gsoc2013-evolution-a703c61b47151e7b6897fa657bc22be6e8526c3a.tar.xz
gsoc2013-evolution-a703c61b47151e7b6897fa657bc22be6e8526c3a.tar.zst
gsoc2013-evolution-a703c61b47151e7b6897fa657bc22be6e8526c3a.zip
use define from widgets/misc/e-filter-bar.h instead of own enumeration and
2001-05-07 Gediminas Paulauskas <menesis@delfi.lt> * gui/component/addressbook.c: use define from widgets/misc/e-filter-bar.h instead of own enumeration and search menu names. * gui/component/Makefile.am, gui/component/select-names/Makefile.am: removed EVOLUTION_VERSION. 2001-05-07 Gediminas Paulauskas <menesis@delfi.lt> * gui/event-editor.c (make_title_from_comp): conversion summary from utf8 here, use translated strings as is. (set_title_from_comp): reflect this, simplify. * gui/dialogs/task-editor.c: updated copies of above functions here. * gui/gnome-cal.c: use defines from widgets/misc/e-filter-bar.h for consistency in "Show all". svn path=/trunk/; revision=9693
Diffstat (limited to 'calendar/gui/gnome-cal.c')
-rw-r--r--calendar/gui/gnome-cal.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c
index 138e5cb280..eda8617b0b 100644
--- a/calendar/gui/gnome-cal.c
+++ b/calendar/gui/gnome-cal.c
@@ -38,6 +38,7 @@
#include <gal/e-paned/e-vpaned.h>
#include <cal-util/timeutil.h>
#include "widgets/misc/e-search-bar.h"
+#include "widgets/misc/e-filter-bar.h"
#include "dialogs/alarm-notify-dialog.h"
#include "e-calendar-table.h"
#include "e-day-view.h"
@@ -215,12 +216,8 @@ get_current_page (GnomeCalendar *gcal)
return GTK_NOTEBOOK (priv->notebook)->cur_page->child;
}
-enum {
- SEARCH_SHOW_ALL
-};
-
static ESearchBarItem search_menu_items[] = {
- { N_("Show all "), SEARCH_SHOW_ALL },
+ E_FILTERBAR_RESET,
{ NULL, -1 }
};
@@ -333,7 +330,7 @@ search_bar_menu_activated_cb (ESearchBar *search_bar, int item, gpointer data)
gcal = GNOME_CALENDAR (data);
switch (item) {
- case SEARCH_SHOW_ALL:
+ case E_FILTERBAR_RESET_ID:
set_query (gcal, "#t"); /* match all */
/* FIXME: should we change the rest of the search bar so that
* the user sees that he selected "show all" instead of some