aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser-factory.c
Commit message (Collapse)AuthorAgeFilesLines
* Add a "Threaded Message List" item to the "View" menu.Dan Winship2000-07-091-1/+11
| | | | | | | | | | | | | * folder-browser-factory.c (control_activate): Add a "Threaded Message List" item to the "View" menu. * message-list.c (message_list_toggle_threads): Handler for that. (build_flat): New function to build a "flat" message list using the tree model. (message_list_regenerate): Build tree or flat message list depending on the global setting. svn path=/trunk/; revision=3999
* Move the "Expunge" command to the "Actions" menu.Ettore Perazzoli2000-07-091-2/+2
| | | | svn path=/trunk/; revision=3987
* fix warnings.Dan Winship2000-07-071-6/+0
| | | | | | | * folder-browser-factory.c, folder-browser.c, mail-ops.c, message-list.c: fix warnings. svn path=/trunk/; revision=3931
* Use gnome-print to do a print preview.Dan Winship2000-07-011-1/+1
| | | | | | | | * mail-ops.c (print_msg): Use gnome-print to do a print preview. * folder-browser-factory.c: Hook up "Print" button. svn path=/trunk/; revision=3835
* New function, a wrapper around e_table_selected_row_foreach, which callsDan Winship2000-07-011-1/+2
| | | | | | | | | | | | | | | | | | | | | * message-list.c (message_list_foreach): New function, a wrapper around e_table_selected_row_foreach, which calls the callback function with UIDs rather than row numbers. * folder-browser-factory.c: Remove never-used "Find" button from the toolbar and replace it with "Refile". (We need a better icon for this...). Hook up "Refile" to "refile_msg". * mail-ops.c (refile_msg): Call the shell's user_select_folder routine, and then use message_list_foreach and real_refile_msg to do the work. (delete_msg): Update to use message_list_foreach. * folder-browser.c (mail_uri_to_folder): new function, extracted from folder_browser_load_folder, to turn a URI into a folder. (folder_browser_load_folder): Use it. svn path=/trunk/; revision=3833
* Changed "Send" to "Compose" to avoid user confusion. Compose is a littleJeffrey Stedfast2000-06-301-1/+1
| | | | | | | | | | 2000-06-29 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser-factory.c: Changed "Send" to "Compose" to avoid user confusion. Compose is a little more intuitive. Also changed the pixmap to MAIL_NEW instead of MAIL_SND svn path=/trunk/; revision=3807
* Changed "Send" to "Compose" to avoid user confusion. Compose is a littleJeffrey Stedfast2000-06-301-1/+1
| | | | | | | | | | | 2000-06-29 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser-factory.c: Changed "Send" to "Compose" to avoid user confusion. Compose is a little more intuitive. * mail-ops.c (compose_msg): Renamed to avoid confusion svn path=/trunk/; revision=3805
* Return the result of folder_browser_load_folder. (get_prop, set_prop,Dan Winship2000-06-131-35/+7
| | | | | | | | | | | | | | | | | | | | | * folder-browser.c (folder_browser_set_uri): Return the result of folder_browser_load_folder. (get_prop, set_prop, folder_browser_properties_init): Remove. No longer needed. * folder-browser-factory.c (folder_browser_factory_new_control): Add a "uri" argument, return NULL if setting it fails. (folder_browser_factory_new_control): Remove property bag stuff. (folder_browser_factory_init, folder_browser_factory): Remove this, since we're using the component factory now. * component-factory.c (create_view): Update for folder_browser_factory_new_control change and return NOTFOUND as appropriate. * main.c (main): Don't call folder_browser_factory_init. svn path=/trunk/; revision=3532
* Add a serial number to FolderBrowser.Dan Winship2000-06-101-9/+16
| | | | | | | | | | | | * folder-browser.c (folder_browser_new): Add a serial number to FolderBrowser. * folder-browser-factory.c (control_activate, control_deactivate): Include fb serial number in the name of the Bonobo toolbar to prevent problems with disappearing toolbars. This is a kludge and should go away. svn path=/trunk/; revision=3501
* Remember passwords between calls. (forget_passwords): Callback for "ForgetDan Winship2000-06-061-0/+7
| | | | | | | | | | | * session.c (evolution_auth_callback): Remember passwords between calls. (forget_passwords): Callback for "Forget Passwords" menu item. * folder-browser-factory.c (control_activate): (control_deactivate): Add "Forget Passwords" menu item. svn path=/trunk/; revision=3434
* Finished the configuration dialogs and renamed some Tools/ menu itemsJeffrey Stedfast2000-06-021-4/+4
| | | | | | this should also fix the bug where the VFolders menu item isn't removed when using the Calendar/etc svn path=/trunk/; revision=3336
* Make the toolbar look like a standard GNOME toolbar my putting it intoEttore Perazzoli2000-06-011-3/+10
| | | | | | | | a GtkFrame. Also, make sure it cannot be dragged to the left or right of the dock, because with the current non-BonoboUIHandler system we use it causes bad bad things to happen. svn path=/trunk/; revision=3319
* started to add a camel provider configuration toolJeffrey Stedfast2000-05-311-0/+7
| | | | svn path=/trunk/; revision=3287
* vfolder gui! So you can define them,k they show up in the list (well,Not Zed2000-05-281-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | after a restart), but they always come up empty - doesn't search any folders yet. 2000-05-27 Not Zed <NotZed@HelixCode.com> * Makefile.am (SHELL_OBJS): Include mail storage so we can initialise folders. * component-factory.c (create_test_storage): Parses vfolder defintions and adds them to the storage. Definetly needs more work. * folder-browser-factory.c (control_activate): Add the VFolder druid menu item. (control_deactivate): And remove it. * mail-ops.c (vfolder_editor_clicked): For editing vfolder definitions (rather like filters, oddly enough :). Tries to update the shell but it doesn't seem to work properly - requires a mail component restart to take effect. * folder-browser.c (folder_browser_load_folder): Handle vfolder: urls' appropriately and map to camel. Still needs a way to tell the vfolder what folders to search! (all vfolders come up empty!). svn path=/trunk/; revision=3241
* Reorganized the shell to allow dynamic registration of storages andEttore Perazzoli2000-05-251-8/+14
| | | | | | | folder types, and changed all the components to work with the new setup. svn path=/trunk/; revision=3199
* Get rid of the old `evolution-service-repository' cruft and startEttore Perazzoli2000-05-231-51/+0
| | | | | | implementing new CORBA storage interfaces for the shell. svn path=/trunk/; revision=3178
* move the development_warning from mail to shell so you don't get theDan Winship2000-05-191-69/+1
| | | | | | | nasty partially drawn shortcut bar at startup, and so you only have to see it once, regardless of how many mail folders you have svn path=/trunk/; revision=3129
* New menu to bring up the filter editor, and edit filters. They dontNotZed2000-05-171-0/+7
| | | | | | | | | | | | | | | get invoked yet though. 2000-05-16 NotZed <NotZed@HelixCode.com> * mail-ops.c (filter_edit): Function to bring up the filter editor. (filter_druid_clicked): Save/close dialogue. * Makefile.am (evolution_mail_LDADD): Added libfilter. (INCLUDES): Add EVOLUTION_DATADIR, and fix matt's brokeneditor(tm) for putting spaces instead of tabs in. svn path=/trunk/; revision=3099
* make the toolbars detachable now that we require a new enough versionDan Winship2000-05-121-1/+0
| | | | | | of gnome-libs to avoid the bonobo-toolbar-detaching bug svn path=/trunk/; revision=2997
* Left-justify the message.Federico Mena Quintero2000-05-121-0/+1
| | | | | | | | | 2000-05-11 Federico Mena Quintero <federico@helixcode.com> * folder-browser-factory.c (development_warning): Left-justify the message. svn path=/trunk/; revision=2990
* Fix compilation error.Chris Lahey2000-05-111-1/+1
| | | | svn path=/trunk/; revision=2984
* Made this dialog have fewer buttons.Christopher James Lahey2000-05-111-2/+1
| | | | | | | | | 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * folder-browser-factory.c (development_warning): Made this dialog have fewer buttons. svn path=/trunk/; revision=2983
* New development warning text from Nat.Christopher James Lahey2000-05-111-9/+35
| | | | | | | | | 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * folder-browser-factory.c (development_warning): New development warning text from Nat. svn path=/trunk/; revision=2982
* + * calendar/pcs/cal-backend.c (cal_backend_add_cal): Return nothingMatthew Loper2000-05-101-6/+2
| | | | | | | | | | + for a 'void' function. + * folder-browser-factory.c (control_activate): Remove "File->mail" + menuitem. + * e-shell-view-menu.c (command_run_bugbuddy): New function; allows + users to submit a bug. svn path=/trunk/; revision=2948
* Changed a toolbar button from saying "New mail" (which suggests you mightMatthew Loper2000-05-081-1/+1
| | | | | | | | * folder-browser-factory.c: Changed a toolbar button from saying "New mail" (which suggests you might be composing new mail) to "Get mail". svn path=/trunk/; revision=2880
* Don't hardcode "inbox" here.Dan Winship2000-05-071-4/+2
| | | | | | | | | | | | | | | | | | | * folder-browser-factory.c (folder_browser_factory): Don't hardcode "inbox" here. * folder-browser.c (folder_browser_set_uri): Don't hardcode "inbox" here either. (folder_browser_load_folder): Create a new store according to the folder browser's URI, and load the mbox file from that store. Parts of this are temporary. * session.c, mail.h: There is no longer a global store, just a global session. * mail-config.c, mail-ops.c: Update for default_session -> session change. fetch_mail is currently broken. svn path=/trunk/; revision=2853
* New code to configure identity, mail source, and mail transport.Dan Winship2000-05-071-2/+3
| | | | | | | | | | | | | | | | | | | * mail-config.c: New code to configure identity, mail source, and mail transport. (mail_config_druid): A druid using the config widgets. (Only allows configuration of a single identity, source, and transport.) * mail-ops.c (check_configured): New function to make sure the user has configured stuff, and call the druid if not. (fetch_mail, send_msg, send_to_url, reply, forward_msg): Call check_configured (composer_send_cb): Make this pass the message to a CamelTransport rather than just printing it to stdout. * folder-browser-factory.c (development_warning): Add a warning about sending mail, since you can do that now. svn path=/trunk/; revision=2842
* consolidate mail-format.h, mail-identify.h, mail-ops.h, main.h andDan Winship2000-05-071-4/+1
| | | | | | | | * mail.h: consolidate mail-format.h, mail-identify.h, mail-ops.h, main.h and session.h into this new file. There's no reason to have a .h for every .c. svn path=/trunk/; revision=2830
* Ok, you can now delete and expunge messages ... not really prettyMichael Zucci2000-05-021-2/+8
| | | | | | | | | | | | | | (gui wise), but it works, after a fashion. > * folder-browser-factory.c: Setup callback for actual delete op. > (control_activate): Setup a tool menu item to expnge deleted > messages. > > * mail-ops.c (delete_msg): Toggle the delete flag on a message. > (expunge_folder): New function to expunge deleted messages from > the current folder. svn path=/trunk/; revision=2744
* Made Evolution OAF-compatible.Ettore Perazzoli2000-04-281-5/+8
| | | | svn path=/trunk/; revision=2673
* rename "send" to "send_msg", to avoid name clash with the tcp function.Dan Winship2000-04-241-3/+3
| | | | | | | | | | | | | | * folder-browser-factory.c: rename "send" to "send_msg", to avoid name clash with the tcp function. Connect the "forward" button. * mail-ops.c: rename "send" to "send_msg", to avoid name clash with the tcp function. Add forward_msg function. * mail-format.c (mail_generate_forward): support function for forward_msg. Pretty much a big kludge right now, pending the attachment/attachment-bar changes. svn path=/trunk/; revision=2562
* move msg_composer_cb and msg_composer_send_cb to mail-ops. Attach send,Dan Winship2000-04-231-39/+4
| | | | | | | | | | | | | | | | | * folder-browser-factory.c: move msg_composer_cb and msg_composer_send_cb to mail-ops. Attach send, reply, and "reply to all" buttons. * mail-ops.c (composer_send_cb, send): moved from folder-browser-factory.c. (reply_to_sender, reply_to_all): new functions to do replies. * mail-format.c (text_to_html): Add an "add_pre" flag, to make it wrap the output in <pre></pre>. (mail_generate_reply): New function to create a composer and build a reply in it. svn path=/trunk/; revision=2554
* use gnome_app_fill_toolbar_with_data, so we get the beautiful gnomeChris Toshok2000-04-151-36/+30
| | | | | | | | * folder-browser-factory.c (control_activate): use gnome_app_fill_toolbar_with_data, so we get the beautiful gnome toolbar. svn path=/trunk/; revision=2427
* Fix up the warning message a bit. (folder_browser_factory): Make theDan Winship2000-04-141-9/+10
| | | | | | | | * folder-browser-factory.c (development_warning): Fix up the warning message a bit. (folder_browser_factory): Make the warning bypassable. svn path=/trunk/; revision=2425
* + * folder-browser.c (folder_browser_destroy): Unref the shellMatthew Loper2000-04-081-1/+10
| | | | | | | | | | | | | | | | | | + interface that we have a handle to. + + * folder-browser-factory.c (control_destroy_cb): New function; + destroys a folder-browser when its control is destroyed. + (folder_browser_factory): Hook up to the above. + + * e-shell-view.c (destroy_folder_view): New function; + Bonobo_Unknown_unref's the controls that have the views in them. + (esv_destroy): Calls the above for each folder_view in the + hashtable. + (get_view): unref the ServiceRepository interface of the control + when we're done with it. + svn path=/trunk/; revision=2333
* new file, for toolbar/menu callbacks (fetch_mail): fetch mail. Doesn't doDan Winship2000-04-081-11/+13
| | | | | | | | | | | | | | | * mail-ops.c: new file, for toolbar/menu callbacks (fetch_mail): fetch mail. Doesn't do mbox locking. Many kludges. * folder-browser-factory.c (control_activate): use new fetch_mail function as the callback for the "New mail" icon. Rename check_cb to random_cb. * Makefile.am: don't build test-sources since the version in CVS doesn't do much and once I've fixed it it won't be a separate program. Add mail-ops.[ch]. svn path=/trunk/; revision=2330
* remove debugging printf()s that no longer seem usefulDan Winship2000-04-011-1/+0
| | | | svn path=/trunk/; revision=2274
* Call bonobo_control_frame_activate on the folder_view every time it isDan Winship2000-03-301-16/+77
| | | | | | | | | | | | * shell/e-shell-view.c (e_shell_view_set_view): Call bonobo_control_frame_activate on the folder_view every time it is displayed, and bonobo_control_frame_deactivate every time it is hidden. * folder-browser-factory.c (control_activate): build a toolbar. (control_deactivate): and hide it. svn path=/trunk/; revision=2250
* Memory leak fix.Miguel de Icaza2000-03-271-10/+14
| | | | | | | | | 2000-03-26 Miguel de Icaza <miguel@gnu.org> * folder-browser-factory.c (folder_browser_set_shell): Memory leak fix. svn path=/trunk/; revision=2175
* Minor cleanup & commenting.Matthew Loper2000-03-221-15/+4
| | | | | | | | * mail-display.c: Minor cleanup & commenting. * folder-browser-factory.c: Minor cleanup & warning elimination. svn path=/trunk/; revision=2134
* Temporarily removed the calendar from the subdirs list. The compilationbertrand2000-03-211-2/+38
| | | | | | | | | 03-21-2000 bertrand <bg@aful.org> Temporarily removed the calendar from the subdirs list. The compilation errors confuse people. svn path=/trunk/; revision=2129
* i2000-03-13 bertrand <bertrand@helixcode.com>bertrand2000-03-131-1/+6
| | | | | | | | | | | | | | | | | * folder-browser-factory.c (folder_browser_set_shell): for testing and demonstration purpose, immediately register a fake service. 2000-03-13 bertrand <bertrand@helixcode.com> * shell/e-shell.c (EShell_register_service): test implementation. Show the uri and the type of service that has just been registered. Test the registering mechanism. Actually seems to work well. svn path=/trunk/; revision=2112
* (get_view): added a parameter to have a reference to the EShellView.bertrand2000-03-131-1/+1
| | | | | | | | | | | | | | | | | 2000-03-13 bertrand <bertrand@helixcode.com> (get_view): added a parameter to have a reference to the EShellView. (get_view): In the case of the mail component use the Evolution_ServiceRepository to give the component a reference to the Shell server. The Mail component now has a reference to the shell corba server. It is gonna make it possible to register new services in the shell. svn path=/trunk/; revision=2111
* once we have the bonobo control widget, disable the autoactivation andbertrand2000-03-131-0/+38
| | | | | | | | | | | | | | | | | | | | | | | 2000-03-13 bertrand <bertrand@helixcode.com> * shell/e-shell-view.c (get_view): once we have the bonobo control widget, disable the autoactivation and activate the control frame. 2000-03-12 bertrand <bertrand@helixcode.com> * folder-browser-factory.c (folder_browser_factory_init): name change. (control_activate_cb): when the control is activated, it merges its own UI with the remote UIHandler. (control_add_menu): sample menu merging. (folder_browser_factory): connect the control "activate" signal. (Bonobo control / shell view) UIMenu merging. svn path=/trunk/; revision=2110
* name changebertrand2000-03-131-9/+9
| | | | | | | | | | | | | | | | 2000-03-12 bertrand <bertrand@helixcode.com> * shell/e-shell-view.c (get_view): name change 2000-03-12 bertrand <bertrand@helixcode.com> * folder-browser-factory.c (folder_browser_factory_init): name change. * evolution-mail.gnorba: name changes svn path=/trunk/; revision=2109
* added the get_e_folder_type function.bertrand2000-03-131-2/+50
| | | | | | | | | | | | | | | | | | | | | 2000-03-12 bertrand <bertrand@helixcode.com> * shell/e-folder.c (e_folder_get_folder_type): added the get_e_folder_type function. 2000-03-12 bertrand <bertrand@helixcode.com> * folder-browser.h: added a reference to an Evolution::Shell object. * folder-browser-factory.c (folder_browser_set_shell): (folder_browser_control_add_service_repository_interface): (folder_browser_factory): the folder-browser control now implements the Evolution/ServiceRepository interface. Sync for matt svn path=/trunk/; revision=2108
* added a warning so that the user knows that this version may crash hisbertrand2000-03-081-6/+6
| | | | | | | | | | 2000-03-07 bertrand <bertrand@helixcode.com> * folder-browser-factory.c (development_warning): added a warning so that the user knows that this version may crash his mails. svn path=/trunk/; revision=2078
* sync from laptopBertrand Guiheneuf2000-03-081-7/+52
| | | | svn path=/trunk/; revision=2077
* More changes than a man can remember.Bertrand Guiheneuf2000-03-061-2/+2
| | | | | | The UI works now. svn path=/trunk/; revision=2074
* Set up the column headers properly.Christopher James Lahey2000-03-051-0/+2
| | | | | | | | | | 2000-03-04 Christopher James Lahey <clahey@helixcode.com> * message-list.c: Set up the column headers properly. * folder-browser.c: Show the folder_browser widget. svn path=/trunk/; revision=2050
* sync for debugging with chrisBertrand Guiheneuf2000-03-051-2/+5
| | | | svn path=/trunk/; revision=2044
* Add the unicode libraries as well.Miguel de Icaza2000-02-161-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-02-14 Miguel de Icaza <miguel@gnu.org> * camel/providers/mbox/Makefile.am (libcamelmbox_la_LIBADD): Add the unicode libraries as well. * camel/camel-provider.c (camel_provider_register_as_module): Add error reporting here. Desire to use Solaris increases. Hair loss in the last two hours: 5,400. * camel/providers/mbox/camel-mbox-provider.c (camel_mbox_get_provider): Renamed function. * camel/camel.h: All include files use camel/ now here. * camel/providers/mbox/Makefile.am: Drop all the dynamism from Camel, and make this a standard library. * configure.in: set the UNICODE_LIBS variable here. 2000-02-14 Miguel de Icaza <miguel@gnu.org> * folder-browser.c (folder_browser_load_folder): New routine, loads a camel folder. (folder_browser_set_uri): redo. * session.c: new file. Implements SessionStores to keep track of a Session/Store tuple. svn path=/trunk/; revision=1783
* More work. Not funny that e-table does not display.Arturo Espinosa2000-01-291-1/+1
| | | | | | | | More work. Not funny that e-table does not display. Miguel. svn path=/trunk/; revision=1654
* Work on the factoyrArturo Espinosa2000-01-291-3/+27
| | | | svn path=/trunk/; revision=1651
* Make Evolution compile with the latest Bonobo changes.Arturo Espinosa2000-01-261-7/+8
| | | | | | | | Make Evolution compile with the latest Bonobo changes. Miguel. svn path=/trunk/; revision=1636
* It compiles -miguelArturo Espinosa2000-01-251-0/+41
svn path=/trunk/; revision=1630