[gitg/wip/headerbar] Enter in commit view or history view
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg/wip/headerbar] Enter in commit view or history view
- Date: Sat, 6 Jul 2013 20:35:26 +0000 (UTC)
commit 887e03e47cc5815e3a81fbb566e1741bac87914c
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Sat Jul 6 22:34:54 2013 +0200
Enter in commit view or history view
gitg/gitg-window.vala | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gitg/gitg-window.vala b/gitg/gitg-window.vala
index 0be8aac..28cc553 100644
--- a/gitg/gitg-window.vala
+++ b/gitg/gitg-window.vala
@@ -116,9 +116,11 @@ public class Window : Gtk.ApplicationWindow, GitgExt.Application, Initable
});
d_header_bar.request_commit.connect(() => {
d_header_bar.mode = HeaderBar.Mode.COMMIT;
+ d_stack_activities.set_visible_child_name("/org/gnome/gitg/Activities/Commit");
});
d_header_bar.exit_mode.connect(() => {
d_header_bar.mode = HeaderBar.Mode.ACTIVITIES;
+ d_stack_activities.set_visible_child_name("/org/gnome/gitg/Activities/History");
});
d_environment = new Gee.HashMap<string, string>();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]