Commit Graph

87 Commits

Author SHA1 Message Date
385ba85d42 [Removing Evolution::LocalStorage interface, abstracting the unread counts
2001-08-03  Jason Leach  <jleach@ximian.com>

        [Removing Evolution::LocalStorage interface, abstracting the
        unread counts from a folder's name, also abstract unread counts
        from a shortcut's name.  Fixes #4489 and #5497]

        * e-shortcuts.c (shortcut_item_new): Take an unread_count argument
        now.
        (shortcut_item_update): Ditto.

        * e-shortcuts-view-model.c (get_name_with_unread): Get a string
        containing a shortcut name and it's unread, because these are
        abstracted now.
        (load_group_into_model): Use the above function to make shortcuts
        that have unread counts.

        * e-storage-set-view.c (update_folder_with_unread_hash): Keep a
        hash of folder names with unread counts, because the folder name
        and it's unread count are to be separated, only the ETree is
        supposed to present it as one string.

        * e-shell-view.c: Renamed EShellView::view_title_bar to
        folder_title_bar, to closer match the

        * e-shell-view-menu.c (new_shortcut_dialog_folder_selected_cb):
        Make a shortcut with the unread count.

        * e-shell-folder-commands.c (e_shell_command_add_to_shortcut_bar):
        Make a shortcut with the unread count.

        * e-local-storage.c: Updated for API changes.

        * e-folder.c (e_folder_get_unread_count): New function, does what
        it says.
        (e_folder_set_unread_count): Ditto.

        * e-corba-storage.c (impl_StorageListener_new_folder): Renamed to
        match the IDL function name.
        (impl_StorageListener_update_folder): Ditto.
        (impl_StorageListener_removed_folder): Ditto.

        * Evolution-Storage.idl (struct Folder): Replace the boolean
        highlighted with a long unread_count.
        (updateFolder): Brought in from the now dead
        Evolution::LocalStorage.

        * Evolution-Shell.idl (getLocalStorage): Return a Storage instead
        of a LocalStorage.

        * Evolution-LocalStorage.idl: Removed, no longer needed, only used
        function, updateFolder, has been moved into Evolution::Storage
        interface.

        * evolution-local-storage.[ch]: Ditto.

        * evolution-storage.c (impl_Storage_updateFolder): Implementation
        of the updateFolder taken from ::LocalStorage.
        (class_init): New "update_folder" signal, taken from
        evolution-local-storage.c too.
        (evolution_storage_update_folder): Take an @unread_count int
        instead of a @highlighted boolean.
        (evolution_storage_new_folder): Same for here.
        (evolution_storage_update_folder_by_uri): And here.

        * evolution-storage-listener.h: "update_folder" signal no longer
        sends a @highlighted boolean.

2001-08-03  Jason Leach  <jleach@ximian.com>

        * e-shell-view-menu.c (update_offline_menu_item): Use Jakub's new
        "Work Online" icon and fix a typo.

svn path=/trunk/; revision=11633
2001-08-03 23:08:38 +00:00
6b4e29c7e6 Do a NULL-check on current_uri - socket is being closed? (as per the
2001-08-01  Jeffrey Stedfast  <fejj@ximian.com>

	* e-shell-view-menu.c (command_new_folder): Do a NULL-check on
	current_uri - socket is being closed? (as per the comments for the
	NULL-check in e-shell-view.c:socket_destroy_cb).

svn path=/trunk/; revision=11557
2001-08-01 17:22:18 +00:00
f98da84ec3 Little UI nit: capitalize the words Offline/Online for the File menu.
2001-07-26  Jason Leach  <jleach@ximian.com>

	* e-shell-view-menu.c (update_offline_menu_item): Little UI nit:
	capitalize the words Offline/Online for the File menu.

svn path=/trunk/; revision=11428
2001-07-26 16:56:33 +00:00
51a223f8ac Get the manuals from the `evolution-guide' dir as that's where they get
* e-shell-view-menu.c: Get the manuals from the `evolution-guide'
dir as that's where they get installed.

svn path=/trunk/; revision=11309
2001-07-23 18:21:42 +00:00
05877aea9b Fix a crash that could happen by closing one or more views, and then
clicking on the off-line button.

svn path=/trunk/; revision=11107
2001-07-15 05:18:49 +00:00
d2309f2ab5 Because bugzilla.ximian does have a mail gateway now, we can have
2001-07-12  Jason Leach  <jleach@ximian.com>

	* e-shell-view-menu.c (command_submit_bug): Because
	bugzilla.ximian does have a mail gateway now, we can have
	Help->Submit Bug Report open up bug-buddy.

svn path=/trunk/; revision=11075
2001-07-12 23:53:51 +00:00
d02ed3c293 Get the File -> Folder -> Properties menu item work again for the
mailer.

svn path=/trunk/; revision=10793
2001-07-05 11:19:19 +00:00
2990822b33 Implemented the `File -> New -> Shortcut' command.
I have also implemented a "no-new-button" mode for the folder
selection dialog widget.

svn path=/trunk/; revision=10655
2001-07-01 09:10:36 +00:00
d77b63aa3c Rename e_shell_new_view()' into e_shell_create_view()' to avoid
confusion with `e_shell_view_new()'.

svn path=/trunk/; revision=10556
2001-06-28 05:56:16 +00:00
8a77a47f19 Remove the ugliness that was `e_shell_quit()'; implement an
`e_shell_destroy_all_views()' function instead, and get the "Exit"
menu item to use that instead.

svn path=/trunk/; revision=10467
2001-06-25 04:41:32 +00:00
bb9e2eb060 Fix a bunch of stupid warnings caused by missing includes. Also
placate GCC on a bogus "uninitialized variable" error.

svn path=/trunk/; revision=10438
2001-06-23 07:14:23 +00:00
c94ca2b00d Fix the "Quit" command so that the shell actually exits properly.
svn path=/trunk/; revision=10435
2001-06-23 06:49:59 +00:00
3a4f16b681 Fix the help URLs
* e-shell-view-menu.c: Fix the help URLs

svn path=/trunk/; revision=10265
2001-06-18 17:50:51 +00:00
9a3c412e4f Plug in all the folder tree right click menu verbs so bonobo-warnings
2001-06-05  Jason Leach  <jleach@ximian.com>

	* e-shell-view-menu.c: Plug in all the folder tree right click
	menu verbs so bonobo-warnings aren't emitted (even though the
	respective implementation functions are currently unimplemented).
	(command_delete_folder): New function, see above.
	(command_rename_folder): Ditto.
	(command_folder_properties): Ditto.

	* e-shell-folder-commands.c (e_shell_command_delete_folder): New
	function, currently unimplemented.

svn path=/trunk/; revision=10128
2001-06-06 00:05:53 +00:00
225120f19f Removed an unecessary sleep(2) call, so evolution will start up 2 seconds
2001-05-30  Jason Leach  <jleach@ximian.com>

	* e-shell.c (e_shell_construct): Removed an unecessary sleep(2)
	call, so evolution will start up 2 seconds faster now.

2001-05-30  Jason Leach  <jleach@ximian.com>

	* e-shell-view-menu.c: Connect the AddFolderToShortcutBar verb to
	their implementation functions.

	* e-shell-view.c (e_shell_view_get_current_shortcuts_group_num):
	New function, use it to find out which shourtcut group is
	currently open on the shortcut bar.

	* e-shell-folder-commands.c (e_shell_command_add_to_shortcut_bar):
	Implement this using new function described above.

svn path=/trunk/; revision=10052
2001-05-30 19:39:47 +00:00
6eb6e536f9 New file. (e_pixmaps_update): Moved here from e-util to break e-util
* evolution-shell-component-utils.c: New file.
	(e_pixmaps_update): Moved here from e-util to break e-util bonobo
	dependency.

	* e-shell-view-menu.c: #include
	"evolution-shell-component-utils.h" instead of "e-gui-utils.h"

	* Makefile.am (libeshell_la_SOURCES, eshellinclude_HEADERS): Add
	evolution-shell-component-utils.[ch]

svn path=/trunk/; revision=10018
2001-05-27 18:00:52 +00:00
e9a5c3d19c Implemented the "Copy Folder" and "Move Folder" menu items. Untested.
svn path=/trunk/; revision=9899
2001-05-20 14:45:47 +00:00
f093b333fb Add a caption to the folder selection dialog widget, and get the
existing dialogs in the shell to use it.

svn path=/trunk/; revision=9894
2001-05-19 16:11:47 +00:00
3e519c4e14 Renamed the "NewWindow" verb into "OpenFolderInNewWindow". Got the
`File -> Folder -> Open in New Window' menu item to work.

svn path=/trunk/; revision=9893
2001-05-19 15:29:19 +00:00
bb6a06a3cb Create new files for the folder commands, and move the "Create new
folder" implementation into them.

svn path=/trunk/; revision=9889
2001-05-19 12:40:00 +00:00
ad6072f81f Make the "Submit Bug Report" menu item fire up a browser with
http://bugzilla.ximian.com in it, rather than Bug Buddy (which will
not work with our bug tracker, as the latter doesn't have an email
interface yet).

svn path=/trunk/; revision=9836
2001-05-16 03:05:51 +00:00
5cb76ec7ba Add an "Evolution FAQ" entry to the Help menu, and update the existing
entries for the guide's chapters to match the new paths.

svn path=/trunk/; revision=9835
2001-05-16 02:54:06 +00:00
da08b32050 Update the file name in the top comment.
svn path=/trunk/; revision=9833
2001-05-16 02:13:48 +00:00
e30ad1b088 Some demeeksifying indentation changes.
svn path=/trunk/; revision=9832
2001-05-16 02:12:49 +00:00
dd032fc24d Ask for a folder to import into.
svn path=/trunk/; revision=9775
2001-05-11 21:19:33 +00:00
46e839289d Added command entry for 'ToggleOffline'.
2001-05-07  Jon Trowbridge  <trow@ximian.com>

	* evolution.xml: Added	command entry for 'ToggleOffline'.

2001-05-07  Jon Trowbridge  <trow@ximian.com>

	* e-shell-view-menu.c (update_offline_menu_item): Changed some
	references to /commands/WorkOffline to /commands/ToggleOffline.

svn path=/trunk/; revision=9699
2001-05-07 20:51:50 +00:00
be2f9a67f6 Complete the shell side for supporting off-line operations, getting
the dialog to fully work and the menu item to change its label
according to the current status of the line.

svn path=/trunk/; revision=9662
2001-05-04 02:47:33 +00:00
7cfacb2f84 Initial implementation for the "warning, some connections are still
active" dialog.

svn path=/trunk/; revision=9661
2001-05-03 23:03:18 +00:00
042704ddd3 Blessed by Ettore.
Guided by Jacub Stener's mail, where he explaned which icons were renamed or
added, I added a bunch of new icons to menus, fixed renamed ones. Changed Trash
and Executive summary folder type icons. Fixed art/Makefile.am for these
changes.

Also, pulled icon cache from mailer and moved it to e-util/e-gui-utils.h, made
all components and dialogs use cache and not load pixmaps every time.

Accidentally got a couple of includes fix in, but they won't break anything.

svn path=/trunk/; revision=9092
2001-04-02 03:59:11 +00:00
d6f661cd37 Remove/replace unneeded includes and move around stuff so that system
2001-03-29  Kjartan Maraas  <kmaraas@gnome.org>

	* e-component-registry.c: Remove/replace  unneeded includes and
	move around stuff so that system headers are included first.
	* e-corba-storage.c: Replace #include <bonobo.h>
	* e-folder-tree.c: Shuffle.
	* e-folder.c: Remove #include <gtk/gtkobject.h>
	* e-local-storage.c: Replace #include <gnome.h> and <bonobo.h>
	* e-setup.c: Replace #include <glib.h> and <gnome.h>
	* e-shell-folder-creation-dialog.c: Replace #include <gnome.h>
	* e-shell-folder-title-bar.c: Replace <gnome.h>
	* e-shell-utils.c: Same here.
	* e-shell-view-menu.c: Same here (and <bonobo.h>)
	* e-shell-view.c: Replace <gnome.h> and <bonobo.h>
	* e-shell.c: Replace <gnome.h>
	* e-shell.h: Shuffle.
	* e-shortcuts-view-model.c: Replace <gnome.h>
	* e-shortcuts-view.c: Remove #include <gnome.h>
	* e-shortcuts.c: Move <string.h> up.
	* e-splash.c: Replace <gnome.h>
	* e-storage-set-view.c: Replace <gnome.h>
	* e-storage-set.c: Shuffle
	* e-storage.c: Replace <gnome.h>
	* evolution-local-storage.c: Same here
	* evolution-local-storage.h: And here.
	* evolution-session.c: Same here too.
	* evolution-session.h: Replace <bonobo.h>
	* evolution-shell-client.c: Here too.
	* evolution-shell-component-client.c: Shuffle.
	* evolution-shell-component.c: Replace <bonobo.h>
	* evolution-shell-view.c: Remove #include <bonobo.h>
	* evolution-shell-view.h: Replace <gnome.h>
	* evolution-storage-listener.c: Replace <gnome.h> and <bonobo.h>
	* evolution-storage-listener.h: Replace <gnome.h>
	* evolution-storage-set-view-listener.c: Replace <gnome.h> and <bonobo.h>
	* evolution-storage-set-view.c: Remove <gnome.h>
	* evolution-storage.c: Replace <bonobo.h>
	* main.c: Replace <gnome.h> and <bonobo.h>
	* importer/importer.c: Replace <gnome.h>
	* importer/intelligent.c: Replace <gnome.h>. Add prototype for

svn path=/trunk/; revision=9019
2001-03-29 18:39:21 +00:00
51ef717794 In a fit of egomania, added myself to the authors array.
2001-03-28  Jon Trowbridge  <trow@gnu.org>

        * e-shell-view-menu.c: In a fit of egomania, added myself to the
        authors array.

svn path=/trunk/; revision=8989
2001-03-28 07:06:04 +00:00
a52b65816a renaming icons to make Miguel's speedups possible
svn path=/trunk/; revision=8884
2001-03-22 09:15:30 +00:00
ec5d0a0fab Cast this fucntion pointer.
2001-02-17  Christopher James Lahey  <clahey@ximian.com>

	* e-shell-view-menu.c (file_verbs): Cast this fucntion pointer.

	* e-storage-set-view.c (ETABLE_SPEC): Turn on horizontal scrolling
	here.

	* evolution-shell-component.c
	(impl_ShellComponent_async_copy_folder): Commented out this unused
	function.

	* evolution-storage.c (storage_gtk_to_corba_result): Removed an
	unused variable here.

	* importer/importer.c: Include gal/widets/e-gui-utils.h.

svn path=/trunk/; revision=8269
2001-02-17 11:06:39 +00:00
683037c431 Merge from the stable branch: display the `SUB_VERSION' in the about
box as well.

svn path=/trunk/; revision=8159
2001-02-10 10:21:02 +00:00
88594ac53a Change the folder selection dialog so that, when you click on "New"
and create a folder, that folder becomes the default folder when you
go back to the selection dialog.

svn path=/trunk/; revision=8119
2001-02-08 21:20:50 +00:00
1979122071 Remove all instances of non-portable macro `__FUNCTION__' from the
shell.

svn path=/trunk/; revision=7841
2001-01-26 21:02:21 +00:00
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
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
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
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
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
0fd4de8110 add the importer part 1
svn path=/trunk/; revision=7398
2001-01-11 19:01:03 +00:00
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
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
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
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
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
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
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
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