#include "metadata.h"
#include "exif.h"
+#define DIALOG_WIDTH 750
+
+
static GdkPixbuf *file_util_get_error_icon(FileData *fd, GtkWidget *widget);
/*
GtkWidget *box;
GtkWidget *table;
GtkWidget *frame;
+ GtkWidget *label;
GList *keys = NULL;
GList *work;
gchar *message1;
if (fd->change && fd->change->dest)
{
- message2 = g_strdup_printf(_("The following metadata tags will be written to '%s'."), fd->change->dest);
+ message2 = g_strdup_printf(_("The following metadata tags will be written to\n'%s'."), fd->change->dest);
}
else
{
i = 0;
while (work)
{
- GtkWidget *label;
const gchar *key = work->data;
gchar *title = exif_get_description_by_key(key);
gchar *title_f = g_strdup_printf("%s:", title);
label = gtk_label_new(value);
gtk_misc_set_alignment(GTK_MISC(label), 0.0, 0.0);
+ gtk_label_set_line_wrap(GTK_LABEL(label), TRUE);
gtk_table_attach(GTK_TABLE(table), label,
1, 2, i, i + 1,
GTK_FILL, GTK_FILL,
generic_dialog_add_image(gd, box, fd, NULL, NULL, NULL, FALSE);
+ gtk_widget_set_size_request(gd->dialog, DIALOG_WIDTH, -1);
gtk_widget_show(gd->dialog);
g_list_free(keys);