[gitg/wip/simplify-arch] Create panels in history
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg/wip/simplify-arch] Create panels in history
- Date: Mon, 1 Jul 2013 08:16:04 +0000 (UTC)
commit 3141b5cf810d7c1917db49c9181b6e2925bed7b5
Author: Jesse van den Kieboom <jessevdk gmail com>
Date: Mon Jul 1 10:05:55 2013 +0200
Create panels in history
gitg/history/gitg-history.vala | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/gitg/history/gitg-history.vala b/gitg/history/gitg-history.vala
index 8091d84..0820c5c 100644
--- a/gitg/history/gitg-history.vala
+++ b/gitg/history/gitg-history.vala
@@ -41,6 +41,8 @@ namespace GitgHistory
private Gtk.Stack d_stack_panel;
private Gtk.TreeView d_commit_list;
+ private Gitg.UIElements<GitgExt.HistoryPanel> d_panels;
+
public string id
{
owned get { return "/org/gnome/gitg/Views/History"; }
@@ -99,6 +101,16 @@ namespace GitgHistory
application.bind_property("repository", this,
"repository", BindingFlags.DEFAULT);
+
+ var engine = Gitg.PluginsEngine.get_default();
+
+ var extset = new Peas.ExtensionSet(engine,
+ typeof(GitgExt.HistoryPanel),
+ "history",
+ this);
+
+ d_panels = new Gitg.UIElements<GitgExt.HistoryPanel>(extset,
+ d_stack_panel);
}
private void update_sort_mode()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]