2001-08-15 Jason Leach <jleach@ximian.com>
* e-shell-view-menu.c (command_help): Don't hardcode/build a help
URI here, use gnome_help_display() instead, which will figure out
what language the user needs, etc.
(help_verbs): Adapt these menu items to above changes, they don't
need to pass "evolution/foo.html" to command_help, just
"foo.html".
svn path=/trunk/; revision=12072
2001-08-15 Jason Leach <jleach@ximian.com>
* e-folder.c (e_folder_set_child_highlight): Emit a "changed"
signal at the end of this function. Bug #7232.
svn path=/trunk/; revision=12063
2001-08-15 Aaron Weber <aaron@ximian.com>
* e-shell-view-menu.c (command_about_box): Changed help menus to
point to evolution/ and not evolution-guide/.
svn path=/trunk/; revision=12062
2001-08-15 Jason Leach <jleach@ximian.com>
* Evolution-Shell.idl: Add a new IDL function,
Evolution::Shell::setLineStatus (in boolean). Bug #3030.
* e-shell.c (impl_Shell_setLineStatus): Implementation of the
above.
* evolution-shell-client.c
(evolution_shell_client_set_line_status): A wrapper function for
the above, this is what a component can call to set the shell
on/offline.
svn path=/trunk/; revision=12057
* evolution-storage.c (evolution_storage_new_folder): Use the
passed-in unread_count.
* e-corba-storage.c (impl_StorageListener_notifyFolderCreated):
Pass the passed-in unread_count to e_storage_new_folder.
svn path=/trunk/; revision=12018
2001-08-13 Anna Marie Dirks <anna@ximian.com>
* importer/intelligent.c : Changed the "Evolution has found the
following data sources" text in the import dialog to "Evolution
can import data from the following files" in an attempt to
increase user-friendliness.
svn path=/trunk/; revision=11976
2001-08-13 Anna Marie Dirks <anna@ximian.com>
* importer/import.glade : Changed all instances of "druid"
and "wizard" to "assistant".
svn path=/trunk/; revision=11958
* main.c (idle_cb): Replaced the chained `if' statements with a
`switch' statement for clarity. Also, don't ref the created
shell, and release the object reference properly.
svn path=/trunk/; revision=11956
2001-08-13 Peter Williams <peterw@ximian.com>
* e-corba-shortcuts.c (shortcut_list_to_corba): Don't cause an abort
if the shortcut group is empty.
svn path=/trunk/; revision=11952
2001-08-13 Jason Leach <jleach@ximian.com>
* e-local-storage.c (remove_folder_directory): Remove unused
variable @folder.
* e-shell-folder-commands.c (e_shell_command_add_to_shortcut_bar):
Give icons to shortcuts added via Right-click->Add to Shortcut
Bar.
svn path=/trunk/; revision=11944
* e-shell-view.c (setup_widgets): Put the folder title bar into an
EGrayBar.
* e-gray-bar.c: New.
* e-gray-bar.h: New.
svn path=/trunk/; revision=11932
default folder names are not translated".]
* e-local-storage.c (setup_folder_as_stock): New helper function.
(setup_stock_folders): Use it to set the default folders as
"stock" folders. This will give them a translated name and also
make them unmodifiable.
(load_all_folders): Call `setup_stock_folders()' here.
* e-shell-folder-commands.c (delete_cb): Display an error dialog
if the deletion fails.
(e_shell_command_delete_folder): Pass the shell view to the delete
callback.
* e-storage.c (e_storage_result_to_string): Add a string for
`E_STORAGE_CANTCHANGESTOCKFOLDER' as well.
* e-local-storage.c (remove_folder): Don't allow a stock folder to
be removed.
(impl_async_xfer_folder): Don't allow a stock folder to be moved.
* e-corba-storage.c (async_remove_folder): Don't allow a stock
folder to be removed.
* e-storage.h: New enum value `E_STORAGE_CANTCHANGESTOCKFOLDER' in
`EStorageResult'.
* e-folder.c: Make member `self_highlight' a :1 int. New :1 int
member `is_stock'.
(init): Init `is_stock' to %FALSE.
(e_folder_set_is_stock): New.
(e_folder_get_is_stock): New.
* e-local-storage.c (bonobo_interface_update_folder_cb): For now,
don't set the display name.
svn path=/trunk/; revision=11931
* e-shell-user-creatable-items-handler.c (component_free): Only
free the `type_list' if not NULL.
(setup_menu_xml): Deal with the case of `type_list' being NULL
gracefully.
(verb_fn): Same here.
(add_verbs_to_ui_component): Likewise.
svn path=/trunk/; revision=11873
causes a crash.]
* e-storage-set-view.c (convert_corba_drag_action_set_to_gdk):
Removed `#if 0'ed function.
(etree_node_destroy_func): New destroy function.
(e_storage_set_view_construct): Set this as the new destroy
function on the ETreeMemory.
svn path=/trunk/; revision=11869
* evolution-test-component.c (user_create_new_item_callback):
Updated to display the parent folder's URI and its type as well.
* evolution-shell-component.c (impl_userCreateNewItem): Updated to
get the @parent_folder_physical_uri and the @parent_folder_type.
(class_init): Update the "user_create_new_item" signal to have
@parent_folder_physical_uri and @parent_folder_type args.
* e-shell-view.c (get_type_for_folder): Don't bork on a NULL
@physical_uri_return.
(e_shell_view_get_current_physical_uri): New.
(e_shell_view_get_current_folder_type): New.
* e-shell-user-creatable-items-handler.c
(e_shell_user_creatable_items_handler_setup_menus): Replace
@ui_component arg with a @shell_view arg. Set it on the
UIComponent using gtk_object_set_data().
(verb_fn): Pass the type and physical URI of the current folder;
retrieve that from the shell_view got with gtk_object_get_data().
* Evolution-ShellComponent.idl
(userCreateNewItem): New args @parent_folder_uri,
@parent_folder_type.
svn path=/trunk/; revision=11863
* e-shortcuts-view.c (show_new_group_dialog): Cast the toplevel to
be passed to `e_request_string()' to GtkWindow, not GtkWidget.
Also, remove unused variables.
(get_efolder_from_shortcut): Constify @item_url.
(get_storage_set_path_from_uri): Removed.
* evolution-shell-component.c (destroy): `p' shall be a GList, not
a GSList.
svn path=/trunk/; revision=11857
* e-shell-view.c (e_shell_view_construct): Add the menu items
using the EShellUserCreatableItemsHandler.
* e-shell-user-creatable-items-handler.c: New.
* e-shell-user-creatable-items-handler.h: New.
* e-shell.c: New member `user_creatable_items_handler' in
`EShellPrivate'.
(init): Initialize to NULL.
(destroy): Unref.
(e_shell_construct): Create here.
(e_shell_get_user_creatable_items_handler): New accessor.
(setup_components): Add the registered components to the
user_creatable_items_handler.
* evolution-test-component.c (factory_fn): Add a couple sample
user-creatable items.
(user_create_new_item_callback): New callback for the
"user_create_new_item" signal on the EvolutionShellComponent.
(factory_fn): Connect.
* e-shell.c (e_shell_get_component_registry): New.
* evolution-shell-component.c: New enum value
`USER_CREATE_NEW_ITEM'. New member `user_create_item_types' in
`_EvolutionShellComponentPrivate'.
(init): Init to NULL.
(impl_destroy): Free it.
(user_creatable_item_type_free): New helper function.
(user_creatable_item_type_new): New helper function.
(impl_userCreateNewItem): New, implementation for
::userCreateNewItem.
(class_init): Install the "user_create_new_item" signal and the
userCreateNewItem impl.
(impl__get_external_uri_schemas): Renamed from
`impl_ShellComponent__get_external_uri_schemas'.
(impl___get_supported_types): Renamed from
`impl_ShellComponent__get_supported_types'.
(impl__get_user_creatable_item_types): New, implementation for the
`user_creatable_item_types' attribute.
(class_init): Install it.
(evolution_shell_component_add_user_creatable_item): New.
* evolution-shell-component.h: Added signal
`user_create_new_item'.
* Evolution-ShellComponent.idl: Added typedefs
`UserCreatableItemType', `UserCreatableItemTypeList'. New
attribute `user_creatable_item_types'.
(userCreateNewItem): New.
svn path=/trunk/; revision=11849
2001-08-09 Federico Mena Quintero <federico@ximian.com>
* e-component-registry.c (destroy): Chain to the destroy handler
in the parent class!
* e-shortcuts-view-model.c (impl_destroy): Likewise. Sigh.
svn path=/trunk/; revision=11818
correctly in drag + drop". Thanks to Nat for actually discovering
the problem.]
* e-shortcuts.c (save_shortcuts): Use `xmlNewTextChild()' instead
of `xmlNewChild()'.
* e-local-folder.c (save_metadata): Use `xmlNewTextChild' instead
of `xmlNewChild()'.
svn path=/trunk/; revision=11783
* evolution-shell-component.c
(fill_corba_sequence_from_null_terminated_string_array): Set the
release flag on the sequence, and CORBA_string_dup() the strings
anyway.
svn path=/trunk/; revision=11781
* evolution-shell-component.c
(impl_ShellComponent__get_supported_types): Set the release flag
on the returned folder type list too.
* evolution-activity-client.c (create_icon_from_pixbuf): Set the
release flag on the sequence, not the struct that contains it.
svn path=/trunk/; revision=11779
* e-corba-shortcuts.c (shortcut_list_to_corba): Set the release
flag for the newly allocated sequence.
* e-activity-handler.c (impl_operationStarted): Unref the
icon_pixbuf.
* e-task-widget.c (impl_destroy): g_free the private struct.
svn path=/trunk/; revision=11778
2001-08-08 Jason Leach <jleach@ximian.com>
* e-storage-set-view.c (etree_icon_at): Set the icon for the
folder tree correctly.
svn path=/trunk/; revision=11775
* e-task-bar.c (e_task_bar_prepend_task): Sigh. If the function
says "prepend", of course the function to call is
`g_list_prepend()', not `g_list_append()'. You dumbass.
svn path=/trunk/; revision=11771
2001-08-08 Jason Leach <jleach@ximian.com>
* e-shell-folder-creation-dialog.c
(storage_set_view_storage_selected_cb): Set the sensitivity for
the OK button when a storage is selected too. Bug #6473.
svn path=/trunk/; revision=11765
* e-shortcuts.c (load_shortcuts): If the shortcut points to some
folder in the storage set, get the type from it.
* e-storage-set.c (signal_new_folder_for_all_folders_under_paths):
New helper function.
(signal_new_folder_for_all_folders_in_storage): New helper
function.
(e_storage_set_add_storage): Call the latter to emit a
"new_folder" signal for all the folders contained in the newly
added storage.
svn path=/trunk/; revision=11750
* e-shell.c (e_shell_construct): Call
`gtk_widget_hide_on_delete()' on the splash.
* e-splash.c (e_splash_add_icon): Don't check for destruction
here.
(e_splash_set_icon_highlight): Not even here.
(button_press_event): Use a GTK+ cast.
svn path=/trunk/; revision=11743
per-shortcut basis (instead of a per-URL basis) according to the
changes in the EShortcutBar API.]
* e-shortcuts-view-model.c (load_group_into_model): Get the icon
from the folder type registry.
(shortcuts_new_shortcut_cb): Likewise.
(shortcuts_update_shortcut_cb): Likewise.
* e-shortcuts-view.c (icon_callback): Removed.
(e_shortcuts_view_construct): Don't set the icon callback anymore.
svn path=/trunk/; revision=11741
2001-08-07 Jason Leach <jleach@ximian.com>
* e-storage-set-view.c (etree_value_at): Don't use a leaky hash to
get folder names with unread count, use gtk_object_set_data_full
and gtk_object_get_data on the EFolder.
(etree_icon_at): Give the "My Evolution" storage an icon through a
non-generic way. Will be replaced by a generic method when other
storages get icons too.
svn path=/trunk/; revision=11735