diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-07-19 04:46:35 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-07-19 04:46:35 +0800 |
commit | 6142029e7eabd1b78cc3cc477484f26477627c63 (patch) | |
tree | dd9932b23be72716f5cb8074d13cf3a2b7ccbd4d /mail/folder-browser.c | |
parent | 14308a5492efa78df23df51e53fbdbea76dba7cc (diff) | |
download | gsoc2013-evolution-6142029e7eabd1b78cc3cc477484f26477627c63.tar.gz gsoc2013-evolution-6142029e7eabd1b78cc3cc477484f26477627c63.tar.zst gsoc2013-evolution-6142029e7eabd1b78cc3cc477484f26477627c63.zip |
Do what was suggested in #4596.
2001-07-18 Jeffrey Stedfast <fejj@ximian.com>
* mail-tools.c (mail_tool_generate_forward_subject): Do what was
suggested in #4596.
svn path=/trunk/; revision=11210
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r-- | mail/folder-browser.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c index 12af53f9e2..8f9c886c63 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -1611,23 +1611,23 @@ folder_browser_gui_init (FolderBrowser *fb) /* quick-search bar */ { RuleContext *rc = (RuleContext *)rule_context_new (); - char *user = g_strdup_printf("%s/searches.xml", evolution_dir); + char *user = g_strdup_printf ("%s/searches.xml", evolution_dir); /* we reuse the vfolder types here, they should match */ char *system = EVOLUTION_DATADIR "/evolution/vfoldertypes.xml"; - - rule_context_add_part_set((RuleContext *)rc, "partset", filter_part_get_type(), - rule_context_add_part, rule_context_next_part); - rule_context_add_rule_set((RuleContext *)rc, "ruleset", filter_rule_get_type(), - rule_context_add_rule, rule_context_next_rule); - - fb->search = e_filter_bar_new(rc, system, user, folder_browser_config_search, fb); - e_search_bar_set_menu((ESearchBar *)fb->search, folder_browser_search_menu_items); + rule_context_add_part_set ((RuleContext *)rc, "partset", filter_part_get_type (), + rule_context_add_part, rule_context_next_part); + + rule_context_add_rule_set ((RuleContext *)rc, "ruleset", filter_rule_get_type (), + rule_context_add_rule, rule_context_next_rule); + + fb->search = e_filter_bar_new (rc, system, user, folder_browser_config_search, fb); + e_search_bar_set_menu ((ESearchBar *)fb->search, folder_browser_search_menu_items); /*e_search_bar_set_option((ESearchBar *)fb->search, folder_browser_search_option_items);*/ - g_free(user); - gtk_object_unref((GtkObject *)rc); + g_free (user); + gtk_object_unref (GTK_OBJECT (rc)); } - + gtk_widget_show (GTK_WIDGET (fb->search)); gtk_signal_connect (GTK_OBJECT (fb->search), "query_changed", |