Commit Graph

2638 Commits

Author SHA1 Message Date
8bbf952350 Fix some bugs related to the New menu and toolbar button.
svn path=/branches/kill-bonobo/; revision=36232
2008-08-31 12:29:42 +00:00
0ad2c0cf65 Figured out why the switcher buttons have no relief.
GTK+ bug: http://bugzilla.gnome.org/show_bug.cgi?id=549943

svn path=/branches/kill-bonobo/; revision=36221
2008-08-30 14:38:37 +00:00
cc482c3d1a ** Fixes bug #549554 (patch from Paul Bolle)
2008-08-30  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #549554 (patch from Paul Bolle)

	* shell/e-shell-importer.c: (struct info):
	Drop sentence about an "Automatic" option.


svn path=/trunk/; revision=36218
2008-08-30 11:43:22 +00:00
3843185df1 Preferences window awesomeness.
svn path=/branches/kill-bonobo/; revision=36215
2008-08-30 04:42:02 +00:00
e0c501b701 Progress update:
- 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
2008-08-29 22:32:46 +00:00
02a9eb6830 Miscellaneous tweaks. Nothing major.
svn path=/branches/kill-bonobo/; revision=36138
2008-08-27 19:56:31 +00:00
1bad915150 License Changes
svn path=/trunk/; revision=36116
2008-08-27 10:33:22 +00:00
244ab98402 Progress update:
- 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
2008-08-27 01:54:22 +00:00
cf3b010171 Progress update:
- Further refinements of the shell API.
  - Kill ESMenu and EUserCreatableItemsHandler.
  - Start ripping apart the addressbook component.


svn path=/branches/kill-bonobo/; revision=36093
2008-08-26 20:22:32 +00:00
2ef1b5bf42 Progress update:
- 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
2008-08-24 13:17:11 +00:00
fd6cd9e3a6 Progress update:
- 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
2008-08-23 15:36:32 +00:00
879d84ab6e Coding style cleanups.
svn path=/trunk/; revision=36025
2008-08-19 15:02:36 +00:00
035744f29b Committing the day's progress.
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
2008-08-19 02:55:45 +00:00
4187293731 Merge revisions 35993:36015 from trunk.
Adapt recent "crash recovery" changes to new architecture.

svn path=/branches/kill-bonobo/; revision=36018
2008-08-18 16:18:42 +00:00
6a753a2499 Fix the function signature to conform to the component interface.
2008-08-18  Matthew Barnes  <mbarnes@redhat.com>

	* shell/test/evolution-test-component.c (impl_upgradeFromVersion):
	Fix the function signature to conform to the component interface.


svn path=/trunk/; revision=36015
2008-08-18 14:06:17 +00:00
a763c26876 Fix a little compiler warning I caused.
svn path=/trunk/; revision=36010
2008-08-18 04:43:06 +00:00
f19618ac7f ** Fixes bug #508732
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
2008-08-18 04:37:15 +00:00
af89ff7edd Milan Crha <mcrha@redhat.com> ** Fix for bug #416258 (Evolution "New Mail" icon is wrong size).
svn path=/trunk/; revision=36007
2008-08-18 04:05:13 +00:00
28b28bf057 Write the algorithm for sorting items in the "New" menu. Not yet tested.
svn path=/branches/kill-bonobo/; revision=36004
2008-08-17 01:36:11 +00:00
fd3514c75f Have the sidebar update itself when the "gtk-toolbar-style" global GtkSetting
changes, without using GConf.

