Commit Graph

68 Commits

Author SHA1 Message Date
9dcf5fdde9 Don't prepend "/" to the folder's full_name. Deal with hierarchy in the
* subscribe-dialog.c (folder_info_subscribed,
	subscribe_folder_info, unsubscribe_folder_info): Don't prepend "/"
	to the folder's full_name. Deal with hierarchy in the
	EvolutionStorage tree better.
	(storage_tree_path): Helper function to build a storage path from
	a CamelFolderInfo.

svn path=/trunk/; revision=6168
2000-10-25 15:29:55 +00:00
8ca39c14e9 special case for folders with NULL urls (which aren't
2000-10-11  Chris Toshok  <toshok@helixcode.com>

	* subscribe-dialog.c (folder_etree_value_at): special case for
	folders with NULL urls (which aren't selected/subscribeable).
	(unsubscribe_folder_info): can't (un)subscribe from folders with
	non-NULL urls.
	(subscribe_folder_info): same.

svn path=/trunk/; revision=5879
2000-10-12 05:18:48 +00:00
6a5f7cd5df set expansion to 0.0, minimum-width to 16, and resizable to false for the
2000-10-11  Chris Toshok  <toshok@helixcode.com>

	* subscribe-dialog.c (FOLDER_ETABLE_SPEC): set expansion to 0.0,
	minimum-width to 16, and resizable to false for the subscribed
	column.
	(folder_info_subscribed): new function so we can do the correct
	path munging.
	(subscribe_folder_info): only add the folder to the storage if
	there wasn't an exception subscribing it.
	(unsubscribe_folder_info): same, but unsubscribing.
	(folder_etree_value_at): use folder_info_subscribed.
	(folder_toggle_cb): same.
	(unsubscribe_folder_foreach): same.
	(subscribe_folder_foreach): same.
	(subscribe_dialog_gui_init): set the bold column on the text cell,
	and add the subscribed pixbuf.

svn path=/trunk/; revision=5869
2000-10-11 23:09:06 +00:00
76d2762ac8 change cell type to "string" since we're not including it in the extras.
2000-10-11  Chris Toshok  <toshok@helixcode.com>

	* subscribe-dialog.c (STORE_ETABLE_SPEC): change cell type to
	"string" since we're not including it in the extras.

svn path=/trunk/; revision=5862
2000-10-11 20:39:32 +00:00
82dd927886 Changed these to use the proper form for the column element.
2000-10-11  Christopher James Lahey  <clahey@helixcode.com>

	* message-list.c, message-list.h, subscribe-dialog.c: Changed
	these to use the proper form for the column element.

svn path=/trunk/; revision=5849
2000-10-11 12:11:11 +00:00
fb49a9def4 Updated these to the new ETable style of specifications.
2000-10-11  Christopher James Lahey  <clahey@helixcode.com>

	* message-list.c, message-list.h, subscribe-dialog.c: Updated
	these to the new ETable style of specifications.

svn path=/trunk/; revision=5845
2000-10-11 11:06:51 +00:00
63ef9cbc9c convert to the new gal e-table stuff. (html_size_req): (html_new):
2000-10-11  Chris Toshok  <toshok@helixcode.com>

	* subscribe-dialog.c (subscribe_dialog_gui_init): convert to the
	new gal e-table stuff.
	(html_size_req):
	(html_new):
	(put_html): #if 0 out the html functions since description stuff
	isn't used and we don't want the warnings.

svn path=/trunk/; revision=5842
2000-10-11 10:04:36 +00:00
5e48ebd91b remove the html description stuff for now.
2000-10-11  Chris Toshok  <toshok@helixcode.com>

	* subscribe-dialog.c (subscribe_dialog_gui_init): remove the html
	description stuff for now.

svn path=/trunk/; revision=5838
2000-10-11 08:30:20 +00:00
139f2405f0 umm.. duh :) only subscribe if it's not subscribed, and vice versa.
2000-10-10  Chris Toshok  <toshok@helixcode.com>

	* subscribe-dialog.c (folder_toggle_cb): umm.. duh :) only
	subscribe if it's not subscribed, and vice versa.
	(subscribe_folder_foreach): make sure to call
	e_tree_model_node_changed.
	(unsubscribe_folder_foreach): make sure to call
	e_tree_model_node_changed.

