[gnome-photos] main-toolbar: Implement populate_for_preview
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] main-toolbar: Implement populate_for_preview
- Date: Mon, 30 Apr 2012 22:52:02 +0000 (UTC)
commit 31e0ef38e0b4682259b11e37f2a81ce6670cd1e5
Author: Debarshi Ray <debarshir gnome org>
Date: Tue May 1 00:47:38 2012 +0200
main-toolbar: Implement populate_for_preview
src/photos-main-toolbar.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-main-toolbar.c b/src/photos-main-toolbar.c
index a8ad1cf..30acfb4 100644
--- a/src/photos-main-toolbar.c
+++ b/src/photos-main-toolbar.c
@@ -156,6 +156,11 @@ photos_main_toolbar_populate_for_overview (PhotosMainToolbar *self)
static void
photos_main_toolbar_populate_for_preview (PhotosMainToolbar *self)
{
+ PhotosMainToolbarPrivate *priv = self->priv;
+
+ gd_main_toolbar_set_mode (GD_MAIN_TOOLBAR (priv->widget), GD_MAIN_TOOLBAR_MODE_PREVIEW);
+ photos_main_toolbar_set_toolbar_title (self);
+ gtk_widget_show_all (priv->widget);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]