svn path=/branches/kill-bonobo/; revision=36001
2008-08-16 04:19:38 +00:00
7ade227e64 Merge revisions 35951:35992 from trunk.
svn path=/branches/kill-bonobo/; revision=35994
2008-08-14 20:19:12 +00:00
cca29c3424 Demonstrate displaying the test shell view.
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
2008-08-14 03:51:16 +00:00
4fe52955d1 Demonstrate loading the test module.
svn path=/branches/kill-bonobo/; revision=35983
2008-08-13 22:22:49 +00:00
08bd776572 Get a basic shell window working.
svn path=/branches/kill-bonobo/; revision=35982
2008-08-13 20:31:08 +00:00
5f6a18500c Merge revisions 35931:35950 from trunk.
svn path=/branches/kill-bonobo/; revision=35978
2008-08-13 12:00:21 +00:00
434bc25ed6 ** Fixes bug #546892
2008-08-11  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #546892

	* e-util/e-icon-factory.c (e_icon_factory_get_image):
	Kill this function.  Use gtk_image_new_from_icon_name().

	* e-util/e-icon-factory.c (e_icon_factory_get_icon_list):
	Kill this function.  Use gtk_window_set_icon_name().

	* widgets/misc/e-activity-handler.c:
	* widgets/misc/e-task-widget.c:
	Purge the GdkPixbuf arguments from the API.  We've been ignoring
	them since the spinner icon was added.

	* addressbook/gui/contact-editor/e-contact-editor-fullname.c:
	* addressbook/gui/contact-editor/e-contact-editor-im.c:
	* addressbook/gui/contact-editor/e-contact-editor-address.c:
	* calendar/gui/alarm-notify/alarm-notify-dialog.c:
	* calendar/gui/dialogs/alarm-dialog.c:
	* calendar/gui/dialogs/alarm-list-dialog.c:
	* calendar/gui/dialogs/cal-attachment-select-file.c:
	* calendar/gui/dialogs/changed-comp.c:
	* calendar/gui/dialogs/delete-error.c:
	* calendar/gui/dialogs/select-source-dialog.c:
	* mail/mail-send-recv.c:
	* mail/message-tag-followup.c:
	* widgets/misc/e-combo-button.c:
	* widgets/misc/e-info-label.c:
	* widgets/misc/e-url-entry.c:
	* widgets/misc/e-task-widget.c:
	Prefer gtk_window_set_icon_name() over gtk_window_set_icon_list().

	* addressbook/gui/contact-editor/e-contact-editor-im.c:
	* calendar/gui/dialogs/event-page.c:
	* calendar/gui/e-timezone-entry.c:
        * e-util/e-gui-utils.c:
        * e-util/e-popup.c:
	* plugins/import-ics-attachments/icsimporter.c:
	* plugins/itip-formatter/itip-view.c:
	* mail/em-folder-browser.c:
	* mail/em-format-html-display.c:
	* mail/mail-send-recv.c:
	* mail/message-tag-followup.c:
	Prefer gtk_image_new_from_icon_name() over e_icon_factory_get_image().

	* calendar/gui/alarm-notify/alarm-queue.c:
	* plugins/mail-notification/mail-notification.c:
	Prefer gtk_status_icon_set_from_icon_name() over
	gtk_status_icon_set_from_pixbuf().

	* addressbook/gui/component/addressbook-view.c:
	* calendar/gui/e-calendar-table.c:
	* calendar/gui/e-calendar-view.c:
	* calendar/gui/e-memo-table.c:
	* mail/mail-mt.c:
	e_activity_handler_operation_started() no longer takes a GdkPixbuf.
	It was ignoring the pixbuf anyway ever since we added a spinner icon.


svn path=/trunk/; revision=35958
2008-08-11 17:04:32 +00:00
ebec065334 Add a few stub functions to get compilation to complete.
Kill e-active-connection-dialog.glade (unused).

svn path=/branches/kill-bonobo/; revision=35950
2008-08-11 01:05:38 +00:00
e48ac5d4f2 Kill e-shell-marshal.list (unused).
svn path=/branches/kill-bonobo/; revision=35949
2008-08-10 12:45:08 +00:00
0e32287bbb Killing spree...
svn path=/branches/kill-bonobo/; revision=35948
2008-08-09 12:13:16 +00:00
ed9c8cc740 Treat the Preferences window as a singleton.
Kill a bunch of Bonobo crud, which breaks compilation again.

svn path=/branches/kill-bonobo/; revision=35947
2008-08-09 12:05:51 +00:00
558de407c4 Kill EShellSettingsDialog.
Rename EMultiConfigDialog to EPreferencesWindow and improve the API.

svn path=/branches/kill-bonobo/; revision=35944
2008-08-09 02:24:46 +00:00
9388bae198 Kill ECorbaConfigPage. Good riddance.
svn path=/branches/kill-bonobo/; revision=35943
2008-08-08 23:16:01 +00:00
278c1fa77b Work through more compilation errors.
Rewrite EMultiConfigDialog to not use ETable.

svn path=/branches/kill-bonobo/; revision=35942
2008-08-08 23:12:59 +00:00
0a5a436616 Remove unused EShell pointer from ImportData.
2008-08-08  Matthew Barnes  <mbarnes@redhat.com>

	* shell/e-shell-importer.c:
	Remove unused EShell pointer from ImportData.


