[gnome-photos] view: Invoke photos_view_query_status_changed from init
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] view: Invoke photos_view_query_status_changed from init
- Date: Mon, 30 Jul 2012 11:00:23 +0000 (UTC)
commit fa3d66b81a208d1495c2a4fe63ec70b51fc1e29b
Author: Debarshi Ray <debarshir gnome org>
Date: Sun Jul 29 22:19:33 2012 +0200
view: Invoke photos_view_query_status_changed from init
src/photos-view.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-view.c b/src/photos-view.c
index a678ee5..554602b 100644
--- a/src/photos-view.c
+++ b/src/photos-view.c
@@ -121,6 +121,7 @@ static void
photos_view_init (PhotosView *self)
{
PhotosViewPrivate *priv;
+ gboolean status;
self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
PHOTOS_TYPE_VIEW,
@@ -146,6 +147,9 @@ photos_view_init (PhotosView *self)
g_signal_connect (priv->trk_cntrlr, "query-status-changed", G_CALLBACK (photos_view_query_status_changed), self);
photos_tracker_controller_start (priv->trk_cntrlr);
+ status = photos_tracker_controller_get_query_status (priv->trk_cntrlr);
+ photos_view_query_status_changed (priv->trk_cntrlr, status, self);
+
gtk_widget_show (GTK_WIDGET (self));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]