aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shortcuts.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shortcuts.c')
-rw-r--r--shell/e-shortcuts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/e-shortcuts.c b/shell/e-shortcuts.c
index b950f2ce44..5def82dcdb 100644
--- a/shell/e-shortcuts.c
+++ b/shell/e-shortcuts.c
@@ -138,7 +138,7 @@ shortcut_item_new (const char *uri,
if (name == NULL)
new->name = g_path_get_basename (uri);
else
- new->name = g_strdup (type);
+ new->name = g_strdup (name);
new->uri = g_strdup (uri);
new->type = g_strdup (type);