aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view.h
Commit message (Collapse)AuthorAgeFilesLines
* Bug 721545 - License text contains obsolete FSF postal addressMatthew Barnes2014-01-081-10/+9
|
* Bug #682277 - Multiselect of messages causes slow UI updateMilan Crha2013-08-201-0/+2
|
* EShellView: Add a "view-instance" property.Matthew Barnes2013-07-061-3/+7
| | | | | | | | | | | | | | EShellView now holds a reference to the active GalViewInstance. Where applicable, the EShellView subclass is responsible for keeping this up to date when the sidebar selection changes. Holding a reference allows EShellView to implement common actions like "Save Current View" directly instead pushing it on to subclasses. New functions: e_shell_view_get_view_instance e_shell_view_set_view_instance
* Remove e_shell_view_[un]block_update_actions().Matthew Barnes2013-06-011-4/+0
| | | | No longer needed.
* Add e_shell_view_get_size_group().Matthew Barnes2013-04-091-0/+1
| | | | | Returns a GtkSizeGroup used to keep the search bar and sidebar banner vertically aligned.
* libeshell documentation cleanups.Matthew Barnes2012-12-141-0/+10
|
* Consolidate base utility libraries into libeutil.Matthew Barnes2012-12-131-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Evolution consists of entirely too many small utility libraries, which increases linking and loading time, places a burden on higher layers of the application (e.g. modules) which has to remember to link to all the small in-tree utility libraries, and makes it difficult to generate API documentation for these utility libraries in one Gtk-Doc module. Merge the following utility libraries under the umbrella of libeutil, and enforce a single-include policy on libeutil so we can reorganize the files as desired without disrupting its pseudo-public API. libemail-utils/libemail-utils.la libevolution-utils/libevolution-utils.la filter/libfilter.la widgets/e-timezone-dialog/libetimezonedialog.la widgets/menus/libmenus.la widgets/misc/libemiscwidgets.la widgets/table/libetable.la widgets/text/libetext.la This also merges libedataserverui from the Evolution-Data-Server module, since Evolution is its only consumer nowadays, and I'd like to make some improvements to those APIs without concern for backward-compatibility. And finally, start a Gtk-Doc module for libeutil. It's going to be a project just getting all the symbols _listed_ much less _documented_. But the skeletal structure is in place and I'm off to a good start.
* Avoid using GdkEventButton directly in certain places.Matthew Barnes2012-11-301-1/+1
| | | | | | | | | | | | Prefer dealing with GdkEvent pointers and using accessor functions like gdk_event_get_button(). This is complicated by the fact that some GtkWidget method declarations still use GdkEventButton pointers, and synthesizing button events pretty much requires direct GdkEventButton access. But GDK seems to be nudging itself toward sealing the GdkEvent union. Likely to happen in GDK4. Mainly clean up signal handlers and leave method overrides alone for now.
* Bug #422273 - Wrap searchbar widgets for smaller minimum width requestMilan Crha2012-10-311-1/+0
|
* Add e_shell_view_remote_delete_source().Matthew Barnes2012-08-031-0/+3
| | | | | Convenience function wraps e_source_remote_delete() but handles user-facing activity and error display.
* Adapt to single-include E-D-S libraries.Matthew Barnes2012-06-041-1/+1
|
* Adapt libeshell to the new ESource API.Matthew Barnes2012-06-031-0/+6
|
* EShellView: Add new_shell_searchbar() factory method.Matthew Barnes2012-02-201-0/+1
| | | | Defaults to e_shell_searchbar_new().
* Do not auto-mark-as-seen when changing filter typeMilan Crha2012-01-111-0/+2
|
* Bug #613352 - Changed time range not propagated to calendarMilan Crha2010-04-011-0/+4
|
* Simplify the search UI for express mode.Matthew Barnes2010-03-271-0/+6
| | | | | | | | | | | | | | | For express mode: - Move the search bar up to the toolbar. - Hide the "filter" combo box and lock down the first item. - Hide the "scope" combo box and lock down the first item. (This is the combo box with "Current Folder" only in the mailer.) - EShellView owns the search bar widget now instead of EShellContent. - Insert several nasty hacks that will likely come back to bite me.
* Move "section" documentation out of header files.Matthew Barnes2010-03-221-6/+0
|
* Update API documentation.Matthew Barnes2010-02-101-0/+4
| | | | Also, start fixing some Gtk-Doc warnings. There's a lot.
* Refactor the EShell search API.Matthew Barnes2009-12-191-2/+31
| | | | | | | | | | | | | | | | | Move the search interface to a new widget: EShellSearchbar The current search rule is now stored in EShellView, and the search context in EShellViewClass similar to GalViewCollection (since it's class-specific, not instance-specific). Also add a couple new signals to EShellView: "clear-search" and "custom-search" ("custom" refers to an advanced search or a saved search -- something more complex than a quick search). Still working out a few kinks. The search entry is clearly trying to be too many things. We need a different way of indicating that you're looking at search results. Perhaps a search results banner similar to Nautilus.
* Bug #603184 - Various problems with search box in foldersMilan Crha2009-12-181-0/+2
|
* Don't update the message list when right-clicking on a folder.Matthew Barnes2009-10-281-1/+1
| | | | | | After the folder's context menu closes the folder tree selection jumps back to the folder whose contents are showing in the message list. Suggested by Philippe LeCavalier on evolution-list.
* Whitespace cleanup.Matthew Barnes2009-09-051-2/+2
|
* Introduce an EShellView::execute-search signal.Matthew Barnes2009-09-031-1/+6
| | | | | | | | | | | | This addresses bug #593896 but is also a cleaner design than before. It introduces an EShellView::execute-search signal and renames the "search-execute" action to "search-quick" to clarify that it's only meant for the "quick" search bar in the main window. Shell view subclasses should implement the execute_search() method to actually execute a search. e_shell_view_execute_search() emits the new signal.
* Fix widget include paths in public header files.Matthew Barnes2009-08-311-2/+2
|
* Fix up EShell API documentation.Matthew Barnes2009-07-011-0/+1
|
* Use key files for tracking widget states.Matthew Barnes2009-06-131-0/+2
| | | | | | | | | | | | | | | | | Each EShellView now maintains a GKeyFile for recording disposable widget state such as tree view path expansion, scroll bar positions, combo box selections, etc. The EShellView records changes to the key file to ~/.evolution/<shell-backend>/config/state, and automatically restores the GKeyFile at startup. Currently only the mailer uses the key file, but it's intended to serve all shell views. It replaces the use of Camel "cmeta" files, as well as "et-expanded-*" and "folder-tree-expand-state.xml" files. Also, the mailer's folder tree model now includes a column for tracking which sidebar folders are expanded. Folder tree widgets appearing in dialog windows can copy the sidebar's expanded state using em_folder_tree_clone_expanded().
* Whitespace cleanup.Matthew Barnes2009-05-291-24/+24
|
* Merge branch 'master' into kill-bonoboMatthew Barnes2009-05-271-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: a11y/widgets/ea-combo-button.c a11y/widgets/ea-combo-button.h addressbook/gui/component/addressbook-component.c addressbook/gui/component/addressbook-component.h addressbook/gui/component/addressbook-view.c addressbook/gui/component/addressbook-view.h addressbook/gui/component/component-factory.c addressbook/gui/widgets/e-addressbook-view.c addressbook/gui/widgets/eab-contact-display.c addressbook/gui/widgets/eab-gui-util.h addressbook/gui/widgets/eab-menu.c addressbook/gui/widgets/eab-menu.h addressbook/gui/widgets/eab-popup-control.c addressbook/gui/widgets/eab-popup-control.h addressbook/gui/widgets/eab-popup.c addressbook/gui/widgets/eab-popup.h calendar/gui/cal-search-bar.c calendar/gui/calendar-commands.c calendar/gui/calendar-component.c calendar/gui/comp-editor-factory.c calendar/gui/comp-editor-factory.h calendar/gui/control-factory.c calendar/gui/dialogs/comp-editor.c calendar/gui/e-cal-component-memo-preview.c calendar/gui/e-cal-component-memo-preview.h calendar/gui/e-calendar-table.c calendar/gui/e-memo-table.c calendar/gui/e-memos.c calendar/gui/e-tasks.c calendar/gui/gnome-cal.c calendar/gui/gnome-cal.h calendar/gui/itip-bonobo-control.c calendar/gui/itip-bonobo-control.h calendar/gui/main.c calendar/gui/memos-component.c calendar/gui/memos-control.c calendar/gui/memos-control.h calendar/gui/migration.c calendar/gui/migration.h calendar/gui/tasks-component.c calendar/gui/tasks-control.c calendar/importers/main.c composer/Makefile.am composer/e-composer-header-table.c composer/e-composer-header.c composer/e-composer-header.h composer/e-composer-name-header.c composer/e-composer-private.c composer/e-composer-text-header.c composer/e-msg-composer.c composer/e-msg-composer.h e-util/e-corba-utils.h e-util/e-logger.c e-util/e-logger.h e-util/e-util-labels.c e-util/e-util-labels.h em-format/em-format.c mail/Makefile.am mail/e-mail-shell-migrate.c mail/em-account-editor.c mail/em-account-editor.h mail/em-composer-prefs.c mail/em-composer-utils.c mail/em-composer-utils.h mail/em-folder-browser.c mail/em-folder-tree-model.c mail/em-folder-tree.c mail/em-folder-tree.h mail/em-folder-utils.c mail/em-folder-utils.h mail/em-folder-view.c mail/em-format-html-display.c mail/em-format-html.c mail/em-mailer-prefs.c mail/em-mailer-prefs.h mail/em-message-browser.c mail/em-message-browser.h mail/em-network-prefs.h mail/em-popup.c mail/em-utils.c mail/importers/Makefile.am mail/mail-component-factory.c mail/mail-component.c mail/mail-config-factory.c mail/mail-config-factory.h mail/mail-config.c mail/mail-dialogs.glade mail/mail-types.h plugins/calendar-weather/calendar-weather.c plugins/mail-account-disable/mail-account-disable.c plugins/select-one-source/select-one-source.c po/POTFILES.in shell/e-component-registry.c shell/e-component-registry.h shell/e-component-view.c shell/e-component-view.h shell/e-corba-config-page.c shell/e-corba-config-page.h shell/e-shell-constants.h shell/e-shell-settings-dialog.c shell/e-shell-settings-dialog.h shell/e-shell-window-commands.c shell/e-shell-window.c shell/e-shell.h shell/e-sidebar.c shell/e-sidebar.h shell/e-user-creatable-items-handler.c shell/e-user-creatable-items-handler.h shell/es-menu.c shell/es-menu.h shell/evolution-component.h shell/evolution-config-control.c shell/evolution-config-control.h shell/evolution-listener.c shell/evolution-listener.h shell/evolution-shell-component-utils.c shell/evolution-shell-component-utils.h shell/importer/evolution-importer-client.c shell/importer/evolution-importer-client.h shell/importer/evolution-importer-listener.c shell/importer/evolution-importer-listener.h shell/importer/evolution-importer.c shell/importer/evolution-importer.h shell/importer/evolution-intelligent-importer.c shell/importer/evolution-intelligent-importer.h shell/importer/intelligent.c shell/main.c shell/test/evolution-test-component.c shell/test/evolution-test-component.h widgets/menus/gal-view-instance.c widgets/menus/gal-view-menus.c widgets/menus/gal-view-menus.h widgets/misc/Makefile.am widgets/misc/e-activity-handler.c widgets/misc/e-activity-handler.h widgets/misc/e-charset-picker.c widgets/misc/e-combo-button.c widgets/misc/e-combo-button.h widgets/misc/e-config-page.h widgets/misc/e-dropdown-button.c widgets/misc/e-dropdown-button.h widgets/misc/e-filter-bar.c widgets/misc/e-info-label.c widgets/misc/e-info-label.h widgets/misc/e-multi-config-dialog.c widgets/misc/e-multi-config-dialog.h widgets/misc/e-search-bar.c widgets/misc/e-search-bar.h widgets/misc/e-task-bar.c widgets/misc/e-task-bar.h widgets/misc/e-task-widget.c widgets/misc/e-task-widget.h widgets/misc/test-dropdown-button.c widgets/misc/test-error.c widgets/misc/test-info-label.c widgets/table/e-table-example-1.c
| * Remove trailing whitespace, again.Matthew Barnes2009-05-271-1/+1
| |
| * License ChangesSankarasivasubramanian Pasupathilingam2008-08-271-11/+11
| | | | | | | | svn path=/trunk/; revision=36116
* | Fix bugs caused by EShellBackend changes.Matthew Barnes2009-05-101-0/+3
| |
* | Convert EShellModule to EShellBackendMatthew Barnes2009-05-071-12/+2
| | | | | | | | | | | | | | | | Split the GTypeModule loader out of EShellModule as EModule, and rename EShellModule to EShellBackend. Backends (formerly modules) should now subclass EShellBackend. This commit converts EShell but breaks all the shell backends.
* | Make the sidebar icon follow the folder icon.Matthew Barnes2009-01-251-1/+2
| | | | | | | | | | | | Fix more runtime warnings. svn path=/branches/kill-bonobo/; revision=37130
* | Redesign EPluginUI to accommodate merging and unmerging shell views.Matthew Barnes2009-01-241-0/+6
| | | | | | | | | | | | Get the "mark-all-read" and "plugin-manager" plugins working. svn path=/branches/kill-bonobo/; revision=37125
* | Progress update:Matthew Barnes2008-11-191-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Tighter integration of GalViewInstance and EShellView. - EBinding. Stolen from ExoBinding. Lets you bind GObject properties together to automatically keep their values in sync. This is a godsend. Added to e-util, but might even deserve a place in libedataserver. - EShellSettings. This is the concept I blogged about. Already started ripping apart em-mailer-prefs.c. Others to follow. Any place where we're monitoring GConf keys is a target. - Incremental progress on the calender and mailer. Got EMFolderView somewhat working, but I think I'll be killing off EMFolderBrowser. svn path=/branches/kill-bonobo/; revision=36795
* | Get the calendar's memopad and taskpad working.Matthew Barnes2008-10-301-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | What's interesting here is we're actually sharing the ECalModel across views. Instead of having the Calendar view listen to GConf for changes to the Task and Memo models, the Calendar view fetches the models directly from the Task and Memo views -- starting the views if it has to, although the shell really takes care of that -- and loads the models into its own taskpad and memopad. We couldn't do that sort of thing before with Bonobo in the way. Big chunks of redundant code should begin falling out shortly. svn path=/branches/kill-bonobo/; revision=36696
* | Tasks progress. Merge EMemoPreview back into ECalComponentPreview.Matthew Barnes2008-10-031-0/+7
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36538
* | Update the headers on files I've created or completely rewritten to matchMatthew Barnes2008-10-021-1/+1
| | | | | | | | | | | | Sankar's LGPLv3 template. svn path=/branches/kill-bonobo/; revision=36535
* | Merge revisions 36016:36533 from trunk.Matthew Barnes2008-10-021-7/+7
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36534
* | Add more EShell API documentation.Matthew Barnes2008-10-021-4/+42
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36533
* | Continue documenting the new shell API.Matthew Barnes2008-10-011-1/+15
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36511
* | Get Memos to come up. Doesn't really work yet, but the widgets are all there.Matthew Barnes2008-09-301-2/+10
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36491
* | Saving progress. Experimenting with directory layout.Matthew Barnes2008-09-251-9/+12
| | | | | | | | | | | | | | Saving progress. Experimenting with directory layout. svn path=/branches/kill-bonobo/; revision=36446
* | Search UI is kinda sorta working. Still some outstanding issues.Matthew Barnes2008-09-231-0/+3
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36427
* | Replace EActivityHandler with a new activity-tracking system that usesMatthew Barnes2008-09-201-0/+3
| | | | | | | | | | | | | | | | | | EActivity objects instead of numeric handler IDs. Create an EActivity, configure it, and (optionally) connect to its "cancelled" and "completed" signals. Then hand it to the shell view via e_shell_view_add_activity(). When finished with the activity, call e_activity_finish() and unref it. svn path=/branches/kill-bonobo/; revision=36391
* | Massive address book refactoring. Things are mostly working again.Matthew Barnes2008-09-171-21/+19
| | | | | | | | | | | | Also, begin documenting the new shell API, and provide a Gtk-Doc framework. svn path=/branches/kill-bonobo/; revision=36359
* | Allow EShellContent, EShellSidebar, and EShellTaskbar to be subclassed,Matthew Barnes2008-09-131-4/+9
| | | | | | | | | | | | and begin doing so for Calendars, Memos and Tasks. Makes the code cleaner. svn path=/branches/kill-bonobo/; revision=36317
* | Merge revisions 36016:36303 from trunk.Matthew Barnes2008-09-111-10/+12
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36307
* | Add menu and toolbar UI for calendars, memos and tasks.Matthew Barnes2008-09-111-1/+1
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36299
* | Add stubs for calendar, task, and memo shell views.Matthew Barnes2008-09-111-9/+0
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36296
* | Fix some bootstrapping issues.Matthew Barnes2008-09-101-0/+1
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36291
* | Progress update:Matthew Barnes2008-09-091-4/+7
| | | | | | | | | | | | | | | | - Merge ETaskBar into EShellTaskbar. - Remember the last view, and make --component work. svn path=/branches/kill-bonobo/; revision=36278
* | Progress update:Matthew Barnes2008-09-071-2/+2
| | | | | | | | | | | | | | | | | | - Contacts module mostly working now. - View and search UI not yet working. - Still refining shell design. svn path=/branches/kill-bonobo/; revision=36268
* | Saving progress. Lots of changes. Things are a bit broken at the moment.Matthew Barnes2008-09-051-6/+7
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36260
* | Preferences window awesomeness.Matthew Barnes2008-08-301-2/+1
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36215
* | Progress update:Matthew Barnes2008-08-301-0/+15
| | | | | | | | | | | | | | | | | | | | | | - Contacts module partially working! - Implement UI merging. Also merge EInfoLabel into ESidebar. The shell window now manages the icon and labels and keeps them up-to-date via EShellView properties. svn path=/branches/kill-bonobo/; revision=36214
* | Progress update:Matthew Barnes2008-08-271-0/+1
| | | | | | | | | | | | | | | | - Get the test module to demonstrate populating the shell window (particularly, the various notebooks) with some stupid widgets. svn path=/branches/kill-bonobo/; revision=36094
* | Progress update:Matthew Barnes2008-08-271-3/+5
| | | | | | | | | | | | | | | | | | - Further refinements of the shell API. - Kill ESMenu and EUserCreatableItemsHandler. - Start ripping apart the addressbook component. svn path=/branches/kill-bonobo/; revision=36093
* | Committing the day's progress.Matthew Barnes2008-08-191-11/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | Realized the "New" menu construction algorithm needs to live independently of shell view instances since we lazy load the shell views but have to display all possible "New" items immediately. Prototype the mechanisms for managing the various shell views and keeping track of which one is current. Various other tightening up and rethinking of APIs. svn path=/branches/kill-bonobo/; revision=36022
* | Write the algorithm for sorting items in the "New" menu. Not yet tested.Matthew Barnes2008-08-171-1/+12
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36004
* | Demonstrate displaying the test shell view.Matthew Barnes2008-08-141-1/+1
| | | | | | | | | | | | | | Also get the "Switcher Appearance" menu working... mostly. Still need to respond to GtkSettings notifications and make the preference persistent. svn path=/branches/kill-bonobo/; revision=35985
* | Disable all components and plugins. Begin rewriting the shell.Matthew Barnes2008-07-171-38/+47
|/ | | | svn path=/branches/kill-bonobo/; revision=35748
* updated novell copyright notices (left others alone)Jeffrey Stedfast2008-06-211-1/+1
| | | | svn path=/trunk/; revision=35665
* ** Fixes bug #534360Matthew Barnes2008-05-231-4/+4
| | | | | | | | | | | | 2008-05-22 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #534360 Migrate from deprecated GtkObject symbols to GObject equivalents. Touches over 150 files in all components; too many to list. svn path=/trunk/; revision=35526
* Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-021-2/+2
| | | | | | | | | | 2007-09-02 Matthew Barnes <mbarnes@redhat.com> * Update FSF address in header comments (#469886). Patch from Tobias Mueller. svn path=/trunk/; revision=34151
* added these files for fixing bug ↵Parthasarathi Susarla2005-12-211-0/+70
| | | | | | | | | http://bugzilla.gnome.org/show_bug.cgi?id=260354 shell/e-shell-view.c shell/e-shell-view.h shell/e-component-view.c shell/e-component-view.h svn path=/trunk/; revision=30914
* Do not #include "e-local-folder.h".Ettore Perazzoli2003-11-181-128/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-setup.c: Do not #include "e-local-folder.h". * Makefile.am: Don't build evolution-test-component for now since it's all out of date. * main.c (evolution_debug_log): Make static instead of extern. * e-user-creatable-items-handler.c: #include <bonobo/bonobo-control.h>. * e-shell.h: Do not include "e-uri-schema-registry.h" or "evolution-shell-component-client.h". * e-shell.c: Likewise. * e-shell.c (struct _EShellPrivate): Removed member uri_schema_registry. (impl_Shell_handleURI): #if 0 it out for now. (e_shell_peek_uri_schema_registry): Disabled for now. * e-corba-storage-registry.c: Remove. * e-corba-storage-registry.h: Remove. * e-corba-storage.c: Remove. * e-corba-storage.h: Remove. * e-folder-dnd-bridge.c: Remove. * e-folder-dnd-bridge.h: Remove. * e-folder-selection-dialog.c: Remove. * e-folder-selection-dialog.h: Remove. * e-folder-type-registry.c: Remove. * e-folder-type-registry.h: Remove. * e-local-folder.c: Remove. * e-local-folder.h: Remove. * e-local-storage.c: Remove. * e-local-storage.h: Remove. * e-shell-folder-selection-dialog.c: Remove. * e-shell-folder-selection-dialog.h: Remove. * e-shell-view.c: Remove. * e-shell-view.h: Remove. * e-storage-browser.c: Remove. * e-storage-browser.h: Remove. * e-storage-set-view.c: Remove. * e-storage-set-view.h: Remove. * e-storage-set.c: Remove. * e-storage-set.h: Remove. * e-storage.c: Remove. * e-storage.h: Remove. * evolution-shell-component-client.c: Remove. * evolution-shell-component-client.h: Remove. * evolution-shell-component-dnd.c: Remove. * evolution-shell-component-dnd.h: Remove. * evolution-storage-listener.c: Remove. * evolution-storage-listener.h: Remove. * evolution-storage-set-view-listener.c: Remove. * evolution-storage-set-view-listener.h: Remove. svn path=/trunk/; revision=23396
* Disabled for now.Ettore Perazzoli2002-11-201-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * main.c (upgrade_from_1_0_if_needed): Disabled for now. * e-shell-startup-wizard.c: Removed member config_listener from struct SWData. (e_shell_startup_wizard_create): Updated accordingly, just use GConf, checking the /apps/evolution/mail/account-list key. (finish_func): Use GConf. * e-shell-config-default-folders.c: Removed member config_listener in struct EvolutionDefaultFolderConfig. (e_shell_config_default_folders_create_widget): Do not initialize here. GConfified the paths. (config_control_destroy_notify): No unref of the config_listener anymore. (config_control_apply_cb): Use GConf. (setup_folder_selector): Likewise. * e-shell-config-autocompletion.c: Removed member config_listener from EvolutionAutocompletionConfig. (config_control_destroy_notify): Do not unref. (config_control_apply_callback): Use a GConfClient. * e-folder-list.c (e_folder_list_init): Add missing cast. * main.c (show_development_warning): Use GConf. * e-setup.c (e_setup_check_config): Removed arg @listener. GConfified. * e-shell-view.c (e_shell_view_save_defaults): New. (e_shell_view_save_settings): Removed. (e_shell_view_load_settings): Removed. (setup_defaults): New helper function. (e_shell_view_construct): New arg @uri. (e_shell_view_new): New arg @uri. * e-shell.c: Removed member config_listener in struct EShellPrivate. (impl_dispose): Do not unref. (init): Do not initialize. (get_config_start_offline): New helper function. (e_shell_construct): Use this to get the startup mode in case E_SHELL_STARTUP_LINE_MODE_CONFIG. (save_misc_settings): Changed to use GConfClient instead of EConfigListener. (e_shell_create_view_from_settings): Removed. (e_shell_restore_from_settings): Removed. (e_shell_get_config_listener): Removed. (e_shell_disconnect_db): Removed. (parse_default_uri): Use GConf. * main.c (idle_cb): Simplified the logic here. Always assume that the view will be created with the default folder open by just using e_shell_create_view(). svn path=/trunk/; revision=18844
* First big sync of my GNOME 2 porting work (incomplete, and stillEttore Perazzoli2002-11-021-1/+1
| | | | | | | | pretty broken). Weeeeee! svn path=/trunk/; revision=18503
* Pass TRUE as @queue to e_shell_view_display_uri().Ettore Perazzoli2002-09-051-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell.c (create_view): Pass TRUE as @queue to e_shell_view_display_uri(). * e-shell-view-menu.c (command_activate_view): Pass TRUE as @queue to e_shell_view_display_uri(). (goto_folder_dialog_folder_selected_cb): Likewise. * e-shell-shared-folder-picker-dialog.c (shared_folder_discovery_listener_callback): Pass TRUE as @queue to e_shell_view_display_uri(). * e-shell-view.c (display_uri): New arg @queue. If true, it allows the delayed_selection mechanism to happen transparently (returning TRUE, while before it used to return FALSE). Otherwise, refuse to queue the URI and return FALSE. (e_shell_view_display_uri): New arg @queue; pass it to display_uri(). (handle_current_folder_removed): Pass TRUE as @queue to e_shell_view_display_uri(). (set_folder_timeout): Likewise. (switch_on_folder_tree_click): Likewise. (activate_shortcut_cb): Likewise. (corba_interface_change_current_view_cb): Likewise. (socket_destroy_cb): Likewise. (socket_destroy_cb): Likewise. (e_shell_view_load_settings): Here, try displaying the old URI with @queue set to FALSE; if this fails, display the default URI and then invoke display again using @queue = TRUE so it gets queued up. This should fix #27721. svn path=/trunk/; revision=17972
* Get the EStorageSet from the shortcut's shell since there is noEttore Perazzoli2002-07-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shortcuts-view-model.c (get_icon_for_item): Get the EStorageSet from the shortcut's shell since there is no e_shortcuts_get_storage_set() anymore. * e-shortcuts-view.c (get_shortcut_info): Likewise. (impl_shortcut_drag_motion): Likewise. (impl_shortcut_drag_data_received): Likewise. * e-shell.c (e_shell_construct): e_shortcuts_new_from_file(), not e_shortcuts_new() here. * e-shortcuts.c: Removed members storage_set and folder_type_registy in EShortcutsPrivate. New member shell. (init): Init to NULL. (e_shortcuts_construct): Removed arg @storage_set and @folder_type_registry, new arg @shell. (e_shortcuts_new): Removed. (e_shortcuts_new_from_file): New. (impl_destroy): Renamed from destroy(). (e_shortcuts_get_storage_set): Removed. (e_shortcuts_get_shell): New. (load_shortcuts): Accept any URI that can be parsed (by e_shell_parse_uri). * e-shell.c (e_shell_parse_uri): New. * e-shell-view.c (evolution_uri_for_default_uri): New. (display_uri): Use it to determine the evolution: uri given a default: uri. * e-shell.c (impl_Shell_handleURI): Pass it over to e_shell_create_view_from_uri_and_settings() even if it's an E_SHELL_DEFAULTURI_PREFIX. (handle_default_uri): Removed. svn path=/trunk/; revision=17497
* emit show_settings signal (corba_class_init): assign epv methodJP Rosevear2002-04-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-04-18 JP Rosevear <jpr@ximian.com> * evolution-shell-view.c (impl_ShellView_show_settings): emit show_settings signal (corba_class_init): assign epv method (class_init): add signal * evolution-shell-view.h: new signal * e-shell.c (init): init settings_dialog private member (settings_dialog_destroy_cb): reset dialog pointer (e_shell_show_settings): show the settings dialog, bring it to the front if one already exists for this shell * e-shell.h: new proto * e-shell-view.c (corba_interface_show_settings): implement showSettings method (setup_corba_interface): listen for show_settings signal (e_shell_view_show_settings): show the settings dialog * e-shell-view.h: new proto * e-shell-view-menu.c (command_settings): call e_shell_view_show_settings instead * Evolution-ShellView.idl: add showSettings method svn path=/trunk/; revision=16510
* Fix "evolution evolution:/path/to/folder" to use default viewDan Winship2002-04-081-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | prefs. * e-shell.c (impl_Shell_createNewView): Use e_shell_create_view_from_uri_and_settings to create the new view based on saved view 0 instead of always using the initial evolution defaults. (e_shell_create_view_from_uri_and_settings): Renamed and simplified; the template_view argument was useless and settings_found would always be set to TRUE in the context it was being used it. (e_shell_restore_from_settings): Simplify for e_shell_create_view_from_uri_and_settings changes. * e-shell-view.c (e_shell_view_load_settings): Only load the DisplayedURI if the view isn't already displaying a URI. Also, pass an &ev to the first bonobo_config_get_long so we can tell if it failed and bail out. * e-shell-view.h: Remove a prototype for a non-existent function (e_shell_view_remove_control_for_uri). * main.c (idle_cb): Add some comments here and remove some dead code. svn path=/trunk/; revision=16389
* [Implement an Outlook-style "New" dropdown button. It is basicallyEttore Perazzoli2002-01-241-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | done but it needs pretty icons so I am leaving it disabled for now.] * e-combo-button.c: Remove member `separator' from `EComboButtonPrivate'. New members `icon', `label'. (init): There shall be no separator no more. Init `icon' and `label' to %NULL. (e_combo_button_construct): Set no relief. (e_combo_button_new): Don't get a @menu arg anymore. (e_combo_button_construct): Likewise. (e_combo_button_set_icon): New. (e_combo_button_set_label): New. (e_combo_button_set_menu): New. (impl_clicked): New, overriding the "clicked" method for GtkButton. (class_init): Install. (impl_button_release_event): Removed. (class_init): No need to override ::release_event with this anymore. (impl_released): New, override for the GtkButton::released method. (class_init): Install. * e-shell-user-creatable-items-handler.c: New member `id' in struct `Component'. New member `icon' in struct `MenuItem'. (component_free): Free ->id. (component_new): Renamed from `component_new_from_client'. Get an @id arg and set ->id accordingly. (e_shell_user_creatable_items_handler_add_component): New arg @id. Pass it to `component_new'. (e_shell_user_creatable_items_handler_setup_menus): New arg @current_component_id. (e_shell_user_creatable_items_handler_update_menus): New. (set_current_component): New helper function. (get_component_by_id): New helper function. (add_verbs): Renamed from `add_verbs_to_ui_component()'. Get a @shell_view instead of a @ui_component. Set the SHELL_VIEW_KEY on the ui_component of the shell_view to point to the shell_view itself. (ensure_menu_items): Set item->icon to NULL. (free_menu_items): Unref item->icon. (ensure_menu_xml): Set the icon as well. (get_default_action_for_view): New helper function. (find_menu_item_for_verb): New helper function. (shell_view_view_changed_callback): New callback, set up the label on the "New" button depending on the current component. (e_shell_user_creatable_items_handler_attach_menus): New. For now, do not display the toolbar button yet. (execute_verb): New helper function, splitting out code from `verb_fn'. (verb_fn): Use `execute_verb'. (combo_button_activate_default_callback): Callback for the "activate_default" signal on the EComboButton. (setup_toolbar_button): Connect. * evolution-shell-component.c: New member `icon' in `UserCreatableItemType'. (impl__get_userCreatableItemTypes): Put the ->icon in the corba_type as well. (user_creatable_item_type_new): Get a new @icon argument. (evolution_shell_component_add_user_creatable_item): New arg @icon. * Evolution-ShellComponent.idl: New member `icon' in struct `UserCreatableItemType'. * evolution-test-component.c (register_component): Pass a NULL @icon to `evolution_shell_component_add_user_creatable_item()'. * e-shell-view.c (class_init): Add the signal to the class. (e_shell_view_display_uri): Emit "view_changed". (e_shell_view_get_current_component_id): New. * evolution-shell-component-client.c: New member `id' in EvolutionShellComponentClientPrivate. (init): Init to NULL. (impl_destroy): Free. (evolution_shell_component_client_new_for_objref): Removed. (evolution_shell_component_client_construct): New arg @id. Initialize ->id from it. (evolution_shell_component_client_get_id): New. * e-shell-view.h: New signal "view_changed". * evolution-activity-client.c (create_icon_from_pixbuf): Removed. (create_corba_animated_icon_from_pixbuf_array): Removed. (evolution_activity_client_construct): Use `e_new_corba_animated_icon_from_pixbuf_array()' instead. svn path=/trunk/; revision=15438
* Fix the license text to make sense.Ettore Perazzoli2001-10-271-1/+0
| | | | svn path=/trunk/; revision=14192
* Update the licensing information to require version 2 of the GPLEttore Perazzoli2001-10-271-2/+2
| | | | | | explicitly. svn path=/trunk/; revision=14186
* New helper function. (command_move_folder): Pass the @folder_path argumentEttore Perazzoli2001-09-261-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* [Fix #6971, Default folder should be the Summary.]Ettore Perazzoli2001-09-051-1/+1
| | | | | | | | | | | | | | | | | | | | * 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
* New, replacing `shortcut_bar_mode_changed_cb'.Ettore Perazzoli2001-08-191-16/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Updated to display the parent folder's URI and its type as well.Ettore Perazzoli2001-08-101-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* [This is a better way to have "Local Folders" be shown as the localJason Leach2001-07-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-20 Jason Leach <jleach@ximian.com> [This is a better way to have "Local Folders" be shown as the local storage name without breaking current user's shortcuts.] * e-corba-storage.c (get_display_name): Implement this, but it's only returning the real name now. Need to change the IDL soon to let corba storages have separated display names. * e-shortcuts.c (e_shortcuts_add_default_group): Set these default shortcut URI's back to evolution:/local/ * e-shell-view.h (DEFAULT_URI): Set this back to "evolution:/local/Inbox" * e-storage-set-view.c (etree_value_at): Get the display name for a storage rather than it's true name. * e-local-storage.c (impl_get_display_name): Implemented for the local folder (to return a translated "Local Folders"). * e-storage.c (e_storage_get_display_name): New virtual function for retrieving the display name. svn path=/trunk/; revision=11274
* Make the local storage name "Local Folders" instead of "local", looksJason Leach2001-07-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | 2001-07-19 Jason Leach <jleach@ximian.com> * e-local-storage.h: Make the local storage name "Local Folders" instead of "local", looks better with "My Evolution", "VFolders", and "Other Contacts". * e-shell-view.h: Put the #define DEFAULT_URI here instead of in e-shell-view.c. * main.c: Remove the duplicated #define STARTUP_URI, actually make use of the nice defines. * e-shell-folder-commands.c (e_shell_command_delete_folder): Use the DEFAULT_URI here instead of a hard coded string. * e-shortcuts.c (e_shortcuts_add_default_group): Fix the URI's here to use "Local Folder". svn path=/trunk/; revision=11241
* (Implemented deleting folders in the shell. Files changed that aren'tJason Leach2001-06-241-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (Implemented deleting folders in the shell. Files changed that aren't noted below were simply small indentation/space changes. To play with deleting folders, right click on a selected folder in the folder tree, then choose Delete.) 2001-06-23 Jason Leach <jleach@ximian.com> * e-shell-folder-selection-dialog.c (e_shell_folder_selection_dialog_construct): Make the folder tree have a similar expanded state as the shell's folder tree. * e-local-storage.c (remove_folder): New function that does the meat of actual deletion stuff. (remove_folder_directory): A helper function that remove_folder() uses. (component_async_remove_folder_callback): A new callback to do the removing stuff from shell (if there weren't errors from the component). (impl_async_remove_folder): Implemented this. * evolution-shell-component-client.c (evolution_shell_component_client_async_remove_folder): Implemented this. * e-shell-view.c (e_shell_view_remove_control_for_uri): New function. svn path=/trunk/; revision=10446
* Stylistical changes: moveEttore Perazzoli2001-06-241-3/+4
| | | | | | | | e_shell_view_{get,set}_current_shortcuts_group_num() at the bottom of the file, add pre-conditions to them, and reindent the header file slightly. svn path=/trunk/; revision=10444
* Update the copyrights, replacing Helix Code with Ximian andEttore Perazzoli2001-06-231-1/+1
| | | | | | helixcode.com with ximian.com all over the place. svn path=/trunk/; revision=10440
* Implemented an Evolution::Activity interface for keeping track ofEttore Perazzoli2001-06-231-3/+11
| | | | | | | | | | background tasks. The Activity interface is added to the shell, and the status of the various tasks is now displayed in a task bar widget at the bottom of the EShellView. I also implemented a simple test component to test all this stuff. svn path=/trunk/; revision=10434
* (Fix bug #418: Save state of folder tree view)Jason Leach2001-06-071-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | 2001-06-06 Jason Leach <jleach@ximian.com> (Fix bug #418: Save state of folder tree view) * e-shell-view.c (e_shell_view_save_settings): Changed the char * @prefix argument to an int @view_num. (e_shell_view_load_settings): Ditto. (get_local_prefix_for_view): New function that gets us a prefix from a view_num. * e-shell-view.c (e_shell_view_save_settings): Save the expanded/collapsed information for each storage-set-view here. (e_shell_view_load_settings): Load it here. * e-storage-set-view.c (e_storage_set_view_construct): Make it so new storage set views have their storages expanded by default, but will respsect the expanded state information that we load into it. (insert_storages): Minor change here too. (new_folder_cb): Ditto. svn path=/trunk/; revision=10135
* New function (probably should just be static).Jason Leach2001-05-311-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-05-30 Jason Leach <jleach@ximian.com> * e-shell-view.c (e_shell_view_set_current_shortcuts_group_num): New function (probably should just be static). (e_shell_view_load_settings): Load the current shortcut group here using the above new function. (e_shell_view_save_settings): Save current shortcut group in here. 2001-05-30 Jason Leach <jleach@ximian.com> * e-shell-folder-title-bar.c: New 'folder_bar_label' member for EShellFolderTitleBar, it's for information that's shown to the left of the icon like the dates in the calendar (or, potentially total and unread numbers for mailer). (e_shell_folder_title_bar_set_folder_bar_label): New function, lets others set the title bar extra label. * Evolution-ShellView.idl: New method 'setFolderBarLabel' for our exposed ShellView interface. * evolution-shell-view.c (class_init): New signal "set_folder_bar_label" for EvolutionShellViewClass. * evolution-shell-view.c (impl_ShellView_set_folder_bar_label): Emit the new signal here. * e-shell-view.c (setup_corba_interface): Connect the signal here. * e-shell-view.c (corba_interface_set_folder_bar_label): New function, callback for the above signals, does the actual extra label setting for the folder title bar. * e-shell-folder-commands.c (e_shell_command_add_to_shortcut_bar): Fix a warning here. svn path=/trunk/; revision=10059
* Removed an unecessary sleep(2) call, so evolution will start up 2 secondsJason Leach2001-05-311-0/+1
| | | | | | | | | | | | | | | | | | | | | 2001-05-30 Jason Leach <jleach@ximian.com> * e-shell.c (e_shell_construct): Removed an unecessary sleep(2) call, so evolution will start up 2 seconds faster now. 2001-05-30 Jason Leach <jleach@ximian.com> * e-shell-view-menu.c: Connect the AddFolderToShortcutBar verb to their implementation functions. * e-shell-view.c (e_shell_view_get_current_shortcuts_group_num): New function, use it to find out which shourtcut group is currently open on the shortcut bar. * e-shell-folder-commands.c (e_shell_command_add_to_shortcut_bar): Implement this using new function described above. svn path=/trunk/; revision=10052
* Implemented the "Copy Folder" and "Move Folder" menu items. Untested.Ettore Perazzoli2001-05-201-0/+1
| | | | svn path=/trunk/; revision=9899
* the only problematic area - pass NULL for now in as the BonoboUIContainer.Chris Toshok2001-05-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-05-11 Chris Toshok <toshok@ximian.com> * evolution-storage-set-view-factory.c (evolution_storage_set_view_factory_new_view): the only problematic area - pass NULL for now in as the BonoboUIContainer. how do we pass this container to the control? * e-storage-set-view.c (folder_context_menu_activate): un-#if 0 this function. (populate_folder_context_menu_with_common_items): build our popup using the new xml bonobo stuffs. (popup_folder_menu): convert to using the new xml bonobo stuffs. (right_click): only do the popup menu if we have a BonoboUIContainer. (e_storage_set_view_new): add BonoboUIContainer* arg. (e_storage_set_view_construct): same. * e-storage-set-view.h: add BonoboUIContainer* args to e_storage_set_view_new and e_storage_set_view_construct. * e-shell-folder-creation-dialog.c (add_storage_set_view): pass NULL for the BonoboUIContainer, since we shouldn't (?) have a popup in this dialog. * e-shell-folder-selection-dialog.c (e_shell_folder_selection_dialog_construct): pass NULL for the BonoboUIContainer, since we shouldn't (?) have a popup in this dialog. * e-storage-set.h: add BonoboUIContainer* arg to e_storage_set_new_view. * e-storage-set.c (e_storage_set_new_view): add arg, and track change to e_storage_set_view_new. * e-shell-view.h: add prototype for e_shell_view_get_bonobo_ui_container. * e-shell-view.c (setup_storage_set_subwindow): track change to e_storage_set_view_new. (e_shell_view_construct): the BonoboUIContainer is now part of our private structure. (e_shell_view_get_bonobo_ui_container): new function. svn path=/trunk/; revision=9756
* Remove <config.h> #includes from the `.h' files, which is known to be,Ettore Perazzoli2001-02-061-4/+0
| | | | | | um, a wrong thing to do. svn path=/trunk/; revision=7983
* New `createNewView' method in `Evolution::Shell'. Register the shellEttore Perazzoli2000-12-051-17/+20
| | | | | | | | | at startup; if a shell is already registered, use this CORBA method to make it open a new view and exit. Also, fixed a missing ref problem with EShortcut (it used to crash on exit when more than one view was open). svn path=/trunk/; revision=6774
* The big api rename ...Michael Meeks2000-11-021-2/+2
| | | | | | | | 2000-11-02 Michael Meeks <michael@helixcode.com> * The big api rename ... svn path=/trunk/; revision=6346
* Disable summary stuff, it appears to be badly broken.Michael Meeks2000-10-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-05 Michael Meeks <michael@helixcode.com> * component-factory.c (summary_fn, component_factory_init): Disable summary stuff, it appears to be badly broken. * Makefile.am (evolution_mail_SOURCES): add mail-summary.[ch] * subscribe-dialog.c (update_pixmaps): upd. (set_pixmap): upd. (subscribe_dialog_gui_init): upd. remove redundant and annoying forward definitions. * folder-browser-factory.c (control_deactivate): upd. (control_activate_cb): upd. (control_activate): upd. (set_pixmap): upd. (update_pixmaps): upd. (register_ondemand): upd. (create_ondemand_hooks): upd. 2000-10-05 Michael Meeks <michael@helixcode.com> * e-shell-view-menu.c (shortcut_bar_mode_changed_cb): upd. (folder_bar_mode_changed_cb): upd. (command_xml_dump): clobber. (e_shell_view_menu_setup): upd. * e-shell-view.c (shell_view_interface_set_message_cb): upd. (shell_view_interface_unset_message_cb): upd. (e_shell_view_construct): upd. (get_control_for_uri): upd. (e_shell_view_get_bonobo_ui_component): upd. 2000-10-05 Michael Meeks <michael@helixcode.com> * contact-editor/e-contact-editor.c (create_ui): upd. (e_contact_editor_init): upd. * gui/component/addressbook.c (control_activate_cb): upd. (control_deactivate): kill. (control_activate): upd. 2000-10-05 Michael Meeks <michael@helixcode.com> * gui/calendar-commands.c: upd. (calendar_control_activate): upd. (calendar_control_deactivate): upd. 2000-10-05 Michael Meeks <michael@helixcode.com> * component/e-summary-factory.c (control_activate): upd. (set_pixmap): upd. (update_pixmaps): upd. (control_activate_cb): upd. (control_deactivate): upd. svn path=/trunk/; revision=5742
* #include <bonobo-win.h>, not <bonobo-app.h>, which doesn't existEttore Perazzoli2000-09-161-1/+1
| | | | | | anymore. svn path=/trunk/; revision=5472
* The Commit from hell that breaks all UI related stuff;Michael Meeks2000-09-141-6/+5
| | | | | | Anything UI related that breaks is now my fault; apologies in advance. svn path=/trunk/; revision=5415
* Actually commit this - I though it went in already.JP Rosevear2000-08-041-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-08-03 JP Rosevear <jpr@helixcode.com> * configure.in: Remove gconf check 2000-08-03 JP Rosevear <jpr@helixcode.com> * mail-config.glade: Increase window size slightly, rename "Transport" to "Mail Transport" * mail-config.c (init_config): Remove gconf references (clear_config): ditto (read_config): ditto (write_config): ditto (mail_config): Null provider lists before filling them (mail_config_druid): ditto (identity_page_new): Increase spacing of vbox (service_page_new): ditto * Makefile.am: Remove gconf references. 2000-08-03 JP Rosevear <jpr@helixcode.com> * e-shell.h: Remove gconf references * e-shell-view.h: Remove gconf references * main.c (idle_cb): Remove gconf references * Makefile.am: Remove gconf cflags and libs * e-shell-view.c (e_shell_view_load_settings): Change to use gnome-config (e_shell_view_save_settings): ditto * e-shell.c (e_shell_restore_from_settings): Change to use gnome_config (save_settings_for_views): ditto svn path=/trunk/; revision=4530
* Implement saving of configuration information. Now when you runEttore Perazzoli2000-06-291-0/+7
| | | | | | | | | 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-0/+1
| | | | | | | | 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
* Implemented right-click menus for the shell's shortcut bar (the userEttore Perazzoli2000-06-011-0/+1
| | | | | | | | 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-15/+17
| | | | | | | | 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-18/+23
| | | | | | | | | | 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-0/+8
| | | | | | | | 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
* Use the new ETitleBar widget in the shell, thus allowing the user toEttore Perazzoli2000-05-161-0/+5
| | | | | | | 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
* Display the default inbox at startup, instead of an empty view.Ettore Perazzoli2000-05-091-4/+3
| | | | svn path=/trunk/; revision=2944
* Machinery for quitting and handling the relationship between a shellEttore Perazzoli2000-05-071-1/+3
| | | | | | and its views. svn path=/trunk/; revision=2862
* Big shell reorganization.Ettore Perazzoli2000-05-071-42/+60
| | | | svn path=/trunk/; revision=2848
* + * widgets/Makefile.am: Added e-paned directory.Matthew Loper2000-04-241-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + + * 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
* New private field in EShellView added, which contains the notebook and aMatthew Loper2000-03-211-4/+6
| | | | | | | | | | | | | | * 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
* Make Evolution compile with the latest Bonobo changes.Arturo Espinosa2000-01-261-3/+3
| | | | | | | | Make Evolution compile with the latest Bonobo changes. Miguel. svn path=/trunk/; revision=1636
* More work on the code. Added more for the framework.Arturo Espinosa2000-01-191-2/+6
| | | | | | | | More work on the code. Added more for the framework. Miguel. svn path=/trunk/; revision=1593
* Use e_bar_set_item_data.Miguel de Icaza2000-01-161-1/+13
| | | | | | | | | | | | | | | | 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/+34
More svn path=/trunk/; revision=1561