Commit Graph

319 Commits

Author SHA1 Message Date
45cc7467da Make the shell pop-up a warning dialog per component when a component
crashes, instead of a warning dialog for each of the crashed views.

svn path=/trunk/; revision=6458
2000-11-06 22:18:29 +00:00
bbe8c73db9 Fixed a missing `CORBA_Object_duplicate()' problem. This should fix
the crashes of the components on exit.

svn path=/trunk/; revision=6425
2000-11-06 21:22:42 +00:00
11f3d444da Added #include <config.h>
2000-11-06  Kjartan Maraas  <kmaraas@gnome.org>

	* e-setup.c: Added #include <config.h>

svn path=/trunk/; revision=6424
2000-11-06 20:57:00 +00:00
7c64de0411 Added a `--no-splash' option to the shell.
svn path=/trunk/; revision=6380
2000-11-03 21:58:46 +00:00
f4b66877c0 Fix the name of the signal passed to gtk_signal_new so that this actually
* evolution-storage-listener.c (class_init): Fix the name of the
	signal passed to gtk_signal_new so that this actually works.

svn path=/trunk/; revision=6378
2000-11-03 21:21:45 +00:00
e7fa8245cc The big api rename ...
2000-11-02  Michael Meeks <michael@helixcode.com>

	* The big api rename ...

svn path=/trunk/; revision=6346
2000-11-02 06:48:34 +00:00
f99dfd474c Make this take "highlighted" as well.
* evolution-storage.c (evolution_storage_new_folder): Make this
	take "highlighted" as well.

	* e-local-storage.c (new_folder):
	* e-corba-storage.c (impl_StorageListener_new_folder): set
	highlighted on the new folder.

	* e-storage-set-view.c (updated_folder_cb): Remove an unused
	variable.

svn path=/trunk/; revision=6338
2000-11-02 03:46:15 +00:00
35162bcd87 Moving the executive summarys now :)
Added a way to change the window title and the current view from Components
mail-summary now has clickable names to change to that view
executive summary remembers what components are running when you close.
Selections are not cleared by ES updates.

svn path=/trunk/; revision=6329
2000-11-02 00:31:17 +00:00
0fa29927fc Add "highligted" field to Folder. Add update_folder method to
* Evolution-Storage.idl: Add "highligted" field to Folder. Add
	update_folder method to StorageListener to change display_name and
	highlight status.

	* e-folder.c: Add "highlighted" to EFolder to match the
	Evolution::Folder type.
	(e_folder_get_highlighted, e_folder_set_highlighted): Added

	* evolution-storage-listener.c
	(impl_Evolution_StorageListener_update_folder, etc):
	* e-storage.c (e_storage_updated_folder, etc):
	* e-corba-storage.c (impl_StorageListener_update_folder, etc):
	Implement update_folder.

	* e-storage-set.c (storage_updated_folder_cb, etc): Re-emit
	updated_folder signals received from EStorage.

	* e-storage-set-view.c (various): Add another model column to the
	ETable and set it up as a bold_column based on
	e_folder_get_highligted.
	(updated_folder_cb, etc): Listen to EStorageSet update_folder
	signal and emit ETree node_changed signals.

	* evolution-storage.c (evolution_storage_update_folder): Client
	function to update a folder's display_name and highlighted status.

	* Evolution-LocalStorage.idl:
	* evolution-local-storage.c:
	* e-local-storage.c: Change set_display_name to update_folder to
	match Evolution::StorageListener

svn path=/trunk/; revision=6328
2000-11-02 00:11:53 +00:00
fa3cf53363 modified or added a bunch of .cvsignore to ignore generated files, which
* modified or added a bunch of .cvsignore to ignore
generated files, which are not in repository.
* call *textdomain() in various files only when
ENABLE_NLS is defined

