Commit Graph

324 Commits

Author SHA1 Message Date
bd9f473a89 Redesign EPluginUI to accommodate merging and unmerging shell views.
Get the "mark-all-read" and "plugin-manager" plugins working.

svn path=/branches/kill-bonobo/; revision=37125
2009-01-23 21:41:01 +00:00
2b9c72826a Fix a weird UI merging bug.
svn path=/branches/kill-bonobo/; revision=37020
2009-01-09 05:13:07 +00:00
8e2b445e9d Define a new interface called EMailReader, which implements operations
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
2008-12-27 15:14:29 +00:00
b06cdfab92 Progress update:
- Tighter integration of GalViewInstance and EShellView.

  - EBinding.  Stolen from ExoBinding.  Lets you bind GObject properties
    together to automatically keep their values in sync.  This is a godsend.
    Added to e-util, but might even deserve a place in libedataserver.

  - EShellSettings.  This is the concept I blogged about.  Already
    started ripping apart em-mailer-prefs.c.  Others to follow.  Any
    place where we're monitoring GConf keys is a target.

  - Incremental progress on the calender and mailer.  Got EMFolderView
    somewhat working, but I think I'll be killing off EMFolderBrowser.



svn path=/branches/kill-bonobo/; revision=36795
2008-11-19 01:39:19 +00:00
d6b8b58bb4 Get the calendar's memopad and taskpad working.
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
2008-10-29 20:11:07 +00:00
54b80a7271 Get the mail folder tree compiling, though I'm not yet sure why it's not
showing anything.  Probably something stupid.  Also enabled the composer.

svn path=/branches/kill-bonobo/; revision=36623
2008-10-17 03:48:03 +00:00
791c982c45 Update the headers on files I've created or completely rewritten to match
Sankar's LGPLv3 template.

svn path=/branches/kill-bonobo/; revision=36535
2008-10-01 21:51:10 +00:00
b2cda1d0c6 Merge revisions 36016:36533 from trunk.
svn path=/branches/kill-bonobo/; revision=36534
2008-10-01 20:56:04 +00:00
e52986f422 Add more EShell API documentation.
svn path=/branches/kill-bonobo/; revision=36533
2008-10-01 18:58:37 +00:00
c6795be3a8 Continue documenting the new shell API.
svn path=/branches/kill-bonobo/; revision=36511
2008-10-01 03:48:51 +00:00
098ea8aad8 Get Memos to come up. Doesn't really work yet, but the widgets are all there.
svn path=/branches/kill-bonobo/; revision=36491
2008-09-29 16:14:46 +00:00
9515b98403 Saving progress. Experimenting with directory layout.
Saving progress.
Experimenting with directory layout.

svn path=/branches/kill-bonobo/; revision=36446
2008-09-24 22:53:30 +00:00
3e3c13b439 Replace EActivityHandler with a new activity-tracking system that uses
EActivity objects instead of numeric handler IDs.  Create an EActivity,
configure it, and (optionally) connect to its "cancelled" and "completed"
signals.  Then hand it to the shell view via e_shell_view_add_activity().
When finished with the activity, call e_activity_finish() and unref it.

svn path=/branches/kill-bonobo/; revision=36391
2008-09-19 16:52:08 +00:00
bb7cb1d677 Massive address book refactoring. Things are mostly working again.
Also, begin documenting the new shell API, and provide a Gtk-Doc framework.

svn path=/branches/kill-bonobo/; revision=36359
2008-09-17 15:07:13 +00:00
7ee6ef65f1 Allow EShellContent, EShellSidebar, and EShellTaskbar to be subclassed,
and begin doing so for Calendars, Memos and Tasks.  Makes the code cleaner.

