summaryrefslogtreecommitdiff
path: root/src/gui/panels/panel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/panels/panel.c')
-rw-r--r--src/gui/panels/panel.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/panels/panel.c b/src/gui/panels/panel.c
index 16f1532..9a1e1c2 100644
--- a/src/gui/panels/panel.c
+++ b/src/gui/panels/panel.c
@@ -428,7 +428,7 @@ static panel_node *create_simple_panel_node_for_item(GPanelItem *item, const cha
editem = G_EDITOR_ITEM(item);
gtk_dock_panel_add_widget(GTK_DOCK_STATION(station),
- editem->widget, editem->name);
+ editem->widget, editem->name, item->lname);
return result;
@@ -685,7 +685,8 @@ static void insert_item_as_panel_node(GPanelItem *item, panel_node *node, const
if (strcmp(node->path, path) == 0)
gtk_dock_panel_add_widget(GTK_DOCK_STATION(node->station),
G_EDITOR_ITEM(item)->widget,
- G_EDITOR_ITEM(item)->name);
+ G_EDITOR_ITEM(item)->name,
+ item->lname);
/* On ne peut aller plus loin, on doit diviser... */
else