Commit Graph

68 Commits

Author SHA1 Message Date
c9cf12dec8 Make the close button on the ShellView quit Evolution. (Yeah, this is
not correct, but at least it prevents some nasty GC errors and
prevents evolution-mail from being left in a messy state.)

svn path=/trunk/; revision=4828
2000-08-14 00:40:09 +00:00
30c19e6e31 Get rid of some annoying debugging messages.
svn path=/trunk/; revision=4815
2000-08-13 22:41:29 +00:00
9f128d951a Add a kludgy and simple interface to the shell views to access the
status bar, to report messages and progress.

svn path=/trunk/; revision=4796
2000-08-13 05:19:36 +00:00
21b756aa3c Fixed a warning.
2000-08-09  Christopher James Lahey  <clahey@helixcode.com>

	* e-shell-view.c: Fixed a warning.

svn path=/trunk/; revision=4639
2000-08-09 05:56:21 +00:00
09e1677c54 Actually commit this - I though it went in already.
2000-08-03  JP Rosevear  <jpr@helixcode.com>

	* configure.in: Remove gconf check

2000-08-03  JP Rosevear  <jpr@helixcode.com>

	* mail-config.glade: Increase window size slightly, rename
	"Transport" to "Mail Transport"

	* mail-config.c (init_config): Remove gconf references
	(clear_config): ditto
	(read_config): ditto
	(write_config): ditto
	(mail_config): Null provider lists before filling them
	(mail_config_druid): ditto
	(identity_page_new): Increase spacing of vbox
	(service_page_new): ditto

	* Makefile.am: Remove gconf references.

2000-08-03  JP Rosevear  <jpr@helixcode.com>

	* e-shell.h: Remove gconf references

	* e-shell-view.h: Remove gconf references

	* main.c (idle_cb): Remove gconf references

	* Makefile.am: Remove gconf cflags and libs

	* e-shell-view.c (e_shell_view_load_settings): Change to use
	gnome-config
	(e_shell_view_save_settings): ditto

	* e-shell.c (e_shell_restore_from_settings): Change to
	use gnome_config
	(save_settings_for_views): ditto

svn path=/trunk/; revision=4530
2000-08-04 14:58:43 +00:00
623b1de43d Everywhere unref the remote_uih having done a set_container.
svn path=/trunk/; revision=4524
2000-08-04 03:09:01 +00:00
6d6b9ec70e Remove erroneous refs on folder_type_registry, storage_set.
2000-08-04  Michael Meeks  <michael@helixcode.com>

	* e-shell.c (e_shell_construct): Remove erroneous refs on
	folder_type_registry, storage_set.

	* e-shortcuts-view.c (destroy): unref the shortcuts, causing a
	massive ripple chain ref-count reaction.

svn path=/trunk/; revision=4522
2000-08-04 01:14:32 +00:00
ccd5902f05 Get rid of some debugging messages that were not supposed to be
committed.

svn path=/trunk/; revision=4350
2000-07-26 17:28:29 +00:00
edcb42096f Fix the pop-up tree so that it does not set up the grab when shown
through the menu item.

svn path=/trunk/; revision=4349
2000-07-26 17:24:35 +00:00
44230f1ef7 Some changes to the pop-up folder tree, so that it makes more visual
sense.

svn path=/trunk/; revision=4271
2000-07-21 23:19:35 +00:00
e107a85dd6 Improve the title bar pop-up button: use a toggle button instead of a
regular one and allow sticking the pop-up with the close button (we'll
need to have it change the icon).

svn path=/trunk/; revision=4259
2000-07-21 13:59:02 +00:00
c9090285fe First shot at the "click on the folder title, get the folder tree"
thingie.  Needs love, but it's a start.

svn path=/trunk/; revision=4257
2000-07-21 12:04:18 +00:00
7d6ff2410a Add support for the folder right-click ("context") menu. No component
uses this yet, though.

svn path=/trunk/; revision=4252
2000-07-21 08:50:12 +00:00
1a800edf4d Implement saving of pane positions.
svn path=/trunk/; revision=4238
2000-07-20 14:39:08 +00:00
84ba8642c5 As a quasi-hack, do a gdk_flush() when the shell view is unrealized so
2000-07-10  Federico Mena Quintero  <federico@helixcode.com>

	* e-shell-view.c (unrealize): As a quasi-hack, do a gdk_flush()
	when the shell view is unrealized so that the DeleteEvent gets
	sent to the remote plugs as soon as possible before we start
	making other CORBA calls.  The problem is that our CORBA pipe is
	synchronous while our X pipe is asynch.  We have to ensure
	ordering for certain operations.  This is NOT the correct and
	complete fix, which should go in Bonobo.

