aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-07-15 20:41:13 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-07-15 20:41:13 +0800
commit68651fc4a8273a91ca467ab4a91f0160fadef483 (patch)
tree31020471a5edb2d9ff2c79a2b108a282b9cfae6f
parent694b8bf34f5720fdb4dfb8e00cd221f236fbd88c (diff)
downloadgsoc2013-evolution-68651fc4a8273a91ca467ab4a91f0160fadef483.tar.gz
gsoc2013-evolution-68651fc4a8273a91ca467ab4a91f0160fadef483.tar.zst
gsoc2013-evolution-68651fc4a8273a91ca467ab4a91f0160fadef483.zip
[Fix #4387, Shortcut bar items don't keep the name after rename.]
* e-shortcuts.c (update_shortcuts_by_path): Do not change the name of the shortcut if the folder's name changes. svn path=/trunk/; revision=11115
-rw-r--r--shell/ChangeLog7
-rw-r--r--shell/e-shortcuts.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 94651d5e9e..bd4ed7411a 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,12 @@
2001-07-15 Ettore Perazzoli <ettore@ximian.com>
+ [Fix #4387, Shortcut bar items don't keep the name after rename.]
+
+ * e-shortcuts.c (update_shortcuts_by_path): Do not change the name
+ of the shortcut if the folder's name changes.
+
+2001-07-15 Ettore Perazzoli <ettore@ximian.com>
+
* e-storage-set-view.c (etree_icon_at): Return an icon for depths
greater than 2 as well.
diff --git a/shell/e-shortcuts.c b/shell/e-shortcuts.c
index b19336a988..dcc24fd3d0 100644
--- a/shell/e-shortcuts.c
+++ b/shell/e-shortcuts.c
@@ -501,7 +501,7 @@ update_shortcuts_by_path (EShortcuts *shortcuts,
group_num,
num,
evolution_uri,
- NULL,
+ shortcut_item->name,
e_folder_get_type_string (folder));
}
}