[gitg/wip/sindhus/interactive-rebase] Add button and handler to start rebase
- From: Sindhu Sundar <sindhus src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg/wip/sindhus/interactive-rebase] Add button and handler to start rebase
- Date: Tue, 10 Sep 2013 21:04:54 +0000 (UTC)
commit 83d6a2388ca9f1ef8d22cb88af4d0dd9b7c60baa
Author: Sindhu S <sindhus live in>
Date: Tue Sep 10 20:35:25 2013 +0530
Add button and handler to start rebase
gitg/gitg-rebase-window.vala | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/gitg/gitg-rebase-window.vala b/gitg/gitg-rebase-window.vala
index 94dd426..4976b12 100644
--- a/gitg/gitg-rebase-window.vala
+++ b/gitg/gitg-rebase-window.vala
@@ -31,6 +31,10 @@ public class RebaseWindow : Gtk.Window
var hbox = new Gtk.Box (Gtk.Orientation.VERTICAL, 1);
hbox.homogeneous = true;
hbox.add (r_rebase_list_box);
+ var start_button = new Gtk.Button();
+ start_button.label = "Start Rebase";
+ start_button.clicked.connect(start_rebase);
+ hbox.add(start_button);
add (hbox);
}
@@ -43,6 +47,11 @@ public class RebaseWindow : Gtk.Window
r_rebase_list_box.add_rebase_row(rebase_row[0], rebase_row[1], rebase_row[2]);
}
}
+
+ private void start_rebase()
+ {
+ stdout.printf("Starting rebase, baby!!");
+ }
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]