svn path=/trunk/; revision=4030
2000-07-10 09:30:28 +00:00
95d63098be Don't display the annoying "Cannot display..." view in the shell when
an error occurs while opening a view.  Instead, avoid moving the
selection to it.

Not the ideal solution, but a definite improvement.

svn path=/trunk/; revision=3995
2000-07-09 02:20:57 +00:00
fe1bb9d0b6 Don't make EShellViews ::ref the EShell.
svn path=/trunk/; revision=3788
2000-06-29 08:45:11 +00:00
3bedc38a94 Implement saving of configuration information. Now when you run
Evolution it will display the same folder as the last time, and will
hide/show the shortcut/folder bars as the last time.

This uses GConf so I also put a GConf check into configure.in.

svn path=/trunk/; revision=3787
2000-06-29 07:37:55 +00:00
7f36752a67 Initial support for creating/removing folders. This implies some new
IDL methods and new functions to implement on the component side.  I
have also added a simple folder creation dialog in the shell.  It's
quite unfinished and untested.

svn path=/trunk/; revision=3491
2000-06-09 19:19:36 +00:00
56d7e7d9ba Restore the toolbar. I committed a line of code that shouldn't have
been committed.

svn path=/trunk/; revision=3469
2000-06-07 22:39:41 +00:00
e7971bb4f5 Fixed a refcount leak and added interfaces to add/remove folders
from an EStorage (although they are not implemented yet).

svn path=/trunk/; revision=3460
2000-06-07 17:01:52 +00:00
ef233d76ee Free the uri variable.
2000-06-02  Christopher James Lahey  <clahey@helixcode.com>

	* e-shell-view.c: Free the uri variable.

	* e-shell.c: Free the local_directory variable.

svn path=/trunk/; revision=3385
2000-06-02 08:01:25 +00:00
0fe2baf9ee 5 more pixels in the default width to make the welcome message happy.
svn path=/trunk/; revision=3330
2000-06-01 05:41:48 +00:00
3eede8f869 Reduce the size of the window by a bit and add some padding to make
the view look nicer.

svn path=/trunk/; revision=3327
2000-06-01 04:46:32 +00:00
d0b0a5e772 Make the tree view slightly larger and hidden by default. Also, set
auto-resize mode for it so that its horizontal scrollbar does not
behave in a weird way.

svn path=/trunk/; revision=3324
2000-06-01 04:19:07 +00:00
a718dec073 Implemented right-click menus for the shell's shortcut bar (the user
can remove shortcuts now) and added status bar to the shell view.
Also, added an API call to EShortcutBar to get the view type for a
specified group.

svn path=/trunk/; revision=3318
2000-06-01 00:56:00 +00:00
c6d835a949 Initialize the toggle items in the View menu when creating them, so
that they start up in the correct state.  Deactivate the current
control when displaying an empty error page.  Removed some crufty
debugging messages.

svn path=/trunk/; revision=3310
2000-05-31 06:22:23 +00:00
fad1048c1b Make quit work again by implementing a CORBA method to unregister
components in ShellComponent.  Implemented toggle menu items to
hide/show the shortcut bar and the folder bar (but they don't work,
apparently because of some BonoboUIHandler bogosity).  Implemented a
CORBA method in Shell to allow a client to get the component that
handles a certain folder type.

svn path=/trunk/; revision=3303
2000-05-30 23:59:22 +00:00
bdf6f37a8a Added a title bar for the folder view. Removed title bar from the
shortcut view.  Made shortcuts behave correctly when moved around.
Also, implemented automatic re-saving of the shortcuts when they
change.

svn path=/trunk/; revision=3276
2000-05-30 06:32:14 +00:00
bb241192eb Reorganized the shell to allow dynamic registration of storages and
folder types, and changed all the components to work with the new
setup.

svn path=/trunk/; revision=3199
2000-05-25 05:55:59 +00:00
a93167a772 Was using the wrong include here.
2000-05-24  Christopher James Lahey  <clahey@helixcode.com>

	* e-shell-view.c: Was using the wrong include here.

	* e-storage-set-view.c: Got rid of the lines in the tree view.