svn path=/trunk/; revision=35939
2008-08-08 16:06:30 +00:00
7903e73970 Fix some compilation errors.
svn path=/branches/kill-bonobo/; revision=35938
2008-08-08 15:15:17 +00:00
cea054cd54 Merge revisions 35747:35930 from trunk.
svn path=/branches/kill-bonobo/; revision=35931
2008-08-08 04:26:12 +00:00
91a6b6899e Commit progress, which breaks everything.
svn path=/branches/kill-bonobo/; revision=35930
2008-08-08 02:04:44 +00:00
c714d8efd1 ** Fixes bug #467115
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
2008-08-07 14:29:49 +00:00
670e6d1678 ** Fix for bug #249844
2008-08-06  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #249844

	* addressbook/gui/component/addressbook-component.c:
	* calendar/gui/tasks-component.c: (impl__get_userCreatableItems):
	* calendar/gui/memos-component.c: (impl__get_userCreatableItems):
	* mail/mail-component.c: (impl__get_userCreatableItems):
	* shell/test/evolution-test-component.c: (impl__get_userCreatableItems):
	(impl__get_userCreatableItems): Do not let compiler claim.

	* mail/em-event.h: (struct _EMEventTargetCustomIcon): Declare 'folder_name'
	as const char * to let compiler happy; no copy of the pointer anyway.

	* calendar/gui/calendar-component.c: (impl__get_userCreatableItems):
	Use C_() macro instead of Q_() macro.
	Use fully qualified names for "New" submenu entries.


svn path=/trunk/; revision=35916
2008-08-06 15:44:47 +00:00
6dd3a55a40 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #249844 (Use C_() macro instead of Q_() macro, Use fully qualified names for New submenu entries).
svn path=/trunk/; revision=35897
2008-08-04 03:40:06 +00:00
c8693868b0 ** Fixes bug #544862
2008-08-01  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #544862

	* shell/apps_evolution_shell.scheams.in:
	Clarify description of "use_authentication" key.


svn path=/trunk/; revision=35880
2008-08-01 17:28:23 +00:00
5e4b6fcb89 ** Fix for bug #544022
2008-07-22  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #544022

	* configure.in: Do not redefine DBUS_VERSION define supplied
	by dbus itself, rather rename our define to FOUND_DBUS_VERSION.

	* mail/e-searching-tokenizer.c: (dump_trie):
	Define function only when required. (Compiler warning cleanup.)

	* shell/e-shell-window-commands.c: (char *authors[]):
	Break the escape sequence properly (compiler warning cleanup).

	* plugins/email-custom-header/email-custom-header.c: Compiler warning cleanup.

	* plugins/mail-notification/Makefile.am:
	* plugins/mail-notification/mail-notification.c: (send_dbus_message): Do not redefine
	DBUS_VERSION define, it's supplied by dbus itself.


svn path=/trunk/; revision=35819
2008-07-22 08:43:06 +00:00
0aa642c443 ** Fixes bug #542828
2008-07-20  Andre Klapper  <a9016009@gmx.de>

	** Fixes bug #542828

	* e-shell-window-commands.c:
	update and fix list of contributors. Patch by Maxim Ermilov.


svn path=/trunk/; revision=35796
2008-07-20 23:54:33 +00:00
3e09622310 ** Fixes bug #542587
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
2008-07-20 16:37:22 +00:00
7692685caf Bug 543758 - Never mark empty strings for translations
2008-07-19  Tor Lillqvist  <tml@novell.com>

	Bug 543758 - Never mark empty strings for translations

	* main.c (main): Change _("") to explicit gettext ("") to avoid
	potentially confusing translation tools or translators.


svn path=/trunk/; revision=35759
2008-07-19 18:51:50 +00:00
03a3e6f846 Disable all components and plugins. Begin rewriting the shell.
svn path=/branches/kill-bonobo/; revision=35748
2008-07-16 19:37:02 +00:00
c049cedd69 ** Fix for bug #542889
2008-17-14  Paolo Borelli  <pborelli@katamail.com>

	** Fix for bug #542889

	Port to the new gtk tooltip api.


svn path=/trunk/; revision=35744
2008-07-14 11:38:30 +00:00
7b7e770d30 Remove still more unused files.
2008-07-13  Matthew Barnes  <mbarnes@redhat.com>

	* shell/e-shell-folder-title-bar.[ch]:
	Remove still more unused files.


svn path=/trunk/; revision=35741
2008-07-13 10:55:12 +00:00
3127d12f90 Remove more unused files.
2008-07-12  Matthew Barnes  <mbarnes@redhat.com>

	* shell/e-shell-utils.[ch]:
	Remove more unused files.

	* shell/e-user-creatable-items-handler.c:
	Remove inclusion of "e-shell-utils.h".


svn path=/trunk/; revision=35739
2008-07-12 13:15:48 +00:00
c92225213c Remove these files. They were written in 2002 and, AFACIT, never used for
2008-07-10  Matthew Barnes  <mbarnes@redhat.com>

	* shell/e-history.[ch]:
	Remove these files.  They were written in 2002 and, AFACIT,
	never used for anything.


svn path=/trunk/; revision=35737
2008-07-11 03:03:38 +00:00