background tasks. The Activity interface is added to the shell, and
the status of the various tasks is now displayed in a task bar widget
at the bottom of the EShellView.
I also implemented a simple test component to test all this stuff.
svn path=/trunk/; revision=10434
2001-06-13 Not Zed <NotZed@Ximian.com>
* e-shell-view.c (switch_on_folder_tree_click): Check priv->uri
isn't null before strcmp'ing it here too.
svn path=/trunk/; revision=10206
* e-shell-view.c (destroy): Don't destroy the
offline_toggle_pixmap: the offline_toggle 0wnz it.
(update_for_current_uri): Check priv->uri isn't NULL before
strcmp()ing it.
svn path=/trunk/; revision=10187
2001-06-08 Jason Leach <jleach@ximian.com>
* e-shell.c (e_shell_construct): Fix splash setup to keep it from
giving two Gtk-CRITICAL assertions when you do --no-splash.
svn path=/trunk/; revision=10158
2001-06-06 Jon Trowbridge <trow@gnu.org>
* evolution-storage.c (impl_Storage_async_create_folder): Changed
purely informational debug spew from a g_warning to a g_message.
* e-shell-importer.c (show_import_wizard): The import wizard
defined in import.glade only has three pages... yet we were trying
to manipulate "page4" as the finish page, with the expected bad
results. My guess is that the .glade file got changed, but the
code didn't get updated.
(start_import): We were trying to bonobo_object_unref
(BONOBO_OBJECT (icd->client)), which is fine except for the
fact that icd->client is just a GtkObject, not a BonoboObject.
Changed to a gtk_object_unref.
(start_import): Changed a purely informational bit of debug
spew from a g_warning to a g_message.
svn path=/trunk/; revision=10139
2001-06-06 Jason Leach <jleach@ximian.com>
(Fix bug #3205: Component crash causes folder switch even when not
needed)
* e-shell-view.c (socket_destroy_cb): Only flip around the
ShellView to different folders when we're currently viewing the
URI that's being closed/crashed.
svn path=/trunk/; revision=10137
2001-06-06 Jason Leach <jleach@ximian.com>
(Fix bug #418: Save state of folder tree view)
* e-shell-view.c (e_shell_view_save_settings): Changed the char *
@prefix argument to an int @view_num.
(e_shell_view_load_settings): Ditto.
(get_local_prefix_for_view): New function that gets us a prefix
from a view_num.
* e-shell-view.c (e_shell_view_save_settings): Save the
expanded/collapsed information for each storage-set-view here.
(e_shell_view_load_settings): Load it here.
* e-storage-set-view.c (e_storage_set_view_construct): Make it so
new storage set views have their storages expanded by default, but
will respsect the expanded state information that we load into it.
(insert_storages): Minor change here too.
(new_folder_cb): Ditto.
svn path=/trunk/; revision=10135
2001-06-05 Jason Leach <jleach@ximian.com>
* e-shell-view-menu.c: Plug in all the folder tree right click
menu verbs so bonobo-warnings aren't emitted (even though the
respective implementation functions are currently unimplemented).
(command_delete_folder): New function, see above.
(command_rename_folder): Ditto.
(command_folder_properties): Ditto.
* e-shell-folder-commands.c (e_shell_command_delete_folder): New
function, currently unimplemented.
svn path=/trunk/; revision=10128
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-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-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-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
* 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
* 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
* 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-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-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-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
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-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-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-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 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
* 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 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