aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-vfolder-rule.c
Commit message (Collapse)AuthorAgeFilesLines
* s/int/guint/g for 1-bit bitfield. Remove cruft use guint for 1-bitKjartan Maraas2006-02-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-09 Kjartan Maraas <kmaraas@gnome.org> * em-account-editor.h: s/int/guint/g for 1-bit bitfield. * em-composer-utils.c: (em_utils_redirect_message): Remove cruft * em-folder-tree.c: (emft_drop_target): use guint for 1-bit bitfield and rename a variable with a name clash. * em-folder-utils.c: (em_folder_utils_rename_folder): Rename var to avoid name clashes. * em-folder-view.c: guint for 1-bit bitfields. * em-folder-view.h: Same as above. * em-format-html-print.h: Again. * em-format-html.c: (efh_text_html), (efh_multipart_related): Add comments * em-format.c: (emf_multipart_alternative): Add comment about using var that is passed in rather than a local variable. * em-inline-filter.c: (emif_scan): Remove unused var. Mark code static. * em-mailer-prefs.h: guint for 1-bit bitfields. * em-migrate.c: (em_migrate_folder): mark a struct static. remove unused var * em-subscribe-editor.c: guint for 1-bit bitfield * em-utils.c: remove unused function * em-vfolder-rule.c: mark array static * importers/mail-importer.c: (decode_status): Remove unused code. Use guint for 1-bit bitfield. * mail-autofilter.c: (rule_from_message): rename a variable * mail-component.c: guint for 1-bit bitfield * mail-folder-cache.c: (update_1folder): remove unused code * mail-mt.c: mark some structs static * message-list.c: (message_list_select_uid), (ml_value_to_string), (ml_tree_value_at), (find_next_undeleted), (build_tree), (build_flat): Remove unused code and fix some format specifiers. svn path=/trunk/; revision=31448
* em-folder-browser.c em-folder-view.c em-format-html.cTor Lillqvist2005-12-181-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-12-18 Tor Lillqvist <tml@novell.com> * em-folder-browser.c * em-folder-view.c * em-format-html.c * em-format-html-display.c * em-mailer-prefs.c * em-message-browser.c * em-migrate.c * em-subscribe-editor.c * em-sync-stream.c * em-utils.c * em-vfolder-editor.c * em-vfolder-rule.c * mail-autofilter.c * mail-component.c * mail-config.c * mail-folder-cache.c: Use gstdio wrappers. Construct pathnames of glade, xml, etspec and png files at run-time. Use g_filename_{to,from}_uri(). * em-folder-browser.c (emfb_init) * em-folder-view.c (emfv_finalise) * em-message-browser.c (emmb_init): As EMFolderView::ui_files now always is a list of filenames constructed with g_build_filename(), use g_free() on each list entry before calling g_slist_free() on the list. * em-folder-tree-model.c (em_folder_tree_model_load_state): Use e_xml_parse_file(). * em-migrate.c: Bypass all the code for upgrading from 1.x on Win32. (emm_setup_initial): Use GDir instead of dirent. * em-sync-stream.c * mail-folder-cache.c: Use pthread_equal() to compare pthread_t values. * em-vfs-stream.c: No EINPROGRESS or ELOOP on Win32. svn path=/trunk/; revision=30854
* See bug ** 317329 Do not add a NULL uri.Parthasarathi Susarla2005-09-281-0/+1
| | | | | | | | | | 2005-09-28 Parthasarathi Susarla <sparthasarathi@novell.com> See bug ** 317329 * em-vfolder-rule.c: (em_vfolder_rule_add_source): Do not add a NULL uri. svn path=/trunk/; revision=30382
* Change instances of "vfolder" that appear in the UI to use the termRodney Dawes2005-08-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | 2005-08-07 Rodney Dawes <dobey@novell.com> * em-folder-browser.c (emfb_search_items): * em-folder-tree-model.c (sort_cb, em_folder_tree_model_load_state): * em-folder-tree.c (emft_drop_target): * em-folder-view.c (emfv_popup_items, emfv_uri_popups): * em-utils.c: * em-vfolder-editor.c (em_vfolder_editor_new): * em-vfolder-rule.c (em_vfolder_editor_sourcelist_new): * mail-dialogs.glade: * mail-vfolder.c (vfolder_setup_desc, vfolder_setup_do): (vfolder_adduri_desc, vfolder_load_storage, vfolder_edit): (vfolder_edit_rule, vfolder_gui_add_rule): * mail.error.xml: Change instances of "vfolder" that appear in the UI to use the term "Search Folder" instead Update some comments to use the term "Search Folder" instead of vfolder svn path=/trunk/; revision=30024
* move e-error into e-util/Not Zed2005-05-161-1/+1
| | | | | | | | 2005-05-16 Not Zed <NotZed@Ximian.com> * move e-error into e-util/ svn path=/trunk/; revision=29366
* Replace "_Virtual Folder" with "_vFolder" for the search menu to create aRodney Dawes2005-02-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-01 Rodney Dawes <dobey@novell.com> * em-folder-browser.c: Replace "_Virtual Folder" with "_vFolder" for the search menu to create a vfolder from a search * em-folder-tree-model.c (sort_cb): s/VFolders/vFolders/ for sorting in the folder tree (em_folder_tree_model_load_state): s/VFolders/vFolders/ in a comment * em-folder-view.c: s/VFolder/vFolder/ for the popup menu * em-vfolder-editor.c (em_vfolder_editor_new): Replace the string "Virtual _Folders" with "v_Folders" for the label * em-vfolder-rule.c (em_vfolder_editor_sourcelist_new): Repalce the string "VFolder source" with "vFolder source" * mail-errors.xml: * mail-errors.xml.h: Replace "virtual folder" with "vFolder" in an error string * mail-vfolder.c (vfolder_setup_desc): s/vfolder/vFolder/ (vfolder_setup_do): s/vfolder/vFolder/ (vfolder_load_storage): s/VFolders/vFolders/ (vfolder_edit_rule): s/VFolder/vFolder/ (vfolder_gui_add_rule): s/VFolder/vFolder/ Fixes #68137 svn path=/trunk/; revision=28664
* setup exclusion for vfolder sources, noselect folders. Bug #60794.Not Zed2004-06-291-0/+1
| | | | | | | | | 2004-06-29 Not Zed <NotZed@Ximian.com> * em-vfolder-rule.c (source_add): setup exclusion for vfolder sources, noselect folders. Bug #60794. svn path=/trunk/; revision=26544
* ** See #31027.Not Zed2004-06-181-0/+1
| | | | | | | | | | | | | | | | | 2004-06-18 Not Zed <NotZed@Ximian.com> ** See #31027. * em-vfolder-editor.c (em_vfolder_editor_new): make sure we construct the rule editor with a source of 'incoming', otherwise newly created rules have no source in the current session. * em-vfolder-rule.c (em_vfolder_rule_init): init the vfolder source to 'incoming' always. * mail-vfolder.c (uri_is_ignore): fix debug statement. svn path=/trunk/; revision=26415
* use mail dialogs.glade.Not Zed2004-06-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-18 Not Zed <NotZed@Ximian.com> * em-vfolder-rule.c (get_widget): use mail dialogs.glade. * mail-dialogs.glade: move the vfolder-source window here from mail-config.glade. * Makefile.am (glade_DATA): fix the glade list. * mail-license.glade, subscribe-dialog.glade, mail-security.glade, * mail-search.glade: Merged into mail-dialogs.glade. Should be easier to manage. * message-tag-followup.c (construct): use mail dialogs glade file. * mail-account-gui.c (display_license): use mail dialogs glade file. * em-subscribe-editor.c (em_subscribe_editor_new): use new glade file. * em-format-html-display.c (em_format_html_display_search): use merged glade file. (efhd_xpkcs7mime_validity_clicked): same. * mail-dialogs.glade: merge various glade files into here. svn path=/trunk/; revision=26409
* ** See #59885.Not Zed2004-06-171-0/+643
2004-06-17 Not Zed <NotZed@Ximian.com> ** See #59885. ** Moved all of the mail specific filtering stuff from filter/* to here. Renamed appropriately into em* space, etc. * em-filter-folder-element.c (emff_copy_value): implement for folders. * em-vfolder-rule.c (get_widget): read the vfolder glade from mail-config.glade. * mail-config.glade: moved the vfolder source selector here. * em-search-context.c: new mail search specific rule context. * mail-component.c (setup_search_context): use the new em_search_context. * vfolder-rule.c (validate): change error to mail context. * filter-folder.c (validate): change error to mail context. * Makefile.am (em-filter-i18n.h): added rule for i18n of mail filter type stuff. (libevolution_mail_la_SOURCES): added in the filter and vfolder rule stuff specific to mail. ** See #59885. * em-format-html-quote.[ch]: remove and remove from build, not used. * Makefile.am (libevolution_mail_la_LIBADD): add libeabutil and evolutionsmime. * mail-component-factory.c (factory): there is no mail_config anymore. svn path=/trunk/; revision=26380