[evolution-patches] Fix for Bug331510 [Memos]



hi,

Pls review the patch for the bug331510.
http://bugzilla.gnome.org/show_bug.cgi?id=331510.

Thanks,
Aloysius.
Index: gui/cal-search-bar.h
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/cal-search-bar.h,v
retrieving revision 1.7
diff -u -p -r1.7 cal-search-bar.h
--- gui/cal-search-bar.h	20 Dec 2005 09:47:56 -0000	1.7
+++ gui/cal-search-bar.h	13 Mar 2006 08:45:08 -0000
@@ -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;
Index: gui/e-memos.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/e-memos.c,v
retrieving revision 1.4
diff -u -p -r1.4 e-memos.c
--- gui/e-memos.c	8 Feb 2006 13:06:02 -0000	1.4
+++ gui/e-memos.c	13 Mar 2006 08:45:14 -0000
@@ -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",
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.3011
diff -u -p -r1.3011 ChangeLog
--- ChangeLog	6 Mar 2006 15:58:53 -0000	1.3011
+++ ChangeLog	13 Mar 2006 08:45:29 -0000
@@ -1,3 +1,10 @@
+2006-03-13  M Victor Aloysius J  <victoraloy gmail com>
+
+	**Fixes #331510
+	* gui/cal-search-bar.h: Defined CAL_SEARCH_MEMOS_DEFAULT.
+	* gui/e-memos.c: 
+        "Description contains" has been removed from the Memo search bar. 
+	 
 2006-03-06  Veerapuram Varadhan  <vvaradhan novell com>
 
 	**Fixes #321832


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]