advanced_exif_update(ew);
}
+#if 0
static void advanced_exif_row_toggled_cb(GtkCellRendererToggle *toggle, const gchar *path, gpointer data)
{
GtkWidget *listview = data;
g_free(name);
}
+#endif
+#if 0
static void advanced_exif_add_column_check(GtkWidget *listview, const gchar *title, gint n)
{
GtkTreeViewColumn *column;
g_signal_connect(G_OBJECT(renderer), "toggled",
G_CALLBACK(advanced_exif_row_toggled_cb), listview);
}
+#endif
static void advanced_exif_add_column(GtkWidget *listview, const gchar *title, gint n, gint sizable)
{
gtk_tree_view_set_search_column(GTK_TREE_VIEW(ew->listview), EXIF_ADVCOL_NAME);
- advanced_exif_add_column_check(ew->listview, "", EXIF_ADVCOL_ENABLED);
+// advanced_exif_add_column_check(ew->listview, "", EXIF_ADVCOL_ENABLED);
advanced_exif_add_column(ew->listview, _("Description"), EXIF_ADVCOL_DESCRIPTION, FALSE);
advanced_exif_add_column(ew->listview, _("Value"), EXIF_ADVCOL_VALUE, TRUE);
#ifndef BAR_EXIF_H
#define BAR_EXIF_H
-#define EXIF_UI_OFF 0
-#define EXIF_UI_IFSET 1
-#define EXIF_UI_ON 2
-
-typedef struct _ExifUI ExifUI;
-struct _ExifUI {
- gint current;
- gint temp;
- gint default_value;
- const gchar *key;
-};
-extern ExifUI ExifUIList[];
-
-#define EXIF_BAR_CUSTOM_COUNT 20
-
-
GtkWidget *bar_pane_exif_new(const gchar *title, gboolean expanded, gboolean populate);
GtkWidget *bar_pane_exif_new_from_config(const gchar **attribute_names, const gchar **attribute_values);
void bar_pane_exif_entry_add_from_config(GtkWidget *pane, const gchar **attribute_names, const gchar **attribute_values);
options->shell.path = g_strdup(GQ_DEFAULT_SHELL_PATH);
options->shell.options = g_strdup(GQ_DEFAULT_SHELL_OPTIONS);
-
+
+#if 0
for (i = 0; ExifUIList[i].key; i++)
ExifUIList[i].current = ExifUIList[i].default_value;
+#endif
}
void copy_layout_options(LayoutOptions *dest, const LayoutOptions *src)
if (!fd) return;
pan_text_alignment_add(ta, NULL, NULL);
-
+#if 0
for (i = 0; ExifUIList[i].key; i++)
{
gchar *label;
g_free(text);
}
}
+#endif
}
+
static void pan_info_update(PanWindow *pw, PanItem *pi)
{
PanTextAlignment *ta;
config_entry_to_option(color_profile_screen_file_entry, &options->color_profile.screen_file, NULL);
#endif
+#if 0
for (i = 0; ExifUIList[i].key; i++)
{
ExifUIList[i].current = ExifUIList[i].temp;
}
+#endif
{
gchar *layout_order = layout_config_get(layout_widget, &new_style);
table = pref_table_new(group, 2, 2, FALSE, FALSE);
+#if 0
for (i = 0; ExifUIList[i].key; i++)
{
gchar *title;
&ExifUIList[i].temp);
g_free(title);
}
+#endif
}
/* advanced entry tab */