[gitg/wip/sindhus/interactive-rebase] Add simple rebase GTK window
- From: Sindhu Sundar <sindhus src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg/wip/sindhus/interactive-rebase] Add simple rebase GTK window
- Date: Mon, 9 Sep 2013 13:16:38 +0000 (UTC)
commit d99f290ae5e128b31d580a6665861203ac93d074
Author: Sindhu S <sindhus live in>
Date: Mon Sep 9 18:45:50 2013 +0530
Add simple rebase GTK window
gitg/gitg-application.vala | 8 +++++---
gitg/gitg-rebase-window.vala | 2 +-
2 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/gitg/gitg-application.vala b/gitg/gitg-application.vala
index 143174d..4c77853 100644
--- a/gitg/gitg-application.vala
+++ b/gitg/gitg-application.vala
@@ -165,9 +165,11 @@ public class Application : Gtk.Application
if (Options.rebase != "")
{
stderr.printf("Starting rebase: %s", Options.rebase);
- var parser = new RebaseParser();
- parser.parse_rebase_todo("/home/sindhus/git-rebase-todo");
-// var rebase_window = new RebaseWindow();
+// var parser = new RebaseParser();
+// parser.parse_rebase_todo("/home/sindhus/git-rebase-todo");
+ var rebase_window = new RebaseWindow();
+ rebase_window.show_all();
+ Gtk.main();
return 0;
}
diff --git a/gitg/gitg-rebase-window.vala b/gitg/gitg-rebase-window.vala
index f58a1bb..0c39b20 100644
--- a/gitg/gitg-rebase-window.vala
+++ b/gitg/gitg-rebase-window.vala
@@ -26,7 +26,7 @@ public class RebaseWindow : Gtk.Window
public RebaseWindow()
{
this.title = "gitg Rebase";
-
+ destroy.connect (Gtk.main_quit);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]