svn path=/trunk/; revision=6310
2000-11-01 10:44:51 +00:00
5
88e568eae3 No longer include <db.h>
2000-10-25    <jpr@helixcode.com>

	* ibex_block.c: No longer include <db.h>

2000-10-25    <jpr@helixcode.com>

	* e-shortcuts-view-model.c (load_group_into_model): Set folder to NULL to
	kill warning

svn path=/trunk/; revision=6180
2000-10-25 22:21:34 +00:00
faed5f42e4 AM_GNOME_GETTEXT doesn't use $(datadir)/locale as the locale dir. (It
uses either $(prefix)/share/locale or $(prefix)/lib/locale.) Cope with
this.

svn path=/trunk/; revision=6141
2000-10-24 03:09:37 +00:00
910b29b7d9 update to new UI handler
2000-10-20  Michael Meeks  <michael@helixcode.com>

	* evolution-shell-component-client.c
	(evolution_shell_component_client_populate_folder_context_menu),
	(evolution_shell_component_client_create_view): update to new UI handler

	* e-shell-view-menu.c (command_create_folder): ditto.

	* e-storage-set-view.c (popup_folder_menu): ditto.

	* evolution-shell-component-client.h: kill ui-compat include.

svn path=/trunk/; revision=6082
2000-10-20 21:07:26 +00:00
9a867b6f7b If there is no view save the default uri instead. (socket_destroy_cb):
2000-10-19  Iain Holmes  <iain@helixcode.com>

        * e-shell-view.c (e_shell_view_save_settings): If there is no view
        save the default uri instead.
        (socket_destroy_cb): When a view crashes, change the view to the
        default one.

svn path=/trunk/; revision=6036
2000-10-19 18:06:24 +00:00
f3533f595d update for new UI handler.
2000-10-18  Michael Meeks  <michael@helixcode.com>

	* evolution-shell-component.c (impl_ShellComponent_populate_folder_context_menu):
	update for new UI handler.

svn path=/trunk/; revision=6022
2000-10-19 03:19:23 +00:00
b8cf5fe57c If the widget is not realized don't do anything, to prevent BadGC's at
2000-10-18  Iain Holmes  <iain@helixcode.com>

        * e-shell-view.c (start_progress_bar): If the widget is not realized
        don't do anything, to prevent BadGC's at shut down.
        (stop_progress_bar): Don't draw anything if the widget is not realized.
        Same reason.

        * e-shell-folder-selection-dialog.c (dbl_click_cb): Emit the
        folder-selected signal.
        (e_shell_folder_selection_dialog_construct): Connect to the e-table's
        double-click signal.

svn path=/trunk/; revision=5995
2000-10-18 17:53:52 +00:00
80dbb750f5 Save the settings before the view is destroyed. (e_shell_quit): Don't save
2000-10-17  Iain Holmes  <iain@helixcode.com>

        * e-shell.c (view_deleted_cb): Save the settings before the
        view is destroyed.
        (e_shell_quit): Don't save the settings when there are no views.

2000-10-16  Iain Holmes  <iain@helixcode.com>

        * e-setup.c (check_evolution_directory): Better dialog.

        * e-splash.c (icon_free): Don't unref the canvas item.
        (e_splash_construct): Add a frame round the splash screen.

svn path=/trunk/; revision=5985
2000-10-18 10:56:11 +00:00
f31425818b Add a typecast.
* evolution-storage-set-view-factory.c
	(evolution_storage_set_view_factory_new_view): Add a typecast.

	* e-storage-set-view.c (popup_folder_menu): Move variable
	declarations into the #if 0 to kill warnings.
	(populate_folder_context_menu_with_common_items,
	folder_context_menu_activate_cb): Move these into #if 0 too.

	* e-shell.c: Add prototype.

	* e-shell-view.c (storage_set_view_box_map_cb):
	* e-shell-folder-title-bar.c (e_shell_folder_title_bar_construct):
	Remove unused variables.

	* e-setup.c: Fix warning caused by e-util -> gal migration.

