* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "main.h"
#include "rcfile.h"
-#include "bar.h"
+#include <config.h>
+
#include "bar-comment.h"
#include "bar-exif.h"
+#include "bar-gps.h"
#include "bar-histogram.h"
#include "bar-keywords.h"
#include "bar-rating.h"
#include "bar-sort.h"
+#include "bar.h"
+#include "debug.h"
+#include "dupe.h"
#include "editors.h"
#include "filefilter.h"
+#include "intl.h"
+#include "layout-util.h"
+#include "main-defines.h"
+#include "metadata.h"
#include "pixbuf-renderer.h"
#include "secure-save.h"
#include "slideshow.h"
#include "ui-fileops.h"
-#include "layout-util.h"
-#include "bar.h"
-#include "metadata.h"
-#include "bar-gps.h"
-#include "dupe.h"
#include "ui-utildlg.h"
/*
void write_int_unit_option(GString *str, gint, const gchar *label, gint n, gint subunits)
{
- gint l, r;
+ gint l;
+ gint r;
if (subunits > 0)
{
gboolean read_int_unit_option(const gchar *option, const gchar *label, const gchar *value, gint *n, gint subunits)
{
- gint l, r;
- gchar *ptr, *buf;
+ gint l;
+ gint r;
+ gchar *ptr;
+ gchar *buf;
if (g_ascii_strcasecmp(option, label) != 0) return FALSE;
if (!n) return FALSE;
WRITE_NL(); WRITE_BOOL(*options, save_dialog_window_positions);
WRITE_NL(); WRITE_BOOL(*options, show_window_ids);
WRITE_NL(); WRITE_BOOL(*options, expand_menu_toolbar);
+ WRITE_NL(); WRITE_BOOL(*options, hamburger_menu);
WRITE_NL(); WRITE_UINT(*options, log_window_lines);
WRITE_NL(); WRITE_BOOL(*options, log_window.timer_data);
/* GPU - see main.cc */
WRITE_NL(); WRITE_BOOL(*options, override_disable_gpu);
WRITE_SEPARATOR();
+
+ /* Alternate similarity algorithm */
+ WRITE_NL(); WRITE_BOOL(*options, alternate_similarity_algorithm.enabled);
+ WRITE_NL(); WRITE_BOOL(*options, alternate_similarity_algorithm.grayscale);
+ WRITE_SEPARATOR();
}
static void write_color_profile(GString *outstr, gint indent)
if (READ_BOOL(*options, save_dialog_window_positions)) continue;
if (READ_BOOL(*options, show_window_ids)) continue;
if (READ_BOOL(*options, expand_menu_toolbar)) continue;
+ if (READ_BOOL(*options, hamburger_menu)) continue;
if (READ_INT(*options, log_window_lines)) continue;
if (READ_BOOL(*options, log_window.timer_data)) continue;
/* GPU - see main.cc */
if (READ_BOOL(*options, override_disable_gpu)) continue;
+ /* Alternative similarity algorithm */
+ if (READ_BOOL(*options, alternate_similarity_algorithm.enabled)) continue;
+ if (READ_BOOL(*options, alternate_similarity_algorithm.grayscale)) continue;
+
/* Dummy options */
if (READ_DUMMY(*options, image.dither_quality, "deprecated since 2012-08-13")) continue;