Buf fix #927: Option "Auto rotate proofs using Exif information" doesn't stick
authorColin Clark <colin.clark@cclark.uk>
Sun, 3 Oct 2021 11:05:00 +0000 (12:05 +0100)
committerColin Clark <colin.clark@cclark.uk>
Sun, 3 Oct 2021 11:05:00 +0000 (12:05 +0100)
https://github.com/BestImageViewer/geeqie/issues/927

This option is not used and is now deleted.

doc/docbook/GuideOptionsImage.xml
src/options.c
src/options.h
src/preferences.c

index 9f2a028..b3065d9 100644 (file)
       </varlistentry>\r
     </variablelist>\r
   </section>\r
-  <section id="Convenience">\r
-    <title>Convenience</title>\r
-    <variablelist>\r
-      <varlistentry>\r
-        <term>\r
-          <guilabel>Auto rotate proofs using EXIF information</guilabel>\r
-        </term>\r
-        <listitem>\r
-          <para>Auto rotate images on print proof sheet.</para>\r
-        </listitem>\r
-      </varlistentry>\r
-    </variablelist>\r
-  </section>\r
 </section>\r
index 875a65b..536539c 100644 (file)
@@ -106,7 +106,6 @@ ConfOptions *init_options(ConfOptions *options)
        options->image.alpha_color_2.blue = 0x006666;
        options->image.enable_read_ahead = TRUE;
        options->image.exif_rotate_enable = TRUE;
-       options->image.exif_proof_rotate_enable = TRUE;
        options->image.fit_window_to_image = FALSE;
        options->image.limit_autofit_size = FALSE;
        options->image.limit_window_size = TRUE;
index 668cf52..1492e41 100644 (file)
@@ -137,7 +137,6 @@ struct _ConfOptions
        /* image */
        struct {
                gboolean exif_rotate_enable;
-               gboolean exif_proof_rotate_enable;
                guint scroll_reset_method;
                gboolean fit_window_to_image;
                gboolean limit_window_size;
index 8c6804f..e089e04 100644 (file)
@@ -379,7 +379,6 @@ static void config_window_apply(void)
        options->image_overlay.background_blue = c_options->image_overlay.background_blue;
        options->image_overlay.background_alpha = c_options->image_overlay.background_alpha;
        options->update_on_time_change = c_options->update_on_time_change;
-       options->image.exif_proof_rotate_enable = c_options->image.exif_proof_rotate_enable;
 
        options->duplicates_similarity_threshold = c_options->duplicates_similarity_threshold;
        options->rot_invariant_sim = c_options->rot_invariant_sim;
@@ -2341,11 +2340,6 @@ static void config_tab_image(GtkWidget *notebook)
 
        c_options->image.alpha_color_1 = options->image.alpha_color_1;
        c_options->image.alpha_color_2 = options->image.alpha_color_2;
-
-       group = pref_group_new(vbox, FALSE, _("Convenience"), GTK_ORIENTATION_VERTICAL);
-
-       pref_checkbox_new_int(group, _("Auto rotate proofs using Exif information"),
-                             options->image.exif_proof_rotate_enable, &c_options->image.exif_proof_rotate_enable);
 }
 
 /* windows tab */