aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window-private.h
Commit message (Collapse)AuthorAgeFilesLines
* EAlert: Allow arbitrary actions to be added.Matthew Barnes2010-10-191-0/+8
| | | | | | | | | | | | | | You can now amend the predefined actions in an EAlert by calling e_alert_add_action(). Useful for adding actions from an existing GtkUIManager. Call e_alert_peek_actions() to obtain a combined list of predefined and custom actions. These will typically serve as "related" actions for GtkButtons (cf. gtk_activatable_set_related_action()). Also, both EShellWindow and EShellView now implement EAlertSink. Use EShellWindow for application-wide alerts, EShellView for view-specific alerts.
* Replace EBinding with GBinding.Matthew Barnes2010-10-141-1/+0
| | | | | | GObject now does property bindings itself. Requires GLib >= 2.26.
* Use new GDK keysym names if available.Matthew Barnes2010-09-181-0/+3
| | | | | | | In GTK+ 2.21.8, the keysym names were renamed from GDK_* to GDK_KEY_*. I've added backward-compatibility macors to gtk-compat.h, which can be dumped as soon as we require GTK+ >= 2.22.0.
* Handle adding 'X' close button on the menu bar. Restore adding the sameSrinivasa Ragavan2010-05-111-0/+1
| | | | for adding in calendar since it doesn't have a toolbar.
* Shell and UI manager cleanups.Matthew Barnes2010-03-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Replace the EVO_EXPRESS environment variable with an --express command line option. (Note, this adds a new translatable string for --help.) Add an EUIManager class with an "express-mode" property and custom load functions that use our new "express" preprocessor. This replaces the UI manager functions in e-utils.c. (Also going to see if I can get GTK+ to add an "add_ui_from_string" method to GtkUIManagerClass that we can override. Then we could just call gtk_ui_manager_add_ui_from_string() and the preprocessor would automatically do its thing and chain up.) Add an "express-mode" read-only GObject property to EShell. Add e_shell_configure_ui_manager() to e-shell-utils.c. For now this just creates a one-way property binding: EShell:express-mode -> EUIManager:express-mode Call this immediately after e_ui_manager_new(). (EUIManager can't do this itself because it lives too low in the dependency hierarchy and doesn't know about EShell.)
* Add a set of actions that open a view in a new windowMichael Meeks2010-03-141-1/+2
|
* Introduce ESelectable and EFocusTracker.Matthew Barnes2009-12-261-0/+2
| | | | | | | | | | | | | | | | | | EFocusTracker tracks the input focus within a window and helps keep the sensitivity of "selectable" actions in the main menu up-to-date. Selectable actions include Cut, Copy, Paste, Select All and Delete. EFocusTracker has built-in support for widgets that implement the GtkEditable interface such as GtkEntry and GtkTextView. It also supports custom widgets that implement the ESelectable interface, which is a subset of GtkEditable and can apply to anything that displays selectable content (esp. tree views and ETables). This commit integrates EFocusTracker with EShellWindow, CompEditor, EMsgComposer, and ESignatureManager. It also bumps the GtkHTML requirement to 2.29.5 to utilize the new GtkhtmlEditor:html constructor property.
* Add private virtual methods to EShellWindowClass.Matthew Barnes2009-12-021-7/+6
| | | | | | | | | | | | | | | | | | | | | | | So Anjal can override what it needs to for its own purpose. Also makes the EShellWindow design a little cleaner. Methods added: GtkWidget * (*construct_menubar) (EShellWindow *shell_window); GtkWidget * (*construct_toolbar) (EShellWindow *shell_window); GtkWidget * (*construct_sidebar) (EShellWindow *shell_window); GtkWidget * (*construct_content) (EShellWindow *shell_window); GtkWidget * (*construct_taskbar) (EShellWindow *shell_window); EShellView * (*create_shell_view) (EShellWindow *shell_window, const gchar *view_name); Also added some new GObject properties to help decouple actions from internal EShellWindow widgets created by these methods: EShellWindow:sidebar-visible EShellWindow:switcher-visible EShellWindow:taskbar-visible EShellWindow:toolbar-visible
* Add a --geometry command-line option.Matthew Barnes2009-11-261-0/+2
| | | | | Applies the user's window geometry string to the first main window. Suggested in bug #529565.
* Rename EShellImporter to EImportAssistant and move it to widgets.Matthew Barnes2009-09-261-0/+1
|
* Fix compiler warnings and deprecated GTK+ API usage.Matthew Barnes2009-08-161-0/+1
|
* 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
* Filter/Search bar changes for Anjal.Srinivasa Ragavan2009-05-241-1/+0
|
* Add unique-1.0 requirement (blessed external dependency).Matthew Barnes2009-01-291-1/+1
| | | | | | | | | | | | | | | | | 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-9/+0
| | | | svn path=/branches/kill-bonobo/; revision=37137
* Add action groups to support lockdown, starting with printing.Matthew Barnes2009-01-271-0/+4
| | | | | | Other categories to follow. Editors still need lockdown support. svn path=/branches/kill-bonobo/; revision=37136
* Tweak the EShell API.Matthew Barnes2009-01-081-0/+3
| | | | | | | Disable File -> Close Window when there's only one window. Replace EMMessageBrowser with EMailBrowser. svn path=/branches/kill-bonobo/; revision=37009
* Progress update:Matthew Barnes2008-10-141-0/+2
| | | | | | | | | | - 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
* Update the headers on files I've created or completely rewritten to matchMatthew Barnes2008-10-021-10/+11
| | | | | | Sankar's LGPLv3 template. svn path=/branches/kill-bonobo/; revision=36535
* Search UI is kinda sorta working. Still some outstanding issues.Matthew Barnes2008-09-231-1/+4
| | | | svn path=/branches/kill-bonobo/; revision=36427
* Finally got the "Current View" menu under control.Matthew Barnes2008-09-191-0/+1
| | | | svn path=/branches/kill-bonobo/; revision=36380
* Massive address book refactoring. Things are mostly working again.Matthew Barnes2008-09-171-3/+2
| | | | | | 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-1/+0
| | | | svn path=/branches/kill-bonobo/; revision=36337
* Fix some bootstrapping issues.Matthew Barnes2008-09-101-2/+15
| | | | svn path=/branches/kill-bonobo/; revision=36291
* Fix some bugs in the way the shell widgets get initialized.Matthew Barnes2008-09-091-1/+0
| | | | svn path=/branches/kill-bonobo/; revision=36279
* Progress update:Matthew Barnes2008-09-071-3/+6
| | | | | | | | | - 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-3/+7
| | | | svn path=/branches/kill-bonobo/; revision=36260
* Progress update:Matthew Barnes2008-08-241-17/+21
| | | | | | | | | | | | - 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-0/+2
| | | | | | | | | | - 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-1/+4
| | | | | | | | | | | | | 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-0/+1
| | | | | | Adapt recent "crash recovery" changes to new architecture. svn path=/branches/kill-bonobo/; revision=36018
* Write the algorithm for sorting items in the "New" menu. Not yet tested.Matthew Barnes2008-08-171-1/+0
| | | | svn path=/branches/kill-bonobo/; revision=36004
* Commit progress, which breaks everything.Matthew Barnes2008-08-081-0/+4
| | | | svn path=/branches/kill-bonobo/; revision=35930
* Disable all components and plugins. Begin rewriting the shell.Matthew Barnes2008-07-171-0/+93
svn path=/branches/kill-bonobo/; revision=35748