svn path=/trunk/; revision=3195
2000-05-25 02:52:46 +00:00
e033af05d7 Added widgets/e-paned/Makefile.
2000-05-24  Christopher James Lahey  <clahey@helixcode.com>

	* configure.in: Added widgets/e-paned/Makefile.

	* tests/ui-tests/message-browser.c: Switched from GtkPaned to
	EPaned.

	* widgets/Makefile.am: Added e-paned directory.

	* widgets/e-paned/, widgets/e-paned/.cvsignore,
	widgets/e-paned/Makefile.am, widgets/e-paned/e-hpaned.c,
	widgets/e-paned/e-hpaned.h, widgets/e-paned/e-paned.c,
	widgets/e-paned/e-paned.h, widgets/e-paned/e-vpaned.c,
	widgets/e-paned/e-vpaned.h: New widget based completely on
	GtkPaned from 1.4.  This will be more advanced soon.

From calendar/ChangeLog:

2000-05-24  Christopher James Lahey  <clahey@helixcode.com>

	* gui/Makefile.am: Added libepaned.a.

	* gui/gnome-cal.c: Switched from GtkPaned to EPaned.

From mail/ChangeLog:

2000-05-24  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added libepaned.a.

	* folder-browser.c: Switched from GtkPaned to EPaned.

From shell/ChangeLog:

2000-05-24  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added libepaned.a.

	* e-shell-view.c: Switched from GtkPaned to EPaned.

From widgets/shortcut-bar/ChangeLog:

2000-05-24  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added libepaned.a.

	* test-shortcut-bar.c: Switched from GtkPaned to EPaned.

svn path=/trunk/; revision=3191
2000-05-24 23:00:39 +00:00
68ef3f9f98 Use TigerT's new mini icons in the shell's folder tree view.
svn path=/trunk/; revision=3091
2000-05-16 13:14:43 +00:00
cce4a6a3e5 Use the new ETitleBar widget in the shell, thus allowing the user to
hide the shortcut bar or the folder tree.  This is not completely
working right yet, partly because of GtkPaned's limitations.