svn path=/branches/kill-bonobo/; revision=36317
2008-09-13 04:02:09 +00:00
c701a5e026 Add stubs for calendar, task, and memo shell views.
svn path=/branches/kill-bonobo/; revision=36296
2008-09-10 18:36:36 +00:00
2e83206b30 Fix some bootstrapping issues.
svn path=/branches/kill-bonobo/; revision=36291
2008-09-09 17:29:09 +00:00
935897c9a2 Fix some bugs in the way the shell widgets get initialized.
svn path=/branches/kill-bonobo/; revision=36279
2008-09-09 02:53:40 +00:00
5350eebb5e Progress update:
- Merge ETaskBar into EShellTaskbar.
	- Remember the last view, and make --component work.


svn path=/branches/kill-bonobo/; revision=36278
2008-09-08 20:37:00 +00:00
52d683e48c Progress update:
- Contacts module mostly working now.
	- View and search UI not yet working.
	- Still refining shell design.


svn path=/branches/kill-bonobo/; revision=36268
2008-09-07 04:02:27 +00:00
eca687589d Saving progress. Lots of changes. Things are a bit broken at the moment.
svn path=/branches/kill-bonobo/; revision=36260
2008-09-05 15:47:38 +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
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
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
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
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
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
abda2bda85 updated novell copyright notices (left others alone)
svn path=/trunk/; revision=35665
2008-06-20 22:26:57 +00:00
4503c052d0 ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and
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
2008-06-06 15:12:53 +00:00
6624b02a0d ** Fix for bug #508678
2008-01-11  Bharath Acharya <abharath@novell.com>

	** Fix for bug #508678

	* e-shell-view.c: Included missing header glib/gi18n.h



