[gthumb] removed an unused preference



commit dbcfe13f35736235df538d7c48a6a80c1ad80ddb
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Tue Nov 8 14:25:32 2011 +0100

    removed an unused preference

 data/gthumb.schemas.in   |   13 -------------
 gthumb/gth-browser.c     |    5 -----
 gthumb/gth-preferences.h |    1 -
 3 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/data/gthumb.schemas.in b/data/gthumb.schemas.in
index c50c828..1f2ec67 100644
--- a/data/gthumb.schemas.in
+++ b/data/gthumb.schemas.in
@@ -493,19 +493,6 @@
       </schema>
 
       <schema>
-	<key>/schemas/apps/gthumb/ui/properties_height</key>
-	<applyto>/apps/gthumb/ui/properties_height</applyto>
-	<owner>gthumb</owner>
-	<type>int</type>
-	<default>250</default>
-	<locale name="C">
-	  <short></short>
-	  <long>
-	  </long>
-	</locale>
-      </schema>
-
-      <schema>
 	<key>/schemas/apps/gthumb/ui/comment_height</key>
 	<applyto>/apps/gthumb/ui/comment_height</applyto>
 	<owner>gthumb</owner>
diff --git a/gthumb/gth-browser.c b/gthumb/gth-browser.c
index bebf3af..99d2451 100644
--- a/gthumb/gth-browser.c
+++ b/gthumb/gth-browser.c
@@ -67,7 +67,6 @@
 #define GCONF_NOTIFICATIONS 13
 #define DEF_SIDEBAR_WIDTH 255
 #define DEF_VIEWER_SIDEBAR_WIDTH 285
-#define DEF_PROPERTIES_HEIGHT 128
 #define DEF_THUMBNAIL_SIZE 128
 #define LOAD_FILE_DELAY 150
 #define HIDE_MOUSE_DELAY 1000
@@ -2133,10 +2132,6 @@ _gth_browser_close_final_step (gpointer user_data)
 		gtk_widget_get_allocation (browser->priv->viewer_sidebar_alignment, &allocation);
 		if (allocation.width > MIN_SIDEBAR_SIZE)
 			eel_gconf_set_integer (PREF_UI_VIEWER_SIDEBAR_WIDTH, allocation.width);
-
-		gtk_widget_get_allocation (browser->priv->file_properties, &allocation);
-		if (allocation.height > MIN_SIDEBAR_SIZE)
-			eel_gconf_set_integer (PREF_UI_PROPERTIES_HEIGHT, allocation.height);
 	}
 
 	/**/
diff --git a/gthumb/gth-preferences.h b/gthumb/gth-preferences.h
index 8a7f209..07d6449 100644
--- a/gthumb/gth-preferences.h
+++ b/gthumb/gth-preferences.h
@@ -72,7 +72,6 @@ G_BEGIN_DECLS
 #define PREF_UI_THUMBNAIL_LIST_VISIBLE      "/apps/gthumb/ui/thumbnail_list_visible"
 #define PREF_UI_BROWSER_SIDEBAR_WIDTH       "/apps/gthumb/ui/browser_sidebar_width"
 #define PREF_UI_VIEWER_SIDEBAR_WIDTH        "/apps/gthumb/ui/viewer_sidebar_width"
-#define PREF_UI_PROPERTIES_HEIGHT           "/apps/gthumb/ui/properties_height"
 #define PREF_UI_COMMENT_HEIGHT              "/apps/gthumb/ui/comment_height"
 #define PREF_UI_VIEWER_THUMBNAILS_ORIENT    "/apps/gthumb/ui/viewer_thumbnails_orientation"
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]