[gitg/wip/sindhus/interactive-rebase: 2/2] Add rebase listbox to rebase window



commit d48314884ee0f8ab48021bd3f39953b4075dff8b
Author: Sindhu S <sindhus live in>
Date:   Mon Sep 9 19:01:09 2013 +0530

    Add rebase listbox to rebase window

 gitg/gitg-rebase-window.vala    |    8 ++++++++
 libgitg/resources/resources.xml |    1 +
 2 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/gitg/gitg-rebase-window.vala b/gitg/gitg-rebase-window.vala
index 0c39b20..6372a78 100644
--- a/gitg/gitg-rebase-window.vala
+++ b/gitg/gitg-rebase-window.vala
@@ -27,6 +27,14 @@ public class RebaseWindow : Gtk.Window
        {
                this.title = "gitg Rebase";
                destroy.connect (Gtk.main_quit);
+               var rebase_listbox = new RebaseListBox();
+               rebase_listbox.add_rebase_row("sha1", "msg");
+               rebase_listbox.add_rebase_row("sha2", "msg");
+               rebase_listbox.add_rebase_row("sha3", "msg");
+               var hbox = new Box (Orientation.VERTICAL, 1);
+               hbox.homogeneous = true;
+               hbox.add (rebase_listbox);
+               add (hbox);
        }
 }
 
diff --git a/libgitg/resources/resources.xml b/libgitg/resources/resources.xml
index 6e7e602..a95882c 100644
--- a/libgitg/resources/resources.xml
+++ b/libgitg/resources/resources.xml
@@ -9,6 +9,7 @@
   </gresource>
   <gresource prefix="/org/gnome/gitg/gtk">
     <file compressed="true" preprocess="xml-stripblanks">gitg-repository-list-box-row.ui</file>
+    <file compressed="true" preprocess="xml-stripblanks">gitg-rebase-list-box-row.ui</file>
   </gresource>
   <gresource prefix="/org/gnome/gitg/gtk/sidebar">
     <file compressed="true">sidebar-view.ui</file>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]