svn path=/trunk/; revision=5945
2000-10-16 21:10:34 +00:00
bb04032cc8 Check if there are any files in default_user that are not in ~/evolution
2000-10-11  Iain Holmes  <iain@helixcode.com>

	* e-setup.c (check_evolution_directory): Check if there are any
	files in default_user that are not in ~/evolution and if so
	copy them over.
	(check_dir_recur): Recursive function to check the directory.

	* e-shell-view-menu.c: Look Maw! I'm an Evolution hacker too.

	* e-shell-view.c: Don't quit on when a view is destroyed.

	* e-shell.c: Save the settings for the remaining views whenever
	a view is destroyed.

svn path=/trunk/; revision=5929
2000-10-15 16:52:48 +00:00
0a74c49010 Use an EScrollFrame instead of a GtkScrolledWindow for the folder
tree.  This fixes #535 on Bugzilla.

svn path=/trunk/; revision=5928
2000-10-15 15:39:35 +00:00
b394895eb6 if we are in LDAP mode then merge in the extra few items, otherwise just
2000-10-14  Michael Meeks  <michael@helixcode.com>

	* gui/component/addressbook.c (control_activate): if we are in
	LDAP mode then merge in the extra few items, otherwise just merge
	the standard thing; saves duplication.

	* shell/e-shell-view-menu.c: rename debug verb.

svn path=/trunk/; revision=5920
2000-10-14 18:18:28 +00:00
c9a857200f 31337 splash screen for the shell's startup sequence.
svn path=/trunk/; revision=5912
2000-10-14 16:18:52 +00:00
9704f5dbf6 *e-shell-folder-creation-dialog.glade: Added focus to the folder-name text
2000-10-13 Anna Marie Dirks    <anna@helixcode.com>
	*e-shell-folder-creation-dialog.glade: Added focus to the folder-name
	text entry.

svn path=/trunk/; revision=5900
2000-10-13 18:40:33 +00:00
108723d273 Fixed the spec on this.
2000-10-11  Christopher James Lahey  <clahey@helixcode.com>

	* e-storage-set-view.c: Fixed the spec on this.

svn path=/trunk/; revision=5848
2000-10-11 12:09:59 +00:00
6eb7de17e8 Changed this to use the built in cells.
2000-10-11  Christopher James Lahey  <clahey@helixcode.com>

	* e-storage-set-view.c: Changed this to use the built in cells.

svn path=/trunk/; revision=5844
2000-10-11 10:16:02 +00:00
abbd11d2aa Adapted this for the new ETable system.
2000-10-11  Christopher James Lahey  <clahey@helixcode.com>

	* e-storage-set-view.c: Adapted this for the new ETable system.

svn path=/trunk/; revision=5840
2000-10-11 08:48:41 +00:00
ccb4ef86d0 Change paths in such a way as to require HEAD bonobo.
2000-10-09  Michael Meeks  <michael@helixcode.com>

	* e-shell-view-menu.c: Change paths in such a way as to require
	HEAD bonobo.
	(command_toggle_folder_bar, command_toggle_shortcut_bar): only
	respond to state changes.

svn path=/trunk/; revision=5793
2000-10-09 12:02:20 +00:00
71605c0a38 initialize priv->sockets to NULL, fixes startup crash on non-ia32
2000-10-07  Matt Wilson  <msw@redhat.com>

	* e-shell-view.c (init): initialize priv->sockets to NULL, fixes
	startup crash on non-ia32 platforms

svn path=/trunk/; revision=5779
2000-10-07 19:57:41 +00:00
61b3af5e54 Backported (from EVOLUTION_0_5_1) the code that allowed the shell to
display a warning message when a component's view died.

svn path=/trunk/; revision=5772
2000-10-06 20:22:11 +00:00
c57689ab41 call _set_compare_function after inserting the storage.
2000-10-06  Chris Toshok  <toshok@helixcode.com>

	* e-storage-set-view.c (insert_storages): call
	_set_compare_function after inserting the storage.

