Commit Graph

1434 Commits

Author SHA1 Message Date
df22a401de Fix Drag & Drop behavior so that dragging a folder that is not the
current one does not switch to that folder.

svn path=/trunk/; revision=3033
2000-05-15 03:54:14 +00:00
02ccf6526b Initial drag and drop support for the tree view: now you can drag
folders into the shortcut bar.

svn path=/trunk/; revision=3032
2000-05-15 03:26:18 +00:00
68014b3ac5 Correctly access an xmlNodePtr->content
svn path=/trunk/; revision=3031
2000-05-15 00:47:35 +00:00
3101893262 Protect against unknown folder types better.
svn path=/trunk/; revision=3025
2000-05-14 14:00:09 +00:00
eab1fd1135 Sort folders in the storage view.
svn path=/trunk/; revision=3023
2000-05-14 01:53:42 +00:00
fe60e68db6 Remove unused file.
svn path=/trunk/; revision=3022
2000-05-14 01:37:17 +00:00
924bd23303 Add new files.
svn path=/trunk/; revision=3021
2000-05-14 01:36:21 +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
a285c317f6 Added an about box.
2000-05-10  Christopher James Lahey  <clahey@helixcode.com>

	* e-shell-view-menu.c: Added an about box.

svn path=/trunk/; revision=2973
2000-05-10 19:16:25 +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
50aa4d1e28 New function; allows users to submit a bug. + (command_run_bugbuddy):
* e-shell-view-menu.c (command_run_bugbuddy): New function; allows
 	users to submit a bug.
+	(command_run_bugbuddy): Implemented with jacob's patch.

svn path=/trunk/; revision=2960
2000-05-09 18:38:03 +00:00
f150fa0b16 + * calendar/pcs/cal-backend.c (cal_backend_add_cal): Return nothing
+	for a 'void' function.
+	* folder-browser-factory.c (control_activate): Remove "File->mail"
+	menuitem.
+	* e-shell-view-menu.c (command_run_bugbuddy): New function; allows
+	users to submit a bug.

svn path=/trunk/; revision=2948
2000-05-09 16:46:59 +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
3ee0a4c49e Fix misplaced `g_free()' that resulted in garbage to be printed out
in the case of an initialization failure.

svn path=/trunk/; revision=2941
2000-05-09 14:41:31 +00:00
b3b4d6c45d Actually quit when the shell is destroyed.
svn path=/trunk/; revision=2928
2000-05-08 23:05:01 +00:00
91ae7ee19c Fix const warning.
svn path=/trunk/; revision=2916
2000-05-08 12:50:35 +00:00
2d5740212c xmlFree the return value of xmlGetProp.
2000-05-08  Larry Ewing  <lewing@helixcode.com>

	* e-shortcuts.c (load_shortcuts_into_view): xmlFree the return
	value of xmlGetProp.

svn path=/trunk/; revision=2903
2000-05-08 05:08:37 +00:00
f01da8baa4 Fix incorrect casting.
svn path=/trunk/; revision=2873
2000-05-07 14:52:26 +00:00
e7150f5163 Fix brainos so that the application quits after closing all the
windows (shell views).

svn path=/trunk/; revision=2865
2000-05-07 07:18:55 +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
02ce27a087 Remove unused files.
svn path=/trunk/; revision=2857
2000-05-07 04:17:17 +00:00
fe27ab1179 Portability fix (use readdir()', not readdir_r()'). Also, be safer
about NULL objects when destroying the shell or the shortcuts.

svn path=/trunk/; revision=2850
2000-05-07 02:22:08 +00:00
3219faad0c Fix non-OAF compilation.
svn path=/trunk/; revision=2849
2000-05-07 02:05:28 +00:00
725d0a088d Big shell reorganization.
svn path=/trunk/; revision=2848
2000-05-07 01:57:49 +00:00
f80ee8128b add support for building purified evolution.
* shell/Makefile.am: add support for building purified evolution.

        * shell/.cvsignore: ignore evolution.pure

svn path=/trunk/; revision=2813
2000-05-05 12:46:42 +00:00
1b8139c995 ignore the .pure directory
* addressbook/backend/ebook/.cvsignore,
        addressbook/contact-editor/.cvsignore,
        addressbook/gui/component/.cvsignore,
        addressbook/gui/minicard/.cvsignore,
        addressbook/printing/.cvsignore,
        calendar/cal-client/.cvsignore,
        calendar/gui/.cvsignore,
        calendar/pcs/.cvsignore,
        filter/.cvsignore,
        mail/.cvsignore,
        shell/.cvsignore,
        tests/.cvsignore,
        widgets/e-table/.cvsignore,
        widgets/e-text/.cvsignore,
        widgets/meeting-time-sel/.cvsignore,
        widgets/shortcut-bar/.cvsignore,
        wombat/.cvsignore: ignore the .pure directory

svn path=/trunk/; revision=2812
2000-05-05 11:46:46 +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
5801d07985 Fixed EShortcutBar API: the icon callback function now gets a `const
char *' url (instead of just a `char *') and a closure.

