2000-05-09 Ettore Perazzoli * e-shell.c (e_shell_new_view): Display the specified @uri in the view. * e-shell-view.c (e_shell_view_construct): Removed arg @uri. (e_shell_view_new): Likewise. * main.c: New string constant `STARTUP_URI', specifying the URI to show in the startup view. (new_view_idle_cb): New callback function to create a new view for `STARTUP_URI' in the idle loop. We need to do this in the idle loop because the CORBA stuff cannot work until the loop starts running. (main): Set `new_view_idle_cb' up as the idle callback instead of creating the view right away. 2000-05-09 Ettore Perazzoli * e-shell.c (setup_storages): Woops. Don't free the path before the warning message, as we need to print it. 2000-05-08 Ettore Perazzoli * main.c (destroy_cb): New function. (main): Connect it to the `destroy' signal on the shell. 2000-05-08 Ettore Perazzoli * e-shortcuts.c (load_shortcuts): Const fix. 2000-05-08 Larry Ewing * e-shortcuts.c (load_shortcuts_into_view): xmlFree the return value of xmlGetProp. 2000-05-07 Ettore Perazzoli * e-shortcuts-view.c (e_shortcuts_view_construct): Use correct cast. 2000-05-07 Ettore Perazzoli * main.c (main): Connect to "no_views_left", not "destroy". * e-shell.c (view_destroy_cb): Grmpf. 2000-05-07 Ettore Perazzoli * e-shell.c (e_shell_construct): Output a warning message if the shortcut file is not found. (setup_storages): Output a warning message if the local storage cannot be initialized. (destroy): Destroy all the views. * e-shell-view.c (e_shell_view_construct): Ref the shell. * e-shortcuts-view.c (e_shortcuts_view_construct): Ref the shortcuts. * e-shell.c: Create the "no_views_left" signal. New member `views' in `EShellPrivate'. (init): Initialize `views' to NULL. (view_destroy_cb): Destroy handler for a view: remove the view from `views', and emit the "no_views_left" signal if this was the last view. (e_shell_new_view): Add the new view to `views' and connect the "destroy" signal to `view_destroy_cb'. (destroy): Destroy the views. * e-shell.h: New signal "no_views_left". * e-shell-view-menu.c (command_quit): New function, implementation of the "quit" command. * e-shell-view.c (e_shell_view_get_shell): New function. * e-shell.c (e_shell_quit): New function. * main.c (main): If it is not possible to create the shell for some reason, pop up an error message. (shell_destroy_cb): New function, signal handler for "destroy" on the shell object. (main): Connect it. 2000-05-06 Ettore Perazzoli * e-shortcuts.c (destroy): Be safer about NULL objects. * e-shell.c (destroy): Be safer about NULL objects. * e-local-storage.c (load_folders): Use `readdir()', not `readdir_r()'. 2000-05-06 Ettore Perazzoli * main.c (init_corba) [! USING_OAF]: We have no options no popt context. 2000-05-06 Ettore Perazzoli * All files: Reorganized and redone a lot of the shell. New features: internal URI namespace, extensible storage/folder mechanism, configurable shortcuts. 2000-05-03 Damon Chaplin * e-shell-view.c (e_shell_view_new): turned the notebook border off. The calendar looks better without it. If any of the views want a border they should create it themselves, shouldn't they? 2000-05-04 Ettore Perazzoli * e-shortcut.c (shell_icon_cb): Type of @url changed from `gchar *' to `const gchar *'; new arg @data. (e_shortcut_bar_view_new): Pass NULL as the closure value for `e_shortcut_bar_set_icon_callback()'. 2000-05-02 Ettore Perazzoli * e-folder-mail.c: Removed. * e-folder-mail.h: Removed. * eshell-types.h: Removed. * e-folder.h: Don't #include "eshell-types.h". 2000-05-02 Ettore Perazzoli * e-folder.h: Removed member `eservice' from `EFolder'. * e-service.c: Removed. * e-service.h: Removed. 2000-05-02 Matt Loper * Makefile.am: set G_LOG_DOMAIN. 2000-05-01 Dan Winship * e-shell-view.c (e_shell_view_set_view): Turn off control frame autoactivation, so the toolbars work correctly. This may actually be a bug in Bonobo, but we'll kludge around it here for now. 2000-04-27 Ettore Perazzoli * e-shell-view.c: OAFized. (get_view): If `bonobo_widget_new_control()' fails for the calendar, don't try to get the property bag and stuff and thus prevent a segfault. * main.c (corba_init): Removed Bonobo initialization. Implemented OAF version for the case in which `USING_OAF' is #defined. (init_bonob): New function. (main): Call `init_bonobo()'. 2000-04-26 Matt Loper * e-shell-view.c (bonobo_widget_is_dead): Helper function to see whether a bonobo widget is a zombie (ie the remote bonobo control died). (e_shell_view_set_view): Try to respawn dead widgets. 2000-04-25 Dan Winship * Makefile.am: include -I$(datadir)/idl in orbit-idl arguments so that you can have bonobo installed in the same prefix as evolution, when that isn't the same prefix is gnome-libs, which a lot of people seem to be doing. (CLEANFILES): add EVOLUTION_CORBA_GENERATED 2000-04-24 Christopher James Lahey * idl/folder.idl: Made some functions syncronous that didn't need to be asyncronous. 2000-04-24 Matt Loper * e-shell-view.h: Added hpaned and treeview widgets to EShellView. Added e_shell_view_toggle_shortcut_bar() and e_shell_view_toggle_treeview(). * e-shell-view.c (e_shell_view_setup_shortcut_display): Use EPaned widget to house our shortcut bar. (e_shell_view_toggle_shortcut_bar): New function; toggles whether the shortcut bar is showing. (e_shell_view_toggle_treeview): Same, for the treeview (NYI). (e_shell_view_new): Put the notebook view in our EPaned widget. * e-shell-view-menu.c (esv_cmd_toggle_shortcut_bar): New function; toggles whether the shortcut bar is viewed. (esv_cmd_toggle_treeview): Same, but with the treeview. Added menuitems in the "view" menu to allow access to the above. 2000-04-19 Seth Alves * e-shell-view.c (get_view): set calendar's uri with a property bag 2000-04-19 Christopher James Lahey * idl/folder.idl: New idl file. Still unused. 2000-04-14 Christopher James Lahey * e-shell-view.c: Made the left pane of the shell view not autoresize. 2000-04-09 Matt Loper * e-shell-view.c (e_shell_view_setup): Set the default height bigger, to 600, so that everything in the shortcut-bar shows up. 2000-04-07 Matt Loper * e-shell-view.c (destroy_folder_view): New function; Bonobo_Unknown_unref's the controls that have the views in them. (esv_destroy): Calls the above for each folder_view in the hashtable. (get_view): unref the ServiceRepository interface of the control when we're done with it. 2000-04-06 Miguel de Icaza * shell/e-shortcut.c (shell_icon_cb): Append a slash here. (shell_icons): Only list the filenames. * shell/main.c (evolution_boot): Be less rude. 2000-04-06 Matt Loper * shell/main.c (evolution_boot): Make sure our data directory is available with e_setup_base_dir (). 2000-04-06 Miguel de Icaza * shell/e-shortcut.c (shell_icon_cb): Load the icons from the installation path, not form the GNOME-libs installation prefix. (shell_icon_cb): Memory leak fix. * shell/Makefile.am (imagesdir): Pass the EVOLUTION_IMAGES installation directory here. 2000-04-05 Seth Alves * shell/e-shell-view.c (get_view): hook up control:calendar 2000-03-31 Dan Winship * shell/e-shortcut.c (e_shortcut_bar_view_new, shell_icon_cb): Update for shortcut bar changes. * shell/e-folder.h: add E_FOLDER_SUMMARY * shell/e-shell.c (e_shell_setup_default_folders): make the "Today" icon be of type E_FOLDER_SUMMARY, not E_FOLDER_MAIL. 2000-03-30 Dan Winship * shell/e-shell-view.c (e_shell_view_set_view): Hold off on deactivating the "outgoing" control until after setting up the "incoming" control. That way if the new control takes a few seconds to load, there won't be an ugly empty spot where the toolbar used to be while the new control loads. 2000-03-29 Dan Winship * shell/e-shell-view.c (e_shell_view_set_view): Call bonobo_control_frame_activate on the folder_view every time it is displayed, and bonobo_control_frame_deactivate every time it is hidden. 2000-03-25 Matt Loper * shell/e-shell-view.c (get_view): Move CORBA_Environment to different scope. 2000-03-22 Matt Loper * shell/main.c (evolution_boot): gtk_signal_connect'ed "destroy" to gtk_main_quit, so that the shell dies when you want it to. * shell/e-shell-view.c (get_view): Reorganized, and added assertions. (e_shell_view_set_view): Added assertions. 2000-03-20 Matt Loper * shell/e-shell-view.h: New private field in EShellView added, which contains the notebook and a hashtable of folders to views. * shell/e-shell-view.c (e_shell_view_set_view): Instead of creating a new control every time we set the view, we now keep our controls in a notebook. This function now switches to the correct notebook page, or creates a new page/control as necessary. (e_shell_view_new): Creates and inserts the notebook into the shell. 2000-03-13 Christopher James Lahey * shell/e-shell-view.c: Added an E_FOLDER_CONTACTS section to the get_view function. 2000-03-13 bertrand * shell/e-shell.c (EShell_register_service): test implementation. Show the uri and the type of service that has just been registered. * shell/e-shell-view.c (get_view): once we have the bonobo control widget, disable the autoactivation and activate the control frame. (get_view): added a parameter to have a reference to the EShellView. (get_view): In the case of the mail component use the Evolution_ServiceRepository to give the component a reference to the Shell server. 2000-03-12 bertrand * shell/e-shell-view.c (get_view): name change * shell/e-folder.c (e_folder_get_folder_type): added the get_e_folder_type function. * shell/evolution-service-repository.c: (evolution_service_repository_new): creates an Evolution_ServiceRepository object. (create_evolution_service_repository): create the corresponding servant. (evolution_service_repository_construct): set the closure as well as the virtual functions. 2000-03-12 bertrand * shell/evolution-service-repository.c: * shell/evolution-service-repository.h: Implementation of the service repository interface as a bonobo object. * shell/evolution-service-repository.idl: new file. Contains the definition for the service repository interface. * shell/Shell.idl: move the shell related stuff here 2000-03-12 bertrand * shell/e-folder.h: add a field refering to a service associated to the efolder. In the case of distant folders, it is generally a server. * shell/e-service.c: New class. Models a service. A service is an object with an URI and a root folder. It genreally reporesents a distant folder. A service is generally a ressource shared amongst several folders. * shell/e-service.h: 2000-03-07 bertrand * shell/e-shell-shortcut.c (shortcut_bar_item_selected): removed a test that prevented the standard menu to be shown. 2000-03-01 Ettore Perazzoli * shell/Makefile.am (INCLUDES): use `top_srcdir' instead of `srcdir'. Also, add `$(top_srcdir)'. And put the srcdir includes before everything else. (evolution_LDADD): `libeutil.la', not `libeutil.a'. 2000-02-22 bertrand * shell/Makefile.am (evolution_LDADD): add libetext.a. 2000-02-08 Iain Holmes * shell/Makefile.am: Changed the order of the compilation, so the CORBA stuff was generated before it was needed. 2000-01-15 Miguel de Icaza * shell/e-shell.c: Construct the default folders * shell/e-shell-view.c (e_shell_view_new): Setup the main GnomeApp application, load the shortcut, internal api. * shell/e-folder.c (e_folder_get_type_name): Return description here; Change of policy; We now know about all of the possible types that can be displayed on Evolution. 2000-01-15 Miguel de Icaza * shell/e-folder.c: Renamed signal. * widgets/shortcut-bar/e-shortcut-bar.c (e_shortcut_bar_add_item): Use e_bar_set_item_data. Drop item_url; Require image argument; Require user data argument. 2000-01-05 Miguel de Icaza * shell/Makefile.am: New file.