[gthumb] metadata dialogs: moved the selection info on top
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] metadata dialogs: moved the selection info on top
- Date: Sat, 7 Mar 2020 13:06:03 +0000 (UTC)
commit edc7930221245c6d3c3e6fcc81759d047e04af70
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sat Mar 7 13:59:55 2020 +0100
metadata dialogs: moved the selection info on top
extensions/catalogs/dlg-add-to-catalog.c | 14 +++++++++++---
extensions/edit_metadata/gth-edit-comment-dialog.c | 2 +-
extensions/edit_metadata/gth-edit-tags-dialog.c | 2 +-
3 files changed, 13 insertions(+), 5 deletions(-)
---
diff --git a/extensions/catalogs/dlg-add-to-catalog.c b/extensions/catalogs/dlg-add-to-catalog.c
index 66617f9d..c0f75428 100644
--- a/extensions/catalogs/dlg-add-to-catalog.c
+++ b/extensions/catalogs/dlg-add-to-catalog.c
@@ -684,13 +684,21 @@ dlg_add_to_catalog (GthBrowser *browser)
"modal", FALSE,
"use-header-bar", _gtk_settings_get_dialogs_use_header (),
NULL);
- gtk_container_add (GTK_CONTAINER (gtk_dialog_get_content_area (GTK_DIALOG (data->dialog))),
- GET_WIDGET ("dialog_content"));
gtk_container_set_border_width (GTK_CONTAINER (data->dialog), 5);
data->info = gth_file_selection_info_new ();
gtk_widget_show (data->info);
- gtk_box_pack_end (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (data->dialog))), data->info,
FALSE, FALSE, 0);
+ gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (data->dialog))),
+ data->info,
+ FALSE,
+ FALSE,
+ 0);
+
+ gtk_box_pack_start (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (data->dialog))),
+ GET_WIDGET ("dialog_content"),
+ FALSE,
+ FALSE,
+ 0);
gtk_dialog_add_buttons (GTK_DIALOG (data->dialog),
_GTK_LABEL_CLOSE, GTK_RESPONSE_CANCEL,
diff --git a/extensions/edit_metadata/gth-edit-comment-dialog.c
b/extensions/edit_metadata/gth-edit-comment-dialog.c
index ceb4bd1b..3bed6c01 100644
--- a/extensions/edit_metadata/gth-edit-comment-dialog.c
+++ b/extensions/edit_metadata/gth-edit-comment-dialog.c
@@ -146,7 +146,7 @@ gth_edit_comment_dialog_init (GthEditCommentDialog *self)
self->priv->info = gth_file_selection_info_new ();
gtk_widget_show (self->priv->info);
- gtk_box_pack_end (GTK_BOX (vbox), self->priv->info, FALSE, FALSE, 0);
+ gtk_box_pack_start (GTK_BOX (vbox), self->priv->info, FALSE, FALSE, 0);
self->priv->notebook = gtk_notebook_new ();
gtk_widget_show (self->priv->notebook);
diff --git a/extensions/edit_metadata/gth-edit-tags-dialog.c b/extensions/edit_metadata/gth-edit-tags-dialog.c
index 644f98ab..4468b7d6 100644
--- a/extensions/edit_metadata/gth-edit-tags-dialog.c
+++ b/extensions/edit_metadata/gth-edit-tags-dialog.c
@@ -197,7 +197,7 @@ gth_edit_tags_dialog_init (GthEditTagsDialog *self)
box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
self->priv->info = gth_file_selection_info_new ();
gtk_widget_show (self->priv->info);
- gtk_box_pack_end (GTK_BOX (box), self->priv->info, FALSE, FALSE, 0);
+ gtk_box_pack_start (GTK_BOX (box), self->priv->info, FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX (box), GET_WIDGET ("content"), TRUE, TRUE, 0);
self->priv->keep_open_check_button = gtk_check_button_new_with_mnemonic (_("_Keep the dialog open"));
gtk_widget_show (self->priv->keep_open_check_button);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]