svn path=/trunk/; revision=5771
2000-10-06 19:51:39 +00:00
b6e23a317f add a freeze / thaw pair to reduce flicker on switching controls.
2000-10-06  Michael Meeks  <michael@helixcode.com>

	* e-shell-view.c (e_shell_view_display_uri): add a freeze / thaw
	pair to reduce flicker on switching controls.

2000-10-05  Michael Meeks  <michael@helixcode.com>

	* e-shell-view-menu.c (command_xml_dump): fix.

svn path=/trunk/; revision=5757
2000-10-06 00:05:25 +00:00
35f032e73a #include <gal/widgets/e-gui-utils.h>
2000-10-05  Chris Toshok  <toshok@helixcode.com>

	* e-shell-folder-creation-dialog.c: #include <gal/widgets/e-gui-utils.h>

	* e-shell-folder-selection-dialog.c: same.

svn path=/trunk/; revision=5754
2000-10-05 22:29:29 +00:00
e70371944a add #include for libgnomeui/gnome-messagebox.h
2000-10-05  Chris Toshok  <toshok@helixcode.com>

	* e-shell-folder-selection-dialog.c: add #include for
	libgnomeui/gnome-messagebox.h

svn path=/trunk/; revision=5750
2000-10-05 22:02:08 +00:00
d5a93f01c1 Disable summary stuff, it appears to be badly broken.
2000-10-05  Michael Meeks  <michael@helixcode.com>

	* component-factory.c (summary_fn, component_factory_init): Disable
	summary stuff, it appears to be badly broken.

	* Makefile.am (evolution_mail_SOURCES): add mail-summary.[ch]

	* subscribe-dialog.c (update_pixmaps): upd.
	(set_pixmap): upd.
	(subscribe_dialog_gui_init): upd.
	remove redundant and annoying forward definitions.

	* folder-browser-factory.c (control_deactivate): upd.
	(control_activate_cb): upd.
	(control_activate): upd.
	(set_pixmap): upd.
	(update_pixmaps): upd.
	(register_ondemand): upd.
	(create_ondemand_hooks): upd.

2000-10-05  Michael Meeks  <michael@helixcode.com>

	* e-shell-view-menu.c (shortcut_bar_mode_changed_cb): upd.
	(folder_bar_mode_changed_cb): upd.
	(command_xml_dump): clobber.
	(e_shell_view_menu_setup): upd.

	* e-shell-view.c (shell_view_interface_set_message_cb): upd.
	(shell_view_interface_unset_message_cb): upd.
	(e_shell_view_construct): upd.
	(get_control_for_uri): upd.
	(e_shell_view_get_bonobo_ui_component): upd.

2000-10-05  Michael Meeks  <michael@helixcode.com>

	* contact-editor/e-contact-editor.c (create_ui): upd.
	(e_contact_editor_init): upd.

	* gui/component/addressbook.c (control_activate_cb): upd.
	(control_deactivate): kill.
	(control_activate): upd.

2000-10-05  Michael Meeks  <michael@helixcode.com>

	* gui/calendar-commands.c: upd.
	(calendar_control_activate): upd.
	(calendar_control_deactivate): upd.

2000-10-05  Michael Meeks  <michael@helixcode.com>

	* component/e-summary-factory.c (control_activate): upd.
	(set_pixmap): upd. (update_pixmaps): upd.
	(control_activate_cb): upd.
	(control_deactivate): upd.

svn path=/trunk/; revision=5742
2000-10-05 07:10:04 +00:00
26df339fb8 ui/evolution-addressbook-ldap.xml, ui/evolution-addressbook.xml,
2000-10-03  Matt Bissiri  <bissiri@eecs.umich.edu>

	* ui/evolution-addressbook-ldap.xml,
	* ui/evolution-addressbook.xml,
	* ui/evolution-calendar.xml,
	* ui/evolution-contact-editor.xml:
	Fixed typo `_decr' -> `_descr', so some missing tooltips will appear.
	Also fixed some typos in descr values.

