aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2006-04-26 19:00:01 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2006-04-26 19:00:01 +0800
commitc5d22f78ed4bdb5fcfe7a051d94ad9c4b0aa93b0 (patch)
treef2fa416fb1692594605dabafe911573786383a52 /calendar
parent5452ffb09063d0291a25f57929a28023a1204108 (diff)
downloadgsoc2013-evolution-c5d22f78ed4bdb5fcfe7a051d94ad9c4b0aa93b0.tar
gsoc2013-evolution-c5d22f78ed4bdb5fcfe7a051d94ad9c4b0aa93b0.tar.gz
gsoc2013-evolution-c5d22f78ed4bdb5fcfe7a051d94ad9c4b0aa93b0.tar.bz2
gsoc2013-evolution-c5d22f78ed4bdb5fcfe7a051d94ad9c4b0aa93b0.tar.lz
gsoc2013-evolution-c5d22f78ed4bdb5fcfe7a051d94ad9c4b0aa93b0.tar.xz
gsoc2013-evolution-c5d22f78ed4bdb5fcfe7a051d94ad9c4b0aa93b0.tar.zst
gsoc2013-evolution-c5d22f78ed4bdb5fcfe7a051d94ad9c4b0aa93b0.zip
Committing fix for bug #331510 from Victor
svn path=/trunk/; revision=31906
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/cal-search-bar.h1
-rw-r--r--calendar/gui/e-memos.c2
3 files changed, 9 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index e94f5ad4bb..932f4aa179 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,5 +1,12 @@
2006-04-26 Srinivasa Ragavan <sragavan@novell.com>
+ ** Fix for bug #331510 from Victor
+
+ * gui/cal-search-bar.h: Added a new flag for Memo Search
+ * gui/e-memos.c: (setup_widgets): Initiate memo search.
+
+2006-04-26 Srinivasa Ragavan <sragavan@novell.com>
+
** Patch from PR Suman to add icons missing in menu items.
* gui/tasks-control.c: (tasks_control_activate): Added icon for
diff --git a/calendar/gui/cal-search-bar.h b/calendar/gui/cal-search-bar.h
index d5a50be9e4..9a5f347841 100644
--- a/calendar/gui/cal-search-bar.h
+++ b/calendar/gui/cal-search-bar.h
@@ -49,6 +49,7 @@ enum {
#define CAL_SEARCH_ALL (0xff)
#define CAL_SEARCH_CALENDAR_DEFAULT (0x37)
#define CAL_SEARCH_TASKS_DEFAULT (0x27)
+#define CAL_SEARCH_MEMOS_DEFAULT (0x25)
typedef struct {
ESearchBar search_bar;
diff --git a/calendar/gui/e-memos.c b/calendar/gui/e-memos.c
index 2ba20ba327..89c0f147a4 100644
--- a/calendar/gui/e-memos.c
+++ b/calendar/gui/e-memos.c
@@ -425,7 +425,7 @@ setup_widgets (EMemos *memos)
priv = memos->priv;
- priv->search_bar = cal_search_bar_new (CAL_SEARCH_TASKS_DEFAULT);
+ priv->search_bar = cal_search_bar_new (CAL_SEARCH_MEMOS_DEFAULT);
g_signal_connect (priv->search_bar, "sexp_changed",
G_CALLBACK (search_bar_sexp_changed_cb), memos);
g_signal_connect (priv->search_bar, "category_changed",