diff src/typedefs.h @ 489:3809ffa3567b

Save state and width of exif, info and sort panels to rc file. Width is restored only if save windows dimensions is set.
author zas_
date Tue, 22 Apr 2008 22:44:10 +0000
parents 805c3258d228
children 4a9570cd06f8
line wrap: on
line diff
--- a/src/typedefs.h	Tue Apr 22 19:26:07 2008 +0000
+++ b/src/typedefs.h	Tue Apr 22 22:44:10 2008 +0000
@@ -541,8 +541,9 @@
 	gint bar_exif_enabled;
 	gint bar_info_enabled;
 
-	gint bar_exif_size;
+	gint bar_exif_width;
 	gint bar_exif_advanced;
+	gint bar_info_width;
 };
 
 struct _ViewDir
@@ -900,6 +901,24 @@
 
 	} layout;
 
+	/* panels */
+	struct {
+		struct {
+			gint enabled;
+			gint width;
+		} info;
+
+		struct {
+			gint enabled;
+			gint width;
+		} exif;
+
+		struct {
+			gint enabled;
+		} sort;
+	} panels;
+
+
 	/* color profiles */
 	struct {
 		gint enabled;