diff src/bar.c @ 1293:48e064b37ba6

separated "normal" and advanced exif, "Normal" exif is now in the generic bar, advanced exif is in separate window.
author nadvornik
date Sun, 15 Feb 2009 09:36:53 +0000
parents 4a3ae0e6f1eb
children c37f36b97173
line wrap: on
line diff
--- a/src/bar.c	Sat Feb 14 20:26:30 2009 +0000
+++ b/src/bar.c	Sun Feb 15 09:36:53 2009 +0000
@@ -25,6 +25,7 @@
 #include "ui_menu.h"
 #include "bar_comment.h"
 #include "bar_keywords.h"
+#include "bar_exif.h"
 
 #define BAR_SIZE_INCREMENT 48
 #define BAR_ARROW_SIZE 7
@@ -321,7 +322,7 @@
 
 	scrolled = gtk_scrolled_window_new(NULL, NULL);
 	gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolled),
-		GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
+		GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
 	gtk_box_pack_start(GTK_BOX(bd->widget), scrolled, TRUE, TRUE, 0);
 	gtk_widget_show(scrolled);
 
@@ -343,6 +344,9 @@
 	widget = bar_pane_comment_new(_("Comment"), "Xmp.dc.description", 150);
 	bar_add(bd->widget, widget);
 
+	widget = bar_pane_exif_new(_("Exif"));
+	bar_add(bd->widget, widget);
+
 	return bd->widget;
 }