[gnome-photos/wip/rishi/libhandy-cleanup: 1/2] embed: Style fixes
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/rishi/libhandy-cleanup: 1/2] embed: Style fixes
- Date: Wed, 3 Feb 2021 23:45:36 +0000 (UTC)
commit 8db0dfe908e48b48a9bf9b95c7b0df51a3952b2e
Author: Debarshi Ray <debarshir gnome org>
Date: Thu Feb 4 00:45:36 2021 +0100
embed: Style fixes
src/photos-embed.c | 12 +++---------
1 file changed, 3 insertions(+), 9 deletions(-)
---
diff --git a/src/photos-embed.c b/src/photos-embed.c
index 90771637..d4daf201 100644
--- a/src/photos-embed.c
+++ b/src/photos-embed.c
@@ -825,9 +825,7 @@ photos_embed_init (PhotosEmbed *self)
self->overview = photos_view_container_new (PHOTOS_WINDOW_MODE_OVERVIEW, _("Photos"));
name = photos_view_container_get_name (PHOTOS_VIEW_CONTAINER (self->overview));
gtk_stack_add_titled (GTK_STACK (self->stack), self->overview, "overview", name);
- gtk_container_child_set (GTK_CONTAINER (self->stack), self->overview,
- "icon-name", "camera-photo-symbolic",
- NULL);
+ gtk_container_child_set (GTK_CONTAINER (self->stack), self->overview, "icon-name",
"camera-photo-symbolic", NULL);
self->collection_view = photos_view_container_new (PHOTOS_WINDOW_MODE_COLLECTION_VIEW, _("Collection
View"));
gtk_stack_add_named (GTK_STACK (self->stack), self->collection_view, "collection-view");
@@ -835,16 +833,12 @@ photos_embed_init (PhotosEmbed *self)
self->collections = photos_view_container_new (PHOTOS_WINDOW_MODE_COLLECTIONS, _("Albums"));
name = photos_view_container_get_name (PHOTOS_VIEW_CONTAINER (self->collections));
gtk_stack_add_titled (GTK_STACK (self->stack), self->collections, "collections", name);
- gtk_container_child_set (GTK_CONTAINER (self->stack), self->collections,
- "icon-name", "emblem-photos-symbolic",
- NULL);
+ gtk_container_child_set (GTK_CONTAINER (self->stack), self->collections, "icon-name",
"emblem-photos-symbolic", NULL);
self->favorites = photos_view_container_new (PHOTOS_WINDOW_MODE_FAVORITES, _("Favorites"));
name = photos_view_container_get_name (PHOTOS_VIEW_CONTAINER (self->favorites));
gtk_stack_add_titled (GTK_STACK (self->stack), self->favorites, "favorites", name);
- gtk_container_child_set (GTK_CONTAINER (self->stack), self->favorites,
- "icon-name", "starred-symbolic",
- NULL);
+ gtk_container_child_set (GTK_CONTAINER (self->stack), self->favorites, "icon-name", "starred-symbolic",
NULL);
self->import = photos_view_container_new (PHOTOS_WINDOW_MODE_IMPORT, _("Import"));
gtk_stack_add_named (GTK_STACK (self->stack), self->import, "import");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]