2001-07-30 Jason Leach <jleach@ximian.com>
* e-shortcuts-view.c (rename_group_cb): Remember the current group
so after renaming a group it doesn't flip to the next group. Bug
#3857.
* e-shortcuts.c (e_shortcuts_rename_group): Comparing two
separately allocated strings, use strcmp() instead of !=.
svn path=/trunk/; revision=11483
2001-07-30 Jason Leach <jleach@ximian.com>
* e-shell-folder-creation-dialog.c (async_create_cb): If we can't
create a folder because it already exists, select that folder that
exists. Bug #1716.
svn path=/trunk/; revision=11482
* evolution-activity-client.c (impl_destroy): Remove the source
for the timeout *before* invoking the CORBA method, as we might
get the timeout callback while invoking the CORBA method, thus
screwing things up.
* evolution-shell-component-client.c (destroy_listener_interface):
New helper function.
(dispatch_callback): Use it.
(impl_destroy): Call it when destroying the listener interface
instead of just freeing the servant.
svn path=/trunk/; revision=11452
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-25 Jason Leach <jleach@ximian.com>
* e-shell-folder-selection-dialog.c (folder_selected_cb): New
function. When a folder is selected set the OK button to be
sensitive (but before that have it desensitized). Bug #5483.
svn path=/trunk/; revision=11414
2001-07-25 Jason Leach <jleach@ximian.com>
* Makefile.am (INCLUDES): $(BONOBO_CONF_CFLAGS) was here twice,
took out one of them.
* e-shell-view.c (socket_destroy_cb): Mem leak fix. Thanks to the
amazing Jacob B. Bug #5054.
svn path=/trunk/; revision=11402
2001-07-25 Jason Leach <jleach@ximian.com>
* e-task-widget.c: #include <libgnome/gnome-defs.h> and
<libgnome/gnome-i18n.h> instead of the full <libgnome/libgnome.h>,
as noted by a comment here.
svn path=/trunk/; revision=11397
2001-07-24 Jason Leach <jleach@ximian.com>
* e-storage-set-view.c (e_storage_set_view_construct): Add the
"/My Evolution" path to the path_to_etree_node hash so that
storage_set_view_set_current_folder() can select the My Evolution
node when it's the current one. Fixes#5114 and #3956.
svn path=/trunk/; revision=11348
* main.c (development_warning): Only show the warning dialog
instead of using `gnome_dialog_run()' so it is not modal. Modal
would be nice, but unfortunately it works bad with Bonobo. Plus
Sawfish doesn't like to keep the modal dialog on top, so it gets
very confusing for users.
svn path=/trunk/; revision=11334
* main.c (development_warning): Only show the warning dialog
instead of using `gnome_dialog_run()' so it is not modal. Modal
would be nice, but unfortunately it works bad with Bonobo. Plus
Sawfish doesn't like to keep the modal dialog on top, so it gets
very confusing for users.
svn path=/trunk/; revision=11331
the ShellComponent interface. Updated the EvolutionShellComponent
GTK+ wrapper and all the component accordingly. Get the calendar to
use this so it can delete both tasks and calendar folders.
svn path=/trunk/; revision=11300
* evolution-activity-client.c (impl_destroy): Use
`g_source_remove()' instead of `gtk_timeout_remove()' here, as we
are using `g_timeout_add()' and not `gtk_timeout_add()' to set up
the timeout callback.
(update_timeout_callback): Reset `have_pending_update' when
returning %TRUE. Set the timeout id to zero when returning
%FALSE.
svn path=/trunk/; revision=11295
2001-07-20 Jason Leach <jleach@ximian.com>
[Fix a crash if you start evolution with a bad URI.]
* e-shell.c (e_shell_create_view): If we can't display the URI,
display the default uri. This is because it's necessary for
e_shell_view_display_uri() to run all the way through so corba
interfaces get setup.
* e-shell-view.c (e_shell_view_display_uri): If we fail to create
a new view for a URI (happens if you pass in an invalid URI), be
sure to return FALSE.
svn path=/trunk/; revision=11290
2001-07-20 Jason Leach <jleach@ximian.com>
[This is a better way to have "Local Folders" be shown as the
local storage name without breaking current user's shortcuts.]
* e-corba-storage.c (get_display_name): Implement this, but it's
only returning the real name now. Need to change the IDL soon to
let corba storages have separated display names.
* e-shortcuts.c (e_shortcuts_add_default_group): Set these default
shortcut URI's back to evolution:/local/
* e-shell-view.h (DEFAULT_URI): Set this back to
"evolution:/local/Inbox"
* e-storage-set-view.c (etree_value_at): Get the display name for
a storage rather than it's true name.
* e-local-storage.c (impl_get_display_name): Implemented for the
local folder (to return a translated "Local Folders").
* e-storage.c (e_storage_get_display_name): New virtual function
for retrieving the display name.
svn path=/trunk/; revision=11274
2001-07-19 Jason Leach <jleach@ximian.com>
* e-local-storage.h: Make the local storage name "Local Folders"
instead of "local", looks better with "My Evolution", "VFolders",
and "Other Contacts".
* e-shell-view.h: Put the #define DEFAULT_URI here instead of in
e-shell-view.c.
* main.c: Remove the duplicated #define STARTUP_URI, actually make
use of the nice defines.
* e-shell-folder-commands.c (e_shell_command_delete_folder): Use
the DEFAULT_URI here instead of a hard coded string.
* e-shortcuts.c (e_shortcuts_add_default_group): Fix the URI's
here to use "Local Folder".
svn path=/trunk/; revision=11241
2001-07-19 Jason Leach <jleach@ximian.com>
* e-shell-folder-title-bar.c (e_shell_folder_title_bar_construct):
Line up the padding for the folder title bar labels when you have
the folder bar enabled or disabled (previously when disabled it
was padding ~8 pixels to the right while the other had 0).
* e-shell-view.c (setup_widgets): Take out a 2 pixel padding
around the vbox containing the title bar, folder bar, message list
and mail display. Also remove 2 more extra pixels of padding on
the bottom.
svn path=/trunk/; revision=11238
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
* e-shell.c (init): Initialize priv->db and priv->iid so that
destroy() won't crash if e_shell_construct bails out before
setting them. Reduces bug #4173 to #4169.
svn path=/trunk/; revision=11044
2001-07-11 Jason Leach <jleach@ximian.com>
* e-shell-view.c (e_shell_view_save_settings): Make sure to create
~/evolution/config/ if it doesn't exist. (ShellView settings get
saved before component settings, so when the mailer comes around
to saving ETree stuff, this dir will be there). Fixes bug #4279.
svn path=/trunk/; revision=10991
2001-07-10 Jason Leach <jleach@ximian.com>
* e-setup.c (copy_default_stuff): Add a temporary block of code to
not use the $GNOME/share/evolution/default_user/shortcuts.xml for
users who might be upgrading, so they'll get the shell-generated
default set of shortcuts. See notes on #4394.
svn path=/trunk/; revision=10981
2001-07-09 Larry Ewing <lewing@ximian.com>
* e-shell-folder-commands.c (delete_dialog): convert the folder
name from utf8 before displaying them in the dialog and set the
dialog parent.
svn path=/trunk/; revision=10943
2001-07-09 Federico Mena Quintero <federico@ximian.com>
* e-shortcuts-view.c: Make the "Rename" item be a
GNOMEUIINFO_ITEM_NONE() since we don't have a stock icon; likewise
for the "Open in New Window". This gets rid of warnings from
gnome-libs. Use a better stock icon for the "Remove" command, and
add a stock icon to the "Open" command.
svn path=/trunk/; revision=10938
2001-07-09 Jason Leach <jleach@ximian.com>
* e-shell-view.c (updated_folder_cb): It's very possible that
get_storage_set_path_from_uri() returns NULL (5 of the 6 return
cases), so check that it's not NULL before trying to strcmp() it.
Fixes a startup crash.
svn path=/trunk/; revision=10935
* e-shortcuts.c (shortcut_item_update): Return a gboolean saying
whether or not the shortcut changed. Use strcmp rather than
pointer comparisons to determine this.
(update_shortcut_and_emit_signal): propagate the gboolean from
shortcut_item_update (and only emit the signal if it's TRUE).
(update_shortcuts_by_path): Only call make_dirty if something
changed.
(storage_set_new_folder_callback,
storage_set_updated_folder_callback): Don't call make_dirty:
update_shortcuts_by_path will have called it if necessary.
* e-shell-view.c (updated_folder_cb): Don't call
update_for_current_uri if the folder that was updated isn't the
one being displayed.
svn path=/trunk/; revision=10912
2001-07-06 Jason Leach <jleach@ximian.com>
* e-shortcuts-view.c: Little UI tweak for right click menu,
pronouns shouldn't be capitalized ("This" in this case).
svn path=/trunk/; revision=10871
2001-07-06 Jason Leach <jleach@ximian.com>
[Misc fixes and part of #2228, There should be no dialog boxes
during startup.]
* e-setup.c (e_setup): Check for searches.xml instead of
shortcuts.xml, since shortcuts.xml doesn't really need to exist
(and thus wouldn't be a necessary test whether ~/evolution was
invalid) because shell can generate shortcuts.
(copy_default_stuff): For first time users, only present a dialog
if a problem occurred. We've already clicked "Ok" on a dialog
about copying files.
(check_evolution_directory): Take out the "successfully installed"
dialog on updates too.
svn path=/trunk/; revision=10864
folders.]
* e-local-storage.c (remove_folder): Don't free the
`physical_path' on error, as it gets freed when freeing the
callback data.
svn path=/trunk/; revision=10842
2001-07-04 Gediminas Paulauskas <menesis@delfi.lt>
* evolution-shell-component-utils.c (e_pixmaps_update): set
"pixname" value only if pixbuf was loaded successfully. Otherwise
component crashes if image is not found. Should be checked for
sanity in bonobo_ui_component_set_prop IMHO.
2001-07-04 Gediminas Paulauskas <menesis@delfi.lt>
* Makefile.am: install apply-filters-16.xpm
2001-07-04 Gediminas Paulauskas <menesis@delfi.lt>
* evolution-mail-message.xml: MessageApplyFilters now has an icon.
2001-07-04 Gediminas Paulauskas <menesis@delfi.lt>
* folder-browser-ui.c (message_pixcache): set icon for ApplyFilters
command.
svn path=/trunk/; revision=10783
`shortcuts.xml' file, and another bug that caused the default
group to be added at every start-up, even there were groups
already.]
* e-shortcuts.c (e_shortcuts_new): If loading the shortcuts fails,
set the file_name.
(load_shortcuts): Update `num_groups'.
svn path=/trunk/; revision=10763