svn path=/trunk/; revision=2790
2000-05-04 06:16:33 +00:00
c1f78a7de7 Remove unused file.
svn path=/trunk/; revision=2770
2000-05-03 02:14:08 +00:00
fac254ed25 Removing more cruft.
svn path=/trunk/; revision=2766
2000-05-03 01:07:55 +00:00
d37d28ddf2 Get rid of crufty `e-service' modules.
svn path=/trunk/; revision=2764
2000-05-03 00:05:06 +00:00
855b85657d Set G_LOG_DOMAIN in following files.
addressbook/demo/Makefile.am
 addressbook/printing/Makefile.am
 camel/Makefile.am
 camel/providers/MH/Makefile.am
 camel/providers/maildir/Makefile.am
 camel/providers/mbox/Makefile.am
 camel/providers/nntp/Makefile.am
 camel/providers/pop3/Makefile.am
 camel/providers/sendmail/Makefile.am
 camel/providers/smtp/Makefile.am
 composer/Makefile.am
 e-util/Makefile.am
 filter/Makefile.am
 libibex/Makefile.am
 mail/Makefile.am
 shell/Makefile.am
 tests/Makefile.am
 tests/ui-tests/Makefile.am
 widgets/e-table/Makefile.am
 widgets/e-text/Makefile.am
 widgets/meeting-time-sel/Makefile.am
 widgets/shortcut-bar/Makefile.am

svn path=/trunk/; revision=2756
2000-05-02 21:34:01 +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
4c9ac5da23 include -I$(datadir)/idl in orbit-idl arguments so that you can have
* shell/Makefile.am: include -I$(datadir)/idl in orbit-idl
	arguments so that you can have bonobo installed in the same
	prefix as evolution, when that isn't the same prefix is
	gnome-libs, which a lot of people seem to be doing.
	(CLEANFILES): add EVOLUTION_CORBA_GENERATED

	* README: Note this

svn path=/trunk/; revision=2599
2000-04-25 14:08:37 +00:00
0c3a869376 Made some functions syncronous that didn't need to be asyncronous.
2000-04-24  Christopher James Lahey  <clahey@helixcode.com>

	* idl/folder.idl: Made some functions syncronous that didn't need
	to be asyncronous.

svn path=/trunk/; revision=2582
2000-04-24 13:42:59 +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
d66dfd42ac New idl file. Still unused.
2000-04-19  Christopher James Lahey  <clahey@helixcode.com>

	* idl/folder.idl: New idl file.  Still unused.

svn path=/trunk/; revision=2492
2000-04-19 07:06:41 +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
3ef836d8a7 Fix the embarassing cursor bug.
Fix the embarassing cursor bug.

svn path=/trunk/; revision=2404
2000-04-12 04:50:02 +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
664197d445 Moved all ChangeLog entries for the shell to shell/ChangeLog.
Moved all ChangeLog entries for the shell to shell/ChangeLog.

Fixed the icon loading for the shortcut bar bug.

2000-04-06  Miguel de Icaza  <miguel@gnu.org>

	* shell/e-shortcut.c (shell_icon_cb): Append a slash here.
	(shell_icons): Only list the filenames.

	* shell/main.c (evolution_boot): Be less rude.

svn path=/trunk/; revision=2310
2000-04-06 18:38:54 +00:00
eb9e774246 + * shell/main.c (evolution_boot): Make sure our data directory is
+	available with e_setup_base_dir ().
+
+	* e-setup.c (e_setup_base_dir): Get/set Evolution's base directory
+	via gnome-config.

svn path=/trunk/; revision=2309
2000-04-06 16:45:54 +00:00
bbc6d63ef0 Load the icons from the installation path, not form the GNOME-libs
2000-04-06  Miguel de Icaza  <miguel@gnu.org>

	* shell/e-shortcut.c (shell_icon_cb): Load the icons from the
	installation path, not form the GNOME-libs installation prefix.
	(shell_icon_cb): Memory leak fix.

	* shell/Makefile.am (imagesdir): Pass the EVOLUTION_IMAGES
	installation directory here.

	* art/Makefile.am (images_DATA): Renamed from pixmaps to images.

2000-04-06  Miguel de Icaza  <miguel@gnu.org>

	* message-list.c: Stick pixmaps here.

	* mail-display.c (embeddable_destroy_cb): Replaced C++ comments
	with C comments.

	* message-list.c (load_internal_images): New function, loads images.
	(message_list_init_renderers): Load images, fix previous attempt
	at loading images.

	* Makefile.am (dist-hook): Added distribution of pixmaps.

	* pixmaps: New directory, used to hold the XPMs we ship with.

	* pixmaps/envelope-closed.xpm, pixmaps/envelope-open.xpm: Tigert's
	envelopes incorporated.
2000-04-06  Miguel de Icaza  <miguel@gnu.org>

	* e-cell-text.c: Killed ARG_EDITABLE.
	(ect_event): Updated to new editable setup.
	(e_cell_text_new): Kill editable argument.

	* e-cell-toggle.c (etog_event): Handle editability here

	* e-cell-text.h: Removed editable bit field from here, it is now
	taken care at the e-cell level.

	* e-cell.c (e_cell_set_editable): New function.
	(e_cell_init): Set editable to TRUE by default.

	* test-check.c (check_test): update to new api

	* test-table.c (table_browser_test): ditto.
	(do_e_table_demo): ditto.

	* test-cols.c (multi_cols_test): ditto

svn path=/trunk/; revision=2302
2000-04-06 06:46:20 +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
7e4f187a10 Update for shortcut bar changes.
* shell/e-shortcut.c (e_shortcut_bar_view_new, shell_icon_cb):
	Update for shortcut bar changes.

	* shell/e-folder.h: add E_FOLDER_SUMMARY
	* shell/e-shell.c (e_shell_setup_default_folders): make the
	"Today" icon be of type E_FOLDER_SUMMARY, not E_FOLDER_MAIL.

svn path=/trunk/; revision=2269
2000-03-31 18:34:59 +00:00
04b899a36e Hold off on deactivating the "outgoing" control until after setting up the
* shell/e-shell-view.c (e_shell_view_set_view): Hold off on
	deactivating the "outgoing" control until after setting up the
	"incoming" control. That way if the new control takes a few
	seconds to load, there won't be an ugly empty spot where the
	toolbar used to be while the new control loads.

svn path=/trunk/; revision=2262
2000-03-30 20:52:07 +00:00