aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view.c
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of some debugging messages that were not supposed to beEttore Perazzoli2000-07-271-6/+0
| | | | | | committed. svn path=/trunk/; revision=4350
* Fix the pop-up tree so that it does not set up the grab when shownEttore Perazzoli2000-07-271-18/+27
| | | | | | through the menu item. svn path=/trunk/; revision=4349
* Some changes to the pop-up folder tree, so that it makes more visualEttore Perazzoli2000-07-221-0/+13
| | | | | | sense. svn path=/trunk/; revision=4271
* Improve the title bar pop-up button: use a toggle button instead of aEttore Perazzoli2000-07-211-4/+46
| | | | | | | regular one and allow sticking the pop-up with the close button (we'll need to have it change the icon). svn path=/trunk/; revision=4259
* First shot at the "click on the folder title, get the folder tree"Ettore Perazzoli2000-07-211-21/+114
| | | | | | thingie. Needs love, but it's a start. svn path=/trunk/; revision=4257
* Add support for the folder right-click ("context") menu. No componentEttore Perazzoli2000-07-211-1/+1
| | | | | | uses this yet, though. svn path=/trunk/; revision=4252
* Implement saving of pane positions.Ettore Perazzoli2000-07-201-3/+17
| | | | svn path=/trunk/; revision=4238
* As a quasi-hack, do a gdk_flush() when the shell view is unrealized soFederico Mena Quintero2000-07-101-1/+22
| | | | | | | | | | | | | | 2000-07-10 Federico Mena Quintero <federico@helixcode.com> * e-shell-view.c (unrealize): As a quasi-hack, do a gdk_flush() when the shell view is unrealized so that the DeleteEvent gets sent to the remote plugs as soon as possible before we start making other CORBA calls. The problem is that our CORBA pipe is synchronous while our X pipe is asynch. We have to ensure ordering for certain operations. This is NOT the correct and complete fix, which should go in Bonobo. svn path=/trunk/; revision=4030
* Don't display the annoying "Cannot display..." view in the shell whenEttore Perazzoli2000-07-091-39/+9
| | | | | | | | | an error occurs while opening a view. Instead, avoid moving the selection to it. Not the ideal solution, but a definite improvement. svn path=/trunk/; revision=3995
* Don't make EShellViews ::ref the EShell.Ettore Perazzoli2000-06-291-4/+0
| | | | svn path=/trunk/; revision=3788
* Implement saving of configuration information. Now when you runEttore Perazzoli2000-06-291-0/+114
| | | | | | | | | Evolution it will display the same folder as the last time, and will hide/show the shortcut/folder bars as the last time. This uses GConf so I also put a GConf check into configure.in. svn path=/trunk/; revision=3787
* Initial support for creating/removing folders. This implies some newEttore Perazzoli2000-06-101-2/+12
| | | | | | | | IDL methods and new functions to implement on the component side. I have also added a simple folder creation dialog in the shell. It's quite unfinished and untested. svn path=/trunk/; revision=3491
* Restore the toolbar. I committed a line of code that shouldn't haveEttore Perazzoli2000-06-081-1/+1
| | | | | | been committed. svn path=/trunk/; revision=3469
* Fixed a refcount leak and added interfaces to add/remove foldersEttore Perazzoli2000-06-081-1/+5
| | | | | | from an EStorage (although they are not implemented yet). svn path=/trunk/; revision=3460
* Free the uri variable.Christopher James Lahey2000-06-021-0/+2
| | | | | | | | | | 2000-06-02 Christopher James Lahey <clahey@helixcode.com> * e-shell-view.c: Free the uri variable. * e-shell.c: Free the local_directory variable. svn path=/trunk/; revision=3385
* 5 more pixels in the default width to make the welcome message happy.Ettore Perazzoli2000-06-011-1/+1
| | | | svn path=/trunk/; revision=3330
* Reduce the size of the window by a bit and add some padding to makeEttore Perazzoli2000-06-011-2/+3
| | | | | | the view look nicer. svn path=/trunk/; revision=3327
* Make the tree view slightly larger and hidden by default. Also, setEttore Perazzoli2000-06-011-2/+4
| | | | | | | auto-resize mode for it so that its horizontal scrollbar does not behave in a weird way. svn path=/trunk/; revision=3324
* Implemented right-click menus for the shell's shortcut bar (the userEttore Perazzoli2000-06-011-3/+20
| | | | | | | | can remove shortcuts now) and added status bar to the shell view. Also, added an API call to EShortcutBar to get the view type for a specified group. svn path=/trunk/; revision=3318
* Initialize the toggle items in the View menu when creating them, soEttore Perazzoli2000-05-311-1/+20
| | | | | | | | that they start up in the correct state. Deactivate the current control when displaying an empty error page. Removed some crufty debugging messages. svn path=/trunk/; revision=3310
* Make quit work again by implementing a CORBA method to unregisterEttore Perazzoli2000-05-311-39/+100
| | | | | | | | | | components in ShellComponent. Implemented toggle menu items to hide/show the shortcut bar and the folder bar (but they don't work, apparently because of some BonoboUIHandler bogosity). Implemented a CORBA method in Shell to allow a client to get the component that handles a certain folder type. svn path=/trunk/; revision=3303
* Added a title bar for the folder view. Removed title bar from theEttore Perazzoli2000-05-301-101/+140
| | | | | | | | shortcut view. Made shortcuts behave correctly when moved around. Also, implemented automatic re-saving of the shortcuts when they change. svn path=/trunk/; revision=3276
* Reorganized the shell to allow dynamic registration of storages andEttore Perazzoli2000-05-251-28/+41
| | | | | | | folder types, and changed all the components to work with the new setup. svn path=/trunk/; revision=3199
* Was using the wrong include here.Christopher James Lahey2000-05-251-1/+1
| | | | | | | | | | 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * e-shell-view.c: Was using the wrong include here. * e-storage-set-view.c: Got rid of the lines in the tree view. svn path=/trunk/; revision=3195
* Added widgets/e-paned/Makefile.Christopher James Lahey2000-05-251-14/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * configure.in: Added widgets/e-paned/Makefile. * tests/ui-tests/message-browser.c: Switched from GtkPaned to EPaned. * widgets/Makefile.am: Added e-paned directory. * widgets/e-paned/, widgets/e-paned/.cvsignore, widgets/e-paned/Makefile.am, widgets/e-paned/e-hpaned.c, widgets/e-paned/e-hpaned.h, widgets/e-paned/e-paned.c, widgets/e-paned/e-paned.h, widgets/e-paned/e-vpaned.c, widgets/e-paned/e-vpaned.h: New widget based completely on GtkPaned from 1.4. This will be more advanced soon. From calendar/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Added libepaned.a. * gui/gnome-cal.c: Switched from GtkPaned to EPaned. From mail/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added libepaned.a. * folder-browser.c: Switched from GtkPaned to EPaned. From shell/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added libepaned.a. * e-shell-view.c: Switched from GtkPaned to EPaned. From widgets/shortcut-bar/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added libepaned.a. * test-shortcut-bar.c: Switched from GtkPaned to EPaned. svn path=/trunk/; revision=3191
* Use TigerT's new mini icons in the shell's folder tree view.Ettore Perazzoli2000-05-161-1/+1
| | | | svn path=/trunk/; revision=3091
* Use the new ETitleBar widget in the shell, thus allowing the user toEttore Perazzoli2000-05-161-25/+148
| | | | | | | hide the shortcut bar or the folder tree. This is not completely working right yet, partly because of GtkPaned's limitations. svn path=/trunk/; revision=3070
* Initial implementation of the tree view for the folders.Ettore Perazzoli2000-05-141-90/+179
| | | | svn path=/trunk/; revision=3020
* Set the icons when changing between components.Christopher James Lahey2000-05-101-0/+69
| | | | | | | | | | | 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * e-shell-view.c: Set the icons when changing between components. * main.c: Set the default icon. (The change in e-shell-view.c doesn't work unless we do this.) svn path=/trunk/; revision=2964
* Display the default inbox at startup, instead of an empty view.Ettore Perazzoli2000-05-091-9/+3
| | | | svn path=/trunk/; revision=2944
* Machinery for quitting and handling the relationship between a shellEttore Perazzoli2000-05-071-0/+12
| | | | | | and its views. svn path=/trunk/; revision=2862
* Big shell reorganization.Ettore Perazzoli2000-05-071-357/+423
| | | | svn path=/trunk/; revision=2848
* turned the notebook border off. The calendar looks better without it. IfDamon Chaplin2000-05-051-0/+3
| | | | | | | | | | 2000-05-03 Damon Chaplin <damon@helixcode.com> * 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? svn path=/trunk/; revision=2801
* Removing more cruft.Ettore Perazzoli2000-05-031-0/+1
| | | | svn path=/trunk/; revision=2766
* Turn off control frame autoactivation, so the toolbars work correctly.Dan Winship2000-05-021-0/+1
| | | | | | | | * 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. svn path=/trunk/; revision=2721
* Made Evolution OAF-compatible.Ettore Perazzoli2000-04-281-8/+22
| | | | svn path=/trunk/; revision=2673
* + * widgets/e-text/e-text.c (e_text_destroy): Kill text->timer andMatthew Loper2000-04-271-18/+74
| | | | | | | | | | | + text->timeout on destroy. + + * 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 bonobo widgets. svn path=/trunk/; revision=2638
* + * widgets/Makefile.am: Added e-paned directory.Matthew Loper2000-04-241-17/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + + * default_user/Makefile.am: new file. + + * default_user/Main_Shortcuts.xml: New file; is used to fill the + shortcut bar's "main shortcuts" pane. + + * default_user/Other_Shortcuts.xml: New file, used to fill the + shortcut bar's "other shortcuts" pane. + + * default_user/Inbox.mbox: New file. This is the first message a + new user will see when they fire up Evolution. Needs work. + + * Makefile.am: added default_user directory. + * configure.in: same. + + * e-paned.c: New file. Makes a GtkPaned with more than two + children. + * e-paned.h: same. + + * Makefile.am: added e-paned.[ch]. + + * 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. + svn path=/trunk/; revision=2575
* set calendar's uri with a property bagSeth Alves2000-04-191-1/+17
| | | | | | | | | | | | | | | * e-shell-view.c (get_view): set calendar's uri with a property bag * gui/evolution-calendar-control.c (calendar_properties_init): create a property bag for this control (set_prop): callback for property sets (get_prop): callback for proprety gets * gui/calendar-commands.c (calendar_set_uri): new function, called when the "calendar_uri" property is set on the calendar- control's property bag. svn path=/trunk/; revision=2501
* Added a note field.Christopher James Lahey2000-04-151-2/+2
| | | | | | | | | | | | | | | | | | | 2000-04-14 Christopher James Lahey <clahey@helixcode.com> * addressbook/backend/ebook/e-card.c, addressbook/backend/ebook/e-card.h, addressbook/backend/pas/pas-backend-file.c, addressbook/backend/pas/pas-backend-ldap.c, addressbook/contact-editor/e-contact-editor.c: Added a note field. From shell/ChangeLog: 2000-04-14 Christopher James Lahey <clahey@helixcode.com> * e-shell-view.c: Made the left pane of the shell view not autoresize. svn path=/trunk/; revision=2444
* + * addressbook/gui/component/addressbook.c (control_activate): MakeMatthew Loper2000-04-101-1/+1
| | | | | | | | | + "New Contact" menuitem add a card with new_contact_cb(). + + * e-shell-view.c (e_shell_view_setup): Set the default height + bigger, to 600, so that everything in the shortcut-bar shows up. svn path=/trunk/; revision=2353
* + * folder-browser.c (folder_browser_destroy): Unref the shellMatthew Loper2000-04-081-4/+43
| | | | | | | | | | | | | | | | | | + interface that we have a handle to. + + * folder-browser-factory.c (control_destroy_cb): New function; + destroys a folder-browser when its control is destroyed. + (folder_browser_factory): Hook up to the above. + + * 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. + svn path=/trunk/; revision=2333
* hook up control:calendarSeth Alves2000-04-061-0/+3
| | | | | | * shell/e-shell-view.c (get_view): hook up control:calendar svn path=/trunk/; revision=2295
* Hold off on deactivating the "outgoing" control until after setting up theDan Winship2000-03-311-25/+32
| | | | | | | | | | * 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. svn path=/trunk/; revision=2262
* Call bonobo_control_frame_activate on the folder_view every time it isDan Winship2000-03-301-12/+18
| | | | | | | | | | | | * 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. * folder-browser-factory.c (control_activate): build a toolbar. (control_deactivate): and hide it. svn path=/trunk/; revision=2250
* + * shell/e-shell-view.c (get_view): Move CORBA_Environment toMatthew Loper2000-03-261-5/+6
| | | | | | | | | | | | | | + different scope. + + * ebook/e-book.c, + ebook/e-book.h, + ebook/e-book.h, + ebook/e-card-fields.h, + ebook/e-card.h, + ebook/e-commerce.h: old, removed. Up-to-date EBook stuff is kept + in addressbook/backend/ebook. svn path=/trunk/; revision=2162
* Added some assertions.Matthew Loper2000-03-231-3/+5
| | | | | | | * e-table-text-model.c (e_table_text_model_destroy): Added some assertions. svn path=/trunk/; revision=2146
* + * shell/main.c (evolution_boot): gtk_signal_connect'ed "destroy"Matthew Loper2000-03-231-60/+59
| | | | | | | | | | | | | + 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. + + * camel/camel-formatter.c (debug): Disabled some useless debug + messaging. svn path=/trunk/; revision=2141
* New private field in EShellView added, which contains the notebook and aMatthew Loper2000-03-211-19/+73
| | | | | | | | | | | | | | * 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. svn path=/trunk/; revision=2122
* Added an E_FOLDER_CONTACTS section to the get_view function.Christopher James Lahey2000-03-141-0/+25
| | | | | | | | | | | | | | | | | | | | | 2000-03-13 Christopher James Lahey <clahey@helixcode.com> * shell/e-shell-view.c: Added an E_FOLDER_CONTACTS section to the get_view function. * addressbook/demo/Makefile.am: Added files for addressbook bonobo component. Changed non bonobo version to compile as test-addressbook. * addressbook/demo/addressbook.c, addressbook/demo/addressbook.gnorba, addressbook/demo/addressbook.h, addressbook/demo/addressbook-factory.c, addressbook/demo/addressbook-widget.c, addressbook/demo/addressbook-widget.h: New factory to create an addressbook bonobo component. svn path=/trunk/; revision=2114
* (get_view): added a parameter to have a reference to the EShellView.bertrand2000-03-131-12/+37
| | | | | | | | | | | | | | | | | 2000-03-13 bertrand <bertrand@helixcode.com> (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. The Mail component now has a reference to the shell corba server. It is gonna make it possible to register new services in the shell. svn path=/trunk/; revision=2111
* once we have the bonobo control widget, disable the autoactivation andbertrand2000-03-131-5/+16
| | | | | | | | | | | | | | | | | | | | | | | 2000-03-13 bertrand <bertrand@helixcode.com> * shell/e-shell-view.c (get_view): once we have the bonobo control widget, disable the autoactivation and activate the control frame. 2000-03-12 bertrand <bertrand@helixcode.com> * folder-browser-factory.c (folder_browser_factory_init): name change. (control_activate_cb): when the control is activated, it merges its own UI with the remote UIHandler. (control_add_menu): sample menu merging. (folder_browser_factory): connect the control "activate" signal. (Bonobo control / shell view) UIMenu merging. svn path=/trunk/; revision=2110
* name changebertrand2000-03-131-1/+1
| | | | | | | | | | | | | | | | 2000-03-12 bertrand <bertrand@helixcode.com> * shell/e-shell-view.c (get_view): name change 2000-03-12 bertrand <bertrand@helixcode.com> * folder-browser-factory.c (folder_browser_factory_init): name change. * evolution-mail.gnorba: name changes svn path=/trunk/; revision=2109
* added the get_e_folder_type function.bertrand2000-03-131-9/+28
| | | | | | | | | | | | | | | | | | | | | 2000-03-12 bertrand <bertrand@helixcode.com> * shell/e-folder.c (e_folder_get_folder_type): added the get_e_folder_type function. 2000-03-12 bertrand <bertrand@helixcode.com> * folder-browser.h: added a reference to an Evolution::Shell object. * folder-browser-factory.c (folder_browser_set_shell): (folder_browser_control_add_service_repository_interface): (folder_browser_factory): the folder-browser control now implements the Evolution/ServiceRepository interface. Sync for matt svn path=/trunk/; revision=2108
* Implementation of the service repository interface as a bonobo object.bertrand2000-03-121-0/+2
| | | | | | | | | | | | | | | | | | 2000-03-12 bertrand <bertrand@helixcode.com> * 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 svn path=/trunk/; revision=2103
* More changes than a man can remember.Bertrand Guiheneuf2000-03-061-2/+9
| | | | | | The UI works now. svn path=/trunk/; revision=2074
* More work on the code. Added more for the framework.Arturo Espinosa2000-01-191-19/+39
| | | | | | | | More work on the code. Added more for the framework. Miguel. svn path=/trunk/; revision=1593
* More work; Model view for the shortcut bar is better; More menus; More ↵Arturo Espinosa2000-01-181-72/+4
| | | | | | features -migu svn path=/trunk/; revision=1587
* Shaping up; Model/view is still not fully setup, but coming, comingArturo Espinosa2000-01-171-9/+72
| | | | svn path=/trunk/; revision=1580
* Use e_bar_set_item_data.Miguel de Icaza2000-01-161-1/+68
| | | | | | | | | | | | | | | | 2000-01-10 Miguel de Icaza <miguel@gnu.org> * 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-09 Miguel de Icaza <miguel@gnu.org> * widgets/shortcut-bar/e-icon-bar.c (e_icon_bar_init): Turn on anti-aliasing. svn path=/trunk/; revision=1573
* MoreArturo Espinosa2000-01-121-0/+66
More svn path=/trunk/; revision=1561