Commit Graph

306 Commits

Author SHA1 Message Date
Ettore Perazzoli 18f0b76b71 Fix a bug that could happen when a shell view would be destroyed and
the unread message count would change in some folder.

svn path=/trunk/; revision=7803
2001-01-25 07:33:38 +00:00
Jason Leach 152c6a69b1 (Fix #1252: Need a File->Close way to close a view)
2001-01-24  Jason Leach  <jasonleach@usa.net>

	(Fix #1252: Need a File->Close way to close a view)

	* evolution.xml: new File->Close menu item and associated command.

2001-01-24  Jason Leach  <jasonleach@usa.net>

	(Fix #1252: Need a File->Close way to close a view)

	* e-shell-view-menu.c (command_close): New function, destroys the
	current view.

	* e-shell.c (view_destroy_cb): Make sure shell settings get saved
	when the last view is destroyed.

svn path=/trunk/; revision=7787
2001-01-24 18:55:10 +00:00
Kjartan Maraas 31c69c19e7 Fix missing ';'.
2001-01-24  Kjartan Maraas  <kmaraas@gnome.org>

	* importer/GNOME_Evolution_Importer.idl: Fix missing ';'.

svn path=/trunk/; revision=7781
2001-01-24 15:01:05 +00:00
Ettore Perazzoli 4e98233a4d Fix the logic for updating the shortuct labels when the display names
of the corresponding folders change, so that it doesn't crash.

I have removed the redundant "folder_updated" signal on
`ELocalStorage' and changed EStorage so that it emits "updated_folder"
automatically when any of the folders changes its properties.

svn path=/trunk/; revision=7770
2001-01-24 00:56:21 +00:00
Iain Holmes 15a1741ae4 Removed exception
svn path=/trunk/; revision=7769
2001-01-24 00:54:15 +00:00
Iain Holmes 6d6fbca005 Changelog
svn path=/trunk/; revision=7730
2001-01-23 00:38:29 +00:00
Dan Winship ad68d3656f New function. Obvious.
* evolution-storage.c (evolution_storage_folder_exists): New
	function. Obvious.

svn path=/trunk/; revision=7654
2001-01-19 21:13:25 +00:00
Jacob Leach 3da36c62ad typo fixes
svn path=/trunk/; revision=7640
2001-01-19 07:41:48 +00:00
Jason Leach fb06ffa383 (Bug #883: Shortcut bar does not update when a folders display name
2001-01-17  Jason Leach  <jasonleach@usa.net>

	(Bug #883: Shortcut bar does not update when a folders display
	 name changes)

	 * e-local-storage.c (class_init): Define a new "folder_updated"
	 signal here.
	 (bonobo_interface_update_folder_cb): Emit the new folder_updated
	 signal here.

	 * e-shell-view.c (e_shell_view_construct): Connect the
	 EShell::ELocalStorage folder_updated signal here.  Also connect
	 the updated_folder signal coming from EShell::EStorageSet to the
	 new callback.

	 * e-shell-view.c (folder_updated_cb): Callback that actually
	 initiates the shell updating.

	 * e-shortcuts.c (e_shortcuts_update_shortcut_by_uri): New
	 function.  Given a uri for a shortcut bar item, we'll update it.

	 * e-shortcuts.c (e_shortcuts_remove_shortcut_by_uri): New
	 function.  Given a uri for a shortcut bar item, we'll remove it.

	 * e-shortcuts.c (removed_folder_cb): Connect this callback that
	 will remove a renamed vfolder from the shortcut bar.  Temporary
	 fix to the problem of renaming vfolders and having the shortcut
	 bar think the old vfolder still exists.

	 (Bug #1168: Shortcut bar and icon size persistence)

	 * e-shell-view.c (save_shortcut_bar_icon_modes): New static
	 function, save the icon modes (for all shortcut bar groups, even
	 though we only have one group now).
	 (load_shortcut_bar_icon_modes): New static function, load the
	 saved shortcut bar group icon modes and apply them to our
	 shortcut bar.

svn path=/trunk/; revision=7639
2001-01-19 07:36:55 +00:00
Federico Mena Quintero 26dd492af6 Use "typedef enum { ... } Blah;" instead of "typedef enum _Blah Blah; enum
2001-01-17  Federico Mena Quintero  <federico@ximian.com>

	* importer/evolution-importer.h: Use "typedef enum { ... } Blah;"
	instead of "typedef enum _Blah Blah; enum _Blah { ... };" so that
	gtk-doc can parse it.  Sigh.

svn path=/trunk/; revision=7600
2001-01-17 22:31:35 +00:00
Ettore Perazzoli 9d6b2a1c6a Make the folder selection dialog use the right bevel for the scroll
frame, and make it grab the focus as soon as it's shown.  (For some
reason, it doesn't seem to work though.)

svn path=/trunk/; revision=7588
2001-01-17 18:09:05 +00:00
Ettore Perazzoli 3a51f7793e Replace --with-x-mailer' with a more generic --with-sub-version'.
The value you provide is now also displayed in the shell title bar.
And while I was at it, I changed the title bar so that it displays the
name of the folder first (instead of "Evolution - Inbox" it says
"Inbox - Evolution 0.8 [yaddayadda]").

svn path=/trunk/; revision=7585
2001-01-17 17:29:14 +00:00
Ettore Perazzoli 569e29360f Some little more DnD work.
svn path=/trunk/; revision=7577
2001-01-17 15:11:19 +00:00
Michael Meeks 35edf4f02a set config path on window.
2001-01-16  Michael Meeks  <michael@helixcode.com>

	* e-shell-view.c (e_shell_view_construct): set config
	path on window.

svn path=/trunk/; revision=7556
2001-01-17 00:18:12 +00:00
JP Rosevear 90da9523a1 pop the visual/cm after the construct
2001-01-16  JP Rosevear  <jpr@ximian.com>

	* e-shell-folder-title-bar.c (e_shell_folder_title_bar_new): pop the
	visual/cm after the construct

svn path=/trunk/; revision=7546
2001-01-16 22:08:20 +00:00
JP Rosevear 754e77948a push/pop the color map (e_shell_folder_title_bar_new): and the visual...
2001-01-15  JP Rosevear  <jpr@ximian.com>

	* e-shell-folder-title-bar.c (e_shell_folder_title_bar_new): push/pop
	the color map
	(e_shell_folder_title_bar_new): and the visual...

svn path=/trunk/; revision=7515
2001-01-15 22:28:54 +00:00
JP Rosevear be1bca258a push/pop the color map
2001-01-15  JP Rosevear  <jpr@ximian.com>

	* e-shell-folder-title-bar.c (e_shell_folder_title_bar_new): push/pop
	the color map

svn path=/trunk/; revision=7514
2001-01-15 21:55:30 +00:00
Iain Holmes 2324b9a72a Set the title of the splash dialog to Evolution
svn path=/trunk/; revision=7507
2001-01-15 18:33:24 +00:00
Jason Leach 04b3fe4099 (Fix bug #934: Add Right-click item to hide the shortcut bar)
2001-01-13  Jason Leach  <jasonleach@usa.net>

	(Fix bug #934: Add Right-click item to hide the shortcut bar)

	* e-shortcuts-view.c (class_init): Create a new hide_requested
          signal.
	  (hide_shortcut_bar_cb): New function that gets
          called from the right click menu items, it emits the
          hide_requested signal.

	* e-shell-view.c (setup_widgets): Connect the hide_requested
          from the shortcut bar.
	  (hide_requested_cb): New function.

svn path=/trunk/; revision=7485
2001-01-14 02:17:37 +00:00
Ettore Perazzoli d554c5bbab Initial steps to support Drag 'n Drop in the tree view.
svn path=/trunk/; revision=7484
2001-01-14 02:05:21 +00:00
Miguel de Icaza e4eaa198dd Unref our copy, and then destroy.
2001-01-13  Miguel de Icaza  <miguel@gnu.org>

	* e-shell.c (e_shell_construct): Unref our copy, and then destroy.

	* e-splash.c (e_splash_set_icon_highlight): Do not execute code if
	we have been destroyed.
	(e_splash_add_icon): ditto.

svn path=/trunk/; revision=7475
2001-01-13 06:21:49 +00:00
Miguel de Icaza d9a01d4e27 Ok, talked to Ettore. Going back to TOPLEVEL non-POPUP.
2001-01-12  Miguel de Icaza  <miguel@gnu.org>

	* e-splash.c (e_splash_construct): Ok, talked to Ettore.  Going
	back to TOPLEVEL non-POPUP.

svn path=/trunk/; revision=7457
2001-01-12 21:09:34 +00:00
Ettore Perazzoli 936a6d77dd Add an ::asyncCopyFolder method to the ShellComponent interface. Move
all the message hiding options to the View menu.

svn path=/trunk/; revision=7456
2001-01-12 21:00:21 +00:00
Miguel de Icaza b243803565 Remove nice toplevel window.
2001-01-12  Miguel de Icaza  <miguel@gnu.org>

	* e-splash.c (e_splash_construct): Remove nice toplevel window.

svn path=/trunk/; revision=7454
2001-01-12 19:37:12 +00:00
Ettore Perazzoli b324985e97 Rename ::addFolderAsync' into ::createFolderAsync'.
svn path=/trunk/; revision=7452
2001-01-12 17:53:15 +00:00
Dan Winship cd5099b9f7 Create
* importer/.cvsignore: Create

svn path=/trunk/; revision=7451
2001-01-12 16:38:38 +00:00
Miguel de Icaza c42f8692ca Added translation strings.
2001-01-12  Miguel de Icaza  <miguel@ximian.com>

	* e-storage-set-view.c: Added translation strings.

svn path=/trunk/; revision=7446
2001-01-12 08:38:33 +00:00
Miguel de Icaza 5aa11827ce Remove "window" from the moniker path.
2001-01-12  Miguel de Icaza  <miguel@ximian.com>

	* e-shell-view-menu.c (command_new_mail_message): Remove "window"
	from the moniker path.

	* e-splash.c (e_splash_construct): Make the spalsh screen a
	toplevel instead of a popup.

svn path=/trunk/; revision=7440
2001-01-12 07:08:33 +00:00
Miguel de Icaza 5a405a2c31 Fix prototype (command_new_view): ditto. (command_new_mail_message):
2001-01-10  Miguel de Icaza  <miguel@helixcode.com>

	* e-shell-view-menu.c (command_goto_folder): Fix prototype
	(command_new_view): ditto.
	(command_new_mail_message): Implement command_new_mail_message.

	verbs: Use BONOBO_UI_VERB instead of BONOBO_UI_UNSAFE_VERB

svn path=/trunk/; revision=7415
2001-01-11 23:15:41 +00:00
Dan Winship ec3f086d9f Remove the "Already have view for..." message. People keep assuming it's
* e-shell-view.c (show_existing_view): Remove the "Already have
	view for..." message. People keep assuming it's an error.

svn path=/trunk/; revision=7411
2001-01-11 22:33:10 +00:00
Iain Holmes 0fd4de8110 add the importer part 1
svn path=/trunk/; revision=7398
2001-01-11 19:01:03 +00:00
Miguel de Icaza e845cc1674 Fix prototype (command_new_view): ditto.
2001-01-10  Miguel de Icaza  <miguel@helixcode.com>

	* e-shell-view-menu.c (command_goto_folder): Fix prototype
	(command_new_view): ditto.

	verbs: Use BONOBO_UI_VERB instead of BONOBO_UI_UNSAFE_VERB

svn path=/trunk/; revision=7361
2001-01-10 07:37:22 +00:00
Dan Winship f9f6c39872 New function to update a folder given its URI. Plus associated changes to
* evolution-storage.c (evolution_storage_update_folder_by_uri):
	New function to update a folder given its URI. Plus associated
	changes to other functions to keep track of the path<->URI
	mappings.

svn path=/trunk/; revision=7248
2001-01-04 17:02:57 +00:00
Ettore Perazzoli 77d282e4a2 Fix a bug in `evolution_shell_client_user_select_folder()' that could
cause the function to return without assigning any value to the "out"
parameters.

svn path=/trunk/; revision=7190
2000-12-28 19:48:46 +00:00
Jason Leach 760c901269 Fix a crash when the user tries to "Submit bug report" but doesn't have
2000-12-23  Jason Leach  <jasonleach@usa.net>

	* e-shell-view-menu.c (command_run_bugbuddy): Fix a crash when
          the user tries to "Submit bug report" but doesn't have
          bug-buddy installed.  Bug #633.

2000-12-23  Jason Leach  <jasonleach@usa.net>

	* e-setup.c (copy_default_stuff): Make the "Evolution
	  installation" dialog resizable. Bug #742.
	  (check_evolution_directory): Here too.

svn path=/trunk/; revision=7174
2000-12-26 13:05:05 +00:00
Iain Holmes 40013b4200 Destroy the dialog after a double click.
svn path=/trunk/; revision=7017
2000-12-14 18:34:30 +00:00
Iain Holmes e347847bdd Change the function to have the same signature as the double click callback.
svn path=/trunk/; revision=7007
2000-12-14 15:46:34 +00:00
Ettore Perazzoli 332a54b739 Slightly updated the startup warning message for the release.
svn path=/trunk/; revision=7004
2000-12-14 15:17:50 +00:00
Ettore Perazzoli 5ec2c902ad Update the splash animation to fit with the new splash design.
svn path=/trunk/; revision=7003
2000-12-14 14:53:49 +00:00
Jeffrey Stedfast f594c3ec30 Return TRUE as we have handled the event.
2000-12-12  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-splash.c (button_press_event): Return TRUE as we have handled
	the event.

svn path=/trunk/; revision=6946
2000-12-12 23:01:40 +00:00
Dan Winship 3641d7d4bd Pass path+1 rather than path to get_type_for_storage, to match the
* e-shell-view.c (get_control_for_uri): Pass path+1 rather than
	path to get_type_for_storage, to match the convention used by its
	other callers.

svn path=/trunk/; revision=6942
2000-12-12 18:42:30 +00:00
Jeffrey Stedfast 65b8297942 Connect a button-press-event signal on the splash screen so users can
2000-12-11  Jeffrey Stedfast  <fejj@helixcode.com>

	* e-splash.c (e_splash_construct): Connect a button-press-event
	signal on the splash screen so users can click it to hide it.
	(button_press_event): New callback to hide the splash screen.

svn path=/trunk/; revision=6938
2000-12-12 04:31:29 +00:00
Dan Winship 23be726b60 return NULL if no {folder,storage} is found. (get_control_for_uri): return
* e-shell-view.c (get_type_for_{folder,storage}): return NULL if
	no {folder,storage} is found.
	(get_control_for_uri): return NULL if no folder_type is found.

svn path=/trunk/; revision=6914
2000-12-11 22:05:52 +00:00
Ettore Perazzoli a66eae1674 Complete the code to associate a URI and a folder type to the toplevel
node in a storage.  It sucks a bit and needs a little more
refactoring.

svn path=/trunk/; revision=6878
2000-12-09 00:55:57 +00:00
Michael Meeks cce9a0787e update to GNOME_Evolution_Shell.oafinfo
2000-12-07  Michael Meeks  <michael@helixcode.com>

	* Makefile.am (oaf_DATA): update to GNOME_Evolution_Shell.oafinfo

	* e-shell.h: upd.

svn path=/trunk/; revision=6846
2000-12-07 21:09:39 +00:00
Ettore Perazzoli 9c28295de3 Start implementing a physical URI property for the toplevel nodes in
storages.  Also add initial code in the shell to handle that.

svn path=/trunk/; revision=6787
2000-12-05 01:08:18 +00:00
Ettore Perazzoli ca38e63a1b Handle a NIL return value from `oaf_activate_from_id' without
crashing.

svn path=/trunk/; revision=6784
2000-12-04 22:01:31 +00:00
Michael Meeks 042e514a26 return NULL if we can't create a view.
2000-12-04  Michael Meeks  <michael@helixcode.com>

	* e-shell-view.c (get_control_for_uri): return NULL if we can't
	create a view.
	(setup_evolution_shell_view_interface): add precondition.

+

	lots of cleans.

svn path=/trunk/; revision=6778
2000-12-04 17:56:54 +00:00
Ettore Perazzoli ed458bfc2a New createNewView' method in Evolution::Shell'. Register the shell
at startup; if a shell is already registered, use this CORBA method to
make it open a new view and exit.  Also, fixed a missing ref problem
with EShortcut (it used to crash on exit when more than one view was
open).

svn path=/trunk/; revision=6774
2000-12-04 16:09:27 +00:00
JP Rosevear 7a6e3e892c Update - hopefully I assigned blame correctly :-)
2000-11-27  JP Rosevear  <jpr@helixcode.com>

	* AUTHORS: Update - hopefully I assigned blame correctly :-)

	* MAINTAINERS: ditto

2000-11-27  JP Rosevear  <jpr@helixcode.com>

	* e-shell-view-menu.c (command_about_box): Add myself, anna, jesse

svn path=/trunk/; revision=6684
2000-11-27 21:16:21 +00:00