summaryrefslogtreecommitdiff
path: root/src/gui/panels
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2014-06-25 19:30:19 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2014-06-25 19:30:19 (GMT)
commite8aa314462196cc9e8461ae23eb13f8bffcc983f (patch)
treedd41b8cdc44fe6dff774b1faca0500536ca8e565 /src/gui/panels
parent3bf12eda58a8d04ac3d2d6754a480de4c262570d (diff)
Given a name and a description for binaries, not always based on a filenames.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@380 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gui/panels')
-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