diff options
author | Gediminas Paulauskas <menesis@delfi.lt> | 2001-04-22 06:52:56 +0800 |
---|---|---|
committer | Gediminas Paulauskas <menesis@src.gnome.org> | 2001-04-22 06:52:56 +0800 |
commit | b50306c3800b30c2cd1256ebdd8902c8a4c8486d (patch) | |
tree | 1b179a29f216d9b40cdd14d6ea9ee5e8ca469cd9 /mail/folder-browser.c | |
parent | adb3761ed62ffc0fbfc840b07ef409c0a6f36f67 (diff) | |
download | gsoc2013-evolution-b50306c3800b30c2cd1256ebdd8902c8a4c8486d.tar gsoc2013-evolution-b50306c3800b30c2cd1256ebdd8902c8a4c8486d.tar.gz gsoc2013-evolution-b50306c3800b30c2cd1256ebdd8902c8a4c8486d.tar.bz2 gsoc2013-evolution-b50306c3800b30c2cd1256ebdd8902c8a4c8486d.tar.lz gsoc2013-evolution-b50306c3800b30c2cd1256ebdd8902c8a4c8486d.tar.xz gsoc2013-evolution-b50306c3800b30c2cd1256ebdd8902c8a4c8486d.tar.zst gsoc2013-evolution-b50306c3800b30c2cd1256ebdd8902c8a4c8486d.zip |
use system = EVOLUTION_DATADIR "/file" instead of g_strdup_printf. Rename
2001-04-22 Gediminas Paulauskas <menesis@delfi.lt>
* folder-browser.c, mail-autofilter.c, mail-callbacks.c, mail-ops.c,
mail-summary.c, mail-vfolder.c: use system = EVOLUTION_DATADIR "/file"
instead of g_strdup_printf. Rename userrules to user (and system) to be
consistent.
* mail-send-recv.c: set window icon to send-receive.xpm
2001-04-21 Gediminas Paulauskas <menesis@delfi.lt>
* mail-summary.c: translate "Mail summary".
svn path=/trunk/; revision=9490
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r-- | mail/folder-browser.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c index 5e2673cc54..7cf89d58f7 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -839,9 +839,9 @@ folder_browser_gui_init (FolderBrowser *fb) /* quick-search bar */ { RuleContext *rc = (RuleContext *)rule_context_new (); - char *userrules = 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 *systemrules = g_strdup_printf("%s/evolution/vfoldertypes.xml", EVOLUTION_DATADIR); + 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); @@ -849,11 +849,10 @@ folder_browser_gui_init (FolderBrowser *fb) 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, systemrules, userrules, folder_browser_config_search, fb); + 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(userrules); - g_free(systemrules); + g_free(user); gtk_object_unref((GtkObject *)rc); } |