[gnome-photos] edit-palette, preview-view: Let the widget's client set the vexpand
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] edit-palette, preview-view: Let the widget's client set the vexpand
- Date: Tue, 18 Jul 2017 12:30:40 +0000 (UTC)
commit 9b37e534c2ce8faeb5357e9a87ff4362654101f0
Author: Debarshi Ray <debarshir gnome org>
Date: Tue Jul 18 14:05:27 2017 +0200
edit-palette, preview-view: Let the widget's client set the vexpand
src/photos-edit-palette.c | 1 -
src/photos-preview-view.c | 1 +
2 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/photos-edit-palette.c b/src/photos-edit-palette.c
index b8d7990..efcb080 100644
--- a/src/photos-edit-palette.c
+++ b/src/photos-edit-palette.c
@@ -107,7 +107,6 @@ photos_edit_palette_dispose (GObject *object)
static void
photos_edit_palette_init (PhotosEditPalette *self)
{
- gtk_widget_set_vexpand (GTK_WIDGET (self), TRUE);
gtk_list_box_set_selection_mode (GTK_LIST_BOX (self), GTK_SELECTION_NONE);
gtk_list_box_set_header_func (GTK_LIST_BOX (self), photos_utils_list_box_header_func, NULL, NULL);
diff --git a/src/photos-preview-view.c b/src/photos-preview-view.c
index 1e55da8..5c862af 100644
--- a/src/photos-preview-view.c
+++ b/src/photos-preview-view.c
@@ -1059,6 +1059,7 @@ photos_preview_view_init (PhotosPreviewView *self)
self->palette = photos_edit_palette_new ();
gtk_widget_set_hexpand (self->palette, FALSE);
+ gtk_widget_set_vexpand (self->palette, TRUE);
gtk_container_add (GTK_CONTAINER (sw), self->palette);
g_signal_connect_swapped (self->palette, "tool-changed", G_CALLBACK (photos_preview_view_tool_changed),
self);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]