diff options
Diffstat (limited to 'src/gui/panels/history.c')
-rw-r--r-- | src/gui/panels/history.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/panels/history.c b/src/gui/panels/history.c index 74945c7..4d4be0c 100644 --- a/src/gui/panels/history.c +++ b/src/gui/panels/history.c @@ -156,6 +156,7 @@ static void g_history_panel_class_init(GHistoryPanelClass *klass) static void g_history_panel_init(GHistoryPanel *panel) { GEditorItem *base; /* Version basique d'instance */ + GPanelItem *pitem; /* Version parente du panneau */ GObject *ref; /* Espace de référencement */ GtkWidget *scrollwnd; /* Support défilant */ GtkWidget *treeview; /* Affichage de la liste */ @@ -173,6 +174,10 @@ static void g_history_panel_init(GHistoryPanel *panel) ref = G_OBJECT(panel); + pitem = G_PANEL_ITEM(panel); + + pitem->personality = PIP_SINGLETON; + /* Liste des éléments d'évolution */ scrollwnd = gtk_scrolled_window_new(NULL, NULL); @@ -305,7 +310,7 @@ GEditorItem *g_history_panel_new(GObject *ref) result = g_object_new(G_TYPE_HISTORY_PANEL, NULL); g_panel_item_init_ext(G_PANEL_ITEM(result), ref, PANEL_HISTORY_ID, - _("Change history"), G_EDITOR_ITEM(result)->widget, "eM"); + _("Change history"), G_EDITOR_ITEM(result)->widget, "eN"); return result; |