Commit Graph

159 Commits

Author SHA1 Message Date
52d48e02c1 Translate a default_folder of "" into NULL (which can't be passed over
* e-shell.c (impl_Shell_user_select_folder): Translate a
	default_folder of "" into NULL (which can't be passed over CORBA).

svn path=/trunk/; revision=4057
2000-07-10 22:17:43 +00:00
5ad77dcd45 Removed some useless debugging messages.
svn path=/trunk/; revision=4041
2000-07-10 17:25:09 +00:00
eb1d4e360b Add FIXME comment.
svn path=/trunk/; revision=4039
2000-07-10 16:38:29 +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
bafc35e9e5 Some menu cleanup.
svn path=/trunk/; revision=3986
2000-07-09 00:56:01 +00:00
7eaa10884a Add proper cast when filling in the CORBA sequence struct.
svn path=/trunk/; revision=3952
2000-07-07 18:12:22 +00:00
c2afd80bd6 Add an extra ref for the CORBA storage BonoboObject so that the number
of refs and unrefs matches again.

svn path=/trunk/; revision=3951
2000-07-07 17:54:25 +00:00
ab7c3ab6a0 Remove useless reference to the storage registry in the
EvolutionStorage.

svn path=/trunk/; revision=3940
2000-07-07 04:30:28 +00:00
a4e1613aae Use the correct gconf path (/apps, not /app), and call
* e-shell.c (e_shell_save_settings): Use the correct gconf path
	(/apps, not /app), and call gconf_client_suggest_sync at the end.
	(e_shell_restore_from_settings): Use the correct gconf path.

svn path=/trunk/; revision=3907
2000-07-06 02:31:40 +00:00
53bf8c9074 Shell command for creating new folders.
svn path=/trunk/; revision=3901
2000-07-05 22:34:00 +00:00
fbc6a557a6 Added an extra @allowed_types parameter to the shell's folder
selection dialog, and update the code that uses it accordingly.

svn path=/trunk/; revision=3854
2000-07-02 04:46:36 +00:00
a84feecf5b Removed bogus extra gtk_object_ref() that caused the shell not to quit
correctly.

svn path=/trunk/; revision=3853
2000-07-02 01:40:28 +00:00
83387a7fdd add "cancel" to FolderSelectionListener.
* Evolution-Shell.idl: add "cancel" to FolderSelectionListener.

	* evolution-shell-client.c (impl_FolderSelectionListener_cancel):
	Implement cancel (set *uri and *physical_uri to NULL).
	(evolution_shell_client_user_select_folder): document %NULL uri
	and physical_uri return values.

	* e-shell.c (folder_selection_dialog_clicked_cb): If the user
	clicked "Cancel" or used the wm to close the dialog, call _cancel
	instead of _selected.

svn path=/trunk/; revision=3831
2000-06-30 19:04:42 +00:00
cc0facedac Added missing CORBA_Object_duplicate() when storing the shell
object pointer in ::set_owner.

svn path=/trunk/; revision=3826
2000-06-30 10:04:45 +00:00
43aa02ecd4 Derive EvolutionShellClient from BonoboObjectClient instead of BonoboObject.
svn path=/trunk/; revision=3825
2000-06-30 09:32:11 +00:00
4e359621b1 Fix stupid typos and add a missing prototype.
svn path=/trunk/; revision=3823
2000-06-30 08:28:44 +00:00
55499e0ce4 EvolutionShellClient.
svn path=/trunk/; revision=3820
2000-06-30 05:36:32 +00:00
cb53a66028 Update warning message to not say "CRASHING", since it won't if you have
* evolution-shell-component-client.c
	(evolution_shell_component_client_new): Update warning message to
	not say "CRASHING", since it won't if you have current bonobo.

svn path=/trunk/; revision=3795
2000-06-29 17:04:01 +00:00
eb200d7ae0 Typo fix
svn path=/trunk/; revision=3794
2000-06-29 16:36:43 +00:00
d2875d9e05 Fixes brought to us by Purify
svn path=/trunk/; revision=3792
2000-06-29 15:31:01 +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
8e1bd54222 Just fix some empty space and add the name of the file at the top of
it.

svn path=/trunk/; revision=3771
2000-06-28 05:16:30 +00:00
fddb695e34 Change EvolutionShellComponent so that it does ::ref the shell.
svn path=/trunk/; revision=3770
2000-06-28 03:47:40 +00:00
74ada04fb2 Close the dialog when done. Dont do anything if 'new' was pressed, and
2000-06-27  Michael Zucchi  <zucchi@zedzone.mmc.com.au>

        * e-shell.c (folder_selection_dialog_clicked_cb): Close the dialog
        when done.  Dont do anything if 'new' was pressed, and always
        return empty strings if 'cancel' was pressed.

2000-06-27  Michael Zucchi  <zucchi@zedzone.mmc.com.au>

        * e-shell.c (impl_Shell_user_select_folder): Set the listener as
        the corba_listener data, not the shell.

svn path=/trunk/; revision=3747
2000-06-27 03:43:17 +00:00
e4de45da5f Calculate height including if clip_height is set to -1.
2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* widgets/e-text/e-text.c: Calculate height including if
	clip_height is set to -1.

From addressbook/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* contact-editor/e-contact-editor-categories.c,
	addressbook/gui/component/e-cardlist-model.c: Added
	value_to_string handlers.

	* demo/addressbook-widget.c, demo/demo.c: Removed usage of "x" and
	"y" arguments.

	* addressbook/gui/component/addressbook.c: Activated Click To Add
	and set the click to add message.

	* addressbook/gui/component/e-addressbook-model.c: Added
	value_to_string and append_row handlers.

	* addressbook/gui/component/e-select-names.c: Added a column.

From calendar/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* gui/calendar-model.c: Added an #ifdefed value_to_string handler
	assignment.

From camel/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* providers/mbox/camel-mbox-summary.c: Added debugging
	information.

From composer/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added e-msg-composer-select-file.h for make
	distcheck.

From e-util/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added e-canvas-vbox.c and e-canvas-vbox.h.

	* e-canvas-vbox.c, e-canvas-vbox.h: New canvas object to act like
	a vbox using the reflow system.

From mail/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* message-list.c: Added a value_to_string handler.

From shell/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* glade/Makefile.am: Added EXTRA_DIST for make distcheck.

From widgets/e-table/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added e-table-click-to-add.c,
	e-table-click-to-add.h, e-table-one.c, and e-table-one.h.

	* e-table-click-to-add.c, e-table-click-to-add.h: A new canvas
	item that represents a single row that sometimes exists.  It's for
	adding new rows to your table.

	* e-table-example-1.c, e-table-example-2.c, e-table-size-test.c,
	test-check.c, test-cols.c, test-table.c: Added value_to_string handlers.

	* e-table-group-container.c: Use value_to_string to make grouping
	not crash for non string columns.  Made some changes to work
	properly in an ECanvasVbox.

	* e-table-group-leaf.c, e-table-item.c: Made some changes to work
	properly in an ECanvasVbox.

	* e-table-model.c, e-table-model.h: Added append_row and
	value_to_string methods.

	* e-table-one.c, e-table-one.h: Given a source ETableModel, this
	provides a single row model that uses the initialize_value,
	duplicate_value, free_value, and value_is_empty methods of the
	original source to implement set_value and value_at (and proxies
	most of the other methods.)  This is used for ETableClickToAdd.

	* e-table-simple.c, e-table-simple.h: Added append_row and
	value_to_string handlers.  append_row uses a GtkArg instead of a
	parameter to e_table_simple_new.

	* e-table-subset.c: Added append_row and value_to_string handlers.

	* e-table.c, e-table.h: Use a vbox containing an ETableClickToAdd
	and an ETableItem instead of an ETableItem directly.  Only show
	the ETableClickToAdd if the top level of the xml SPEC has the
	attribute click-to-add set to some non-zero integer.
	(click-to-add="1").  Add a "click_to_add_message" argument.

	* e-tree-model.c: Add a commented out value_to_string handler.

From widgets/meeting-time-sel/ChangeLog:

2000-06-26  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added the include path to top_srcdir.

svn path=/trunk/; revision=3744
2000-06-27 00:51:06 +00:00
7a437e5204 Remove the 'POSIX_SOURCE' define completely as we don't need that
anymore.

svn path=/trunk/; revision=3640
2000-06-19 22:53:21 +00:00
8f4e85313c #undef _POSIX_SOURCE after including dirent.h. this breaks the build on
2000-06-19  Chris Toshok  <toshok@helixcode.com>

	* e-local-storage.c: #undef _POSIX_SOURCE after including
	dirent.h.  this breaks the build on freebsd if we leave it
	#defined.  go figure.

svn path=/trunk/; revision=3638
2000-06-19 21:35:59 +00:00
2f73c4665e Oops. except make it actually work.
svn path=/trunk/; revision=3634
2000-06-19 15:40:57 +00:00
bfe29e73cd Add a warning before crashing due to a known bug when it can't activate a
* evolution-shell-component-client.c
	(evolution_shell_component_client_new): Add a warning before
	crashing due to a known bug when it can't activate a component, so
	people don't have to waste any time trying to figure out what's
	up.

svn path=/trunk/; revision=3633
2000-06-19 15:39:59 +00:00
7ba831860d Build a libeshell.a' library in shell/' so that we don't need to
link to the shell's object files directly from the components
anymore.  (That was really gross.)

svn path=/trunk/; revision=3546
2000-06-13 04:53:48 +00:00
038f94bb30 include gnome-dialog.h (PARENT_TYPE): GNOME_TYPE_DIALOG replaced with
2000-06-12  Michael Meeks  <michael@helixcode.com>

	* e-shell-folder-selection-dialog.c: include gnome-dialog.h
	(PARENT_TYPE): GNOME_TYPE_DIALOG replaced with gnome_dialog_get_type.

svn path=/trunk/; revision=3528
2000-06-12 15:34:17 +00:00
3976b6b155 Made the folder creation dialog slightly larger.
svn path=/trunk/; revision=3509
2000-06-10 20:40:41 +00:00
0097872c13 Folder selection dialog, (untested) CORBA interfaces for it, and a new
"Go to folder..." menu item.  Also made the creation dialog slightly
larger.

svn path=/trunk/; revision=3508
2000-06-10 20:35:52 +00:00
bbb6a6942f Implemented folder creation dialog (File -> New -> Folder). To make
it really work though, the components should implement creation
functionality by passing an appropriate function pointer in
`e_shell_component_new()' for @create_folder_fn.

svn path=/trunk/; revision=3504
2000-06-10 17:56:46 +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
d0810b6f99 Use version here. Add padding to the message. Only destroy object if its
2000-06-08  Miguel de Icaza  <miguel@helixcode.com>

	* main.c (development_warning): Use version here.  Add padding to
	the message.
	Only destroy object if its window was not closed.

svn path=/trunk/; revision=3484
2000-06-09 00:51:58 +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
a5cf13a158 changed "Using the Shell" to "Getting Started"
svn path=/trunk/; revision=3402
2000-06-02 20:05:46 +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
c29d3eb6f8 Make the close button on the shell view exit Evolution cleanly. Not a
real fix, but at least it makes it work correctly for the current
setup that only allows one view.

svn path=/trunk/; revision=3364
2000-06-02 02:26:45 +00:00
f4eed74cbc Added a g_return_if_fail check.
2000-06-01  Christopher James Lahey  <clahey@helixcode.com>

	* e-storage-set-view.c (set_e_shortcut_selection): Added a
	g_return_if_fail check.

svn path=/trunk/; revision=3350
2000-06-01 23:58:52 +00:00
cfd8facc65 New menu callback to launch the help browser. (menu_help): add pointers to
* e-shell-view-menu.c (command_help): New menu callback to launch
	the help browser.
	(menu_help): add pointers to the users' guide.
	(e_shell_view_menu_setup): Add the help menu stuff to the uih.

svn path=/trunk/; revision=3347
2000-06-01 23:40:51 +00:00
ff24b9ea1b Set up gettext. (Problem noted by Héctor García Alvarez)
* main.c (main): Set up gettext. (Problem noted by Héctor García
	Alvarez)

svn path=/trunk/; revision=3334
2000-06-01 14:30:13 +00:00
c4f7e31e8e Remove more cruft.
svn path=/trunk/; revision=3332
2000-06-01 05:47:38 +00:00
a1b523ed4a Remove cruft.
svn path=/trunk/; revision=3331
2000-06-01 05:44:45 +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