svn path=/trunk/; revision=5831
2000-10-11 04:28:44 +00:00
73f3bc0bd4 add a ref to input->storage here so that the ref/unref pattern more
2000-10-10  Chris Toshok  <toshok@helixcode.com>

	* mail-ops.c (setup_scan_subfolders): add a ref to input->storage
	here so that the ref/unref pattern more closely matches other
	mail-ops.  also, this keeps the storage from being freed when we
	hit the unref in cleanup_scan_subfolders, which is important
	because we maintain a reference to it in the storage_hash in
	component-factory.c

	* subscribe-dialog.h: add storage field.

	* subscribe-dialog.c (subscribe_folder_info): new function,
	subscribe to a folder given it's CamelFolderInfo, and add it to
	the shell - we're generating a path from the name of the folder
	which is bad.
	(unsubscribe_folder_info): same (except we unsubscribe and remove
	from the shell).
	(storage_selected_cb): unref the currently selected storage.
	(subscribe_dialog_destroy): unref the currently selected storage.
	(subscribe_dialog_construct): sc->storage = NULL.

	* component-factory.c (mail_lookup_storage): new function, to look
	up a EvolutionStorage corresponding to a CamelService.  we ref the
	EvolutionStorage before passing it back.
	(mail_add_new_storage): insert the storage into storages_hash if
	result is EVOLUTION_STORAGE_OK.

	* mail.h: add prototype for mail_lookup_storage.

svn path=/trunk/; revision=5830
2000-10-11 02:05:29 +00:00
5de3bd00c7 use our own etable to display the stores, and get them from the
2000-10-09  Chris Toshok  <toshok@helixcode.com>

	* subscribe-dialog.c, subscribe-dialog.h: use our own etable to
	display the stores, and get them from the mail-config api.  put
	#if 0'ed code in place to add/remove the folders from the shell
	when they're subscribed/unsusbcribed.  also, react to double
	clicks in the folder etable by toggling subscription status.

svn path=/trunk/; revision=5809
2000-10-10 01:08:17 +00:00
d5a93f01c1 Disable summary stuff, it appears to be badly broken.
2000-10-05  Michael Meeks  <michael@helixcode.com>

	* component-factory.c (summary_fn, component_factory_init): Disable
	summary stuff, it appears to be badly broken.

	* Makefile.am (evolution_mail_SOURCES): add mail-summary.[ch]

	* subscribe-dialog.c (update_pixmaps): upd.
	(set_pixmap): upd.
	(subscribe_dialog_gui_init): upd.
	remove redundant and annoying forward definitions.

	* folder-browser-factory.c (control_deactivate): upd.
	(control_activate_cb): upd.
	(control_activate): upd.
	(set_pixmap): upd.
	(update_pixmaps): upd.
	(register_ondemand): upd.
	(create_ondemand_hooks): upd.

2000-10-05  Michael Meeks  <michael@helixcode.com>

	* e-shell-view-menu.c (shortcut_bar_mode_changed_cb): upd.
	(folder_bar_mode_changed_cb): upd.
	(command_xml_dump): clobber.
	(e_shell_view_menu_setup): upd.

	* e-shell-view.c (shell_view_interface_set_message_cb): upd.
	(shell_view_interface_unset_message_cb): upd.
	(e_shell_view_construct): upd.
	(get_control_for_uri): upd.
	(e_shell_view_get_bonobo_ui_component): upd.