svn path=/trunk/; revision=3070
2000-05-16 03:44:27 +00:00
7198aa064a Initial implementation of the tree view for the folders.
svn path=/trunk/; revision=3020
2000-05-14 01:32:19 +00:00
fa460eb6b5 Set the icons when changing between components.
2000-05-10  Christopher James Lahey  <clahey@helixcode.com>

	* e-shell-view.c: Set the icons when changing between components.

	* main.c: Set the default icon.  (The change in e-shell-view.c
	doesn't work unless we do this.)

svn path=/trunk/; revision=2964
2000-05-10 04:46:24 +00:00
0f8c6c783d Display the default inbox at startup, instead of an empty view.
svn path=/trunk/; revision=2944
2000-05-09 15:37:57 +00:00
83a766e5af Machinery for quitting and handling the relationship between a shell
and its views.

svn path=/trunk/; revision=2862
2000-05-07 06:47:44 +00:00
725d0a088d Big shell reorganization.
svn path=/trunk/; revision=2848
2000-05-07 01:57:49 +00:00
be8e1b8c1f turned the notebook border off. The calendar looks better without it. If
2000-05-03  Damon Chaplin  <damon@helixcode.com>

	* e-shell-view.c (e_shell_view_new): turned the notebook border off.
	The calendar looks better without it. If any of the views want a
	border they should create it themselves, shouldn't they?

svn path=/trunk/; revision=2801
2000-05-04 21:02:42 +00:00
fac254ed25 Removing more cruft.
svn path=/trunk/; revision=2766
2000-05-03 01:07:55 +00:00
7de868bec9 Turn off control frame autoactivation, so the toolbars work correctly.
* e-shell-view.c (e_shell_view_set_view): Turn off control frame
	autoactivation, so the toolbars work correctly. This may actually
	be a bug in Bonobo, but we'll kludge around it here for now.

svn path=/trunk/; revision=2721
2000-05-01 21:01:26 +00:00
9483369aa0 Made Evolution OAF-compatible.
svn path=/trunk/; revision=2673
2000-04-28 04:23:19 +00:00
0ad8dad44a + * widgets/e-text/e-text.c (e_text_destroy): Kill text->timer and
+	text->timeout on destroy.
+
+	* e-shell-view.c (bonobo_widget_is_dead): Helper function to see
+	whether a bonobo widget is a zombie (ie the remote bonobo control
+	died).
+	(e_shell_view_set_view): Try to respawn dead bonobo widgets.

svn path=/trunk/; revision=2638
2000-04-26 19:28:22 +00:00
7c309e43b2 + * widgets/Makefile.am: Added e-paned directory.
+
+	* default_user/Makefile.am: new file.
+
+	* default_user/Main_Shortcuts.xml: New file; is used to fill the
+	shortcut bar's "main shortcuts" pane.
+
+	* default_user/Other_Shortcuts.xml: New file, used to fill the
+	shortcut bar's "other shortcuts" pane.
+
+	* default_user/Inbox.mbox: New file. This is the first message a
+	new user will see when they fire up Evolution. Needs work.
+
+	* Makefile.am: added default_user directory.
+	* configure.in: same.
+
+	* e-paned.c: New file. Makes a GtkPaned with more than two
+	children.
+	* e-paned.h: same.
+
+	* Makefile.am: added e-paned.[ch].
+
+	* e-shell-view.h: Added hpaned and treeview widgets to
+	EShellView. Added e_shell_view_toggle_shortcut_bar() and
+	e_shell_view_toggle_treeview().
+
+	* e-shell-view.c (e_shell_view_setup_shortcut_display): Use EPaned
+	widget to house our shortcut bar.
+	(e_shell_view_toggle_shortcut_bar): New function; toggles whether
+	the shortcut bar is showing.
+	(e_shell_view_toggle_treeview): Same, for the treeview (NYI).
+	(e_shell_view_new): Put the notebook view in our EPaned widget.
+
+	* e-shell-view-menu.c (esv_cmd_toggle_shortcut_bar): New function;
+	toggles whether the shortcut bar is viewed.
+	(esv_cmd_toggle_treeview): Same, but with the treeview.  Added
+	menuitems in the "view" menu to allow access to the above.
+

svn path=/trunk/; revision=2575
2000-04-24 03:10:30 +00:00
528fe3b08e set calendar's uri with a property bag
* e-shell-view.c (get_view): set calendar's uri with a property bag

	* gui/evolution-calendar-control.c (calendar_properties_init): create
	a property bag for this control
	(set_prop): callback for property sets
	(get_prop): callback for proprety gets

	* gui/calendar-commands.c (calendar_set_uri): new function,
	called when the "calendar_uri" property is set on the calendar-
	control's property bag.

svn path=/trunk/; revision=2501
2000-04-19 13:39:43 +00:00
82e77d6d8e Added a note field.
2000-04-14  Christopher James Lahey  <clahey@helixcode.com>

	* addressbook/backend/ebook/e-card.c,
	addressbook/backend/ebook/e-card.h,
	addressbook/backend/pas/pas-backend-file.c,
	addressbook/backend/pas/pas-backend-ldap.c,
	addressbook/contact-editor/e-contact-editor.c: Added a note field.

From shell/ChangeLog:

2000-04-14  Christopher James Lahey  <clahey@helixcode.com>

	* e-shell-view.c: Made the left pane of the shell view not
	autoresize.

svn path=/trunk/; revision=2444
2000-04-15 00:14:42 +00:00
b9630445a0 + * addressbook/gui/component/addressbook.c (control_activate): Make
+	"New Contact" menuitem add a card with new_contact_cb().
+
+	* e-shell-view.c (e_shell_view_setup): Set the default height
+	bigger, to 600, so that everything in the shortcut-bar shows up.

svn path=/trunk/; revision=2353
2000-04-09 19:00:50 +00:00
59606c2849 + * folder-browser.c (folder_browser_destroy): Unref the shell
+	interface that we have a handle to.
+
+	* folder-browser-factory.c (control_destroy_cb): New function;
+	destroys a folder-browser when its control is destroyed.
+	(folder_browser_factory): Hook up to the above.
+
+	* e-shell-view.c (destroy_folder_view): New function;
+	Bonobo_Unknown_unref's the controls that have the views in them.
+	(esv_destroy): Calls the above for each folder_view in the
+	hashtable.
+	(get_view): unref the ServiceRepository interface of the control
+	when we're done with it.
+

svn path=/trunk/; revision=2333
2000-04-07 21:42:56 +00:00
51a7de64e2 hook up control:calendar
* shell/e-shell-view.c (get_view): hook up control:calendar

svn path=/trunk/; revision=2295
2000-04-05 20:14:40 +00:00