Revision: 1658
          http://geeqie.svn.sourceforge.net/geeqie/?rev=1658&view=rev
Author:   nadvornik
Date:     2009-04-23 21:12:19 +0000 (Thu, 23 Apr 2009)

Log Message:
-----------
added an image to the file details dialog

Modified Paths:
--------------
    trunk/src/utilops.c

Modified: trunk/src/utilops.c
===================================================================
--- trunk/src/utilops.c 2009-04-23 20:48:03 UTC (rev 1657)
+++ trunk/src/utilops.c 2009-04-23 21:12:19 UTC (rev 1658)
@@ -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,11 +1728,14 @@
        
        
        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;
        while (work)
@@ -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);


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn

Reply via email to