From shell/ChangeLog:

2000-10-03  Matt Bissiri  <bissiri@eecs.umich.edu>

	* e-shell-view-menu.c (e_shell_view_menu_setup): Use
	`bonobo_ui_component_add_verb_list' instead of
	`bonobo_ui_component_add_verb_list_with_data' for help_verbs,
	so that `command_help' gets an html filename as user_data,
	instead of a ptr to EShellView.
	(menu_do_misc): Move DumpXML from help_verbs to here, because
	`command_xml_dump' needs to get EShellView as user_data.

svn path=/trunk/; revision=5703
2000-10-04 06:30:31 +00:00
20f437f30a remove evil usize set.
2000-10-04  Michael Meeks  <michael@helixcode.com>

	* e-shell-view.c (setup_progress_bar): remove evil usize set.

svn path=/trunk/; revision=5698
2000-10-04 01:13:46 +00:00
1c1638efa6 Fixed a bug that caused the "Create new shortcut group" dialog not to
disappear when clicking on OK or Cancel.

svn path=/trunk/; revision=5689
2000-10-03 03:44:04 +00:00
86279dfe50 if we're not displaying folders, the current folder is NULL. (class_init):
2000-10-02  Chris Toshok  <toshok@helixcode.com>

	* e-storage-set-view.c (e_storage_set_view_get_current_folder): if
	we're not displaying folders, the current folder is NULL.
	(class_init): fix typo.

	* Makefile.am (libeshell_a_SOURCES):
	evolution-storage-set-view-listener.[ch] should be here, not
	evolution_SOURCES.

svn path=/trunk/; revision=5687
2000-10-03 03:25:30 +00:00
cc6dbb8f3c add storage_selected behavior - loop over the listeners calling
2000-10-02  Chris Toshok  <toshok@helixcode.com>

	* evolution-storage-set-view.c: add storage_selected behavior -
	loop over the listeners calling _storage_selected.

	* Evolution-StorageSetView.idl: add storage_selected to the
	Listener interface.

	* e-storage-set-view.c add storage_selected signal.
	(on_cursor_change): if the depth is less than 2, emit
	"storage_selected", otherwise emit "folder_selected".

	* e-storage-set-view.h: add storage_selected signal.

	* evolution-storage-set-view-listener.h: add storage_selected
	signal.

	* evolution-storage-set-view-listener.c: add storage_selected
	signal.

svn path=/trunk/; revision=5686
2000-10-03 02:53:08 +00:00
7832075228 `EvolutionStorageSetViewListener', wrapper for the CORBA
`Evolution::StorageSetViewListener' interface.

svn path=/trunk/; revision=5685
2000-10-03 02:43:20 +00:00
1ad5f19df9 fix typo. (impl_StorageSetView_remove_listener): same.
2000-10-02  Chris Toshok  <toshok@helixcode.com>

	* evolution-storage-set-view.c (impl_StorageSetView_add_listener): fix typo.
	(impl_StorageSetView_remove_listener): same.
	(impl_StorageSetView__get_show_folders): implementation of getter for show_folders.
	(impl_StorageSetView__set_show_folders): implementation of setter for show_folders.
	(corba_class_init): install _set_show_folders and _get_show_folders.

	* Evolution-StorageSetView.idl: add show_folders attribute to
	StorageSetView.

	* e-storage-set-view.h: add prototypes for
	e_storage_set_view_{get,set}_show_folders.

	* e-storage-set-view.c (insert_storages): split this code out from
	e_storage_set_view_construct so we can call it when "show_folders"
	has been changed.
	(e_storage_set_view_construct): remove the code to insert
	storages.
	(e_storage_set_view_set_show_folders): new function.  tears down
	existing tree and node/path hashtable and calls insert_storages.
	(e_storage_set_view_get_show_folders): new function, retrieves
	current show_folders state.

