aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNot Zed <NotZed@HelixCode.com>2000-05-31 06:54:37 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-05-31 06:54:37 +0800
commit9c6a4c53a982c74f66dd5cfa508c7dccf284962c (patch)
treed8fe7ec2c898d20976801c918e8e8865bcafbacf
parent75353e0bff2661faf013f87aed65fbc58bb0ab68 (diff)
downloadgsoc2013-evolution-9c6a4c53a982c74f66dd5cfa508c7dccf284962c.tar
gsoc2013-evolution-9c6a4c53a982c74f66dd5cfa508c7dccf284962c.tar.gz
gsoc2013-evolution-9c6a4c53a982c74f66dd5cfa508c7dccf284962c.tar.bz2
gsoc2013-evolution-9c6a4c53a982c74f66dd5cfa508c7dccf284962c.tar.lz
gsoc2013-evolution-9c6a4c53a982c74f66dd5cfa508c7dccf284962c.tar.xz
gsoc2013-evolution-9c6a4c53a982c74f66dd5cfa508c7dccf284962c.tar.zst
gsoc2013-evolution-9c6a4c53a982c74f66dd5cfa508c7dccf284962c.zip
Properly encode the search string.
2000-05-30 Not Zed <NotZed@HelixCode.com> * folder-browser.c (search_set): Properly encode the search string. svn path=/trunk/; revision=3301
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/folder-browser.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index e33c751a11..629c69f76e 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,7 @@
+2000-05-30 Not Zed <NotZed@HelixCode.com>
+
+ * folder-browser.c (search_set): Properly encode the search string.
+
2000-05-30 Jeffrey Stedfast <fejj@helixcode.com>
* mail.h: Added a prototype for providers_config_new() which
@@ -54,6 +58,7 @@
(still doesn't work because of ETable.) Adapt to some small
ETable changes. Set drawfocus to FALSE.
+>>>>>>> 1.142
2000-05-29 Not Zed <NotZed@HelixCode.com>
* folder-browser.c (folder_browser_load_folder): Hardcode the
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index 82972e0dbd..426d163bd6 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -10,12 +10,12 @@
#include <config.h>
#include <gnome.h>
#include "e-util/e-util.h"
+#include "e-util/e-sexp.h"
#include "folder-browser.h"
#include "mail.h"
#include "message-list.h"
#include <widgets/e-paned/e-vpaned.h>
-
#define PARENT_TYPE (gtk_table_get_type ())
static GtkObjectClass *folder_browser_parent_class;
@@ -297,7 +297,7 @@ search_set(FolderBrowser *fb)
while (*str) {
if (str[0] == '%' && str[1]=='s') {
str+=2;
- g_string_sprintfa(out, "\"%s\"", text);
+ e_sexp_encode_string(out, text);
} else {
g_string_append_c(out, *str);
str++;