Commit Graph

539 Commits

Author SHA1 Message Date
8f366de2a4 (Fixing bug #1299: Shell saves shortcuts when display name changes)
2001-06-04  Jason Leach  <jleach@ximian.com>

	(Fixing bug #1299: Shell saves shortcuts when display name
	 changes)

	* e-shortcuts.c (class_init): New signal: "update_shortcut".

	* e-shortcuts-view-model.c (e_shortcuts_view_model_construct):
	Connect thew new signal here.

	* e-shortcuts-view-model.c (shortcuts_update_shortcut_cb): New
	function, uses the new e_shortcut_model_update_item().

	* e-shell-view.c (corba_interface_set_folder_bar_label): Fix a
	warning here.

svn path=/trunk/; revision=10116
2001-06-05 17:10:32 +00:00
b8306eaf97 Fix linking order for `$(DB3_LDADD)'s so that we avoid pulling
functions from a different Berkeley DB library when we really don't
mean to.

svn path=/trunk/; revision=10105
2001-06-03 07:41:05 +00:00
b537b315eb Add some missing `$(DB3_LDADD)'s to get it to compile.
svn path=/trunk/; revision=10078
2001-06-01 11:48:39 +00:00
65460ea535 New function (probably should just be static).
2001-05-30  Jason Leach  <jleach@ximian.com>

	* e-shell-view.c (e_shell_view_set_current_shortcuts_group_num):
	New function (probably should just be static).
	(e_shell_view_load_settings): Load the current shortcut group here
	using the above new function.
	(e_shell_view_save_settings): Save current shortcut group in here.

2001-05-30  Jason Leach  <jleach@ximian.com>

	* e-shell-folder-title-bar.c: New 'folder_bar_label' member for
	EShellFolderTitleBar, it's for information that's shown to the
	left of the icon like the dates in the calendar (or, potentially
	total and unread numbers for mailer).
	(e_shell_folder_title_bar_set_folder_bar_label): New function,
	lets others set the title bar extra label.

	* Evolution-ShellView.idl: New method 'setFolderBarLabel' for our
	exposed ShellView interface.

	* evolution-shell-view.c (class_init): New signal
	"set_folder_bar_label" for EvolutionShellViewClass.

	* evolution-shell-view.c (impl_ShellView_set_folder_bar_label):
	Emit the new signal here.

	* e-shell-view.c (setup_corba_interface): Connect the signal here.

	* e-shell-view.c (corba_interface_set_folder_bar_label): New
	function, callback for the above signals, does the actual extra
	label setting for the folder title bar.

	* e-shell-folder-commands.c (e_shell_command_add_to_shortcut_bar):
	Fix a warning here.

svn path=/trunk/; revision=10059
2001-05-31 00:24:59 +00:00
225120f19f Removed an unecessary sleep(2) call, so evolution will start up 2 seconds
2001-05-30  Jason Leach  <jleach@ximian.com>

	* e-shell.c (e_shell_construct): Removed an unecessary sleep(2)
	call, so evolution will start up 2 seconds faster now.

2001-05-30  Jason Leach  <jleach@ximian.com>

	* e-shell-view-menu.c: Connect the AddFolderToShortcutBar verb to
	their implementation functions.

	* e-shell-view.c (e_shell_view_get_current_shortcuts_group_num):
	New function, use it to find out which shourtcut group is
	currently open on the shortcut bar.

	* e-shell-folder-commands.c (e_shell_command_add_to_shortcut_bar):
	Implement this using new function described above.

svn path=/trunk/; revision=10052
2001-05-30 19:39:47 +00:00
5fe6cec0fe Added missing castt. (setup_offline_toggle): Likewise.
2001-05-29  Federico Mena Quintero  <federico@ximian.com>

	* e-shell-view.c (setup_progress_bar): Added missing castt.
	(setup_offline_toggle): Likewise.

svn path=/trunk/; revision=10048
2001-05-29 23:48:42 +00:00
6ce483ec6c unref the control when finished with it (setup_offline_toggle): ditto
2001-05-29  JP Rosevear  <jpr@ximian.com>

	* e-shell-view.c (setup_progress_bar): unref the control when
	finished with it
	(setup_offline_toggle): ditto
	(destroy): destroy offline and progress widgets

svn path=/trunk/; revision=10043
2001-05-29 19:13:30 +00:00
d591587d8f Call e_tree_node_set_expanded on the storage_set_view, not the storage_set
* e-storage-set-view.c (new_storage_cb): Call
	e_tree_node_set_expanded on the storage_set_view, not the
	storage_set (which is not an ETree).

svn path=/trunk/; revision=10033
2001-05-28 21:06:34 +00:00
c22a58021c add *.lo, libeshell.la
svn path=/trunk/; revision=10028
2001-05-28 18:29:20 +00:00
6eb6e536f9 New file. (e_pixmaps_update): Moved here from e-util to break e-util
* evolution-shell-component-utils.c: New file.
	(e_pixmaps_update): Moved here from e-util to break e-util bonobo
	dependency.

	* e-shell-view-menu.c: #include
	"evolution-shell-component-utils.h" instead of "e-gui-utils.h"

	* Makefile.am (libeshell_la_SOURCES, eshellinclude_HEADERS): Add
	evolution-shell-component-utils.[ch]

svn path=/trunk/; revision=10018
2001-05-27 18:00:52 +00:00
ddc7d71827 Don't free the hash keys in priv->path_to_etree_node, because they're
* e-storage-set-view.c (destroy): Don't free the hash keys in
	priv->path_to_etree_node, because they're owned by the ETree now.
	(e_storage_set_view_set_show_folders): Likewise.

svn path=/trunk/; revision=10012
2001-05-26 19:17:02 +00:00
a58c7b50e9 Reference libeshell.la instead of libeshell.a.
2001-05-25  Peter Williams  <peterw@ximian.com>

       * gui/component/Makefile.am: Reference libeshell.la instead of libeshell.a.

2001-05-25  Peter Williams  <peterw@ximian.com>

       * gui/Makefile.am: Reference libeshell.la instead of libeshell.a.

2001-05-25  Peter Williams  <peterw@ximian.com>

       * component/Makefile.am: Reference libeshell.la instead of libeshell.a.

2001-05-25  Peter Williams  <peterw@ximian.com>

       * Makefile.am: Reference libeshell.la instead of libeshell.a.

2001-05-25  Peter Williams  <peterw@ximian.com>

       * Makefile.am: Change libeshell from a noinst_LIBRARIES to
       a lib_LTLIBRARIES. Install its headers in
       $includedir/evolution/shell.

       * evolution-storage.c (safe_corba_string): New, copy of e_safe_corba_string
       in libeutil. This way libeshell doesn't have a missing symbol when programs
       that don't have libeutil link to it.
       (evolution_storage_register): s,e_safe_corba_string,safe_corba_string,g.

svn path=/trunk/; revision=10007
2001-05-26 04:59:00 +00:00
c6c02db602 place the shortcut bar in a frame
2001-05-25  jacob berkman  <jacob@ximian.com>

	* e-shell-view.c (setup_widgets): place the shortcut bar in a
	frame

svn path=/trunk/; revision=10006
2001-05-26 00:43:14 +00:00
9288ec2e2c Added ETSPECDIR. Added e-storage-set-view.etspec to get installed.
2001-05-21  Christopher James Lahey  <clahey@ximian.com>

	* Makefile.am (INCLUDES): Added ETSPECDIR.  Added
	e-storage-set-view.etspec to get installed.

	* e-local-storage.c (remove_folder_directory): Commented out this
	function since it is unused.

	* e-shell-folder-commands.c
	(folder_selection_dialog_folder_selected_callback), e-shell-view.c
	(update_offline_toggle_status): Fixed warnings here by adding a
	return; after the g_assert_not_reached();.

	* e-shell-importer.c (start_import): Got rid of real_folderpath
	here and just reused folderpath (It was causing uninitialized
	variable warnings.)

	* e-shell.c (impl_Shell_getLocalStorage): Use
	bonobo_object_dup_ref here.  It makes things simpler.

	* e-storage-set-view.c: Removed ETREE_SPEC since it's no longer
	needed.
	(convert_corba_drag_action_set_to_gdk,
	folder_context_menu_activate_cb, remove_cb,
	folder_context_menu_remove_cb): Commented out these functions
	since they're unused.
	(new_storage_cb, new_folder_cb, insert_folders, insert_storages):
	Don't bother using insert_id here since it no longer does
	anything.
	(new_storage_cb, removed_storage_cb, removed_folder_cb): Don't
	free the data returned from e_tree_memory_node_remove.
	(e_storage_set_view_construct): Set the destroy func here so that
	memory will automatically get freed when nodes are destroyed.
	g_strdup the root node string here.  Use
	e_tree_construct_from_spec_file here to use an external file.
	(e_storage_set_view_set_show_folders): g_strdup the root node
	string here.

	* e-storage-set-view.etspec: New etspec file.

	* evolution-shell-component-client.c
	(free_ShellComponentListener_servant): Added a prototype here.

svn path=/trunk/; revision=9989
2001-05-25 18:35:40 +00:00
de5ad09661 track change to the path to the ComponentPlaceholder.
2001-05-23  Chris Toshok  <toshok@ximian.com>

	* evolution-shell-component.h
	(EVOLUTION_SHELL_COMPONENT_POPUP_PLACEHOLDER): track change to the
	path to the ComponentPlaceholder.

svn path=/trunk/; revision=9942
2001-05-23 09:33:44 +00:00
8e747d7dc6 Add a button and an icon to toggle between online and offline
operation.

svn path=/trunk/; revision=9900
2001-05-20 17:01:30 +00:00
e9a5c3d19c Implemented the "Copy Folder" and "Move Folder" menu items. Untested.
svn path=/trunk/; revision=9899
2001-05-20 14:45:47 +00:00
f093b333fb Add a caption to the folder selection dialog widget, and get the
existing dialogs in the shell to use it.

svn path=/trunk/; revision=9894
2001-05-19 16:11:47 +00:00
3e519c4e14 Renamed the "NewWindow" verb into "OpenFolderInNewWindow". Got the
`File -> Folder -> Open in New Window' menu item to work.

svn path=/trunk/; revision=9893
2001-05-19 15:29:19 +00:00
bb6a06a3cb Create new files for the folder commands, and move the "Create new
folder" implementation into them.

svn path=/trunk/; revision=9889
2001-05-19 12:40:00 +00:00
ff02cf593c Change the code to pop-up the folder context menu to use the stuff
already defined in the UI xml file for the shell views.

svn path=/trunk/; revision=9867
2001-05-17 13:43:54 +00:00
ad6072f81f Make the "Submit Bug Report" menu item fire up a browser with
http://bugzilla.ximian.com in it, rather than Bug Buddy (which will
not work with our bug tracker, as the latter doesn't have an email
interface yet).

svn path=/trunk/; revision=9836
2001-05-16 03:05:51 +00:00
5cb76ec7ba Add an "Evolution FAQ" entry to the Help menu, and update the existing
entries for the guide's chapters to match the new paths.

svn path=/trunk/; revision=9835
2001-05-16 02:54:06 +00:00
da08b32050 Update the file name in the top comment.
svn path=/trunk/; revision=9833
2001-05-16 02:13:48 +00:00
e30ad1b088 Some demeeksifying indentation changes.
svn path=/trunk/; revision=9832
2001-05-16 02:12:49 +00:00
02ff1e11ae set the subfolder's parent to NULL so the subfolder list doesn't change
2001-05-14  jacob berkman  <jacob@ximian.com>

	* e-folder-tree.c (remove_folder): set the subfolder's parent to
	NULL so the subfolder list doesn't change whilst we are using it
	(folder_remove_subfolder): this function didn't used to work at
	all

svn path=/trunk/; revision=9795
2001-05-14 18:58:39 +00:00
3e6eb6c202 implement the CORBA side of dragging.
2001-05-12  Chris Toshok  <toshok@ximian.com>

	* e-storage-set-view.c (tree_drag_data_received): implement the
	CORBA side of dragging.
	(convert_gdk_drag_action_set_to_corba): rename
	convert_gdk_drag_action_to_corba to this.
	(convert_corba_drag_action_set_to_gdk): rename
	convert_corba_drag_action_to_gdk to this.
	(convert_gdk_drag_action_to_corba): new function that doesn't
	build a bitmask, useful for the Action types, instead of
	ActionSet.
	(convert_corba_drag_action_to_gdk): same.

svn path=/trunk/; revision=9780
2001-05-12 08:26:35 +00:00
d35a3f652b add RemoveFolder menu item and verb. (folder_context_menu_remove_cb): new
2001-05-11  Chris Toshok  <toshok@ximian.com>

	* e-storage-set-view.c
	(populate_folder_context_menu_with_common_items): add RemoveFolder
	menu item and verb.
	(folder_context_menu_remove_cb): new function, call
	e_storage_set_async_remove_folder.
	(remove_cb): callack for e_storage_set_async_remove_folder.

	* evolution-shell-component-client.c
	(evolution_shell_component_client_populate_folder_context_menu):
	fix prototype to reflect Component -> Container.

	* evolution-shell-component-client.h: same.

svn path=/trunk/; revision=9778
2001-05-11 23:59:32 +00:00
12de520a89 add this define for the xml path to use when adding menu items to the
2001-05-11  Chris Toshok  <toshok@ximian.com>

	* evolution-shell-component.h
	(EVOLUTION_SHELL_COMPONENT_POPUP_PLACEHOLDER): add this define for
	the xml path to use when adding menu items to the folder popup.

	* e-storage-set-view.c
	(populate_folder_context_menu_with_common_items): add (#ifdef
	DEBUG_XML) a menu item to dump the bonobo xml.
	(popup_folder_menu): pass the BonoboUIContainer to the
	populate_folder_context_menu CORBA call, instead of the component.
	Also, reorder things a bit so the component doesn't get an error
	when setting xml the first time.

svn path=/trunk/; revision=9777
2001-05-11 23:13:28 +00:00
dd032fc24d Ask for a folder to import into.
svn path=/trunk/; revision=9775
2001-05-11 21:19:33 +00:00
b4796b6376 component_new refs the object itself, so unref ours when we finish with it
2001-05-11  JP Rosevear  <jpr@ximian.com>

	* e-component-registry.c (register_component): component_new refs
	the object itself, so unref ours when we finish with it

	* e-shell.c (e_shell_construct): There is no need to explicitly
	ref the folder type registry, storage set and shortcuts because we
	are the creator and hold the initial ref count of 1.

svn path=/trunk/; revision=9766
2001-05-11 19:41:27 +00:00
dadbbd6f8f Lots of people seem to have "broken" local storage hierarchies. So ignore
* e-local-storage.c (load_folder): Lots of people seem to have
	"broken" local storage hierarchies. So ignore errors (like the old
	code did) and just print a warning.

svn path=/trunk/; revision=9758
2001-05-11 16:41:31 +00:00
7da5a58462 the only problematic area - pass NULL for now in as the BonoboUIContainer.
2001-05-11  Chris Toshok  <toshok@ximian.com>

	* evolution-storage-set-view-factory.c
	(evolution_storage_set_view_factory_new_view): the only
	problematic area - pass NULL for now in as the BonoboUIContainer.
	how do we pass this container to the control?

	* e-storage-set-view.c (folder_context_menu_activate): un-#if 0
	this function.
	(populate_folder_context_menu_with_common_items): build our popup
	using the new xml bonobo stuffs.
	(popup_folder_menu): convert to using the new xml bonobo stuffs.
	(right_click): only do the popup menu if we have a
	BonoboUIContainer.
	(e_storage_set_view_new): add BonoboUIContainer* arg.
	(e_storage_set_view_construct): same.

	* e-storage-set-view.h: add BonoboUIContainer* args to
	e_storage_set_view_new and e_storage_set_view_construct.

	* e-shell-folder-creation-dialog.c (add_storage_set_view): pass
	NULL for the BonoboUIContainer, since we shouldn't (?) have a
	popup in this dialog.

	* e-shell-folder-selection-dialog.c
	(e_shell_folder_selection_dialog_construct): pass NULL for the
	BonoboUIContainer, since we shouldn't (?) have a popup in this
	dialog.

	* e-storage-set.h: add BonoboUIContainer* arg to
	e_storage_set_new_view.

	* e-storage-set.c (e_storage_set_new_view): add arg, and track
	change to e_storage_set_view_new.

	* e-shell-view.h: add prototype for
	e_shell_view_get_bonobo_ui_container.

	* e-shell-view.c (setup_storage_set_subwindow): track change to
	e_storage_set_view_new.
	(e_shell_view_construct): the BonoboUIContainer is now part of our
	private structure.
	(e_shell_view_get_bonobo_ui_container): new function.

svn path=/trunk/; revision=9756
2001-05-11 11:14:45 +00:00
33b9baa063 Made this function static. Removed the unused variable placeholder.
2001-05-09  Christopher James Lahey  <clahey@ximian.com>

	* importer/intelligent.c (create_gui): Made this function static.
	Removed the unused variable placeholder.
	(intelligent_importer_init): Cast from gpointer to int here
	properly using GPOINTER_TO_INT.

svn path=/trunk/; revision=9730
2001-05-09 19:55:04 +00:00
f344dd0ad3 Remove get_physical_path and load_folders, and replace the calls to them
* e-local-storage.c: Remove get_physical_path and load_folders,
	and replace the calls to them with calls to the e_path_* functions
	they inspired.

svn path=/trunk/; revision=9726
2001-05-09 17:20:08 +00:00
a9dabb8523 Rename "port" to "type" here too.
* glade/e-active-connection-dialog.glade: Rename "port" to "type"
	here too.

svn path=/trunk/; revision=9725
2001-05-09 16:52:31 +00:00
c64eccfe00 Importer changes
svn path=/trunk/; revision=9722
2001-05-08 22:53:41 +00:00
10a1eb46a9 Removed EVOLUTION_VERSION from the rest of makefiles. use VERSION instead. So
you must include <config.h>, heh.

and a stil-not-working "fix" for galview menus.

svn path=/trunk/; revision=9707
2001-05-08 00:28:34 +00:00
fe1de979a2 Fix a free of non-malloc'ed memory introduced by my last change.
* e-shell-offline-handler.c (update_dialog_clist_hash_foreach):
	Fix a free of non-malloc'ed memory introduced by my last change.

svn path=/trunk/; revision=9702
2001-05-07 21:47:20 +00:00
46e839289d Added command entry for 'ToggleOffline'.
2001-05-07  Jon Trowbridge  <trow@ximian.com>

	* evolution.xml: Added	command entry for 'ToggleOffline'.

2001-05-07  Jon Trowbridge  <trow@ximian.com>

	* e-shell-view-menu.c (update_offline_menu_item): Changed some
	references to /commands/WorkOffline to /commands/ToggleOffline.

svn path=/trunk/; revision=9699
2001-05-07 20:51:50 +00:00
d56b9ce7fb take a physical_uri and pass it to the callback.
2001-05-04  Chris Toshok  <toshok@ximian.com>

	* evolution-shell-component-dnd.c
	(impl_GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleMotion):
	take a physical_uri and pass it to the callback.
	(impl_GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleDrop):
	same.

	* evolution-shell-component-dnd.h: add physical_uri args to the
	destination folder HandleMotion and HandleDrop types.

	* Evolution-ShellComponentDnd.idl: add "in string physical_uri" to
	DestinationFolder::handleMotion and DestinationFolder::handleDrop.

	* e-storage-set-view.c (tree_drag_motion): pass the physical uri
	of the folder to handleMotion.

svn path=/trunk/; revision=9678
2001-05-04 22:25:21 +00:00
5eb2d61037 Use type instead of portNumber.
* e-shell-offline-handler.c (update_dialog_clist_hash_foreach,
	(duplicate_connection_list): Use type instead of portNumber.
	(e_shell_offline_handler_put_components_offline): Fix the logic of
	when to show the connection dialog here. (Show it when there *are*
	connections, not when there aren't.)

	* Evolution-Offline.idl: Have a "string type" instead of "short
	portNumber" in Connection.

svn path=/trunk/; revision=9676
2001-05-04 17:59:35 +00:00
7e617f37b8 Remove a line of code that caused the offline confirmation dialog to
be popped up even if no connections were active (it was there for
testing purposes only).

svn path=/trunk/; revision=9675
2001-05-04 17:11:44 +00:00
79dd5a50b2 Undo a broken leak fix.
svn path=/trunk/; revision=9674
2001-05-04 16:09:54 +00:00
b8fea86c9d Plug more leaks.
svn path=/trunk/; revision=9671
2001-05-04 15:56:34 +00:00
ce2456dde6 Plug a leak in the folder creation dialog (a string was being
unnecessarily duplicated twice).

svn path=/trunk/; revision=9669
2001-05-04 15:41:13 +00:00
134cba36bc Plug a leak (the return value from `oaf_query()' must be freed!).
svn path=/trunk/; revision=9668
2001-05-04 15:35:27 +00:00
76c3e060b7 Change `e_shell_get_icon_path()' to only look up the Evolution image
directory instead of using `gnome_pixmap_file()' which is broken and
looks in the current working directory first.  (Why?!)

svn path=/trunk/; revision=9666
2001-05-04 14:23:42 +00:00
771096d3e7 Change the mode for the GtkCList in the active connection dialog to be
`GTK_BROWSE_SINGLE' to at least avoid some GtkCList ugliness.

svn path=/trunk/; revision=9663
2001-05-04 02:52:47 +00:00
be2f9a67f6 Complete the shell side for supporting off-line operations, getting
the dialog to fully work and the menu item to change its label
according to the current status of the line.

svn path=/trunk/; revision=9662
2001-05-04 02:47:33 +00:00