[gitg] Emit notify of repository before updating views
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] Emit notify of repository before updating views
- Date: Fri, 1 Mar 2013 12:10:44 +0000 (UTC)
commit 59b79de6d0d158a19b68f471cfaf85556ea6a491
Author: Jesse van den Kieboom <jessevdk gmail com>
Date: Fri Mar 1 12:54:03 2013 +0100
Emit notify of repository before updating views
gitg/gitg-window.vala | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gitg/gitg-window.vala b/gitg/gitg-window.vala
index 7fbfd09..fb394ec 100644
--- a/gitg/gitg-window.vala
+++ b/gitg/gitg-window.vala
@@ -60,7 +60,7 @@ public class Window : Gtk.ApplicationWindow, GitgExt.Application, Initable, Gtk.
owned get { return d_message_bus; }
}
- [Notify]
+ [CCode(notify = false)]
public Repository? repository
{
owned get { return d_repository; }
@@ -69,6 +69,7 @@ public class Window : Gtk.ApplicationWindow, GitgExt.Application, Initable, Gtk.
close();
d_repository = value;
+ notify_property("repository");
repository_changed();
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]