[gitg/vala] Update diff view when constructed from selection
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg/vala] Update diff view when constructed from selection
- Date: Tue, 17 Jul 2012 14:41:26 +0000 (UTC)
commit 89cff84667820951697282e2cf7a2bdef328978a
Author: Jesse van den Kieboom <jesse vandenkieboom epfl ch>
Date: Tue Jul 17 16:41:12 2012 +0200
Update diff view when constructed from selection
plugins/diff/gitg-diff.vala | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/diff/gitg-diff.vala b/plugins/diff/gitg-diff.vala
index 2f95cfa..832c04d 100644
--- a/plugins/diff/gitg-diff.vala
+++ b/plugins/diff/gitg-diff.vala
@@ -97,6 +97,8 @@ namespace GitgDiff
d_view = objsel;
d_view.selection_changed.connect(on_selection_changed);
+
+ on_selection_changed(objsel);
}
return d_sw;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]