svn path=/trunk/; revision=34796
2008-01-11 05:03:35 +00:00
5ade9084b3 From shell/ChangeLog
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
2008-01-10 16:17:45 +00:00
eeb89358f6 ** Fix for bug #329823
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
2007-10-11 14:03:13 +00:00
8e47917e8c Update FSF address in header comments (#469886). Patch from Tobias
2007-09-02  Matthew Barnes  <mbarnes@redhat.com>

	* Update FSF address in header comments (#469886).
	  Patch from Tobias Mueller.


svn path=/trunk/; revision=34151
2007-09-02 04:19:22 +00:00
4e259838f0 Commiting patch for bug #337258.
svn path=/trunk/; revision=31873
2006-04-24 05:03:49 +00:00
edfe0e087d Evolution-Component.idl Evolution-Shell.idl Remove duplicate definitions
2005-12-22  Parthasarathi Susarla <sparthasarathi@novell.com>

	* Evolution-Component.idl
	* Evolution-Shell.idl
	* Evolution.idl:
	Remove duplicate definitions and circular dependencies.

	* e-shell.c: comment out the implementation for findComponent.
	If implemented, this creates a circular dependency between the
	Shell.idl and Component.idl.
	** This is just a work-around **
Evolution-Component.idl Evolution-Shell.idl CVS: 	Evolution.idl
e-shell-view.c e-shell.c CVS:
----------------------------------------------------------------------

svn path=/trunk/; revision=30934
2005-12-22 11:11:15 +00:00
8e71ebe0f4 added these files for fixing bug http://bugzilla.gnome.org/show_bug.cgi?id=260354
shell/e-shell-view.c shell/e-shell-view.h
 	shell/e-component-view.c shell/e-component-view.h

svn path=/trunk/; revision=30914
2005-12-21 07:17:30 +00:00
8f502cffbc Do not #include "e-local-folder.h".
* e-setup.c: Do not #include "e-local-folder.h".

* Makefile.am: Don't build evolution-test-component for now since
it's all out of date.

* main.c (evolution_debug_log): Make static instead of extern.

* e-user-creatable-items-handler.c: #include
<bonobo/bonobo-control.h>.

* e-shell.h: Do not include "e-uri-schema-registry.h" or
"evolution-shell-component-client.h".
* e-shell.c: Likewise.

* e-shell.c (struct _EShellPrivate): Removed member
uri_schema_registry.
(impl_Shell_handleURI): #if 0 it out for now.
(e_shell_peek_uri_schema_registry): Disabled for now.

* e-corba-storage-registry.c: Remove.
* e-corba-storage-registry.h: Remove.
* e-corba-storage.c: Remove.
* e-corba-storage.h: Remove.
* e-folder-dnd-bridge.c: Remove.
* e-folder-dnd-bridge.h: Remove.
* e-folder-selection-dialog.c: Remove.
* e-folder-selection-dialog.h: Remove.
* e-folder-type-registry.c: Remove.
* e-folder-type-registry.h: Remove.
* e-local-folder.c: Remove.
* e-local-folder.h: Remove.
* e-local-storage.c: Remove.
* e-local-storage.h: Remove.
* e-shell-folder-selection-dialog.c: Remove.
* e-shell-folder-selection-dialog.h: Remove.
* e-shell-view.c: Remove.
* e-shell-view.h: Remove.
* e-storage-browser.c: Remove.
* e-storage-browser.h: Remove.
* e-storage-set-view.c: Remove.
* e-storage-set-view.h: Remove.
* e-storage-set.c: Remove.
* e-storage-set.h: Remove.
* e-storage.c: Remove.
* e-storage.h: Remove.
* evolution-shell-component-client.c: Remove.
* evolution-shell-component-client.h: Remove.
* evolution-shell-component-dnd.c: Remove.
* evolution-shell-component-dnd.h: Remove.
* evolution-storage-listener.c: Remove.
* evolution-storage-listener.h: Remove.
* evolution-storage-set-view-listener.c: Remove.
* evolution-storage-set-view-listener.h: Remove.

svn path=/trunk/; revision=23396
2003-11-17 19:12:04 +00:00
ca848e5756 Protect against the component name having slashes in it.
* e-shell.c (parse_default_uri): Protect against the component
name having slashes in it.

* e-shell-view.c (display_uri): Protect against invalid "default:"
URIs.  [#43079]

svn path=/trunk/; revision=21194
2003-05-15 18:19:16 +00:00
74ee7fe6ae release the interface if we got it
2003-05-14  JP Rosevear  <jpr@ximian.com>

	* e-shell.c (save_settings_for_component): release the interface
	if we got it

	* e-shell-view.c: include bonobo-exception.h
	(impl_dispose): release and unref the shell view corba interface
	(init): init to CORBA_OBJECT_NIL
	(e_shell_view_get_corba_interface): return the corba interface
	(setup_corba_interface): release the existing shell view, add as
	an interface and then query to get it back
	(get_view_for_uri): release and unref the control once we create
	the widget with it

	* e-corba-storage.c (storage_listener_servant_new): don't ref
ourselves
	(storage_listener_servant_free): don't unref ourselves
	(impl_dispose): free the servant info

	* e-corba-storage-registry.c
	(impl_StorageRegistry_getStorageByName): we need to ref as well as
	duplicate since we didn't create the storage here

svn path=/trunk/; revision=21176
2003-05-14 18:39:22 +00:00
56e678a748 [#42342] New function to update the Send/Receive menu and toolbar items
[#42342]
* e-shell-view.c (update_send_receive_sensitivity): New function
to update the Send/Receive menu and toolbar items according to the
current line status.
(e_shell_view_construct): Call it here to set up the initial
state.
(shell_line_status_changed_cb): Use it here as well.

svn path=/trunk/; revision=21135
2003-05-08 21:54:58 +00:00
b352ae1f19 [#36956] Remove the version number from the window title.
[#36956]
* e-shell-view.c (update_for_current_uri): Remove the version
number from the window title.

[#42518]
* e-shell-view.c (handle_current_folder_removed): Casefold the
Inbox name only once, instead of once per iteration.  Removed the
spurious slash that was being passed in the path in the Inbox case
and prevented it from working.  Added missing slash in the path
for the storage case.  Casefold the path including the slash,
since we compare against a string that does include the slash.
(storage_set_removed_folder_callback): Remove the notebook page
before calling handle_current_folder_removed(), instead of after;
otherwise, the notebook page number we have might not be valid
anymore.

* e-shell-folder-creation-dialog.c (setup_dialog): Set the default
response for the dialog to GTK_RESPONSE_OK.

svn path=/trunk/; revision=21134
2003-05-08 19:36:47 +00:00
1bd3678dbe [ fixes #21499 ]
2003-04-18  Rodney Dawes  <dobey@ximian.com>

	[ fixes #21499 ]
	* gui/component/Makefile.am:
	* gui/component/addressbook.c:
	* gui/component/select-names/e-select-names-bonobo.c:
	* gui/contact-editor/Makefile.am:
	* gui/contact-editor/e-contact-editor.c:
	* gui/contact-list-editor/Makefile.am:
	* gui/contact-list-editor/e-contact-list-editor.c:
	Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui ()

	* gui/Makefile.am:
	* gui/calendar-commands.c:
	* gui/tasks-control.c:
	* gui/dialogs/Makefile.am:
	* gui/dialogs/comp-editor.c:
	Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui ()

	* Makefile.am:
	* e-msg-composer.c:
	Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui ().
	Fixes bug #21499.

	* Makefile.am:
	* folder-browser-ui.c:
	* mail-signature-editor.c:
	* message-browser.c:
	Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui ().
	Fixes bug #21499.

	* Makefile.am:
	* e-summary-factory.c:
	Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui ()

	* e-shell-view.c: Use PREFIX instead of EVOLUTION_DATADIR for
	bonobo_ui_util_set_ui () [#21499]

svn path=/trunk/; revision=20888
2003-04-18 17:46:26 +00:00
d4d4b161a1 (update_window_icon): Get the large version of
the icon instead of the small one, so it works more nicely with
modern WMs.

svn path=/trunk/; revision=20683
2003-04-06 09:25:32 +00:00
e523bfb300 Remove the icon_modes schema.
* apps_evolution_shell.schemas: Remove the icon_modes schema.

* e-shell-view.c (setup_defaults): Don't set the icon modes from
GConf, they are already stored in the shortcuts.xml file.
(e_shell_view_save_defaults): Likewise, don't set it here.

* e-config-upgrade.c: Remove translation from
ShortcutBarGroup%iIconMode to
shell/view_defaults/shortcut_bar/icon_types.

svn path=/trunk/; revision=20673
2003-04-04 20:27:03 +00:00
b1dad9521d [#40652]
2003-04-02  Not Zed  <NotZed@Ximian.com>

	[#40652]

	* e-shell-view.c (setup_widgets): Pack the folder and shortcut
	bars into the paned as sizeable.

svn path=/trunk/; revision=20630
2003-04-02 03:54:10 +00:00
d47803508b (e_shell_view_construct): Pass "evolution-1.4" as
the app name to bonobo_ui_util_set_ui() instead of "evolution".

svn path=/trunk/; revision=20527
2003-03-26 23:01:07 +00:00
d039f69326 (update_other_users_folder_items_sensitivity):
New function to toggle the "open other user's folder" menu item
sensitivity on or off depending on whether there are any storages
that actually support that.
(storage_set_removed_storage_callback): New callback for the
EStorageSet's "removed_storage" signal; it updates the sensitivity
if necessary.
(storage_set_new_storage_callback): Likewise, new callback for the
EStorageSet's "new_storage" signal.
(e_shell_view_construct): Connect these two signal callbacks here.
Also, call update_other_users_folder_items_sensitivity() to set up
the initial sensitivity of the menu item.
(update_for_current_uri): Add a missing EStorageSetView cast here.

svn path=/trunk/; revision=20209
2003-03-06 19:25:20 +00:00
3703e58fa8 only set current folder when the folder_path is different from the current
2003-03-04  Mike Kestner  <mkestner@ximian.com>

	* e-shell-view.c (update_for_current_uri): only set current
	folder when the folder_path is different from the current folder.

svn path=/trunk/; revision=20152
2003-03-04 21:25:36 +00:00