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/bookmarks.c | |
parent | 02e978d601cdcf2ea9bb39ae21207c3b97d16e22 (diff) |
Loaded a dynamic list of dockable panels in the View menu.
Diffstat (limited to 'src/gui/panels/bookmarks.c')
-rw-r--r-- | src/gui/panels/bookmarks.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/panels/bookmarks.c b/src/gui/panels/bookmarks.c index e06b891..9eaa1df 100644 --- a/src/gui/panels/bookmarks.c +++ b/src/gui/panels/bookmarks.c @@ -236,6 +236,7 @@ static void g_bookmarks_panel_class_init(GBookmarksPanelClass *klass) static void g_bookmarks_panel_init(GBookmarksPanel *panel) { GEditorItem *base; /* Version basique d'instance */ + GPanelItem *pitem; /* Version parente du panneau */ GObject *ref; /* Espace de référencement */ GtkTreeStore *store; /* Modèle de gestion */ GtkWidget *treeview; /* Affichage de la liste */ @@ -255,6 +256,10 @@ static void g_bookmarks_panel_init(GBookmarksPanel *panel) ref = G_OBJECT(base->widget); g_object_set_data(ref, "panel", panel); + pitem = G_PANEL_ITEM(panel); + + pitem->personality = PIP_SINGLETON; + /* Partie signets */ store = gtk_tree_store_new(BMC_COUNT, G_TYPE_OBJECT, |