2000-10-05  Michael Meeks  <michael@helixcode.com>

	* contact-editor/e-contact-editor.c (create_ui): upd.
	(e_contact_editor_init): upd.

	* gui/component/addressbook.c (control_activate_cb): upd.
	(control_deactivate): kill.
	(control_activate): upd.

2000-10-05  Michael Meeks  <michael@helixcode.com>

	* gui/calendar-commands.c: upd.
	(calendar_control_activate): upd.
	(calendar_control_deactivate): upd.

2000-10-05  Michael Meeks  <michael@helixcode.com>

	* component/e-summary-factory.c (control_activate): upd.
	(set_pixmap): upd. (update_pixmaps): upd.
	(control_activate_cb): upd.
	(control_deactivate): upd.

svn path=/trunk/; revision=5742
2000-10-05 07:10:04 +00:00
d697b27b4d destroy our tree_model and remove the root node. also, release_unref our
2000-10-02  Chris Toshok  <toshok@helixcode.com>

	* subscribe-dialog.c (subscribe_dialog_destroy): destroy our
	tree_model and remove the root node.  also, release_unref our
	control and view, and unref the listener.

	* mail-tools.c (mail_tool_uri_to_folder): news url's contain host
	names too, now.

svn path=/trunk/; revision=5690
2000-10-03 05:06:11 +00:00
6ca5ab655e add a storage-set-view-listener, and add a little printf saying what
2000-10-02  Chris Toshok  <toshok@helixcode.com>

	* subscribe-dialog.c, subscribe-dialog.h: add a
	storage-set-view-listener, and add a little printf saying what
	storage was selected.

svn path=/trunk/; revision=5688
2000-10-03 03:28:11 +00:00
11aa32cb03 get Evolution::StorageSetView interface on our storage set view control,
2000-10-02  Chris Toshok  <toshok@helixcode.com>

	* subscribe-dialog.c (subscribe_dialog_gui_init): get
	Evolution::StorageSetView interface on our storage set view
	control, and set "show_folders" to FALSE.

svn path=/trunk/; revision=5683
2000-10-03 01:24:22 +00:00
156faeeb31 add -I$(top_srcdir)/widgets/misc
2000-10-02  Chris Toshok  <toshok@helixcode.com>

	* Makefile.am (INCLUDES): add -I$(top_srcdir)/widgets/misc

	* subscribe-dialog.c (subscribe_dialog_gui_init): change the
	window title to Manage Subscriptions, bold subscribed folders, and
	add a title bar ala the evolution shell (but without the close
	button).

svn path=/trunk/; revision=5682
2000-10-03 00:25:23 +00:00
5d8858ccfa add fields for the storage set Bonobo_Control and Evolution_StorageSetView
2000-10-02  Chris Toshok  <toshok@helixcode.com>

	* subscribe-dialog.h: add fields for the storage set
	Bonobo_Control and Evolution_StorageSetView interfaces.

	* subscribe-dialog.c (subscribe_dialog_gui_init): create the uih
	as early as possible, and add the storage set view to the left
	side of the hpaned.

svn path=/trunk/; revision=5681
2000-10-03 00:01:24 +00:00
bfe2227dd0 subscribe-control.[ch] -> subscribe_dialog.[ch]
2000-10-02  Chris Toshok  <toshok@helixcode.com>

	* Makefile.am (evolution_mail_SOURCES): subscribe-control.[ch] -> subscribe_dialog.[ch]

	* mail-callbacks.c (manage_subscriptions): subscribe_control ->
	subscribe_dialog.  Also, pass the shell to subscribe_dialog_new.

	* mail-types.h: SubscribeControl -> SubscribeDialog.

	* subscribe-dialog.c, subscribe-dialog.h: rename from subscribe-control.[ch].

	* subscribe-dialog.c (subscribe_dialog_construct): pass
	Evolution_Shell in.
	(subscribe_dialog_new): takes Evolution_Shell argument now.

svn path=/trunk/; revision=5668
2000-10-02 20:06:11 +00:00