diff options
| author | Cyrille Bagard <nocbos@gmail.com> | 2016-03-08 21:44:52 (GMT) | 
|---|---|---|
| committer | Cyrille Bagard <nocbos@gmail.com> | 2016-03-08 21:46:19 (GMT) | 
| commit | 235b34006d734d55333a182ffd8bbe7fbf8f54bc (patch) | |
| tree | f1c8f75391537c8c187aea46c16b3d2642c92107 /src/gui/panels/history.c | |
| parent | 02e978d601cdcf2ea9bb39ae21207c3b97d16e22 (diff) | |
Loaded a dynamic list of dockable panels in the View menu.
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; | 
