aboutsummaryrefslogtreecommitdiffstats
path: root/shell
Commit message (Collapse)AuthorAgeFilesLines
* If we're not at the end of the druid list, tell the druid we're going to02001-10-302-2/+20
| | | | | | | | | | | | 2001-10-30 <NotZed@Ximian.com> * e-shell-startup-wizard.c (next_func): If we're not at the end of the druid list, tell the druid we're going to change the page. (back_func): Same for going back a page. This way we can properly synchronise with the druid object and not race with the wizard object to set the right page. Part of fix for #12127. svn path=/trunk/; revision=14450
* Require gal 0.15.99.8Joe Shaw2001-10-302-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-29 Joe Shaw <joe@ximian.com> * configure.in: Require gal 0.15.99.8 * addressbook/backend/ebook/e-card-simple.c, addressbook/gui/component/addressbook-storage.c, addressbook/gui/widgets/e-addressbook-view.c, calendar/gui/e-calendar-table.c, calendar/gui/e-itip-control.c, calendar/gui/e-meeting-model.c, calendar/gui/itip-utils.c, calendar/gui/print.c, calendar/gui/alarm-notify/alarm-notify-dialog.c, filter/rule-editor.c, mail/mail-config.c, mail/mail-folder-cache.c, mail/mail-format.c, mail/mail-local.c, mail/mail-ops.c, mail/mail-vfolder.c, shell/e-local-storage.c, shell/e-summary-storage.c: Change includes of e-util/e-unicode-i18n.h to gal/util/e-unicode-i18n.h svn path=/trunk/; revision=14427
* Slightly change the debugigng message for when the shell has disappeared.Ettore Perazzoli2001-10-302-1/+6
| | | | | | | * evolution-shell-component.c (owner_ping_callback): Slightly change the debugigng message for when the shell has disappeared. svn path=/trunk/; revision=14413
* Remove ping debugging messages.Ettore Perazzoli2001-10-302-5/+6
| | | | | | | * evolution-shell-component.c (owner_ping_callback): Remove ping debugging messages. svn path=/trunk/; revision=14408
* Remove debugging message.Ettore Perazzoli2001-10-302-2/+4
| | | | | | * e-shell.c (set_interactive): Remove debugging message. svn path=/trunk/; revision=14403
* use libical-evolution.laDamon Chaplin2001-10-302-1/+5
| | | | | | | | 2001-10-29 Damon Chaplin <damon@ximian.com> * Makefile.am (evolution_LDADD): use libical-evolution.la svn path=/trunk/; revision=14399
* Ref the shell. (destroy): Unref the shell. (destroy): Free theEttore Perazzoli2001-10-293-7/+23
| | | | | | | | | | | * e-shell-view.c (e_shell_view_construct): Ref the shell. (destroy): Unref the shell. (destroy): Free the delayed_selection. No need to call `cleanup_delayed_selection()' as the signal handler will have already be disconnected at this point [as we are using connect_while_alive()']. svn path=/trunk/; revision=14325
* Call `cleanup_delayed_selection()' as there is a slight chance that theEttore Perazzoli2001-10-292-4/+17
| | | | | | | | | | | | * e-shell-view.c (destroy): Call `cleanup_delayed_selection()' as there is a slight chance that the callback gets invoked during the cleanup phase. (e_shell_view_display_uri): For extra safety, make sure we don't get invoked on a dead object by connecting the "new_folder" signal with `e_gtk_signal_connect_full_while_alive()' instead of using plain `gtk_signal_connect_after()'. svn path=/trunk/; revision=14320
* Don't do the `gtk_signal_disconnect_by_func()' as it's already done inEttore Perazzoli2001-10-292-8/+22
| | | | | | | | | | | | | | | | * e-shell-view.c (new_folder_cb): Don't do the `gtk_signal_disconnect_by_func()' as it's already done in `cleanup_delayed_selection()'. (e_shell_view_construct): Set the ->shell member as the first thing. (set_current_notebook_page): Add a cast to make the compiler happy. (new_folder_cb): Don't set priv->uri before calling `e_shell_view_display_uri()', because the latter does it anyways, and also if you set it before calling it, the selection in the folder tree doesn't get updated properly. svn path=/trunk/; revision=14319
* Set the return type of the signal handlers to GTK_TYPE_NONE.92001-10-292-3/+8
| | | | | | | | | 2001-10-29 <NotZed@Ximian.com> * evolution-storage.c (class_init): Set the return type of the signal handlers to GTK_TYPE_NONE. svn path=/trunk/; revision=14314
* [The following should fix #13802, crash on exit.]Ettore Perazzoli2001-10-292-4/+18
| | | | | | | | | | * evolution-shell-component.c (impl_unsetOwner): Set the ping timeout ID to -1 when removing the source. (impl_destroy): Likewise. (impl_unsetOwner): Remove the timeout before unreffing, not after unreffing. svn path=/trunk/; revision=14304
* Distribute credit equally.Jon Trowbridge2001-10-282-3/+40
| | | | | | | | 2001-10-28 Jon Trowbridge <trow@ximian.com> * e-shell-about-box.c: Distribute credit equally. svn path=/trunk/; revision=14280
* Fixing the license text.Ettore Perazzoli2001-10-2810-10/+0
| | | | svn path=/trunk/; revision=14212
* We want XFER_FOLDER not REMOVE_FOLDER!72001-10-272-1/+6
| | | | | | | | | 2001-10-27 <NotZed@Ximian.com> * evolution-storage.c (impl_Storage_async_xfer_folder): We want XFER_FOLDER not REMOVE_FOLDER! svn path=/trunk/; revision=14193
* Fix the license text to make sense.Ettore Perazzoli2001-10-27101-101/+0
| | | | svn path=/trunk/; revision=14192
* Update the licensing information to require version 2 of the GPLEttore Perazzoli2001-10-2710-20/+20
| | | | | | (instead of version 2 or any later version). svn path=/trunk/; revision=14190
* Update the licensing information to require version 2 of the GPLEttore Perazzoli2001-10-27101-202/+202
| | | | | | explicitly. svn path=/trunk/; revision=14186
* Remove debugging messages. (finalize_offline_hash_foreach): Likewise.Ettore Perazzoli2001-10-272-4/+6
| | | | | | | | * e-shell-offline-handler.c (prepare_for_offline): Remove debugging messages. (finalize_offline_hash_foreach): Likewise. svn path=/trunk/; revision=14184
* New member `finished' in `EShellOfflineHandlerPrivate'.Ettore Perazzoli2001-10-272-4/+38
| | | | | | | | | | | | | | | * e-shell-offline-handler.c: New member `finished' in `EShellOfflineHandlerPrivate'. (finalize_offline): Ref the handler as we might get destroyed while putting every component offline. (impl_OfflineProgressListener_updateProgress): Don't emit ::offline_procedure_finished if ->finished is %TRUE. Also, set it to %TRUE after emitting the signal. (cancel_offline): Likewise. (finalize_offline): Likewise. (update_dialog_clist): Guard against NULL ->dialog_gui. svn path=/trunk/; revision=14182
* Implement. (class_init): Add the signal "xfer_folder" signal.Ettore Perazzoli2001-10-273-4/+40
| | | | | | | | | * evolution-storage.c (impl_Storage_async_xfer_folder): Implement. (class_init): Add the signal "xfer_folder" signal. * evolution-storage.h: New signal "xfer_folder". svn path=/trunk/; revision=14177
* New, implementation for the ::async_xfer_folder method. (class_init):Ettore Perazzoli2001-10-272-3/+53
| | | | | | | | | * e-corba-storage.c (async_xfer_folder): New, implementation for the ::async_xfer_folder method. (class_init): Install it. svn path=/trunk/; revision=14173
* Set ->is_initialized to %FALSE. (e_shell_unregister_all): Same here.Ettore Perazzoli2001-10-272-0/+9
| | | | | | | * e-shell.c (destroy): Set ->is_initialized to %FALSE. (e_shell_unregister_all): Same here. svn path=/trunk/; revision=14170
* gtk_widget_show_now() the dialog. Likewise.Ettore Perazzoli2001-10-273-0/+9
| | | | | | | | * e-shell-importer.c (prepare_intelligent_page): gtk_widget_show_now() the dialog. * e-shell-startup-wizard.c (prepare_importer_page): Likewise. svn path=/trunk/; revision=14167
* Use gtk_widget_show_now() so the stupid dialog hopefully displays all theEttore Perazzoli2001-10-272-3/+8
| | | | | | | * main.c (quit_box_new): Use gtk_widget_show_now() so the stupid dialog hopefully displays all the time. svn path=/trunk/; revision=14166
* Clear the folder bar label to be empty. [#12553]Ettore Perazzoli2001-10-272-0/+6
| | | | | | | * e-shell-view.c (set_current_notebook_page): Clear the folder bar label to be empty. [#12553] svn path=/trunk/; revision=14163
* Draw one more line.Ettore Perazzoli2001-10-272-1/+5
| | | | | | * e-shell-about-box.c (timeout_callback): Draw one more line. svn path=/trunk/; revision=14161
* Set the GtkWindow policy so that @allow_shrink, @allow_grow andEttore Perazzoli2001-10-272-0/+7
| | | | | | | | * e-shell-view-menu.c (command_about_box): Set the GtkWindow policy so that @allow_shrink, @allow_grow and @auto_shrink are all %FALSE. svn path=/trunk/; revision=14160
* Don't allow invalid folder names. [#12027]Ettore Perazzoli2001-10-276-46/+81
| | | | | | | | | | | | | | | | | * e-shell-folder-commands.c (e_shell_command_rename_folder): Don't allow invalid folder names. [#12027] * e-shell-folder-creation-dialog.c (entry_name_is_valid): Removed. (dialog_clicked_cb): Use `e_shell_folder_name_is_valid()' instead. * e-shell-utils.c (e_shell_folder_name_is_valid): New. Sorry I18N people, it breaks the string freeze slighty. * e-component-registry.c (component_free): Add a cast. (e_component_registry_restart_component): Argh, use the corba_objref properly in calling `wait_for_corba_object_to_die()'. svn path=/trunk/; revision=14152
* Add accelerators for "Work Offline" and "Work Online".Ettore Perazzoli2001-10-262-2/+7
| | | | | | | * e-shell-view-menu.c (update_offline_menu_item): Add accelerators for "Work Offline" and "Work Online". svn path=/trunk/; revision=14119
* Don't allow translators to translate "Ximian Evolution".Ettore Perazzoli2001-10-262-2/+7
| | | | | | | * e-shell-view.c (update_for_current_uri): Don't allow translators to translate "Ximian Evolution". svn path=/trunk/; revision=14116
* New helper function. (e_component_registry_restart_component): Use it.Ettore Perazzoli2001-10-262-15/+37
| | | | | | | | | * e-component-registry.c (wait_for_corba_object_to_die): New helper function. (e_component_registry_restart_component): Use it. (component_free): Call it to wait for the unowned object to die. svn path=/trunk/; revision=14110
* Handle failure from XGetClassHint properly. Also, free res_name andEttore Perazzoli2001-10-262-4/+12
| | | | | | | | * e-shell.c (impl_Shell_selectUserFolder): Handle failure from XGetClassHint properly. Also, free res_name and res_class in case of success. Fixes #13554. svn path=/trunk/; revision=14104
* Don't display an icon for storages that have subfolders.Ettore Perazzoli2001-10-262-0/+11
| | | | | | | * e-storage-set-view.c (etree_icon_at): Don't display an icon for storages that have subfolders. svn path=/trunk/; revision=14102
* #include "e-util/e-gtk-utils.h".Ettore Perazzoli2001-10-265-4/+20
| | | | | | | | | | | | | | | | | * e-shell-importer.c: #include "e-util/e-gtk-utils.h". * e-shell-folder-creation-dialog.c (e_shell_show_folder_creation_dialog): Constify a local variable to placate a warning. * e-activity-handler.c (task_widget_cancel_callback): #if 0'ed out. * evolution-shell-component-client.c (evolution_shell_component_client_new): Remove unused variable `ior'. svn path=/trunk/; revision=14100
* Set ->priv to NULL. (impl_operationStarted): Check for priv not beingEttore Perazzoli2001-10-262-4/+13
| | | | | | | | | | * e-activity-handler.c (impl_destroy): Set ->priv to NULL. (impl_operationStarted): Check for priv not being NULL. (impl_operationProgressing): Likewise. (impl_operationFinished): Likewise. (impl_requestDialog): Likewise. svn path=/trunk/; revision=14099
* Set the ->mailer to be CORBA_OBJECT_NIL in case of an exception, otherwiseEttore Perazzoli2001-10-262-0/+7
| | | | | | | | * e-shell-startup-wizard.c (make_mail_dialog_pages): Set the ->mailer to be CORBA_OBJECT_NIL in case of an exception, otherwise the caller will not realize about the problem. svn path=/trunk/; revision=14095
* Don't use __FUNCTION__. (evolution_wizard_set_show_finish): Likewise.Ettore Perazzoli2001-10-263-5/+16
| | | | | | | | | | | | | * evolution-wizard.c (evolution_wizard_set_buttons_sensitive): Don't use __FUNCTION__. (evolution_wizard_set_show_finish): Likewise. (evolution_wizard_set_page): Likewise. * e-shell-startup-wizard.c (make_mail_dialog_pages): Do not use __FUNCTION__ and __LINE__. This breaks the string freeze, but the old way made Evolution non-compilable with non-GNU compilers. svn path=/trunk/; revision=14094
* Add a few names to the box.Ettore Perazzoli2001-10-252-0/+8
| | | | | | * e-shell-about-box.c: Add a few names to the box. svn path=/trunk/; revision=14083
* g_return_if_fail if the display_name is NULL. "Fixes" 11182 although thereDan Winship2001-10-252-0/+8
| | | | | | | | | * evolution-storage.c (evolution_storage_new_folder): g_return_if_fail if the display_name is NULL. "Fixes" 11182 although there may be a few more cases lying around that pass NULLs in. svn path=/trunk/; revision=14078
* Set the WMClass of the quit dialog to be different from the default one inEttore Perazzoli2001-10-252-0/+9
| | | | | | | * main.c (quit_box_new): Set the WMClass of the quit dialog to be different from the default one in an attempt to fix #13441. svn path=/trunk/; revision=14076
* New. (async_xfer_folder_callback): Use it so we get the right errorEttore Perazzoli2001-10-252-7/+30
| | | | | | | | | | * e-local-storage.c (storage_result_from_component_result): New. (async_xfer_folder_callback): Use it so we get the right error message. (async_xfer_folder_complete): New arg @success. Don't remove the directory and the metadata if @success is %FALSE. svn path=/trunk/; revision=13991
* Get the path and the shell view instead. (rename_callback_data_free):Ettore Perazzoli2001-10-242-14/+25
| | | | | | | | | | * e-shell-folder-commands.c (rename_callback_data_new): Get the path and the shell view instead. (rename_callback_data_free): Updated accordingly. (rename_cb): Set the name on the folder based on the path, not the actual object [as the old object gets unreffed -- of course]. svn path=/trunk/; revision=13969
* New. (rename_callback_data_free): New. (rename_cb): Rename the folderEttore Perazzoli2001-10-242-7/+57
| | | | | | | | | * e-shell-folder-commands.c (rename_callback_data_new): New. (rename_callback_data_free): New. (rename_cb): Rename the folder here. (e_shell_command_rename_folder): Don't rename the EFolder here. svn path=/trunk/; revision=13967
* Handle the return codes properly, and invoke the result callback too.Ettore Perazzoli2001-10-242-0/+13
| | | | | | | * e-local-storage.c (async_xfer_folder_callback): Handle the return codes properly, and invoke the result callback too. svn path=/trunk/; revision=13965
* #if 0'ed for now, per #7427.Ettore Perazzoli2001-10-242-1/+9
| | | | | | | * e-activity-handler.c (show_cancellation_popup): #if 0'ed for now, per #7427. svn path=/trunk/; revision=13962
* Explicitly deactivate the control frame, and display the default URIEttore Perazzoli2001-10-243-2/+32
| | | | | | | | | | | | | | * e-shell-view.c (storage_set_removed_folder_callback): Explicitly deactivate the control frame, and display the default URI before destroying the dead one. * e-shell.c (e_shell_component_maybe_crashed): If the URI is of a folder that doesn't exist anymore, don't assume that the corresponding component has crashed. Also, try pinging the component first; if the component responds, don't pop up the dialog. svn path=/trunk/; revision=13960
* No need to gtk_widget_show() the view anymore.Ettore Perazzoli2001-10-235-36/+99
| | | | | | | | | | | | | | | | | | | | * e-shell-view-menu.c (command_open_folder_in_new_window): No need to gtk_widget_show() the view anymore. * e-shell-view.c (activate_shortcut_cb): No need to gtk_widget_show() the view anymore. * e-shell.c (impl_Shell_createNewView): Don't explicitly show the new view. (e_shell_create_view): gtk_widget_show() the new view and flush the GTK+ event loop before sending the ::interactive notification. (create_view): New helper function. (e_shell_create_view): Use it. (e_shell_create_view_from_settings): New. (e_shell_restore_from_settings): Use `e_shell_create_view_from_settings()'. svn path=/trunk/; revision=13918
* Remove the ping timeout.Ettore Perazzoli2001-10-232-0/+8
| | | | | | | * evolution-shell-component.c (impl_unsetOwner): Remove the ping timeout. svn path=/trunk/; revision=13908
* Don't die if the parent window has no WMHints.Ettore Perazzoli2001-10-232-3/+7
| | | | | | | * e-shell.c (impl_Shell_selectUserFolder): Don't die if the parent window has no WMHints. svn path=/trunk/; revision=13905
* If the view is dead, just return FALSE. Prevents crash #12483.Ettore Perazzoli2001-10-232-22/+7
| | | | | | | * e-shell-view.c (show_existing_view): If the view is dead, just return FALSE. Prevents crash #12483. svn path=/trunk/; revision=13903
* New member `is_interactive' in `EShellPrivate'. (init): Init to %FALSE.Ettore Perazzoli2001-10-235-7/+108
| | | | | | | | | | | | | | | | | | | | * e-shell.c: New member `is_interactive' in `EShellPrivate'. (init): Init to %FALSE. (set_interactive): New. (e_shell_create_view): Make interactive. (view_destroy_cb): If no views are left, make non-interactive. * evolution-shell-component.c (class_init): Set up the "interactive" signal. (impl_interactive): New implementation for the ::interactive method. (class_init): Install. * evolution-shell-component.h: New signal `interactive'. * Evolution-ShellComponent.idl: New method ::interactive. svn path=/trunk/; revision=13890
* Pass the @folder_type to ::handleDrop.Ettore Perazzoli2001-10-205-3/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-storage-set-view.c (tree_drag_data_received): Pass the @folder_type to ::handleDrop. * evolution-shell-component-dnd.c (impl_GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleMotion): New arg @folder_type. (impl_GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleDrop): Likewise. * evolution-shell-component-dnd.h: Add @folder_type to `DndDestinationFolderHandleDropFn' and `DndDestinationFolderHandleMotionFn'. * e-storage-set-view.c (tree_drag_motion): Pass the folder type to `::handleMotion'. * Evolution-ShellComponentDnd.idl: Pass @folder_type in ::handleDrop and ::handleMotion. * component-factory.c (destination_folder_handle_motion): Get @folder_type here too [to match the changes in the EvolutionShellComponentDnd interface]. Also, remove a debugging message. (destination_folder_handle_drop): Likewise. * gui/component/addressbook-component.c (destination_folder_handle_motion): Get @folder_type here too [to match the changes in the EvolutionShellComponentDnd interface]. Also, remove a debugging message. (destination_folder_handle_drop): Likewise. svn path=/trunk/; revision=13807
* Use EShellAboutBox. (zero_pointer): Removed.Ettore Perazzoli2001-10-205-64/+483
| | | | | | | | | | * e-shell-view-menu.c (command_about_box): Use EShellAboutBox. (zero_pointer): Removed. * e-shell-about-box.h: New. * e-shell-about-box.c: New. svn path=/trunk/; revision=13804
* Ooops. Remove stale files `e-shell-about-box.[ch]'.Ettore Perazzoli2001-10-192-2/+5
| | | | | | | * Makefile.am (evolution_SOURCES): Ooops. Remove stale files `e-shell-about-box.[ch]'. svn path=/trunk/; revision=13767
* Fix the WM problems related to the folder selection dialog beingEttore Perazzoli2001-10-196-4/+75
| | | | | | | out-of-proc. Now it can be set to be a transient window correctly, and fakes its WindowGroup hint appropriately. svn path=/trunk/; revision=13765
* Urgh. Remove stale line that caused `display_default' to be set to TRUEEttore Perazzoli2001-10-182-2/+6
| | | | | | | | * main.c (idle_cb): Urgh. Remove stale line that caused `display_default' to be set to TRUE for all the non-NULL shell cases. svn path=/trunk/; revision=13743
* Re-set the owner on the component that raised OldOwnerHasDied.Ettore Perazzoli2001-10-182-2/+15
| | | | | | | * e-shell.c (set_owner_on_components): Re-set the owner on the component that raised OldOwnerHasDied. svn path=/trunk/; revision=13730
* Fix bug 11114Iain Holmes2001-10-162-0/+7
| | | | svn path=/trunk/; revision=13685
* Add two missing codes.Dan Winship2001-10-153-1/+14
| | | | | | | * e-corba-storage.c (async_folder_cb): * e-storage.c (e_storage_result_to_string): Add two missing codes. svn path=/trunk/; revision=13670
* New function to try to activate a component when you know it's going toDan Winship2001-10-143-0/+61
| | | | | | | | * evolution-shell-component-utils.c (e_activation_failure_dialog): New function to try to activate a component when you know it's going to fail, and then pop up a dialog explaining why it failed. svn path=/trunk/; revision=13657
* Fix strings and the importer window not drawing correctlyIain Holmes2001-10-133-13/+24
| | | | svn path=/trunk/; revision=13636
* [Fix #7643, Starting new view doesn't honor "view" settings.]Ettore Perazzoli2001-10-126-9/+35
| | | | | | | | | | | | | | | | | | | | * e-shell-view-menu.c (command_open_folder_in_new_window): Pass the parent @shell_view as the @template_view arg to `e_shell_create_view()' * e-shell-view.c (activate_shortcut_cb): Pass the _view as the @template_view arg to `e_shell_create_view()'. * e-shell-folder-commands.c (e_shell_command_open_folder_in_other_window): Pass the parent @shell_view as the @template_view arg to `e_shell_create_view()'. * e-shell.c (e_shell_create_view): New arg @template_view. (impl_Shell_createNewView): Pass %NULL as @template_view when calling it. (e_shell_restore_from_settings): Likewise. svn path=/trunk/; revision=13618
* Also flush GDK after flushing GTK. Otherwise GTK might queue draw requestsEttore Perazzoli2001-10-122-0/+11
| | | | | | | | * main.c (quit_box_new): Also flush GDK after flushing GTK. Otherwise GTK might queue draw requests to X that don't get executed. svn path=/trunk/; revision=13617
* [Hopefully really, finally fix #8615 and friends.]Ettore Perazzoli2001-10-124-4/+53
| | | | | | | | | | * main.c (no_views_left_cb): Invoke `e_shell_disconnect_db()' before unreffing the shell. * e-shell.c (e_shell_disconnect_db): New. (destroy): Call it instead of unreffing the db manually here. svn path=/trunk/; revision=13616
* Don't free the folder_command_data here. It is supposed to be freed in theEttore Perazzoli2001-10-122-1/+10
| | | | | | | | | | | | * e-shell-folder-commands.c (folder_selection_dialog_folder_selected_callback): Don't free the folder_command_data here. It is supposed to be freed in the async callback. The leak that Dan supposedly fixed was probably only due to the fact that the component that was supposed to perform the xfer didn't report a result. Now that xfer actually works, it was triggering the crash instead. [Fixes #9769.] svn path=/trunk/; revision=13615
* Only invoke `progress_listener_servant_free()', no need to also doEttore Perazzoli2001-10-122-3/+9
| | | | | | | | | | * e-shell-offline-handler.c (prepare_for_offline): Only invoke `progress_listener_servant_free()', no need to also do `__fini()' on it as `__fini()' is also called by the former. [Fixes #12329.] Also, print out the CORBA exception that gets raised so we have some more clues about what is wrong. svn path=/trunk/; revision=13614
* Don't die if the folder_bar_popup is %NULL. Fixes #10922.Ettore Perazzoli2001-10-122-1/+8
| | | | | | | | * e-shell-view.c (reparent_storage_set_view_box_and_destroy_popup): Don't die if the folder_bar_popup is %NULL. Fixes #10922. svn path=/trunk/; revision=13613
* Display the default view only if we are starting our own shell, or if theEttore Perazzoli2001-10-123-10/+35
| | | | | | | | | | | | * main.c (idle_cb): Display the default view only if we are starting our own shell, or if the command-line has no arguments and we are talking to an already existing shell. * e-uri-schema-registry.c (e_uri_schema_registry_set_handler_for_schema): Do not return a value. svn path=/trunk/; revision=13611
* gr. save then commit.Dan Winship2001-10-121-3/+4
| | | | svn path=/trunk/; revision=13588
* Remove "display_name" arg from update methods. It was only there to do theDan Winship2001-10-128-30/+33
| | | | | | | | | | | | | | | | | | | | | | | | * Evolution-Storage.idl: Remove "display_name" arg from update methods. It was only there to do the "Inbox (5)" hack, which is supported directly now. * evolution-storage.c (impl_Storage_updateFolder): no longer takes display_name. (evolution_storage_update_folder, evolution_storage_update_folder_by_uri): Likewise. (class_init): Update signal signature. * evolution-storage-listener.c (impl_GNOME_Evolution_StorageListener_notifyFolderUpdated): No longer takes display_name, but make it pass the unread_count along in the signal it emits. (class_init): Update signal signature. * e-local-storage.c (bonobo_interface_update_folder_cb): * e-corba-storage.c (impl_StorageListener_notifyFolderUpdated): No longer take display_name. svn path=/trunk/; revision=13587
* Ooops, remove debugging message.Ettore Perazzoli2001-10-102-2/+5
| | | | | | | * e-storage-set-view.c (handle_evolution_path_drag_motion): Ooops, remove debugging message. svn path=/trunk/; revision=13551
* Make this a no-op if the source and the destination path are the same.Ettore Perazzoli2001-10-104-7/+35
| | | | | | | | | | | | | | * e-storage.c (e_storage_async_xfer_folder): Make this a no-op if the source and the destination path are the same. * e-local-storage.c (impl_async_xfer_folder): return after returning `E_STORAGE_CANTCHANGESTOCKFOLDER' to the callback. * e-storage-set-view.c (handle_evolution_path_drag_motion): Make the check for dragging a folder over itself a little bit more accurate. svn path=/trunk/; revision=13550
* This is a message, not a warning! (command_work_online): This is also aJon Trowbridge2001-10-062-2/+9
| | | | | | | | | | | 2001-10-05 Jon Trowbridge <trow@ximian.com> * e-shell-view-menu.c (command_work_offline): This is a message, not a warning! (command_work_online): This is also a message, not a warning! (I'm feeling very anal today.) svn path=/trunk/; revision=13467
* Do not invoke `e_shell_restore_from_settings()' if `shell' is NULL.Ettore Perazzoli2001-10-062-1/+6
| | | | | | | * main.c (idle_cb): Do not invoke `e_shell_restore_from_settings()' if `shell' is NULL. svn path=/trunk/; revision=13462
* Get the right hpaned positions for when the shortcut bar and/or the folderEttore Perazzoli2001-10-062-2/+14
| | | | | | | | * e-shell-view.c (e_shell_view_save_settings): Get the right hpaned positions for when the shortcut bar and/or the folder bar are visible. svn path=/trunk/; revision=13461
* Handle the return value fromEttore Perazzoli2001-10-062-1/+10
| | | | | | | | | | * e-shell.c (impl_Shell_handleURI): Handle the return value from `evolution_shell_component_client_handle_external_uri()' as an EvolutionShellComponentClientResult instead of treating it as a boolean. This prevents the incorrect NotFound exceptions we were getting for `mailto:' invocations. svn path=/trunk/; revision=13460
* Also `gdk_flush()'. (idle_cb): If the user doesn't specify at least oneEttore Perazzoli2001-10-062-20/+34
| | | | | | | | * main.c (quit_box_new): Also `gdk_flush()'. (idle_cb): If the user doesn't specify at least one `evolution:' URI, restore from the settings. [Fixes #6093.] svn path=/trunk/; revision=13459
* New member `ping_timeout_id' in `EvolutionShellComponentPrivate'.Ettore Perazzoli2001-10-062-3/+77
| | | | | | | | | | | | * evolution-shell-component.c: New member `ping_timeout_id' in `EvolutionShellComponentPrivate'. (setup_owner_pinging): New helper function. (impl_owner_died): Unref the owner and set ->owner_client to %NULL. (impl_setOwner): Don't unref here. (destroy): Remove the source for ->ping_timeout_id if not -1. svn path=/trunk/; revision=13451
* #include "e-util/e-gtk-utils.h". (quit_box_new): Queue a draw on theEttore Perazzoli2001-10-062-0/+13
| | | | | | | | * main.c: #include "e-util/e-gtk-utils.h". (quit_box_new): Queue a draw on the window; otherwise it seems to fail to redraw in some cases for some reason [see #11412]. svn path=/trunk/; revision=13450
* If the owner is dead, emit "owner_died" instead of "owner_unset".Ettore Perazzoli2001-10-063-1/+39
| | | | | | | | | | | * evolution-shell-component.c (impl_setOwner): If the owner is dead, emit "owner_died" instead of "owner_unset". (impl_owner_died): New, default implementation for "owner_died". (class_init): Install it. * evolution-shell-component.h: New signal "owner_died". svn path=/trunk/; revision=13449
* If setting the owner fails, print the a warning message out. Then restartEttore Perazzoli2001-10-0612-24/+274
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell.c (set_owner_on_components): If setting the owner fails, print the a warning message out. Then restart the component. * e-component-registry.c (component_free): Return a boolean value. %FALSE if ::unsetOwner raises an exception. (register_type): New arg @override_duplicate, to avoid complaining if a component gets re-registered. (register_component): Likewise. (e_component_registry_restart_component): New. * e-uri-schema-registry.c (e_uri_schema_registry_set_handler_for_schema): Changed return type to `void'. Just remove the old handler and set up the new one. * evolution-shell-component-client.c (corba_exception_to_result): Translate ::OldOwnerHasDied into EVOLUTION_SHELL_COMPONENT_OLDOWNERHASDIED. * evolution-shell-component.h: New enum value `EVOLUTION_SHELL_COMPONENT_OLDOWNERHASDIED'. * evolution-shell-component.c (impl_setOwner): If the old owner is not alive anymore [use CORBA_Object_non_existent() to figure this out], emit OWNER_UNSET and raise `OldOwnerHasDied'. (evolution_shell_component_result_to_string): New. * Evolution-ShellComponent.idl: New exception `OldOwnerHasDied'. (ShellComponent::setOwner): Can raise it. * e-folder-type-registry.c (e_folder_type_register_type_registered): New. (e_folder_type_register_unregister_type): New. svn path=/trunk/; revision=13446
* added BONOBO_GNOME_CFLAGS to make it compile with latest BonoboRodrigo Moya2001-10-042-0/+6
| | | | | | | | | 2001-10-04 Rodrigo Moya <rodrigo@ximian.com> * importer/Makefile.am: added BONOBO_GNOME_CFLAGS to make it compile with latest Bonobo svn path=/trunk/; revision=13408
* [Fix #11326, The folder list can become detached from its parentEttore Perazzoli2001-10-032-0/+11
| | | | | | | | | window.] * e-shell-view.c (folder_context_menu_popped_down_cb): Pop down the folder bar if it's popped up. svn path=/trunk/; revision=13346
* Make the crash message less dorky. [#10264]Ettore Perazzoli2001-10-032-3/+9
| | | | | | | * e-shell.c (e_shell_component_maybe_crashed): Make the crash message less dorky. [#10264] svn path=/trunk/; revision=13309
* [Don't allow dragging from a folder to one of its descendants orEttore Perazzoli2001-10-032-2/+36
| | | | | | | | | | | onto itself, when the operation is GDK_DRAG_MOVE. This fixes bugs like #8737.] * e-storage-set-view.c (handle_evolution_path_drag_motion): Don't highlight if the user is attempting to move a folder to one of its descendants. svn path=/trunk/; revision=13307
* Use `bonobo_ui_component_new_default()', not `bonobo_ui_component_new()'.Ettore Perazzoli2001-10-033-2/+23
| | | | | | | | | | | | | | | | | | | | * e-shell-view.c (e_shell_view_construct): Use `bonobo_ui_component_new_default()', not `bonobo_ui_component_new()'. * mail-account-gui.c (launch_signature_editor): Use `bonobo_ui_component_new_default()', not `bonobo_ui_component_new()'. * e-msg-composer.c (setup_ui): Use `bonobo_ui_component_new_default()', not `bonobo_ui_component_new()'. * gui/dialogs/comp-editor.c (setup_widgets): Use `bonobo_ui_component_new_default()', not `bonobo_ui_component_new()'. svn path=/trunk/; revision=13306
* New, callback for the ::removed_folder signal on the shell's EStorageSet.Ettore Perazzoli2001-10-033-80/+86
| | | | | | | | | | | | | | | | * e-shell-view.c (storage_set_removed_folder_callback): New, callback for the ::removed_folder signal on the shell's EStorageSet. (e_shell_view_construct): Connect. (e_shell_view_remove_control_for_uri): Removed. * e-shell-folder-commands.c (folder_selection_dialog_folder_selected_callback): Don't call `e_shell_view_remove_control_for_uri()'. (e_shell_command_delete_folder): Not here either. And don't display the default URI either. svn path=/trunk/; revision=13305
* [Fix #8053, `GNOME_Evolution_Shortcuts' doesn't seem to work.]Ettore Perazzoli2001-09-292-10/+7
| | | | | | | * e-shell.c (e_shell_construct): Don't create the EShortcuts object a second time. svn path=/trunk/; revision=13236
* [Fix #8434, Shortcut bar not shown properly.]Ettore Perazzoli2001-09-292-8/+15
| | | | | | | | | | * e-shell-view.c (e_shell_view_show_shortcut_bar): Set the hpaned_position from the EPaned *before* hiding it -- otherwise, the position will of course always be zero. (e_shell_view_save_settings): Save from ->hpaned_position and ->view_hpaned_position. svn path=/trunk/; revision=13234
* New place to start the intelligent importersIain Holmes2001-09-293-28/+548
| | | | svn path=/trunk/; revision=13230
* Allow callers to set the default type of folder to be created.Iain Holmes2001-09-2911-18/+103
| | | | svn path=/trunk/; revision=13220
* Remove. (command_new_mail_message): Removed. (command_pilot_settings):Ettore Perazzoli2001-09-282-32/+45
| | | | | | | | | * e-shell-view-menu.c (DEFINE_UNIMPLEMENTED): Remove. (command_new_mail_message): Removed. (command_pilot_settings): New. (e_shell_view_menu_setup): Add tools verbs. svn path=/trunk/; revision=13194
* New helper function. (folder_selected_cb): Call it.Ettore Perazzoli2001-09-274-31/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-view.c (setup_verb_sensitivity_for_folder): New helper function. (folder_selected_cb): Call it. (folder_context_menu_popping_up_cb): New callback for the "folder_context_menu_popping_up" signal on the folder bar's EStorageSetView; set the sensitivities of the verbs according to the right-clicked folder. (folder_context_menu_popped_down_cb): New, callback for the "folder_context_menu_popped_down" signal on the folder bar's EStorageSetView; set the sensitivities of the verbs according to the currently displayed folder. (e_shell_view_get_folder_bar_right_click_path): Add a cast to placate a warning. * e-storage-set-view.c (class_init): Set up the "folder_context_menu_popping_up" and "folder_context_menu_popped_down" signals. (right_click): Emit "folder_context_menu_popping_up" before popping up the menu, "folder_context_menu_popped_down" after the menu is gone. * e-storage-set-view.h: New signals "folder_context_menu_popping_up" and "folder_context_menu_popped_down". svn path=/trunk/; revision=13171
* Put my name in alphabetical orderRodrigo Moya2001-09-271-1/+1
| | | | svn path=/trunk/; revision=13167
* Added myself to about boxRodrigo Moya2001-09-261-0/+1
| | | | svn path=/trunk/; revision=13147
* Change the name on the EFolder object too.Ettore Perazzoli2001-09-262-2/+10
| | | | | | | * e-shell-folder-commands.c (e_shell_command_rename_folder): Change the name on the EFolder object too. svn path=/trunk/; revision=13134
* [Implemented the "Rename" command. Warning, it doesn't quite workEttore Perazzoli2001-09-265-112/+80
| | | | | | | | | | | | | | | | | | | | | yet, as there seems to be something wrong still.] * e-storage.c (e_storage_async_xfer_folder): Ooops. Make the check for CANTMOVETODESCENDANT really work. * e-storage-set-view.c (tree_drag_data_received): Pass the EStorageSetView as the data for the async_xfer function. (folder_xfer_callback): Display an error dialog if something goes wrong. * e-shell-view-menu.c (command_rename_folder): Enable again. * e-shell-folder-commands.c (e_shell_command_rename_folder): Re-implemented. (delete_dialog): Use double quotes instead of single quotes around the folder name, for consistency with the other dialogs. svn path=/trunk/; revision=13131
* New helper function. (command_move_folder): Pass the @folder_path argumentEttore Perazzoli2001-09-268-109/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-view-menu.c (get_path_for_folder_op): New helper function. (command_move_folder): Pass the @folder_path argument to `e_shell_command_move_folder' by using it. (command_copy_folder): Pass the @folder_path argument to `e_shell_command_copy_folder' by using it. (command_delete_folder): Pass the @folder_path argument to `e_shell_command_delete_folder()' by using it. (command_add_folder_to_shortcut_bar): Pass the @folder_path argument to `e_shell_command_add_to_shortcut_bar()' by using it. (command_create_folder): Pass the @parent_folder_path argument to `e_shell_command_create_new_folder()' by using it. (command_new_folder): Use `get_path_for_folder_op()'. * e-shell-folder-commands.c (e_shell_command_add_to_shortcut_bar): New arg @folder_path. (e_shell_command_copy_folder): New arg @folder_path. (e_shell_command_move_folder): New arg @folder_path. (e_shell_command_open_folder_in_other_window): New arg @folder_path. (e_shell_command_create_new_folder): New arg @parent_folder_path. (e_shell_command_delete_folder): New arg @folder_path. * e-shell-view.c (e_shell_view_get_folder_bar_right_click_path): New. * e-storage-set-view.c: New member `right_click_row_path'. (init): Init to NULL. (destroy): Free. (right_click): Set. (popup_folder_menu): Use `gnome_popup_menu_do_popup_modal()' so we are stuck in here until the menu disappears. After that, destroy the menu and call `e_tree_right_click_up()'. (e_storage_set_view_get_right_click_path): New. svn path=/trunk/; revision=13124
* Expand a ~ in the pathIain Holmes2001-09-222-1/+6
| | | | svn path=/trunk/; revision=13062
* Check for a component for the given row *after* trying to handleEttore Perazzoli2001-09-222-5/+14
| | | | | | | | | | | * e-storage-set-view.c (tree_drag_motion): Check for a component for the given row *after* trying to handle EVOLUTION_PATH_TARGET_TYPE. Otherwise, we always fail in the case of dnd between a folder and the toplevel node of its storage. (find_matching_target_for_drag_context): If not on a folder, always return EVOLUTION_PATH_TARGET_TYPE. svn path=/trunk/; revision=13050
* Removed. (folder_bar_popup_map_callback): Don't connect.Ettore Perazzoli2001-09-212-55/+34
| | | | | | | | | | | | | * e-shell-view.c (storage_set_view_box_event_cb): Removed. (folder_bar_popup_map_callback): Don't connect. (reparent_storage_set_view_box_and_destroy_popup): Don't ungrab here. (popdown_transient_folder_bar): Ungrab here. (popdown_transient_folder_bar_idle): New. (switch_on_folder_tree_click): Invoke it in the idle loop. Also, ungrab. svn path=/trunk/; revision=13025
* Only start wizard thing if there are no mail accountsIain Holmes2001-09-212-4/+9
| | | | svn path=/trunk/; revision=13012
* New member `tooltips' in `ETaskWidgetPrivate'. (init): Init to NULL.Ettore Perazzoli2001-09-202-0/+18
| | | | | | | | | | * e-task-widget.c: New member `tooltips' in `ETaskWidgetPrivate'. (init): Init to NULL. (e_task_widget_construct): Create a GtkTooltips and make `tooltips' point to it. (e_task_widget_update): Set the tooltip for the label too. svn path=/trunk/; revision=12989
* Removed globals `activity_client', `progress'. (timeout_callback_3): GetEttore Perazzoli2001-09-206-8/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-test-component.c: Removed globals `activity_client', `progress'. (timeout_callback_3): Get the activity client from @data. (timeout_callback_2): Likewise here. Pass the activity client as the user data pointer for `gtk_timeout_add()'. Put the progress count in a "my_progress" GtkObject data key. (timeout_callback_1): Pass the newly created EActivityClient as the user data pointer for `gtk_timeout_add()'. Also, dispatch itself again with a random timeout delay, for a maximum of NUM_ACTIVITES times. Initialize the "my_progress" GtkObject data to be -1. * e-activity-handler.c: New member `component_id' in `ActivityInfo'. (activity_info_new): New arg @component_id. Init the `component_id' member accordingly. (activity_info_free): Free the `component_id' member. (impl_operationStarted): Pass the component_id to `activity_info_new()'. (task_widget_new_from_activity_info): Pass the component_id to the activity_info. * e-task-widget.c: New member `component_id' in `ETaskWidgetPrivate'. (impl_destroy): Free it. (init): Init to NULL. Also init all the other members to NULL as well. (e_task_widget_construct): New arg @component_id. Assign ->component_id to match it. (e_task_widget_new): New arg @component_id here as well. Pass it over to `e_task_widget_construct()'. (e_task_widget_get_component_id): New. svn path=/trunk/; revision=12988
* New arg @row. Highlight that row. (tree_drag_motion): Pass @row toEttore Perazzoli2001-09-192-1/+11
| | | | | | | | | * e-storage-set-view.c (handle_evolution_path_drag_motion): New arg @row. Highlight that row. (tree_drag_motion): Pass @row to `handle_evolution_path_drag_motion()'. svn path=/trunk/; revision=12961
* #include "e-gtk-utils.h".Ettore Perazzoli2001-09-192-1/+8
| | | | | | * e-splash.c: #include "e-gtk-utils.h". svn path=/trunk/; revision=12947
* Make the canvas backing stored.Ettore Perazzoli2001-09-192-0/+6
| | | | | | * e-splash.c (e_splash_construct): Make the canvas backing stored. svn path=/trunk/; revision=12944
* Call `e_make_widget_backing_stored()' on the widget so it refreshesEttore Perazzoli2001-09-182-0/+11
| | | | | | | | * main.c (quit_box_new): Call `e_make_widget_backing_stored()' on the widget so it refreshes properly even when we are busy waiting on CORBA calls. svn path=/trunk/; revision=12920
* New. (quit_box_destroyed_callback): New. (no_views_left_cb): Use these twoEttore Perazzoli2001-09-182-1/+61
| | | | | | | | | * main.c (quit_box_new): New. (quit_box_destroyed_callback): New. (no_views_left_cb): Use these two functions to display a warning message when Evolution is quitting. svn path=/trunk/; revision=12917
* Only raise NotReady if the local storage pointer is actually NULL. ThisEttore Perazzoli2001-09-182-3/+14
| | | | | | | | | | * e-shell.c (impl_Shell_getLocalStorage): Only raise NotReady if the local storage pointer is actually NULL. This way it is possible for the components to access the local storage during initialization even if the shell is not quite finished initializing yet. svn path=/trunk/; revision=12914
* [Fix #9060, Shell crash after mailer crash.]Ettore Perazzoli2001-09-182-24/+26
| | | | | | | | | | | | | * e-shell-view.c (hash_foreach_destroy_view): Renamed from `hash_forall_destroy_view'. Don't free `name'. (socket_destroy_cb): Use `g_hash_table_lookup()' instead of `g_hash_table_lookup_extended()'. Don't free the URI. (e_shell_view_remove_control_for_uri): Likewise. (show_existing_view): Use view->uri as the key when inserting the view. Remove the old view from the hash when destroying it. (create_new_view_for_uri): Same here. svn path=/trunk/; revision=12913
* Hide the storage_set_view_box *before* getting the child1_size [otherwise,Ettore Perazzoli2001-09-182-4/+9
| | | | | | | | * e-shell-view.c (e_shell_view_show_folder_bar): Hide the storage_set_view_box *before* getting the child1_size [otherwise, the latter will, um, always be zero]. svn path=/trunk/; revision=12902
* Updated required version of gal to 0.11.99.4.Christopher James Lahey2001-09-172-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-16 Christopher James Lahey <clahey@ximian.com> * configure.in: Updated required version of gal to 0.11.99.4. From calendar/ChangeLog: 2001-09-16 Christopher James Lahey <clahey@ximian.com> * gui/dialogs/meeting-page.c (build_etable): Updated this to match the new ETableSimple interface. From mail/ChangeLog: 2001-09-16 Christopher James Lahey <clahey@ximian.com> * message-list.c (ml_get_node_by_id): Made save_id const here. From shell/ChangeLog: 2001-09-16 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (etree_get_node_by_id): Made save_id const here. svn path=/trunk/; revision=12870
* [Automake 1.5 fixes pointed out by Richard BoultonEttore Perazzoli2001-09-153-2/+11
| | | | | | | | | | <richard@tartarus.org>, as per #9258.] * importer/Makefile.am (CLEANFILES): Assign directly using `=', instead of `+='. * Makefile.am (CLEANFILES): Likewise. svn path=/trunk/; revision=12846
* Return a proper value. (impl_Shell_createStorageSetView): Likewise.Ettore Perazzoli2001-09-152-5/+15
| | | | | | | | | | | | * e-shell.c (impl_Shell_getLocalStorage): Return a proper value. (impl_Shell_createStorageSetView): Likewise. (impl_Shell_setLineStatus): Likewise. (impl_Shell__get_displayName): Likewise. (impl_Shell_getComponentByType): Likewise. (impl_Shell_createNewView): Likewise. (impl_Shell_handleURI): Likewise. svn path=/trunk/; revision=12834
* Fix crash and remove warningIain Holmes2001-09-153-30/+20
| | | | svn path=/trunk/; revision=12828
* Removed unused variable.Ettore Perazzoli2001-09-152-3/+5
| | | | | | * e-shell-importer.c (start_import): Removed unused variable. svn path=/trunk/; revision=12827
* [Fix #8204 and the other bugs caused by allowing invocations onEttore Perazzoli2001-09-153-18/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | the ::Shell interface to happen before the shell is actually fully initialized. This is a lame hack and not a nice, complete solution for the problem, but it should do for now.] * e-shell.c: New member `is_initialized' in `EShellPrivate'. (init): Initialize to %FALSE. (e_shell_construct): Set `is_initialized' to %TRUE after the initialization sequence is finished. (raise_exception_if_not_ready): New utility function to raise the notReady exception if the shell is not ready. (impl_Shell__get_displayName): Call it. (impl_Shell_getComponentByType): Likewise. (impl_Shell_createNewView): Likewise. (impl_Shell_handleURI): Likewise. (impl_Shell_selectUserFolder): Likewise. (impl_Shell_getLocalStorage): Likewise. (impl_Shell_createStorageSetView): Likewise. (impl_Shell_setLineStatus): Likewise. (e_shell_construct): Print out the repo_id of the exception from `bonobo_get_object()' if it fails. Also, register on OAF just before displaying the splash. * Evolution-Shell.idl: New exception `NotReady'. All the CORBA methods on ::Shell can now raise this exception. svn path=/trunk/; revision=12826
* [Fix #5990, Remembering Evolution window geometry.]Ettore Perazzoli2001-09-145-11/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell.c (impl_Shell_createNewView): gtk_widget_show() the new view returned by `e_shell_create_view()'. (e_shell_restore_from_settings): Same here, after loading the settings. * e-shell-view.c (activate_shortcut_cb): gtk_widget_show() the new view returned by `e_shell_create_view()'. * e-shell-view-menu.c (command_open_folder_in_new_window): gtk_widget_show() the view returned by `e_shell_create_view()'. * e-shell-folder-commands.c (e_shell_command_open_folder_in_other_window): gtk_widget_show() the view returned by `e_shell_create_view()'. * e-shell.c (e_shell_create_view): Don't show the view automatically anymore. * e-shell-view.c (e_shell_view_save_settings): Save the width and height of the window. (e_shell_view_load_settings): Restore the width and the height and gtk_window_set_default_size() based on them. svn path=/trunk/; revision=12816
* [Remove a bunch of debugging messages, as per #7741.]Ettore Perazzoli2001-09-1415-37/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-wizard.c (impl_GNOME_Evolution_Wizard_notifyAction): Removed debugging messages. * e-storage-set.c (storage_removed_folder_cb): Removed debugging message. * e-storage-set-view.c (tree_drag_begin): Removed debugging message. (tree_drag_data_received): Removed debugging messages. * e-shortcuts.c (idle_cb): Removed debugging message. * e-shortcuts-view-model.c (get_icon_for_item): Removed debugging message. * e-shell.c (setup_components): Removed debugging message. * e-shell-startup-wizard.c (druid_event_notify_cb): Removed debugging message. (e_shell_startup_wizard_create): Removed debugging message. * e-shell-offline-handler.c (finalize_offline_hash_foreach): Removed debugging message. * e-shell-importer.c (start_import): Removed debugging message. (item_selected): Same here. * e-local-storage.c (async_xfer_folder_step): Removed debugging message. * e-corba-storage.c (impl_StorageListener_notifyFolderCreated): Changed the error from a g_print() into a g_warning(). Removed debugging message. * e-corba-storage-registry.c (impl_StorageRegistry_addStorage): Removed debugging message. (impl_StorageRegistry_removeStorageByName): Likewise. * e-component-registry.c (component_free): Removed debugging message. (register_component): Don't printf() about the registered folder type. (register_component): Don't printf() about the registered schema type. svn path=/trunk/; revision=12811
* Disable DnD on the EStorageSetView to avoid strange behaviors.Ettore Perazzoli2001-09-148-23/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-view.c (pop_up_folder_bar): Disable DnD on the EStorageSetView to avoid strange behaviors. (reparent_storage_set_view_box_and_destroy_popup): Re-enable DnD here. (popdown_transient_folder_bar): And here as well. * evolution-storage-set-view-factory.c (evolution_storage_set_view_factory_new_view): Disable DnD on the EStorageSetView. * e-shell-folder-selection-dialog.c (e_shell_folder_selection_dialog_construct): Disable DnD on the EStorageSetView. * e-shell-folder-creation-dialog.c (add_storage_set_view): Disable DnD on the EStorageSetView. * e-storage-set-view.c: New member `allow_dnd' in `EStorageSetViewPrivate'. (init): Init to `allow_dnd' %TRUE. (tree_start_drag): If `allow_dnd' is false, don't start the drag and return %FALSE. (tree_drag_motion): If `allow_dnd' is false, return %FALSE. (e_storage_set_view_get_allow_dnd): New. (e_storage_set_view_set_allow_dnd): New. svn path=/trunk/; revision=12810
* Add SUB_VERSION to the version string passed toEttore Perazzoli2001-09-132-1/+6
| | | | | | | * main.c (main): Add SUB_VERSION to the version string passed to `gnome_init_with_popt_table()'. svn path=/trunk/; revision=12792
* only allow importing to /local folders.Chris Toshok2001-09-132-0/+16
| | | | | | | | | 2001-09-12 Chris Toshok <toshok@ximian.com> * e-shell-importer.c (start_import): only allow importing to /local folders. svn path=/trunk/; revision=12790
* [Fix #4962, "Highlighting is left after a drag".]Ettore Perazzoli2001-09-132-2/+9
| | | | | | | * e-storage-set-view.c (tree_drag_motion): Only highlight when moving over allowed targets. svn path=/trunk/; revision=12789
* Only gtk_widget_destroy() the icon_widget if it's not NULL.Ettore Perazzoli2001-09-132-2/+9
| | | | | | | * e-shell-folder-title-bar.c (unrealize): Only gtk_widget_destroy() the icon_widget if it's not NULL. svn path=/trunk/; revision=12788
* Remove spewIain Holmes2001-09-132-1/+5
| | | | svn path=/trunk/; revision=12785
* Oops. Remove duplicate free.Dan Winship2001-09-112-2/+4
| | | | | | * e-shell-view.c (socket_destroy_cb): Oops. Remove duplicate free. svn path=/trunk/; revision=12732
* Purify run. All small leaks.Dan Winship2001-09-1010-22/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-folder-commands.c (folder_selection_dialog_folder_selected_callback): Free the folder_command_data when destroying the dialog. * e-local-storage.c (remove_folder): Free physical_uri if we allocated it. * e-shortcuts-view.c (pop_up_right_click_menu_for_group): Unref the popup menu, don't destroy it. (destroy_group_cb): Free the question string. (rename_group_cb): Free the new_name. * e-shell-importer.c (create_plugin_menu): Free the list of importers. (get_iid_for_filetype): Likewise. (import_druid_finish): #ifdef out some g_strdups that are only used by other #ifdef'ed-out code. * e-shell-view.c: Make sure the keys in the uri_to_view hash get freed. * e-shell-folder-title-bar.c (set_title_bar_label_style): Unref the style after setting it on the widget. * e-shell-offline-handler.c (impl_destroy): free priv. * e-storage-set-view.c (tree_drag_data_received): Make sure target_type always gets freed. * e-shell-folder-creation-dialog.c (add_folder_types): Don't leak the type names. svn path=/trunk/; revision=12715
* New designIain Holmes2001-09-082-73/+37
| | | | svn path=/trunk/; revision=12690
* Changed this to use the new ETable/ETree drag stuff.Christopher James Lahey2001-09-082-84/+18
| | | | | | | | | 2001-09-07 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (tree_start_drag): Changed this to use the new ETable/ETree drag stuff. svn path=/trunk/; revision=12686
* Remove the "see previous error messages?" comment from the error messageDan Winship2001-09-072-2/+9
| | | | | | | | | | * evolution-shell-component-client.c (evolution_shell_component_client_new): Remove the "see previous error messages?" comment from the error message when starting a component, since oafd eats the output of the components it launches now, so it's just misleading. svn path=/trunk/; revision=12673
* change to match create_folder. (e_marshal_NONE__POINTER_POINTER_POINTER):Chris Toshok2001-09-073-49/+52
| | | | | | | | | | | | | | | | | | | 2001-09-06 Chris Toshok <toshok@ximian.com> * evolution-storage.c (impl_Storage_async_remove_folder): change to match create_folder. (e_marshal_NONE__POINTER_POINTER_POINTER): new marshaller for remove_folder. (class_init): make sure to use the right marshaller for create/remove_folder. * evolution-storage.h: change the signature of both the create_folder and remove_folder signals to be more in line with what's in evolution-storage.c. They both take a Bonobo_Listener which the signal func notifies, instead of synchronously returning the result. svn path=/trunk/; revision=12667
* Allow a value of -1.0 for @progress [which means "unknown progress"].Ettore Perazzoli2001-09-072-1/+7
| | | | | | | | * evolution-activity-client.c (evolution_activity_client_update): Allow a value of -1.0 for @progress [which means "unknown progress"]. svn path=/trunk/; revision=12659
* [Fix #958, ShellComponents should not be created by factories, forEttore Perazzoli2001-09-063-30/+23
| | | | | | | | | | | | | | the test component.] * GNOME_Evolution_TestComponent.oaf: Remove the factory. * evolution-test-component.c (COMPONENT_FACTORY_ID): Removed. (component_factory_init): Removed. (register_component): Rename from `component_fn'. No args, no return value. Register the thing on OAF by yourself instead of using a factory. svn path=/trunk/; revision=12639
* New. (get_efolder_from_shortcut): Removed. (impl_shortcut_dropped): UseEttore Perazzoli2001-09-062-13/+40
| | | | | | | | * e-shortcuts-view.c (get_shortcut_info): New. (get_efolder_from_shortcut): Removed. (impl_shortcut_dropped): Use `get_shortcut_info()' instead. svn path=/trunk/; revision=12628
* Replace "Evolution" with "Ximian Evolution" in a bunch of user-visibleEttore Perazzoli2001-09-065-15/+30
| | | | | | places. svn path=/trunk/; revision=12625
* [Fix #6474 and friends, crash when selecting things from theEttore Perazzoli2001-09-062-2/+29
| | | | | | | | | | | | | | | | | context activity context menu.] * e-activity-handler.c: New member `menu' in struct `ActivityInfo'. (activity_info_new): Init to NULL. (show_cancellation_popup): Set the `menu' member to point to this newly created pop-up, use `gnome_popup_menu_do_popup_modal()' instead of `gnome_popup_menu_do_popup()', and set the `menu' member to NULL when the menu is gone. (activity_info_free): Destroy `menu' member. (impl_requestDialog): Return `GNOME_Evolution_Activity_DIALOG_ACTION_ERROR' instead of nothing. svn path=/trunk/; revision=12624
* [Fix #6971, Default folder should be the Summary.]Ettore Perazzoli2001-09-056-7/+27
| | | | | | | | | | | | | | | | | | | | * main.c (idle_cb): s/DEFAULT_URI/E_SHELL_VIEW_DEFAULT_URI/. * e-shell.c (e_shell_create_view): s/DEFAULT_URI/E_SHELL_VIEW_DEFAULT_URI/. * e-shell-view.c (socket_destroy_cb): s/DEFAULT_URI/E_SHELL_VIEW_DEFAULT_URI/. (e_shell_view_save_settings): Likewise. * e-shell-folder-commands.c (e_shell_command_delete_folder): s/DEFAULT_URI/E_SHELL_VIEW_DEFAULT_URI/. * e-shell-view.h (DEFAULT_URI): Rename to `E_SHELL_VIEW_DEFAULT_URI'. Change from "evolution:/local/Inbox" to be "evolution:/summary". svn path=/trunk/; revision=12618
* [Fix ^#7675, Crashes trying to empty trash folder.]Ettore Perazzoli2001-09-052-5/+15
| | | | | | | | * e-shortcuts.c (e_shortcuts_construct): Use `gtk_signal_connect_while_alive()' so we don't invoke the callbacks on dead EShortcuts objects. svn path=/trunk/; revision=12612
* Report errors in the dialogIain Holmes2001-09-052-0/+6
| | | | svn path=/trunk/; revision=12611
* Just ignore the request if the activity handler has theEttore Perazzoli2001-09-052-0/+30
| | | | | | | | | | | | | * e-activity-handler.c (impl_operationProgressing): Just ignore the request if the activity handler has the GTK_OBJECT_DESTROYED() flag set. This should prevent crashes like #7542 and friends when the components are not well-behaved enough to respect the Bonobo refcounting. (impl_operationStarted): Likewise. (impl_operationFinished): Likewise. (impl_requestDialog): Likewise. svn path=/trunk/; revision=12609
* Check the file exists before trying to import itIain Holmes2001-09-052-0/+20
| | | | svn path=/trunk/; revision=12603
* Shut down other components correctly when cancelling the first time startup ↵Iain Holmes2001-09-052-1/+8
| | | | | | dialog svn path=/trunk/; revision=12600
* Remove debugging message. (tree_drag_motion): Likewise.Ettore Perazzoli2001-09-052-3/+6
| | | | | | | | * e-storage-set-view.c (tree_drag_motion): Remove debugging message. (tree_drag_motion): Likewise. svn path=/trunk/; revision=12598
* Add the root node to the hash. (e_storage_set_view_set_show_folders):Ettore Perazzoli2001-09-052-0/+11
| | | | | | | | * e-storage-set-view.c (e_storage_set_view_construct): Add the root node to the hash. (e_storage_set_view_set_show_folders): Likewise. svn path=/trunk/; revision=12594
* Remove the folder from the EvolutionStorage as well as the EStorage.Peter Williams2001-09-045-13/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-30 Peter Williams <peterw@ximian.com> * e-local-storage.c (async_xfer_folder_complete): Remove the folder from the EvolutionStorage as well as the EStorage. 2001-08-29 Peter Williams <peterw@ximian.com> * e-storage-set-view.c (etree_node_destroy_func): Only call remove_node_from_hash if it's not the root node. (removed_storage_cb): Don't remove the node from the hash here, because it will be removed in the node_destroyed callback. (removed_folder_cb): Same. * e-shell-view.c (e_shell_view_remove_control_for_uri): Disconnect from the destroy signal so as not to confuse ourselves. Also, the page remove in the notebook destroys the control and the socket, so don't do that explicitly. * e-shell-folder-commands.c (folder_selection_dialog_folder_selected_callback): Remove the control for the source view if we're moving. svn path=/trunk/; revision=12578
* Don't convert folder name to UTF-8 manually... (setup_stock_folders): ...Chyla Zbigniew2001-09-014-19/+33
| | | | | | | | | | | | | | | | * e-local-storage.c (setup_folder_as_stock): Don't convert folder name to UTF-8 manually... (setup_stock_folders): ... just use U_() here. (impl_get_display_name): Marked string for translation (with U_). * e-storage-set-view.c (storage_sort_callback): s/strcasecmp/g_utf8_collate/ (folder_sort_callback): ditto * e-summary-storage.c (impl_get_display_name): Marked string for translation (with U_). svn path=/trunk/; revision=12546
* Fix the Pine and Netscape importers. Give them a nice progress reporting GUI.Iain Holmes2001-08-313-33/+96
| | | | | | Revert Jason's changes so that creating a folder works again. svn path=/trunk/; revision=12536
* Check for \r in the folder name, this is an invalid char. Also take aJeffrey Stedfast2001-08-312-13/+33
| | | | | | | | | | | | 2001-08-30 Jeffrey Stedfast <fejj@ximian.com> * e-shell-folder-creation-dialog.c (entry_name_is_valid): Check for \r in the folder name, this is an invalid char. Also take a "reason" argument so we can inform the user why his folder name is invalid. (dialog_clicked_cb): Tell the user why the folder name is invalid. svn path=/trunk/; revision=12533
* Handle the case when there is no URI without crashing. Only add shortcutsEttore Perazzoli2001-08-292-6/+14
| | | | | | | | * e-shortcuts.c (load_shortcuts): Handle the case when there is no URI without crashing. Only add shortcuts when they are evolution: URIs. svn path=/trunk/; revision=12506
* Studlycapsize all the IDs that are not. Likewise. Updated accordingly.Ettore Perazzoli2001-08-2816-77/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Evolution-ShellComponent.idl: Studlycapsize all the IDs that are not. * Evolution-common.idl: Likewise. * evolution-activity-client.c: Updated accordingly. * evolution-shell-component.c: Likewise. * evolution-storage.c: Likewise. * e-activity-handler.c: Likewise. * e-component-registry.c: Likewise. * e-corba-storage.c: Likewise. * e-shell-user-creatable-items-handlers.c: Likewise. * e-local-storage.c (remove_folder): Remove unused variable. * e-shell-view.c (update_for_current_uri): Assign zero to `unread_count', not NULL. * e-shell-importer.c (import_druid_finish): Remove unused variable. * e-shell-user-creatable-items-handler.c: #include "e-corba-utils.h". * e-shell-startup-wizard.c: #include "e-shell-startup-wizard.h". * e-shell-startup-wizard.h: #include <glib.h> * e-summary-weather.c (weather_make_html): Make local variable `icon_name' const. Remove unused variable `uri'. * e-summary.h: Reformatted in GTK+ style. (e_summary_remove_online_connection): Added prototype. * e-summary-preferences.c (fill_mail_shown_clist): Constify local variable `name'. * e-summary-mail.c: #include "e-util/e-path.h". Updated to match the new studlyCapsification in shell/Evolution*.idl. * mail-local.c: Match the studlyCapsification of shell/Evolution*.idl. * mail-config-druid.h: Change type of `event_source' from `Bonobo_EventSource *' to `Bonobo_EventSource'. * mail-accounts.c (mail_delete): Remove unused local variable `label'. * folder-info.c (do_get_info): `#if 0' unused variables. * gui/component/addressbook-component.c: Get rid of a warning by initializing the closing NULL element in folder_types correctly. * gui/component/select-names/e-select-names.c: Updated to match the studlyCapsification of attributes in shell/Evolution*.idl. svn path=/trunk/; revision=12495
* Remove the stupid "do you want me to initialize stuff?" dialog.Ettore Perazzoli2001-08-252-27/+5
| | | | | | | * e-setup.c (copy_default_stuff): Remove the stupid "do you want me to initialize stuff?" dialog. svn path=/trunk/; revision=12465
* Change the `selected_row_path' to be non-const. (destroy): Free it.Ettore Perazzoli2001-08-252-5/+21
| | | | | | | | | | | | * e-storage-set-view.c: Change the `selected_row_path' to be non-const. (destroy): Free it. (e_storage_set_view_set_current_folder): Set the selected_row_path to be this path. (tree_drag_begin): Free the selected_row_path and strdup() the value we assign. svn path=/trunk/; revision=12463
* Ooops. Save the pointer to the control for use after the view struct isEttore Perazzoli2001-08-252-8/+15
| | | | | | | | * e-shell-view.c (e_shell_view_remove_control_for_uri): Ooops. Save the pointer to the control for use after the view struct is freed. svn path=/trunk/; revision=12458
* New struct `View'. Replace `uri_to_control' in `EShellViewPrivate' withEttore Perazzoli2001-08-252-59/+110
| | | | | | | | | | | | | | | | | | | | * e-shell-view.c: New struct `View'. Replace `uri_to_control' in `EShellViewPrivate' with `uri_to_view'. (view_new): New. (hash_forall_destroy_view): New, replacing `hash_forall_destroy_control'. (destroy): Updated to match the uri_to_control -> uri_to_view changes. (socket_destroy_cb): Likewise. (get_view_for_uri): Renamed from `get_control_for_uri'. Return a View instead of a GtkWidget. (show_existing_view): Updated to use `get_view_from_uri', get a @view instead of a @control. (e_shell_view_display_uri): Updated to use `uri_to_view' instead of `uri_to_control'. (e_shell_view_remove_control_for_uri): Likewise. svn path=/trunk/; revision=12457
* Changed to get a @title and a @type. (update_for_current_uri): UpdatedEttore Perazzoli2001-08-252-48/+55
| | | | | | | | | | * e-shell-view.c (update_folder_title_bar): Changed to get a @title and a @type. (update_for_current_uri): Updated accordingly. (update_window_icon): Get a @type instead of a @folder. (update_for_current_uri): Updated accordingly. svn path=/trunk/; revision=12452
* [Fix #5978, "If a component dies, it's toolbar buttons remain".]Ettore Perazzoli2001-08-252-6/+26
| | | | | | | | | * e-shell-view.c (socket_destroy_cb): If the view belongs to a toplevel storage node, get the right type information with `e_storage_get_toplevel_node_uri()' instead of trying to get the [non-existing] folder for it. svn path=/trunk/; revision=12451
* Implement the rest of the Evolution_Wizard eventsIain Holmes2001-08-252-2/+27
| | | | svn path=/trunk/; revision=12449
* Added accelerators for the right-click shortcut menu.Ettore Perazzoli2001-08-252-4/+9
| | | | | | | * e-shortcuts-view.c: Added accelerators for the right-click shortcut menu. svn path=/trunk/; revision=12448
* Added the missing part of my patch:Chyla Zbigniew2001-08-251-0/+1
| | | | | | #include <gal/widgets/e-unicode.h> svn path=/trunk/; revision=12447
* Convert names of the default group and shortcuts to UTF-8.Zbigniew Chyla2001-08-252-6/+25
| | | | | | | | | 2001-08-23 Zbigniew Chyla <cyba@gnome.pl> * e-shortcuts.c (e_shortcuts_add_default_group): Convert names of the default group and shortcuts to UTF-8. svn path=/trunk/; revision=12441
* Convert the name of the group to GTK+ locale before displaying it in aZbigniew Chyla2001-08-252-3/+11
| | | | | | | | | 2001-08-23 Zbigniew Chyla <cyba@gnome.pl> * e-shortcuts-view.c (destroy_group_cb): Convert the name of the group to GTK+ locale before displaying it in a dialog. svn path=/trunk/; revision=12439
* If we get no data, don't notify the receiving component at all.Ettore Perazzoli2001-08-242-0/+8
| | | | | | | * e-storage-set-view.c (tree_drag_data_received): If we get no data, don't notify the receiving component at all. svn path=/trunk/; revision=12423
* [Fix #5736, crashing when copying a message with drag and drop.]Ettore Perazzoli2001-08-242-2/+17
| | | | | | | * e-storage-set-view.c (tree_drag_data_received): Handle NULL data gracefully. svn path=/trunk/; revision=12422
* If the remove_source is %TRUE and destination is a descendant of theEttore Perazzoli2001-08-233-0/+22
| | | | | | | | | | | * e-storage.c (e_storage_async_xfer_folder): If the remove_source is %TRUE and destination is a descendant of the parent, pass an `E_STORAGE_CANTMOVETODESCENDANT' error code to the callback. * e-storage.h: New value `E_STORAGE_CANTMOVETODESCENDANT' in `EStorageResult'. svn path=/trunk/; revision=12397
* Actually return if the folder is being moved into one of its descendants.Ettore Perazzoli2001-08-232-0/+7
| | | | | | | | * e-shell-folder-commands.c (folder_selection_dialog_folder_selected_callback): Actually return if the folder is being moved into one of its descendants. svn path=/trunk/; revision=12395
* `#if 0'ed out. (make_bold): Likewise.Ettore Perazzoli2001-08-233-7/+19
| | | | | | | | | | | | * e-shell-folder-title-bar.c (label_realize_callback): `#if 0'ed out. (make_bold): Likewise. (e_shell_folder_title_bar_construct): Don't call it. * e-local-storage.c (component_async_remove_folder_callback): Only remove the directory if the component succeeds. svn path=/trunk/; revision=12392
* Fix the improper construction of the new folder's physical URI.Peter Williams2001-08-232-2/+10
| | | | | | | | | 2001-08-22 Peter Williams <peterw@ximian.com> * e-local-storage.c (async_xfer_folder_callback): Fix the improper construction of the new folder's physical URI. svn path=/trunk/; revision=12391
* Don't remove the folder directory here.Ettore Perazzoli2001-08-232-37/+44
| | | | | | | | * e-local-storage.c (remove_folder): Don't remove the folder directory here. (component_async_remove_folder_callback): Remove it here instead. svn path=/trunk/; revision=12390
* [Fix #7775, crash trying to do New Task]Ettore Perazzoli2001-08-232-2/+10
| | | | | | | | * e-shell-user-creatable-items-handler.c (verb_fn): Make sure we don't pass NULL strings to `GNOME_Evolution_ShellComponent_userCreateNewItem()'. svn path=/trunk/; revision=12388
* unref the rc_style.Damon Chaplin2001-08-222-0/+5
| | | | | | | | 2001-08-21 Damon Chaplin <damon@ximian.com> * e-gray-bar.c (endarken_style): unref the rc_style. svn path=/trunk/; revision=12373
* #include "e-shell-startup-wizard.h".Ettore Perazzoli2001-08-224-0/+37
| | | | | | | | * e-shell.c: #include "e-shell-startup-wizard.h". * e-shell-startup-wizard.h: New. svn path=/trunk/; revision=12359
* Add `sgmldocs.make' to `EXTRA_DIST'.Ettore Perazzoli2001-08-221-1/+17
| | | | | | * Makefile.am: Add `sgmldocs.make' to `EXTRA_DIST'. svn path=/trunk/; revision=12358
* Show an error dialog when the Evolution Mailer Wizard interface cannot be ↵Iain Holmes2001-08-222-1/+9
| | | | | | created svn path=/trunk/; revision=12354
* Fix a leak: unref the EFont after we have used it. Also, don't crash ifEttore Perazzoli2001-08-222-2/+12
| | | | | | | | | * e-shell-folder-title-bar.c (label_realize_callback): Fix a leak: unref the EFont after we have used it. Also, don't crash if `e_font_to_gdk_font()' returns NULL. [This should fix #7666, Folder View crashes Evo.] svn path=/trunk/; revision=12353
* Don't print a NULL. Crashes on SolarisIain Holmes2001-08-222-2/+6
| | | | svn path=/trunk/; revision=12349
* Do the import correctly.Iain Holmes2001-08-214-38/+94
| | | | svn path=/trunk/; revision=12327
* Don't set the paneds' positions if the respective left-hand elements [i.e.Ettore Perazzoli2001-08-212-2/+18
| | | | | | | | | | | * e-shell-view.c (e_shell_view_load_settings): Don't set the paneds' positions if the respective left-hand elements [i.e. the shortcut bar and the folder bar] are hidden. (e_shell_view_show_folder_bar): Set the paned position to zero when hiding. (e_shell_view_show_shortcut_bar): Likewise. svn path=/trunk/; revision=12321
* Don't free the returned displayname.Ettore Perazzoli2001-08-212-4/+7
| | | | | | | * e-shell-startup-wizard.c (finish_func): Don't free the returned displayname. svn path=/trunk/; revision=12318
* Make sure we display a pin when we are popped up.Ettore Perazzoli2001-08-202-0/+8
| | | | | | | * e-shell-view.c (pop_up_folder_bar): Make sure we display a pin when we are popped up. svn path=/trunk/; revision=12259
* Don't set the paned tree position.Ettore Perazzoli2001-08-202-1/+5
| | | | | | | * e-shell-view.c (setup_widgets): Don't set the paned tree position. svn path=/trunk/; revision=12250
* fill the corba sequence for the accepted_dnd_types.Chris Toshok2001-08-202-0/+7
| | | | | | | | | 2001-08-19 Chris Toshok <toshok@ximian.com> * evolution-shell-component.c (impl__get_supported_types): fill the corba sequence for the accepted_dnd_types. svn path=/trunk/; revision=12249
* Don't show the vbox here. (setup_widgets): Don't show theEttore Perazzoli2001-08-202-2/+8
| | | | | | | | * e-shell-view.c (setup_storage_set_subwindow): Don't show the vbox here. (setup_widgets): Don't show the storage_set_view_box here. svn path=/trunk/; revision=12246
* Added display_name and description to the type.Ettore Perazzoli2001-08-2011-32/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-test-component.c: Added display_name and description to the type. * evolution-shell-component.c (impl__get_supported_types): Pass `display_name' and `description' here. (evolution_shell_component_construct): Likewise. * evolution-shell-component.h: New members `display_name', `description' in `EvolutionShellComponentFolderType'. * e-component-registry.c (register_type): New args @description and @display_name. Pass to `e_folder_type_registry_register_type()'. (register_component): Pass the values returned in the sequence from __get_supported_types. * e-folder-type-registry.c: New members `display_name' and `description' in `struct _FolderType'. (folder_type_new): New args @description and @display_name. Initialize the respective fields in the `FolderType' accordingly. (folder_type_free): Free `display_name' and `description'. (register_folder_type): New args @display_name, @description. (e_folder_type_registry_register_type): New args @display_name, @description. (e_folder_type_registry_get_description_for_type): New. (e_folder_type_registry_get_display_name_for_type): New. * Evolution-ShellComponent.idl: Added `display_name' and `description' fields to the `FolderType' struct. svn path=/trunk/; revision=12245
* Put the bonobo_object_release_unref() for the db at the top in an attemptEttore Perazzoli2001-08-202-3/+10
| | | | | | | * e-shell.c (destroy): Put the bonobo_object_release_unref() for the db at the top in an attempt to fix #7542. svn path=/trunk/; revision=12238
* Change type of toplevel node from "Summary" to "summary". [All the otherEttore Perazzoli2001-08-203-1/+6
| | | | | | | | | | | * e-summary-storage.c (e_summary_storage_new): Change type of toplevel node from "Summary" to "summary". [All the other folder types use lowercase names.] * e-shortcuts.c (load_shortcuts): Also use the display name for the storage. svn path=/trunk/; revision=12234
* Also use the display name for the storage.Ettore Perazzoli2001-08-202-7/+18
| | | | | | | * e-shortcuts.c (load_shortcuts): Also use the display name for the storage. svn path=/trunk/; revision=12233
* Use xmlMemStrdup() to override the type as it's expected to be allocatedEttore Perazzoli2001-08-205-43/+97
| | | | | | | | | | | | | | | | | | | * e-shortcuts.c (load_shortcuts): Use xmlMemStrdup() to override the type as it's expected to be allocated by libxml later on. Also, get the icon for the storage if the shortcut points to a storage. * e-storage-set-view.c (etree_icon_at): Don't special case the Summary storage. Rather, use `e_storage_get_toplevel_node_type()' for getting the type of the node. * e-shortcuts-view-model.c (get_icon_for_item): New helper function. (shortcuts_update_shortcut_cb): Use it. (shortcuts_new_shortcut_cb): Use it. (load_group_into_model): Use it. svn path=/trunk/; revision=12232
* New constant `MIN_POPUP_TREE_WIDTH'. (pop_up_folder_bar): Make sure theEttore Perazzoli2001-08-192-2/+14
| | | | | | | | | | * e-shell-view.c: New constant `MIN_POPUP_TREE_WIDTH'. (pop_up_folder_bar): Make sure the pop-up is always this size or more. (setup_widgets): Pass %FALSE for @shrink to `e_paned_pack1()'. (reparent_storage_set_view_box_and_destroy_popup): Likewise. svn path=/trunk/; revision=12211
* New, replacing `shortcut_bar_mode_changed_cb'.Ettore Perazzoli2001-08-194-167/+221
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-view-menu.c (shortcut_bar_visibility_changed_cb): New, replacing `shortcut_bar_mode_changed_cb'. (folder_bar_visibility_changed_cb): New, replacing `folder_bar_mode_changed_cb'. (command_toggle_folder_bar): Use `e_shell_view_show_folder_bar()' instead of `e_shell_view_set_folder_bar_mode()'. (command_toggle_shortcut_bar): Use `e_shell_view_show_shortcut_bar()' instead of `e_shell_view_set_shortcut_bar_mode()'. (e_shell_view_menu_setup): Updated for the "shortcut_bar_visibility_changed" and "folder_bar_visibility_changed" signals and the above changes. * e-shell-view.c: New member `folder_bar_popup' in `EShellViewPrivate'. Replaced `folder_bar_mode' and `shortcut_bar_mode' with `folder_bar_shown' and `shortcut_bar_shown', respectively. (init): Updated to initialize these correctly. (reparent): New helper function. (reparent_storage_set_view_box_and_destroy_popup): New helper function. (popdown_transient_folder_bar): Updated to use the `folder_bar_popup'. (folder_bar_popup_map_callback): Renamed from `storage_set_view_box_map_cb'. (e_shell_view_set_shortcut_bar_mode): Removed. (e_shell_view_set_folder_bar_mode): Removed. (e_shell_view_show_shortcut_bar): New. All the calls to `e_shell_view_set_shortcut_bar_mode()' replaced with calls to this one. (e_shell_view_show_folder_bar): New. All the calls to `e_shell_view_set_folder_bar_mode()' replaced with calls to this one. (e_shell_view_folder_bar_shown): New. All the calls to `e_shell_view_get_folder_bar_mode()' replaced with calls to this one. (e_shell_view_shortcut_bar_shown): New. All the calls to `e_shell_view_get_shortcut_bar_mode()' replaced with calls to this one. (class_init): Replace signal `folder_bar_mode_changed' with `folder_bar_visibility_changed' and `shortcut_bar_mode_changed' with `shortcut_visibility_changed'. (e_shell_view_save_settings): Use keys "ShortcutBarShown" and "FolderBarShown" instead of "ShortcutBarMode" and "FolderBarMode", respectively. (e_shell_view_load_settings): Likewise. * e-shell-view.h: Removed enum `EShellViewSubwindowMode'. Renamed signal `shortcut_bar_mode_changed' to `shortcut_bar_visibility_changed' and `folder_bar_mode_changed' to `folder_bar_visibility_changed'. svn path=/trunk/; revision=12203
* Build fixIain Holmes2001-08-182-0/+5
| | | | svn path=/trunk/; revision=12176
* Add a warning for EttoreIain Holmes2001-08-181-0/+1
| | | | svn path=/trunk/; revision=12174
* Changelog I forgotIain Holmes2001-08-181-0/+5
| | | | svn path=/trunk/; revision=12173
* Compile fixesIain Holmes2001-08-183-3/+8
| | | | svn path=/trunk/; revision=12172
* g_return_if_fail(), not g_return_val_if_fail().Ettore Perazzoli2001-08-182-2/+8
| | | | | | | | * evolution-shell-client.c (evolution_shell_client_set_line_status): g_return_if_fail(), not g_return_val_if_fail(). svn path=/trunk/; revision=12167
* Added some g_warnings for when we return CORBA_OBJECT_NIL; this might helpEttore Perazzoli2001-08-182-3/+16
| | | | | | | | | | * evolution-shell-client.c (evolution_shell_client_get_local_storage): Added some g_warnings for when we return CORBA_OBJECT_NIL; this might help to figure out what is wrong with bug #6625. Also, added a missing CORBA_exception_free(). svn path=/trunk/; revision=12165
* tedfast <fejj@ximian.com>Jeffrey Stedfast2001-08-181-0/+2
| | | | | | | | tedfast <fejj@ximian.com> * e-shell.c (e_shell_construct): Don't destroy the splash twice. svn path=/trunk/; revision=12161
* Don't destroy the splash twice.Jeffrey Stedfast2001-08-181-29/+26
| | | | | | | | 2001-08-17 Jeffrey Stedfast <fejj@ximian.com> * e-shell.c (e_shell_construct): Don't destroy the splash twice. svn path=/trunk/; revision=12160
* utf_name should not be const as e_utf8_from_locale_string() returns anJeffrey Stedfast2001-08-182-3/+10
| | | | | | | | | | 2001-08-17 Jeffrey Stedfast <fejj@ximian.com> * e-local-storage.c (setup_folder_as_stock): utf_name should not be const as e_utf8_from_locale_string() returns an allocated buffer. svn path=/trunk/; revision=12158
* Startup assistant stuffIain Holmes2001-08-1711-6/+1656
| | | | svn path=/trunk/; revision=12145
* I know what you did last summer!Jason Leach2001-08-172-0/+3
| | | | | | | | 2001-08-16 Jason Leach <jleach@ximian.com> * AUTHORS: I know what you did last summer! svn path=/trunk/; revision=12140
* Desensitize the move/copy/delete/rename in the menus (including rightJason Leach2001-08-173-23/+38
| | | | | | | | | | | | | 2001-08-16 Jason Leach <jleach@ximian.com> * e-shell-view.c (folder_selected_cb): Desensitize the move/copy/delete/rename in the menus (including right click) for stock folders. * Evolution-Icon.idl: Actually remove this file from CVS (its contents are now in Evolution-common.idl). svn path=/trunk/; revision=12139
* Remove the Help menu verbs and add a "HelpFAQ" verb. (command_help):Ettore Perazzoli2001-08-172-12/+12
| | | | | | | | | * e-shell-view-menu.c: Remove the Help menu verbs and add a "HelpFAQ" verb. (command_help): Removed. (command_help_faq): New, implementation for the "HelpFAQ" verb. svn path=/trunk/; revision=12127
* New callback for the realize signal. (make_bold): New. Hooks up theEttore Perazzoli2001-08-172-1/+44
| | | | | | | | | | * e-shell-folder-title-bar.c (label_realize_callback): New callback for the realize signal. (make_bold): New. Hooks up the label_realize_callback. (e_shell_folder_title_bar_construct): Make the name of the folder bold using it. svn path=/trunk/; revision=12114
* Evil GTK+ hackery. Of course if GTK+ made things easier, I wouldn'tEttore Perazzoli2001-08-173-28/+36
| | | | | | | | | | | | have to do this. * e-gray-bar.c (endarken_style): Just hardcode the colors. * e-shell-folder-title-bar.c (set_title_bar_label_style): New. (e_shell_folder_title_bar_construct): Call it on the labels here, so we get nice white labels. svn path=/trunk/; revision=12110
* s/the view for `%s' have/the views for `%s' have/.Ettore Perazzoli2001-08-172-1/+6
| | | | | | | * e-shell.c (e_shell_component_maybe_crashed): s/the view for `%s' have/the views for `%s' have/. svn path=/trunk/; revision=12107
* Remove debugging message.Ettore Perazzoli2001-08-172-1/+5
| | | | | | * e-storage-set-view.c (etree_icon_at): Remove debugging message. svn path=/trunk/; revision=12104
* Don't hardcode/build a help URI here, use gnome_help_display() instead,Jason Leach2001-08-162-9/+15
| | | | | | | | | | | | | 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
* forgot to commit thisJacob Leach2001-08-161-3/+10
| | | | svn path=/trunk/; revision=12064
* Emit a "changed" signal at the end of this function. Bug #7232.Jason Leach2001-08-162-2/+7
| | | | | | | | | 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
* Changed help menus to point to evolution/ and not evolution-guide/.Aaron Weber2001-08-162-5/+10
| | | | | | | | | 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
* s/My Evolution/Summary/Iain Holmes2001-08-163-5/+12
| | | | svn path=/trunk/; revision=12058
* Add a new IDL function, Evolution::Shell::setLineStatus (in boolean). BugJason Leach2001-08-164-3/+58
| | | | | | | | | | | | | | | | | 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
* Use the passed-in unread_count.Dan Winship2001-08-153-1/+10
| | | | | | | | | | * 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
* Add missing entry for `endarken_style()'.Ettore Perazzoli2001-08-141-0/+1
| | | | svn path=/trunk/; revision=11979
* Chain to the parent class.Ettore Perazzoli2001-08-142-7/+12
| | | | | | * e-gray-bar.c (impl_style_set): Chain to the parent class. svn path=/trunk/; revision=11977
* Changed the "Evolution has found the following data sources" text in theAnna Marie Dirks2001-08-142-2/+10
| | | | | | | | | | | 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
* Revert the previous e-gray-bar patch as it was, um, wrong.Ettore Perazzoli2001-08-142-13/+19
| | | | svn path=/trunk/; revision=11974
* Add some little padding to the title bar so it looks nicer.Ettore Perazzoli2001-08-142-1/+6
| | | | | | | * e-shell-view.c (setup_widgets): Add some little padding to the title bar so it looks nicer. svn path=/trunk/; revision=11970
* Removed. (class_init): Don't override that method anymore.Ettore Perazzoli2001-08-142-19/+13
| | | | | | | | * e-gray-bar.c (impl_style_set): Removed. (class_init): Don't override that method anymore. (e_gray_bar_new): Call `endarken_style()' here instead. svn path=/trunk/; revision=11967
* [Fix #7109, Evolution crashes when the splash screen dialog isEttore Perazzoli2001-08-142-1/+11
| | | | | | | | | killed by clicking the "X" button.] * e-shell.c (e_shell_construct): Connect `gtk_widget_hide_on_delete()' correctly. svn path=/trunk/; revision=11962
* Changed all instances of "druid" and "wizard" to "assistant".Anna Marie Dirks2001-08-142-18/+22
| | | | | | | | 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
* Replaced the chained `if' statements with a `switch' statement forEttore Perazzoli2001-08-142-19/+35
| | | | | | | | * 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
* set_release on the sequence, not the buffer.Ettore Perazzoli2001-08-142-2/+4
| | | | | | | * e-corba-shortcuts.c (shortcut_list_to_corba): set_release on the sequence, not the buffer. svn path=/trunk/; revision=11955
* Restore the shell reffing/unreffing here.Ettore Perazzoli2001-08-142-2/+4
| | | | | | | * e-shell.c (view_destroy_cb): Restore the shell reffing/unreffing here. svn path=/trunk/; revision=11954
* Restore the shell reffing/unreffing here.Ettore Perazzoli2001-08-141-0/+5
| | | | | | | * e-shell.c (view_destroy_cb): Restore the shell reffing/unreffing here. svn path=/trunk/; revision=11953
* Don't cause an abort if the shortcut group is empty.Peter Williams2001-08-142-1/+7
| | | | | | | | | 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
* Add `Evolution-common.idl'.Ettore Perazzoli2001-08-142-1/+6
| | | | | | * Makefile.am (IDLS): Add `Evolution-common.idl'. svn path=/trunk/; revision=11947
* Initialize priv->user_creatable_item_types. (Score: g_new: 0, g_new0: 2)Dan Winship2001-08-142-0/+6
| | | | | | | * evolution-shell-component.c (init): Initialize priv->user_creatable_item_types. (Score: g_new: 0, g_new0: 2) svn path=/trunk/; revision=11946
* Remove unused variable @folder.Jason Leach2001-08-143-3/+15
| | | | | | | | | | | | | 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
* Grab focus on the storage set view.Ettore Perazzoli2001-08-132-1/+9
| | | | | | | | * e-shell-folder-selection-dialog.c (e_shell_folder_selection_dialog_construct): Grab focus on the storage set view. svn path=/trunk/; revision=11937
* Use utf 8 to set the name.Ettore Perazzoli2001-08-132-1/+10
| | | | | | | * e-local-storage.c (setup_folder_as_stock): Use utf 8 to set the name. svn path=/trunk/; revision=11936
* Remove debugging message.Ettore Perazzoli2001-08-122-2/+4
| | | | | | * e-storage-set-view.c (etree_value_at): Remove debugging message. svn path=/trunk/; revision=11934
* *** empty log message ***Ettore Perazzoli2001-08-121-3/+3
| | | | svn path=/trunk/; revision=11933
* Put the folder title bar into an EGrayBar.Ettore Perazzoli2001-08-125-4/+201
| | | | | | | | | | * 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
* [Finally! Fix #413, "Support for stock folders", and #786, "i18n:Ettore Perazzoli2001-08-1214-18/+180
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* `#if 0'ed out. (rename_cb): Likewise.Ettore Perazzoli2001-08-103-2/+15
| | | | | | | | | | * e-shell-folder-commands.c (rename_clicked): `#if 0'ed out. (rename_cb): Likewise. * evolution-shell-component.c (destroy): Fixed a confusion between GList and GSList. svn path=/trunk/; revision=11876
* Only free the `type_list' if not NULL. (setup_menu_xml): Deal with theEttore Perazzoli2001-08-102-16/+35
| | | | | | | | | | | * 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
* [Fix #6787, Removing a storage with children and then re-adding itEttore Perazzoli2001-08-102-23/+27
| | | | | | | | | | | | 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
* Updated to display the parent folder's URI and its type as well.Ettore Perazzoli2001-08-109-20/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Cast the toplevel to be passed to `e_request_string()' to GtkWindow, notEttore Perazzoli2001-08-103-32/+14
| | | | | | | | | | | | | * 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
* Add the menu items using the EShellUserCreatableItemsHandler.Ettore Perazzoli2001-08-1012-38/+804
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Chain to the destroy handler in the parent class!Federico Mena Quintero2001-08-093-0/+13
| | | | | | | | | | | 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
* [Fixes, among other things, #5705, "Ampersands not handledEttore Perazzoli2001-08-083-3/+16
| | | | | | | | | | | | | 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
* Set the release flag on the sequence, and CORBA_string_dup() the stringsEttore Perazzoli2001-08-082-4/+9
| | | | | | | | | * 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
* Set the release flag on the returned folder type list too.Ettore Perazzoli2001-08-083-1/+12
| | | | | | | | | | | * 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
* Set the release flag for the newly allocated sequence.Ettore Perazzoli2001-08-084-0/+16
| | | | | | | | | | | | * 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
* clarify last entryJacob Leach2001-08-081-2/+2
| | | | svn path=/trunk/; revision=11776
* Set the icon for the folder tree correctly.Jason Leach2001-08-082-1/+6
| | | | | | | | | 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
* Fill the CORBA sequence once.Ettore Perazzoli2001-08-083-2/+9
| | | | | | | | | | * evolution-shell-component.c (impl_ShellComponent__get_supported_types): Fill the CORBA sequence once. * e-activity-handler.c (activity_info_free): Unref the icon. svn path=/trunk/; revision=11773