svn path=/trunk/; revision=5684
2000-10-03 01:29:43 +00:00
29b9fbe51b pass storage_set_view_interface as second argument to
2000-10-02  Chris Toshok  <toshok@helixcode.com>

	* evolution-storage-set-view-factory.c
	(evolution_storage_set_view_factory_new_view): pass
	storage_set_view_interface as second argument to
	bonobo_object_add_interface, and call gtk_widget_show on the
	storage_set_view widget.

svn path=/trunk/; revision=5680
2000-10-02 23:57:41 +00:00
afc1271931 kill.
2000-10-03  Michael Meeks  <michael@helixcode.com>

	* e-shell-view.c (setup_bonobo_ui_handler): kill.

	* e-shell-view-menu.c (e_shell_view_menu_setup): strip
	out the XML UI merge; move it to

	* e-shell-view.c (e_shell_view_construct): here, +
	freeze / thaw pair.

	* e-shell-view.c (setup_progress_bar): impl.
	(setup_widgets): hook in.
	(progress_bar_timeout_cb): fix.
	(start_progress_bar): fix.
	(stop_progress_bar): fix.
	(e_shell_view_construct): setup ui handler first.

2000-09-22  Michael Meeks  <michael@helixcode.com>

	* e-shell-view-menu.c (e_shell_view_menu_setup): upd.

+ upd ChangeLogs

svn path=/trunk/; revision=5678
2000-10-02 23:30:03 +00:00
419c6ce7e3 set the new node's compare function. (insert_folders): same.
2000-10-02  Chris Toshok  <toshok@helixcode.com>

	* e-storage-set-view.c (new_folder_cb): set the new node's compare function.
	(insert_folders): same.

	(new_storage_cb): remove uunecessary cast.

svn path=/trunk/; revision=5676
2000-10-02 23:03:01 +00:00
f590ec2dbd track e-tree sort api change. (treepath_compare): same. (new_folder_cb):
2000-10-02  Chris Toshok  <toshok@helixcode.com>

	* e-storage-set-view.c (new_storage_cb): track e-tree sort api change.
	(treepath_compare): same.
	(new_folder_cb): same.

svn path=/trunk/; revision=5675
2000-10-02 22:16:00 +00:00
dfbc759c44 pass NULL for the open/closed pixbuf of the tree renderer. we'll let it
2000-10-02  Chris Toshok  <toshok@helixcode.com>

	* e-storage-set-view.c (e_storage_set_view_construct): pass NULL
	for the open/closed pixbuf of the tree renderer.  we'll let it
	supply the default.
	(destroy): remove the expanded/unexpanded pixbuf references.
	(new_storage_cb): use e_tree_model_node_insert_id so we can (soon)
	save expanded/collapsed state.
	(new_folder_cb): same.
	(insert_folders): same.
	(e_storage_set_view_construct): same.

svn path=/trunk/; revision=5666
2000-10-02 19:49:35 +00:00
e062edf573 Added the ability for the shell to export the storage set view as a
Bonobo::Control (untested, and needed by Toshok's subscription
dialog).  Also, added a custom interface for this control so that the
container can get notification when a folder gets selected.

svn path=/trunk/; revision=5657
2000-10-02 14:22:11 +00:00
ee5decd2ff Add a `::remove_listener' method to Evolution::Storage.
svn path=/trunk/; revision=5655
2000-10-02 12:52:22 +00:00
7d63b93c51 Get the title bar for the folder view to use TigerT's pin icon for the
button when appropriate.

svn path=/trunk/; revision=5636
2000-09-29 14:05:10 +00:00
fbd0725e2a Minor stylistical fixup.
svn path=/trunk/; revision=5634
2000-09-29 09:06:45 +00:00