Mercurial > geeqie
changeset 1561:d986a7727442
added an image to the file details dialog
author | nadvornik |
---|---|
date | Thu, 23 Apr 2009 21:12:19 +0000 |
parents | dd0a89cdb021 |
children | 4c8c041c8f5b |
files | src/utilops.c |
diffstat | 1 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/utilops.c Thu Apr 23 20:48:03 2009 +0000 +++ b/src/utilops.c Thu Apr 23 21:12:19 2009 +0000 @@ -1712,6 +1712,7 @@ static void file_util_write_metadata_details_dialog(FileData *fd, GtkWidget *parent) { GenericDialog *gd; + GtkWidget *box; GtkWidget *table; GList *keys = NULL; GList *work; @@ -1727,10 +1728,13 @@ gd = file_util_gen_dlg(_("Overview of changed metadata"), "details", parent, TRUE, NULL, NULL); - generic_dialog_add_message(gd, GTK_STOCK_DIALOG_INFO, _("Overview of changed metadata"), message); generic_dialog_add_button(gd, GTK_STOCK_OK, NULL, file_util_write_metadata_details_dialog_ok_cb, TRUE); - table = pref_table_new(gd->vbox, 2, g_list_length(keys), FALSE, TRUE); + box = generic_dialog_add_message(gd, GTK_STOCK_DIALOG_INFO, _("Overview of changed metadata"), message); + + box = pref_group_new(box, TRUE, NULL, GTK_ORIENTATION_HORIZONTAL); + + table = pref_table_new(box, 2, g_list_length(keys), FALSE, TRUE); work = keys; i = 0; @@ -1767,6 +1771,8 @@ i++; } + generic_dialog_add_image(gd, box, fd, NULL, NULL, NULL, FALSE); + gtk_widget_show(gd->dialog); g_list_free(keys);