aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window.c
Commit message (Collapse)AuthorAgeFilesLines
* Kill EMMenu and EMPopup.Matthew Barnes2009-08-101-11/+0
| | | | | Also finish adapting Templates plugin to EPluginUI. It was still leaning pretty hard on EMPopup.
* Add a "quit-requested" signal to the shutdown protocol.Matthew Barnes2009-07-131-2/+1
| | | | | | | The contact and contact-list editors now demonstrate this part of the shutdown protocol. They listen for the "quit-requested" signal from the shell and prompt to save changes, discard changes or cancel. If the user cancels, the editor calls e_shell_cancel_quit() to do just that.
* Get the "startup-wizard" plugin working again.Matthew Barnes2009-06-301-2/+0
|
* 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-4/+4
| |
| * Fix several types of pedantic compiler warnings.Matthew Barnes2009-05-171-1/+1
| |
| * ** BUGFIX: 573830 - g_timeout_add_seconds should be preferred to g_timeout_addMarcel Stimberg2009-05-041-1/+1
| | | | | | | | | | | | According to https://wiki.ubuntu.com/SavingTheWorld (and of course according to the gtk docs) using g_timeout_add_seconds is preferred over g_timeout_add if a timeout in seconds is desired.
| * Bug 580893 – Kill libgnome/gnome-gconfMatthew Barnes2009-05-011-1/+0
| |
| * Bug 577929 – Consolidate marshallersMatthew Barnes2009-04-231-1/+0
| | | | | | | | | | | | Consolidate all marshalling specifications to e-util/e-marshal.list. This reduces code duplication and makes it slightly easier to locate unused marshallers.
| * ** Fixes bug #572962Matthew Barnes2009-02-251-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-02-24 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #572962 * e-shell-window.c (setup_nm_support): Pass e_shell_dbus_initialise() the right type of object, and fix the incorrect function declaration. * e-shell-nm.c (e_shell_network_monitor): Go offline when we see NM_STATE_ASLEEP from NetworkManager. svn path=/trunk/; revision=37320
| * Jeff Cai ** Fix for bug #563077 (Don't pass NULL to ↵Suman Manjunath2008-12-081-1/+1
| | | | | | | | | | | | gtk_icon_info_get_filename(), fixes a crash if the gnome-settings-daemon is not running). svn path=/trunk/; revision=36844
| * Matthew Barnes <mbarnes@redhat.com> ** Fix for bug #548469 (Drop support ↵Suman Manjunath2008-10-171-15/+10
| | | | | | | | | | | | for deprecated libnm-glib). svn path=/trunk/; revision=36631
| * Change License from GPL to LGPL.Sankarasivasubramanian Pasupathilingam2008-10-031-13/+13
| | | | | | | | svn path=/trunk/; revision=36541
| * Coding style cleanups.Matthew Barnes2008-08-191-2/+2
| | | | | | | | svn path=/trunk/; revision=36025
| * ** Fixes bug #508732Matthew Barnes2008-08-181-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-18 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #508732 * shell/e-shell.c: Add a "crash_recovery" flag, with accessor functions for it. * shell/e-shell-window (init_view): Check and reset the "crash_recovery" flag before creating a new shell view. The components can use this flag to take steps to recover from the previous crash. * shell/apps_evolution_shell.schemas.in: Remove the "skip_recovery_dialog" and "recovery" keys. * shell/Evolution-Component.idl (createView): Add a "select_item" boolean parameter. * shell/main.c: Kill the crash recovery dialog. Instead just set the crash recovery flag in e-shell appropriately. * mail/mail-component.c (impl_createView): Add a "select_item" argument for crash recovery, which we forward to EMFolderBrowser as a "suppress_message_selection" flag. * mail/em-folder-browser.c (emfb_set_folder): Suppress automatic message selection if we are recovering from a crash. * addressbook/gui/component/addressbook-component.c (impl_createView): * calendar/gui/calendar-component.c (impl_createView): * calendar/gui/memos-component.c (impl_createView): * calendar/gui/tasks-component.c (impl_createView): Add a "select_item" argument for crash recovery, which these components do not use. * help/C/evolution.xml: Remove the bit about crash recovery. svn path=/trunk/; revision=36009
| * ** Fixes bug #467115Matthew Barnes2008-08-071-9/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-07 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #467115 * shell/e-component-registry.h: Replace button and menu icon pixbufs with an icon name string. * shell/e-component-registry.c (query_components): No need to create pixbufs, just save the icon name. * shell/e-sidebar.c: Remember a default icon name rather than a default pixbuf. * shell/e-sidebar.c (e_sidebar_add_button), (e_sidebar_change_button_icon): * shell/e-shell-window.c (e_shell_window_change_component_button_icon): Take an icon name instead of a pixbuf. * shell/e-shell-window.c (switch_view): Call gtk_window_set_icon_name() instead of gtk_window_set_icon(). * shell/e-shell-window.c (setup_widgets): Change XML from pixtype="pixbuf" to pixbuf="filename" and derive an appropriate filename from the icon name. svn path=/trunk/; revision=35924
| * ** Fixes bug #542587Matthew Barnes2008-07-211-49/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-07-20 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #542587 * shell/e-shell-window.c: Use new EOnlineButton widget. * widgets/misc/e-online-button.c: * widgets/misc/e-online-button.h: New widget implements the online/offline button used in the main window. The button just maintains an "online" flag and displays the appropriate button image for the flag. svn path=/trunk/; revision=35777
* | Fix bugs caused by EShellBackend changes.Matthew Barnes2009-05-101-4/+3
| |
* | Convert EShellModule to EShellBackendMatthew Barnes2009-05-071-62/+43
| | | | | | | | | | | | | | | | 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.
* | Add e_lookup_action() and e_lookup_action_group() to e-util, soMatthew Barnes2009-03-101-33/+2
| | | | | | | | | | | | | | | | | | | | | | I don't have to keep writing the algorithm over and over again. Add EFileActivity, which provides a GCancellable for GIO operations. Cancelling the activity cancels the GIO operation, and vice versa. Also provides a handy GFileProgressCallback function which updates the activity's "percent" property. svn path=/branches/kill-bonobo/; revision=37396
* | Cleaning up the attachment bar, centralizing its popup menu, and convertingMatthew Barnes2009-03-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | everything to GtkUIManager/GtkActions. Saving progress mid-stream... not sure about the MIME part utilities yet. Also, add some EActivity subclasses. Considering an EFileActivity subclass for asynchronous GIO operations (loading/saving attachments, etc.), but still ironing out details. svn path=/branches/kill-bonobo/; revision=37389
* | Make filter options for mail labels work again.Matthew Barnes2009-02-231-0/+7
| | | | | | | | | | | | | | | | | | | | Define a new shell module method named start() that tells the module when to start loading data and running background tasks. Only really applies to the mail module right now since the others use evolution-data-server. Basically it prevents the mail module from loading and refreshing mail stores until you actually switch to the mail view. svn path=/branches/kill-bonobo/; revision=37309
* | Documentation tweaks.Matthew Barnes2009-02-191-3/+2
| | | | | | | | | | | | Have e_shell_get_preferences_window() take an EShell argument. svn path=/branches/kill-bonobo/; revision=37294
* | Rename EShell:online-mode to EShell:online and update docs.Matthew Barnes2009-02-191-34/+1
| | | | | | | | | | | | | | Use EBindings instead of a notify callback to keep other widgets and actions synchronized with EShell:online. Cleaner and less error prone. svn path=/branches/kill-bonobo/; revision=37293
* | Disable Send/Receive when working offline.Matthew Barnes2009-02-131-0/+3
| | | | | | | | svn path=/branches/kill-bonobo/; revision=37258
* | When invoking Evolution with URIs on the command-line (e.g. mailto:),Matthew Barnes2009-01-291-7/+12
| | | | | | | | | | | | terminate after all the windows for those URIs have been closed. svn path=/branches/kill-bonobo/; revision=37157
* | Add unique-1.0 requirement (blessed external dependency).Matthew Barnes2009-01-291-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make EShell a subclass of UniqueApp and handle single-instance negotiation. When another Evolution process is running: - Running "evolution" will simply present the existing windows. - Running "evolution -c <view>" will open a shell window set to <view>. - Running "evolution <uri>" will open an appropriate window for <uri>. The second process will then terminate immediately. svn path=/branches/kill-bonobo/; revision=37147
* | Make action group management in shell windows more elegant.Matthew Barnes2009-01-271-2/+31
| | | | | | | | svn path=/branches/kill-bonobo/; revision=37137
* | Redesign EPluginUI to accommodate merging and unmerging shell views.Matthew Barnes2009-01-241-2/+4
| | | | | | | | | | | | Get the "mark-all-read" and "plugin-manager" plugins working. svn path=/branches/kill-bonobo/; revision=37125
* | Continue chipping away at EMFolderView and EMFolderBrowser.Matthew Barnes2009-01-111-2/+2
| | | | | | | | | | | | Migrate from gnome_url_show() to e_show_uri(). svn path=/branches/kill-bonobo/; revision=37038
* | Tweak the EShell API.Matthew Barnes2009-01-081-1/+41
| | | | | | | | | | | | | | Disable File -> Close Window when there's only one window. Replace EMMessageBrowser with EMailBrowser. svn path=/branches/kill-bonobo/; revision=37009
* | Solve a translation issue related to the New menu.Matthew Barnes2008-12-281-4/+34
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36934
* | Define a new interface called EMailReader, which implements operationsMatthew Barnes2008-12-271-1/+23
| | | | | | | | | | | | | | | | common to both the main shell window and the message browser. Replaces EMFolderView. Also begin to define EMailBrowser (GtkWindow subclass), which implements EMailReader and replaces EMMessageBrowser. svn path=/branches/kill-bonobo/; revision=36933
* | Add popup menus to the calendar memopad and taskpad.Matthew Barnes2008-10-311-1/+0
| | | | | | | | | | | | | | Implement support for "hide completed tasks" option (not yet tested). Flesh out most of the Preferences window. Still need Certificates page. svn path=/branches/kill-bonobo/; revision=36701
* | Get the calendar's memopad and taskpad working.Matthew Barnes2008-10-301-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Fix a couple minor UI bugs.Matthew Barnes2008-10-281-0/+10
| | | | | | | | | | | | Populate the calendar's filter combo. svn path=/branches/kill-bonobo/; revision=36691
* | Merge revisions 36534:36684 from trunk.Matthew Barnes2008-10-251-1/+0
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36685
* | Get the mail folder tree compiling, though I'm not yet sure why it's notMatthew Barnes2008-10-171-3/+35
| | | | | | | | | | | | showing anything. Probably something stupid. Also enabled the composer. svn path=/branches/kill-bonobo/; revision=36623
* | Progress update:Matthew Barnes2008-10-141-0/+7
| | | | | | | | | | | | | | | | | | | | - Calendar is kind of a mess at the moment. Doesn't compile. - Roughed in the Mail module, including all the actions. That _does_ compile. Runs, even. svn path=/branches/kill-bonobo/; revision=36611
* | Finally fix the stupid shell view bootstrapping issue.Matthew Barnes2008-10-041-9/+3
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36553
* | Tasks is working. Still need to deal with some loose ends and test it all.Matthew Barnes2008-10-041-7/+10
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36551
* | Tasks progress. Merge EMemoPreview back into ECalComponentPreview.Matthew Barnes2008-10-031-4/+4
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36538
* | Update the headers on files I've created or completely rewritten to matchMatthew Barnes2008-10-021-11/+12
| | | | | | | | | | | | Sankar's LGPLv3 template. svn path=/branches/kill-bonobo/; revision=36535
* | Get Memos to come up. Doesn't really work yet, but the widgets are all there.Matthew Barnes2008-09-301-32/+0
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36491
* | Saving progress. Experimenting with directory layout.Matthew Barnes2008-09-251-20/+20
| | | | | | | | | | | | | | Saving progress. Experimenting with directory layout. svn path=/branches/kill-bonobo/; revision=36446
* | Finally got the "Current View" menu under control.Matthew Barnes2008-09-191-1/+1
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36380
* | Progress update:Matthew Barnes2008-09-181-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Get context menus working in the contact preview pane. - Kill EABPopup. - Yet more code refactoring. - Add a handy utility function: e_shell_window_show_popup_menu() Takes a widget path in the shell window's UI definition. svn path=/branches/kill-bonobo/; revision=36366
* | Massive address book refactoring. Things are mostly working again.Matthew Barnes2008-09-171-45/+33
| | | | | | | | | | | | Also, begin documenting the new shell API, and provide a Gtk-Doc framework. svn path=/branches/kill-bonobo/; revision=36359
* | Begin documenting the new shell design.Matthew Barnes2008-09-151-8/+198
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36337
* | Allow EShellContent, EShellSidebar, and EShellTaskbar to be subclassed,Matthew Barnes2008-09-131-3/+3
| | | | | | | | | | | | and begin doing so for Calendars, Memos and Tasks. Makes the code cleaner. svn path=/branches/kill-bonobo/; revision=36317
* | Arrange for an ESourceList to be shared amongst all instances of a type ofMatthew Barnes2008-09-121-1/+0
| | | | | | | | | | | | | | shell view. For example, all EBookShellView instances will now share the same ESourceList instance for address books. svn path=/branches/kill-bonobo/; revision=36311
* | Fix some bootstrapping issues.Matthew Barnes2008-09-101-60/+38
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36291
* | Fix some bugs in the way the shell widgets get initialized.Matthew Barnes2008-09-091-2/+3
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36279
* | Progress update:Matthew Barnes2008-09-091-6/+5
| | | | | | | | | | | | | | | | - 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-0/+26
| | | | | | | | | | | | | | | | | | - 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-66/+21
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36260
* | Progress update:Matthew Barnes2008-08-301-13/+61
| | | | | | | | | | | | | | | | | | | | | | - 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-10/+68
| | | | | | | | | | | | | | | | - 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-1/+51
| | | | | | | | | | | | | | | | | | - Further refinements of the shell API. - Kill ESMenu and EUserCreatableItemsHandler. - Start ripping apart the addressbook component. svn path=/branches/kill-bonobo/; revision=36093
* | Progress update:Matthew Barnes2008-08-241-17/+59
| | | | | | | | | | | | | | | | | | | | | | | | - Get the "New" button and menu working. - Add a GtkMenuToolButton subclass called EMenuToolButton, which does some behind-the-scenes stuff to make the "New" button work properly. - Kill EComboButton and its associated a11y widget. svn path=/branches/kill-bonobo/; revision=36045
* | Progress update:Matthew Barnes2008-08-231-3/+45
| | | | | | | | | | | | | | | | | | | | - Discard libnm-glib method of monitoring network connectivity. - Decided to make EShell a singleton GObject after all. Makes the design cleaner, despite having to pass a singleton instance around. - Make the switcher button style persistent. svn path=/branches/kill-bonobo/; revision=36043
* | Committing the day's progress.Matthew Barnes2008-08-191-26/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge revisions 35993:36015 from trunk.Matthew Barnes2008-08-191-194/+65
| | | | | | | | | | | | Adapt recent "crash recovery" changes to new architecture. svn path=/branches/kill-bonobo/; revision=36018
* | Kill e-shell-marshal.list (unused).Matthew Barnes2008-08-101-1/+0
| | | | | | | | svn path=/branches/kill-bonobo/; revision=35949
* | Treat the Preferences window as a singleton.Matthew Barnes2008-08-091-1/+0
| | | | | | | | | | | | Kill a bunch of Bonobo crud, which breaks compilation again. svn path=/branches/kill-bonobo/; revision=35947
* | Fix some compilation errors.Matthew Barnes2008-08-081-0/+6
| | | | | | | | svn path=/branches/kill-bonobo/; revision=35938
* | Merge revisions 35747:35930 from trunk.Matthew Barnes2008-08-081-2/+2
| | | | | | | | svn path=/branches/kill-bonobo/; revision=35931
* | Commit progress, which breaks everything.Matthew Barnes2008-08-081-147/+7
| | | | | | | | svn path=/branches/kill-bonobo/; revision=35930
* | Disable all components and plugins. Begin rewriting the shell.Matthew Barnes2008-07-171-964/+205
|/ | | | svn path=/branches/kill-bonobo/; revision=35748
* ** Fix for bug #542889Paolo Borelli2008-07-141-10/+1
| | | | | | | | | | | 2008-17-14 Paolo Borelli <pborelli@katamail.com> ** Fix for bug #542889 Port to the new gtk tooltip api. svn path=/trunk/; revision=35744
* updated novell copyright notices (left others alone)Jeffrey Stedfast2008-06-211-1/+1
| | | | svn path=/trunk/; revision=35665
* ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES andMatthew Barnes2008-06-061-9/+1
| | | | | | | | | | 2008-06-06 Matthew Barnes <mbarnes@redhat.com> ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES defined. (#536637) svn path=/trunk/; revision=35606
* ** Fix for bug #525238Ondrej Jirman2008-04-071-0/+10
| | | | | | | | | | | | | | | | 2008-04-07 Ondrej Jirman <megous@megous.com> ** Fix for bug #525238 * e-shell-window.c: (switch_view): * es-event.c: * es-event.h: Add new "component.activated" event. Event is emitted whenever component is activated. ESEventTargetComponent contains an id of the component being activated. svn path=/trunk/; revision=35332
* Make the status bar height as large as the task bar to eliminateMatthew Barnes2008-01-211-0/+7
| | | | | | | | | | | | 2008-01-21 Matthew Barnes <mbarnes@redhat.com> * e-shell-window.c (setup_status_bar): Make the status bar height as large as the task bar to eliminate "bouncing" when navigating the main menu. Patch by Jean-Christophe Begue (#509509). svn path=/trunk/; revision=34860
* ** Fix for bug #329712Srinivasa Ragavan2008-01-181-1/+4
| | | | | | | | | | | | | | | | | 2008-01-18 Srinivasa Ragavan <sragavan@novell.com> ** Fix for bug #329712 * e-shell-window-commands.c: (update_offline_menu_item): * e-shell-window.c: (update_offline_toggle_status), (update_send_receive_sensitivity), (offline_toggle_clicked_callback): * e-shell.c: (e_shell_construct), (e_shell_save_settings), (set_line_status): * e-shell.h: Add a new state to maintian forced offline. svn path=/trunk/; revision=34847
* From shell/ChangeLogChangwoo Ryu2008-01-111-1/+3
| | | | | | | | | | | | | | | | | | | | | 2008-01-11 Changwoo Ryu <cwryu@debian.org> ** Fix for bug #508282 * e-shell-window.c (switch_view): * e-shell-view.c (impl_ShellView_setTitle): Mark the window title for translation. From po/ChangeLog 2008-01-11 Changwoo Ryu <cwryu@debian.org> ** Part of fix for bug #508282 * POTFILES.in: Add new file shell/e-shell-view.c svn path=/trunk/; revision=34792
* ** Fix for bug #400213Milan Crha2007-11-301-45/+11
| | | | | | | | | | | | | 2007-11-30 Milan Crha <mcrha@redhat.com> ** Fix for bug #400213 * e-shell-window.c: (load_icons): Function removed. * e-shell-window.c: (update_offline_toggle_status): Do not use pixmaps and masks, load images from file, instead. svn path=/trunk/; revision=34615
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-151-13/+13
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* ** Fixes bug #492058Damien Carbery2007-11-031-19/+19
| | | | | | | | | | | | | | | | 2007-11-02 Damien Carbery <damien.carbery@sun.com> ** Fixes bug #492058 * shell/e-shell-window.c: * shell/e-shell.c: * widgets/table/e-table-header-item.h: * widgets/table/e-table-header-item.c: * calendar/gui/e-itip-control.c: Name the anonymous unions to build with the Sun Studio compiler. svn path=/trunk/; revision=34485
* Warning fixes: - NULL vs 0 vs FALSE - ANSIfication of declarations - guintKjartan Maraas2007-10-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | 2007-10-26 Kjartan Maraas <kmaraas@gnome.org> * e-component-registry.c: (query_components): * e-component-view.c: (e_component_view_new), (e_component_view_new_controls), (e_component_view_set_title), (e_component_view_set_button_icon): * e-config-upgrade.c: * e-shell-settings-dialog.c: (e_shell_settings_dialog_new): * e-shell-window.c: (component_view_free): * es-event.c: (es_event_peek): * es-menu.c: (es_menu_new): * importer/evolution-importer-client.c: (evolution_importer_client_create_control): Warning fixes: - NULL vs 0 vs FALSE - ANSIfication of declarations - guint for 1-bit bitfields svn path=/trunk/; revision=34430
* ** Fix for bug #329823Milan Crha2007-10-111-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-11 Milan Crha <mcrha@redhat.com> ** Fix for bug #329823 * Evolution-Shell.idl: (setButtonIcon): * e-sidebar.h: (e_sidebar_change_button_icon): * e-sidebar.c: (struct Button), (button_new), (button_free), (e_sidebar_change_button_icon): * e-shell.h: (EMainShellFunc), (e_shell_foreach_shell_window): * e-shell.c: (EMainShellFunc), (e_shell_foreach_shell_window): * e-component-view.h: (e_component_view_set_button_icon): * e-component-view.c: (e_component_view_set_button_icon): * e-shell-window.h: (e_shell_window_change_component_button_icon): * e-shell-window.c: (e_shell_window_change_component_button_icon): * e-shell-view.c: (struct change_icon_struct), (change_button_icon_func), (impl_ShellView_setButtonIcon), (e_shell_view_class_init): Added support to change component's button icon. * mail-component.h: (mail_indicate_new_mail): * mail-component.c: (mail_indicate_new_mail), (struct _MailComponentPrivate), (impl_dispose), (impl_createView): New function to indicate new mails on sidebar's button and storing component_view in priv struct for later use. * em-folder-view.c: (emfv_list_done_message_selected): * mail-folder-cache.c: (real_flush_updates): Indicate changes like for plugins for new mails. svn path=/trunk/; revision=34374
* ** Fixes bug #437579Matthew Barnes2007-10-101-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-09 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #437579 * addressbook/conduit/address-conduit.c: * addressbook/gui/component/addressbook-config.c: * addressbook/gui/contact-editor/e-contact-editor.c: * addressbook/gui/widgets/eab-gui-util.c: * calendar/conduits/calendar/calendar-conduit.c: * calendar/conduits/memo/memo-conduit.c: * calendar/conduits/todo/todo-conduit.c: * calendar/gui/dialogs/alarm-dialog.c: * calendar/gui/dialogs/event-page.c: * calendar/gui/dialogs/memo-page.c: * calendar/gui/dialogs/task-page.c: * calendar/gui/e-day-view-layout.c: * calendar/gui/e-day-view-layout.h: * calendar/gui/print.c: * e-util/e-pilot-map.c: * e-util/e-plugin.c: * e-util/e-profile-event.c: * e-util/e-signature.c: * filter/filter-file.c: * mail/e-searching-tokenizer.c: * mail/em-folder-browser.c: * mail/em-format-html.c: * mail/em-format-view.c: * mail/em-format.c: * mail/em-mailer-prefs.c: * mail/em-mailer-prefs.h: * mail/mail-session.c: * mail/mail-session.h: * mail/mail-vfolder.c: * mail/message-list.c: * plugins/bbdb/bbdb.c: * plugins/bbdb/gaimbuddies.c: * plugins/calendar-http/calendar-http.c: * plugins/exchange-operations/exchange-user-dialog.c: * plugins/face/face.c: * shell/e-shell-window.c: * shell/e-shell.c: * smime/lib/e-cert-db.c: * tools/killev.c: * widgets/misc/e-cursors.c: * widgets/misc/e-spinner.c: * widgets/misc/e-unicode.c: * widgets/table/e-table-field-chooser-item.c: * widgets/table/e-table-header-item.c: * widgets/table/e-table-header-item.h: * widgets/table/e-table-header-utils.c: * widgets/table/e-table.c: * widgets/text/e-text.c: Fix various compiler warnings. Patch from Milan Crha. svn path=/trunk/; revision=34368
* Fix for bug #461195 from Hiroyuki Ikezoe.Matthew Barnes2007-09-281-1/+1
| | | | | | | Use GObject's marshalers whenever possible. svn path=/trunk/; revision=34324
* ** Fix for bug #471791 (Move away from asserts to g_ret*)Srinivasa Ragavan2007-09-031-8/+7
| | | | svn path=/trunk/; revision=34159
* 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
* Plugged memory leaks.Hiroyuki Ikezoe2007-07-261-1/+4
| | | | | | | | | | | | | 2007-07-26 Hiroyuki Ikezoe <poincare@ikezoe.net> * e-shell-window-command.c: (view_statusbar_item_toggled_handler), (view_sidebar_item_toggled_handler): * e-shell-window.c: (setup_status_bar): * e-user-creatable-items-handler.c: (setup_toolbar_button): Plugged memory leaks. svn path=/trunk/; revision=33851
* ** Fix for bug #386503 from Matthew BarnesSrinivasa Ragavan2007-06-031-1/+1
| | | | svn path=/trunk/; revision=33647
* Fix for bug #259606Srinivasa Ragavan2007-04-201-14/+38
| | | | svn path=/trunk/; revision=33438
* Fix "incompatible pointer type" warnings (#360619).Matthew Barnes2007-03-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-03-29 Matthew Barnes <mbarnes@redhat.com> * calendar/gui/e-day-view.c: * calendar/gui/e-week-view.c: * calendar/gui/tasks-control.c: * composer/e-msg-composer-select-file.c: * mail/em-account-editor.c: * mail/em-folder-view.c: * mail/em-format-html-display.c: * mail/em-format-html.c: * mail/em-format.h: * mail/em-mailer-prefs.c: * mail/em-vfolder-rule.c: * mail/mail-ops.c: * mail/mail-send-recv.c: * mail/message-list.c: * plugins/bbdb/gaimbuddies.c: * plugins/itip-formatter/itip-formatter.c: * plugins/save-calendar/save-calendar.c: * shell/e-shell-window.c: * widgets/misc/e-icon-entry.c: * widgets/table/e-table-header-utils.c: * widgets/table/e-table-item.c: * widgets/table/e-tree-header-item.c: * widgets/table/e-tree-table-adapter.c: Fix "incompatible pointer type" warnings (#360619). svn path=/trunk/; revision=33339
* ** Fixes bug #419524Matthew Barnes2007-03-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 2007-03-20 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #419524 * Include <glib/gi18n.h> instead of <libgnome/gnome-i18n.h>. * e-util/e-xml-utils.c (e_xml_get_child_by_name_by_lang_list): * mail/em-migrate.c (emm_setup_initial): * shell/e-component-registry.c (query_components): * shell/e-shell-settings-dialog.c (load_pages): * shell/e-shell-window-commands.c (command_quick_reference): * tools/killev.c (main): Use g_get_language_names() instead of gnome_i18n_get_language_list(). * e-util/e-util.c: Remove e_gettext(). * e-util/Makefile.am: Remove e-i18n.h. svn path=/trunk/; revision=33319
* Fixes #360815Chenthill Palanisamy2006-10-161-0/+1
| | | | svn path=/trunk/; revision=32897
* ** Fix for bug #334966Srinivasa Ragavan2006-10-141-1/+8
| | | | svn path=/trunk/; revision=32869
* ** Fix for bug #343331Srinivasa Ragavan2006-09-281-1/+11
| | | | | | | | | | | 2006-09-28 Srinivasa Ragavan <sragavan@novell.com> ** Fix for bug #343331 * e-shell-window.c: (impl_dispose): Remove the timer which seem to get activated after we destroy. svn path=/trunk/; revision=32817
* ** Fixes #351332Matthew Barnes2006-09-191-0/+7
| | | | | | | | | | 2006-09-18 Matthew Barnes <mbarnes@redhat.com> ** Fixes #351332 * e-shell-window.c: Fix implicit function declarations. svn path=/trunk/; revision=32792
* Make sure default window sizes are positive numbers. Fixes bug 349967.Daniel Gryniewicz2006-08-231-3/+5
| | | | | | | | | | 2006-08-23 Daniel Gryniewicz <dang@gentoo.org> * e-shell-window.c: Make sure default window sizes are positive numbers. Fixes bug 349967. Committed by Andre Klapper. svn path=/trunk/; revision=32640
* Fix warnings at build-time, and clean up the connections to the D-Bus onBastien Nocera2006-07-271-0/+6
| | | | | | | | | | | | 2006-07-27 Bastien Nocera <hadess@hadess.net> * e-shell-nm-glib.c: (e_shell_glib_network_monitor), (e_shell_nm_glib_initialise), (e_shell_nm_glib_dispose): * e-shell-nm.c: (e_shell_dbus_dispose): * e-shell-window.c: (impl_dispose): Fix warnings at build-time, and clean up the connections to the D-Bus on exit (Closes: #332387) svn path=/trunk/; revision=32425
* Fix for #346613. Fix the problem pointed out by JohnnyLi Yuan2006-07-071-1/+1
| | | | | | | | | | | | | 2006-07-07 Li Yuan <li.yuan@sun.com> * e-shell-window.c: (setup_widgets): Fix for #346613. Fix the problem pointed out by Johnny <jjohnny@novell.com>. When maximize Evolution, close and start Evolution sometimes, the sidebar grows towards right. Set the view_notebook can be expanded when the paned widget is resized. svn path=/trunk/; revision=32246
* Fix for #346613. Make the view_notebook cannot be resized shorter than itsLi Yuan2006-07-061-1/+1
| | | | | | | | | | 2006-07-05 Li Yuan <li.yuan@sun.com> * e-shell-window.c: (setup_widgets): Fix for #346613. Make the view_notebook cannot be resized shorter than its need. svn path=/trunk/; revision=32237
* reviewed by: Srinivasa RagavanSven Herzberg2006-04-281-6/+74
| | | | | | | | | | | | | 2006-04-28 Sven Herzberg <herzi@gnome-de.org> reviewed by: Srinivasa Ragavan * shell/apps_evolution_shell.schemas.in.in: added boolean key for the maximized state of the window * shell/e-shell-window.c: added window state saving and updated window size saving to work as expected (fixes bug 243962) svn path=/trunk/; revision=31926
* Commiting patch for bug #337258.Srinivasa Ragavan2006-04-241-1/+1
| | | | svn path=/trunk/; revision=31873
* Remove unused code and fix format specifiers in some cases.Kjartan Maraas2006-01-301-2/+0
| | | | | | | | | | | | | | | 2006-01-29 Kjartan Maraas <kmaraas@gnome.org> * e-corba-config-page.c: (e_corba_config_page_class_init): * e-shell-folder-title-bar.c: (e_shell_folder_title_bar_construct): * e-shell-window.c: (init_view): * e-shell.c: (detect_version), (e_shell_construct), (e_shell_new), (e_shell_attempt_upgrade), (e_shell_create_window), (e_shell_save_settings): * main.c: (idle_cb): Remove unused code and fix format specifiers in some cases. svn path=/trunk/; revision=31367
* ** Fixes Bug #257654Rajeev ramanathan2006-01-301-0/+31
| | | | | | | | | | | 2006-01-26 Rajeev ramanathan <rajeevramanathan_2004@yahoo.co.in> ** Fixes Bug #257654 * e-shell-window.c: * e-shell-window-commands.c: Added code to show/hide sidebar. svn path=/trunk/; revision=31345
* fixing two missing whitespaces. Fixes bug 325568.Andre Klapper2006-01-061-2/+2
| | | | | | | | 2006-01-06 Andre Klapper <a9016009@gmx.de> * shell/e-shell-window.c: fixing two missing whitespaces. Fixes bug 325568. svn path=/trunk/; revision=31087
* String Fixes (Bug #325122)Harish Krishnaswamy2006-01-011-2/+2
| | | | | | | | 2006-01-01 Harish Krishnaswamy <kharish@novell.com> * String Fixes (Bug #325122) svn path=/trunk/; revision=31006
* Evolution is now Network Aware, the day of complete awareness beckons, TheShreyas Srinivasan2005-12-221-2/+15
| | | | | | | | | | | 2005-12-22 Shreyas Srinivasan <sshreyas@novell.com> * Evolution is now Network Aware, the day of complete awareness beckons, The machines are taking over... * Network Manager support for evolution svn path=/trunk/; revision=30926
* committed these files to fix http://bugzilla.gnome.org/show_bug.cgi?id=260354Parthasarathi Susarla2005-12-211-9/+63
| | | | | | | | | | | | | | ChangeLog addressbook/ChangeLog addressbook/gui/component/addressbook-component.c calendar/ChangeLog calendar/gui/calendar-component.c calendar/gui/memos-component.c calendar/gui/tasks-component.c mail/ChangeLog mail/Evolution-Mail.idl mail/mail-component.c shell/ChangeLog shell/Evolution-Component.idl shell/Evolution-Shell.idl shell/Evolution.idl shell/Makefile.am shell/e-shell-window.c shell/e-shell-window.h shell/e-shell.c svn path=/trunk/; revision=30915
* Use libedataserver's e_xml_parse_file() instead of xmlParseFile()Tor Lillqvist2005-12-181-1/+4
| | | | | | | | | | | | | | | | | | | | | 2005-12-17 Tor Lillqvist <tml@novell.com> * e-config-upgrade.c: Use libedataserver's e_xml_parse_file() instead of xmlParseFile() directly. * e-shell.c * e-shell-importer.c: Use GLib API when applicable. * e-shell-importer.c * e-shell-window.c: Construct pathname of glade file at run-time. * e-shell-window-commands.c: Include e-util-private.h for Win32 redefinition of EVOLUTION_DATADIR. * main.c: No SIGSEGV handling on Win32. (main): Drop unused evolution_directory variable. svn path=/trunk/; revision=30849
* escape the string when generating XML UI description of component switcherDavid Malcolm2005-12-131-2/+7
| | | | | | | | | | | 2005-12-12 David Malcolm <dmalcolm@redhat.com> * e-shell-window.c (setup_widgets): escape the string when generating XML UI description of component switcher menu item, to avoid it being non-well-formed when a translation contains a quote character. Fixes #322001 svn path=/trunk/; revision=30760
* Have added the "View Status Bar" under the "View" menu This is a toggleS.Antony Vincent Pandian2005-09-231-1/+18
| | | | | | | | | 2005-09-23 S.Antony Vincent Pandian <santony@gmail.com> * Have added the "View Status Bar" under the "View" menu This is a toggle button to hide/show the status bar svn path=/trunk/; revision=30371
* Use privsolib instead of privlib. Link with SHELL_LIBS. Use NO_UNDEFINED.Tor Lillqvist2005-08-101-4/+11
| | | | | | | | | | | | | | | | | | | | | | | 2005-08-10 Tor Lillqvist <tml@novell.com> * Makefile.am: Use privsolib instead of privlib. Link with SHELL_LIBS. Use NO_UNDEFINED. Use EXEEXT. Use hack to workaround MSYS feature on Win32 when installing the schemas. (INCLUDES): Define EVOLUTION_IMAGESDIR like in ../e-util/e-util-private.h, not EVOLUTION_IMAGES. (idl_defines): Pass marker macro to IDL compiler, see below. * Evolution-Component.idl: Don't generate duplicate code in skels and stubs when including this file from other idl files (in particular, ../mail/Evolution-Mail.idl). Use the include_defs and inhibit pragmas unless IDL-compiling in this directory. See lists.ximian.com/pipermail/evolution-patches/2005-June/010899.html * e-shell-utils.c * e-shell-windows.c: Ue EVOLUTION_IMAGESDIR in such a way that it works even when it is a function call. svn path=/trunk/; revision=30075
* Dont enter default values for button label and menu label Dont add theSarfraaz Ahmed2005-07-251-0/+3
| | | | | | | | | | | 2005-07-21 Sarfraaz Ahmed <asarfraaz@novell.com> * e-component-registry.c (query_components): Dont enter default values for button label and menu label * e-shell-window.c (setup_widgets): Dont add the sidebar button when there is no label. svn path=/trunk/; revision=29883
* fix the pixmap location for the settings menu.Not Zed2005-07-211-2/+3
| | | | | | | | | | | | 2005-07-21 Not Zed <NotZed@Ximian.com> * e-shell-window-commands.c: fix the pixmap location for the settings menu. * e-shell-window.c (setup_widgets): reverted dobey's patch to put the components in the useless tools window. svn path=/trunk/; revision=29827
* Free the style here.Kjartan Maraas2005-07-131-0/+1
| | | | | | | | 2005-07-07 Kjartan Maraas <kmaraas@gnome.org> * e-shell-window.c: (setup_widgets): Free the style here. svn path=/trunk/; revision=29758
* shell/ChangeLog shell/e-component-registry.c shell/e-component-registry.hSrinivasa Ragavan2005-05-161-1/+1
| | | | | | | | | | | | | | | | | | | | | 2005-05-16 Srinivasa Ragavan <sragavan@novell.com> shell/ChangeLog shell/e-component-registry.c shell/e-component-registry.h shell/e-shell-window.c shell/e-sidebar.h shell/e-sidebar.c addressbook/ChangeLog addressbook/gui/component/GNOME_Evolution_Addressbook.server.in.in calendar/ChangeLog calendar/gui/GNOME_Evolution_Calendar.server.in.in mail/ChangeLog mail/GNOME_Evolution_Mail.server.in.in Added support for tooltips for component switching buttons. svn path=/trunk/; revision=29358
* Add profiler so that it gets disted properlyRodney Dawes2005-05-141-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-05-13 Rodney Dawes <dobey@novell.com> * plugins/Makefile.am (DIST_SUBDIRS): Add profiler so that it gets disted properly 2005-05-13 Rodney Dawes <dobey@novell.com> * Makefile.am: Add new em-folder-utils.[ch] abstraction * em-folder-browser.c: Update for new menu layout Add new methods to handle the actions that were previously only available from the context menu when right-clicking on a folder * em-folder-selector.c (emfs_response): Just call emfu_folder_create if the user wants to create a new folder in the selector dialog (em_folder_selector_get_selected_path): Clean up the code to fix a couple potential crashes * em-folder-tree.[ch]: Add methods to get pointers to a CamelFolder or CamelFolderInfo object for the selected item in the tree Add a method to get a pointer to an EMFolderTreeModelStoreInfo object for the selected store in the tree Move folder operations out into em-folder-utils.[ch] so that they are abstracted from the tree and can be used by methods other than the internal context menu * em-folder-utils.[ch]: Move the folder operations code to here * em-folder-view.c: Update for the new menu layout Fix Mark as Read/Unread in the context menu to only show up in the list * mail-component.c (create_item): Just call emfu_folder_create here when the user requests to create a new folder from the New toolbar item 2005-05-13 Rodney Dawes <dobey@novell.com> * org-gnome-mailing-list-actions.xml: Update for the new menu layout 2005-05-13 Rodney Dawes <dobey@novell.com> * org-gnome-plugin-manager.xml: Update for new menu layout 2005-05-13 Rodney Dawes <dobey@novell.com> * org-gnome-save-attachments.xml: Update for new menu layout 2005-05-13 Rodney Dawes <dobey@novell.com> * e-shell-window.c (setup_widgets): Update for the new menu layout by putting the "component" switching items under the "Tools" menu 2005-05-13 Rodney Dawes <dobey@novell.com> * *.xml: Update to the new menu layout 2005-05-13 Rodney Dawes <dobey@novell.com> * e-filter-bar.[ch]: Update for the new menu layout svn path=/trunk/; revision=29354
* Fixes #33287JP Rosevear2005-02-241-0/+1
| | | | | | | | | | | 2005-02-23 JP Rosevear <jpr@novell.com> Fixes #33287 * e-shell-window.c (e_shell_window_new): set the send/receive sensitivity when we first start up svn path=/trunk/; revision=28877
* Make offline button scale with font size. Fixes #48868.William Jon McCann2005-02-231-3/+8
| | | | | | | | | 2005-02-22 William Jon McCann <mccann@jhu.edu> * e-shell-window.c (setup_offline_toggle): Make offline button scale with font size. Fixes #48868. svn path=/trunk/; revision=28849
* new protos, modesJP Rosevear2005-01-051-11/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-04 JP Rosevear <jpr@novell.com> * e-sidebar.h: new protos, modes * e-sidebar.c: handle 2 more modes, text only and toolbar style; allow visibility to be set for the buttons * e-shell-window.h: new proto * e-shell-window.c (setup_widgets): set the sidebar setting and visibility based on stored gconf settings (e_shell_window_save_defaults): save the current sidebar setting visibility (e_shell_window_peek_sidebar): return the sidebar * e-shell-window-commands.c (e_shell_window_commands_setup): add listeners for each of the component button radio items and for the hide toggle (view_buttons_icontext_item_toggled_handler): listener callback, set mode (view_buttons_icon_item_toggled_handler): ditto (view_buttons_text_item_toggled_handler): ditto (view_buttons_toolbar_item_toggled_handler): ditto (view_buttons_hide_item_toggled_handler): listener callback, set visibility * apps_evolution_shell.schemas.in.in: add component button style and visibility defaults svn path=/trunk/; revision=28239
* Convert to G_DEFINE_TYPEJP Rosevear2004-12-211-15/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-21 JP Rosevear <jpr@novell.com> * e-corba-config-page.c: Convert to G_DEFINE_TYPE * e-history.c: ditto * e-shell-folder-title-bar.c: ditto * e-shell-offline-handler.c: ditto * e-shell-settings-dialog.c: ditto * e-shell-window.c: ditto * e-sidebar.c: ditto * e-user-creatable-items-handler.c: ditto * e-component-registry.c: ditto * importer/evolution-importer-client.c: ditto svn path=/trunk/; revision=28164
* register event hook.Not Zed2004-10-251-0/+28
| | | | | | | | | | | | | | | | | | | | | 2004-10-25 Not Zed <NotZed@Ximian.com> * main.c (main): register event hook. * e-shell.c (offline_procedure_finished_cb, e_shell_go_online): emit new state changed event. * main.c (main): register the menu hook. (): only define DEVELOPMENT if not already. * e-shell-window.c (init): setup menu manager. (e_shell_window_new): activate menu manager. (update_offline_toggle_status): update the menu manager when the offline state changes (currently only state which requires it) * es-menu.[ch]: Shell plugin menu manager. svn path=/trunk/; revision=27712
* ** See bug #57367.Not Zed2004-06-241-16/+12
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-24 Not Zed <NotZed@Ximian.com> ** See bug #57367. * e-shell-window.c (e_shell_window_new): fix gconf client leak and clean up some logic. * e-shell.c (e_shell_construct): dont activate the components individually, component registry does that implictly. * e-component-registry.c (init): dont call query_components here. (query_components): setup a run-once guard. before adding a component info to the list, make sure we can activate it. (component_info_new): take the interface as a construct argument now. (e_component_registry_peek_list): perform the component list query if we haven't already. (e_component_registry_peek_info): same. (e_component_registry_activate): just always return the reffed component, it isn't added unless it was already activated. svn path=/trunk/; revision=26490
* Add listener for the ViewToolbar command.William Jon McCann2004-06-031-0/+30
| | | | | | | | | | | | | | | | | 2004-06-01 William Jon McCann <mccann@jhu.edu> * e-shell-window-commands.c (e_shell_window_commands_setup): Add listener for the ViewToolbar command. (view_toolbar_item_toggled_handler): New function to handle toggling toolbar visibility and saving state. * e-shell-window.c (e_shell_window_save_defaults): Save the status of the toolbar visibility. (setup_widgets): Set initial state of toolbar visibility. * apps_evolution_shell.schemas.in.in: Added schema for toolbar_visible. svn path=/trunk/; revision=26157
* ** See #58827.Not Zed2004-06-011-0/+1
| | | | | | | | | | | | | | | | | | | | | 2004-05-27 Not Zed <NotZed@Ximian.com> ** See #58827. * e-shell-window.c (switch_view): api change * e-shell.c (impl_Shell_handleURI): Fixed for api change. (impl_Shell_handleURI): check the component alias for an alternate uri schema path. 'quick hack' for activating components from command line. This may, or may not, continue to function. * e-component-registry.c (e_component_registry_peek_info): added an id for search type. (e_component_registry_peek_info_for_uri_schema): ^ makes this redundant, removed. (e_component_registry_activate): fixed for api change. svn path=/trunk/; revision=26137
* use the menu icon not the button icon for the menus. (setup_widgets):Not Zed2004-05-191-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-05-19 Not Zed <NotZed@Ximian.com> * e-shell-window.c (setup_widgets): use the menu icon not the button icon for the menus. (setup_widgets): fixed some i18n stuff with the menu xml. no use putting _x stuff here, it also needs a source. And a memleak. Yucko. * e-component-registry.c (component_info_new): take menu icon. (query_components): setup the menu icon, not a large toolbar sized icon. * e-shell-window.c (menu_component_selected): just use '-' as ascii, its always going to be hte same in utf8. simplifies the code somewhat. 2004-05-05 William Jon McCann <mccann@jhu.edu> * e-shell-window.c (menu_component_selected, setup_widgets): Add components to View menu. * e-component-registry.[ch] (component_info_new) (component_info_free, query_components): Add menu_label and menu_accelerator fields. svn path=/trunk/; revision=25972
* set title to just Evolution (show_development_warning): ditto for warningJP Rosevear2004-05-101-4/+4
| | | | | | | | | | | | | | | | | 2004-05-10 JP Rosevear <jpr@ximian.com> * main.c (show_development_warning): set title to just Evolution (show_development_warning): ditto for warning (idle_cb): ditto for title * e-shell-window.c (update_offline_toggle_status): set tooltip to just Evolution (e_shell_window_new): ditto for window title * e-shell-window-commands.c (command_about_box): set title to just Evolution svn path=/trunk/; revision=25835
* Remove e-lang-utils.h include.Not Zed2004-04-301-2/+0
| | | | | | | | | | 2004-04-30 Not Zed <NotZed@Ximian.com> * e-component-registry.c: * e-shell-settings-dialog.c: * e-shell-window.c: Remove e-lang-utils.h include. svn path=/trunk/; revision=25701
* init the view to NULLJP Rosevear2004-04-281-1/+12
| | | | | | | | | 2004-04-27 JP Rosevear <jpr@ximian.com> * e-shell-window.c (sidebar_button_selected_callback): init the view to NULL svn path=/trunk/; revision=25649
* if there is a current view, use the component alias to select a sensibleJP Rosevear2004-04-231-1/+1
| | | | | | | | | | 2004-04-23 JP Rosevear <jpr@ximian.com> * e-shell-window.c (e_shell_window_show_settings): if there is a current view, use the component alias to select a sensible default config control svn path=/trunk/; revision=25600
* Change this a lot. Now each component will maintain its ownDan Winship2004-04-091-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | * e-user-creatable-items-handler.c: Change this a lot. Now each component will maintain its own EUserCreatableItemsHandler and merge the button and menus in and out of the UI as its controls are activated and deactivated. (This lets the connector component display the correct default for the New button). Also, update to the Product Design Team's new organization (separating object types from folder types) * e-shell.c: Remove all creatable_items_handler references * e-shell-window.c (e_shell_window_new): Remove creatable_items_handler reference * Makefile.am: Move e-user-creatable-items-handler from evolution to libeshell, and make libeshell depend on libemiscwidgets (for the combo button) * Evolution-Component.idl: add another field to CreatableItemType so we can distinguish object types from folder types. svn path=/trunk/; revision=25379
* Add panded widget to EShellWindowPrivate and handle state saving ofRodney Dawes2004-01-271-6/+14
| | | | | | | | | | | | | 2004-01-26 Rodney Dawes <dobey@ximian.com> * e-shell-window.c (setup_widgets): Add panded widget to EShellWindowPrivate and handle state saving of position (#52049) * e-task-bar.c (init): Switch to EClippedLabel instead of GtkLabel for the status bar text (#52937) Fixes #52049 and #52937 svn path=/trunk/; revision=24448
* (e_shell_window_save_defaults): Implement.Ettore Perazzoli2003-12-031-4/+15
| | | | | | (e_shell_window_new): Set the width/height from the GConf keys. svn path=/trunk/; revision=23591
* New member activity_handler. (mail_component_init): Initialize.Ettore Perazzoli2003-12-021-1/+4
| | | | | | | | | | | | | | | | | | | | | | * mail-component.c (struct _MailComponentPrivate): New member activity_handler. (mail_component_init): Initialize. (impl_dispose): Unref. (mail_component_peek_activity_handler): New. (impl_createControls): Create an ETaskBar, attach it to the ActivityHandler, and return it to the caller as the statusbar control. * e-activity-handler.c (e_activity_handler_operation_finished): Argh, renamed from e_activity_client_operation_finished(). (e_activity_handler_operation_started): Don't unref the pixbuf. * e-shell-window.c (setup_widgets): Hide the menu hint label. * e-activity-handler.c (init): Init to next_activity_id to 1 so callers can rely on it being nonzero. svn path=/trunk/; revision=23556
* Pass a label for the status bar control for now.Ettore Perazzoli2003-12-021-21/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook-component.c (impl_createControls): Pass a label for the status bar control for now. * gui/calendar-component.c (impl_createControls): Pass a label for the status bar control for now. * gui/tasks-component.c (impl_createControls): Pass a label for the status bar control for now. * mail-component.c (impl_createControls): Pass a label for the status bar control for now. * e-shell.c (struct _EShellPrivate): Remove member activity_handler. (setup_activity_interface): Remove. (e_shell_init): Don't call. (create_window): Don't attach the task bar to the activity handler. * e-shell-window.c (struct _ComponentView): New member statusbar_widget. (struct _EShellWindowPrivate): Remove member task_bar. (init_view): Get the status bar control from createControls and put it in the ComponentView struct. (setup_task_bar): New. (setup_statusbar_notebook): New. (switch_view): Switch the statusbar notebook too. (impl_dispose): Add missing GTK_OBJECT() cast. (e_shell_window_peek_task_bar): Remove. * Evolution-Component.idl (Component::createControls): New out arg "statusbar_control"; this way components can provide their own status bar. * e-activity-handler.c, e-activity-handler.h: Turn into a plain GObject; translate all the CORBA methods into plain C methods. * Makefile.am: Move e-activity-handler to libeshell instead of it being in the shell. svn path=/trunk/; revision=23555
* Destroy the tooltips instead of unreffing them.Ettore Perazzoli2003-11-191-1/+9
| | | | | | | | | | | | | | | * e-shell-window.c (impl_dispose): Destroy the tooltips instead of unreffing them. * e-shell.c (struct _EShellPrivate): New member activity_handler. (setup_activity_interface): New. (impl_dispose): Add a comment about why we must not unref activity_handler here. (create_window): Attach the task bar to the new window. * e-shell-window.c (e_shell_window_peek_task_bar): New. svn path=/trunk/; revision=23439
* (struct _EShellWindowPrivate): New membersEttore Perazzoli2003-11-191-3/+253
| | | | | | | | | | | | | | | | | | | | | | | | status_bar, offline_toggle, offline_toggle_image, menu_hint_label, task_bar, tooltips. (init): Initialize ->tooltips. (impl_dispose): Unref ->tooltips. (offline_toggle_clicked_callback): New. (e_shell_window_new): Connect shell_line_status_changed_callback() to the shell's "line_status_changed" signal. (shell_line_status_changed_cb): New. (setup_offline_toggle): New. (setup_menu_hint_label): New. (setup_task_bar): New. (setup_status_bar): New. (setup_widgets): Call setup_status_bar() and add add the status bar to the window. (update_offline_toggle_status): New. (update_send_receive_sensitivity): New. (load_icons): New. (class_init): Call load_icons(). (ui_engine_remove_hint_callback): New. svn path=/trunk/; revision=23438
* New signal "component_changed". (class_init): Install. (switch_view):Ettore Perazzoli2003-11-131-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-window.c: New signal "component_changed". (class_init): Install. (switch_view): Emit. (e_shell_window_new): Call e_user_creatable_items_handler_attach_menus() to attach the "New..." menus. (e_shell_window_peek_current_component_id): New. (e_shell_window_peek_shell): Add precondition. (e_shell_window_peek_current_component_id): Likewise. (e_shell_window_peek_bonobo_ui_component): Likewise. * e-user-creatable-items-handler.c: New. * e-user-creatable-items-handler.h: New. * e-shell-window.h: #include <bonobo/bonobo-ui-component.h>. * e-shell.c (struct _EShellPrivate): Add member user_creatable_items_handler. (e_shell_get_user_creatable_items_handler): Remove. (e_shell_peek_user_creatable_items_handler): New. * Evolution-Component.idl (GNOME.Evolution.RequestCreateItem): New method. (GNOME.Evolution.creatableItems): New attribute. * e-shell-user-creatable-items-handler.c: Remove. * e-shell-user-creatable-items-handler.h: Remove. svn path=/trunk/; revision=23314
* Call e_sidebar_select_button() instead of switch_view().Ettore Perazzoli2003-11-131-1/+1
| | | | | | | | | | * e-shell-window.c (e_shell_window_switch_to_component): Call e_sidebar_select_button() instead of switch_view(). * e-sidebar.c (update_buttons): New helper function. (e_sidebar_select_button): New. svn path=/trunk/; revision=23299
* Added a new "-c" command-line arg. (idle_cb): If the arg is specified,Ettore Perazzoli2003-11-111-13/+19
| | | | | | | | | | | | | | | | | | | * main.c: Added a new "-c" command-line arg. (idle_cb): If the arg is specified, open the component with that id/alias. * e-shell.c (impl_Shell_createNewView): New, implementation for the Shell::createNewView() CORBA method. (e_shell_class_init): Install. (e_shell_create_window): Get a component_id arg. * e-shell-window.c (e_shell_window_new): Get a component_id arg and create the window with that component activated if not NULL. * Evolution-Shell.idl (createNewView): Remove. (createNewWindow): New. svn path=/trunk/; revision=23274
* New member "component_alias". (component_view_new): Get a new "alias" arg,Ettore Perazzoli2003-11-111-17/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-window.c (struct _ComponentView): New member "component_alias". (component_view_new): Get a new "alias" arg, set the member in the struct accordingly. (component_view_free): Free ->component_alias. (setup_widgets): Pass the alias from the ComponentInfo to e_component_view(). (switch_view): New utility function. (sidebar_button_selected_callback): Use it. (e_shell_window_switch_to_component): New public function. (e_shell_window_new): Switch to the component whose id is in the /apps/evolution/shell/view_defaults/component_id GConf key. * apps_evolution_shell.schemas: Removed view_defaults/folder_path. New key view_defaults/component_id. * e-component-registry.c (component_info_free): Free ->alias. (component_info_new): Get an "alias" arg and set the member accordingly. (query_components): Remove debugging messages. Get an "evolution:component_alias" property from the component and set the alias from that. * e-component-registry.h (struct _EComponentInfo): New member "alias". svn path=/trunk/; revision=23265
* New member "component_registry". (e_shell_construct): Don't callEttore Perazzoli2003-10-231-47/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell.c (struct _EShellPrivate): New member "component_registry". (e_shell_construct): Don't call e_shell_unregister_all(). (e_shell_unregister_all): Removed. (e_shell_init): Use g_new0(), removed a bunch of NULL/FALSE assignments. (e_shell_init): Initialize the component_registry. (e_shell_peek_uri_schema_registry): Rename from e_shell_get_uri_schema_registry. (e_shell_peek_component_registry): New. (setup_components): Remove. (e_shell_construct): Don't call. * main.c (no_windows_left_cb): Don't call e_shell_unregister_all(). * e-shell.c (parse_default_uri): Removed. (parse_evolution_uri): Removed. (e_shell_parse_uri): Removed. * e-component-info.c: Remove. * e-component-info.h: Remove. svn path=/trunk/; revision=23017
* Make the scrolled window have a GTK_SHADOW_IN shadow.Ettore Perazzoli2003-10-231-1/+3
| | | | | | | | | | | | * importer/intelligent.c (create_gui): Make the scrolled window have a GTK_SHADOW_IN shadow. * e-shell-window.c (setup_widgets): Make the notebooks not have borders. (setup_widgets): Fix typo: e_get_language_list() returns a GSList, not a GList. svn path=/trunk/; revision=22995
* (PADDING): Increase to 6 pixels.Ettore Perazzoli2003-10-231-2/+2
| | | | | | | | | | | (button_toggled_callback): Add a cast. (e_sidebar_set_selection_widget): Handle the NULL widget case properly. (impl_remove): New, implementation for GtkContainer::remove. (do_layout): Add padding between the selection_widget and the button box. svn path=/trunk/; revision=22989
* Add an "evolution:button_label" property on the component for use in theEttore Perazzoli2003-10-231-59/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/GNOME_Evolution_Addressbook.server.in.in: Add an "evolution:button_label" property on the component for use in the shell. * gui/GNOME_Evolution_Calendar.server.in.in: Add an "evolution:button_label" property on the component for use in the shell. * GNOME_Evolution_Mail.server.in.in: Add an "evolution:button_label" attribute to the Component for use in the shell. * e-shell-window.c (struct _ComponentView): New member button_id. (struct _EShellWindowPrivate): New member sidebar. (component_new_new): Get a button_id arg. (component_button_clicked_callback): Removed. (sidebar_button_selected_callback): New. (create_component_button): Removed. (setup_widget): Set up the sidebar using ESidebar and hook up its "button_selected" signal. Also get the component name from a property on the server info. (e_shell_window_new): Use BASE_VERSION for the version in the app name instead of hardcoding "1.5". * e-sidebar.c: New. * e-sidebar.h: New. svn path=/trunk/; revision=22988
* Change to "evolution-1.5" - although, ideally, this should be a config.hJeffrey Stedfast2003-10-221-1/+1
| | | | | | | | | 2003-10-22 Jeffrey Stedfast <fejj@ximian.com> * e-shell-window.c (e_shell_window_new): Change to "evolution-1.5" - although, ideally, this should be a config.h macro or something. svn path=/trunk/; revision=22984
* Merge new-ui-branch to the trunk.Ettore Perazzoli2003-10-221-0/+481
| | | | svn path=/trunk/; revision=22964
* Ooops, revert changes: wrong branch.Ettore Perazzoli2003-07-241-381/+0
| | | | svn path=/trunk/; revision=21926
* Create a new EShellWindow and show it.Ettore Perazzoli2003-07-241-0/+381
* main.c (idle_cb): Create a new EShellWindow and show it. * e-storage.c: New signal "async_open_folder". (impl_async_open_folder): Removed. (class_init): Declare new signal. * e-shell.c (setup_components): Don't actually activate any components. * e-storage-browser.c, e-storage-browser.h: New. * e-shell-window.c, e-shell-window.h: New. * e-shell-marshal.list: Add an entry for NONE:STRING,POINTER,POINTER. * Evolution.idl: Include Evolution-Component.idl. * Evolution-Component.idl: New interface for Evolution components. svn path=/trunk/; revision=21925