Revision: 1449
          http://geeqie.svn.sourceforge.net/geeqie/?rev=1449&view=rev
Author:   nadvornik
Date:     2009-03-01 13:37:30 +0000 (Sun, 01 Mar 2009)

Log Message:
-----------
dropped ExifUIList

Modified Paths:
--------------
    trunk/src/advanced_exif.c
    trunk/src/bar_exif.h
    trunk/src/options.c
    trunk/src/pan-view.c
    trunk/src/preferences.c

Modified: trunk/src/advanced_exif.c
===================================================================
--- trunk/src/advanced_exif.c   2009-03-01 11:59:32 UTC (rev 1448)
+++ trunk/src/advanced_exif.c   2009-03-01 13:37:30 UTC (rev 1449)
@@ -161,6 +161,7 @@
        advanced_exif_update(ew);
 }
 
+#if 0
 static void advanced_exif_row_toggled_cb(GtkCellRendererToggle *toggle, const 
gchar *path, gpointer data)
 {
        GtkWidget *listview = data;
@@ -199,7 +200,9 @@
 
        g_free(name);
 }
+#endif 
 
+#if 0
 static void advanced_exif_add_column_check(GtkWidget *listview, const gchar 
*title, gint n)
 {
        GtkTreeViewColumn *column;
@@ -217,6 +220,7 @@
        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)
 {
@@ -297,7 +301,7 @@
 
        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);

Modified: trunk/src/bar_exif.h
===================================================================
--- trunk/src/bar_exif.h        2009-03-01 11:59:32 UTC (rev 1448)
+++ trunk/src/bar_exif.h        2009-03-01 13:37:30 UTC (rev 1449)
@@ -14,22 +14,6 @@
 #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);

Modified: trunk/src/options.c
===================================================================
--- trunk/src/options.c 2009-03-01 11:59:32 UTC (rev 1448)
+++ trunk/src/options.c 2009-03-01 13:37:30 UTC (rev 1449)
@@ -185,9 +185,11 @@
 
        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)

Modified: trunk/src/pan-view.c
===================================================================
--- trunk/src/pan-view.c        2009-03-01 11:59:32 UTC (rev 1448)
+++ trunk/src/pan-view.c        2009-03-01 13:37:30 UTC (rev 1449)
@@ -1437,7 +1437,7 @@
        if (!fd) return;
 
        pan_text_alignment_add(ta, NULL, NULL);
-
+#if 0
        for (i = 0; ExifUIList[i].key; i++)
                {
                gchar *label;
@@ -1481,8 +1481,10 @@
                        g_free(text);
                        }
                }
+#endif
 }
 
+
 static void pan_info_update(PanWindow *pw, PanItem *pi)
 {
        PanTextAlignment *ta;

Modified: trunk/src/preferences.c
===================================================================
--- trunk/src/preferences.c     2009-03-01 11:59:32 UTC (rev 1448)
+++ trunk/src/preferences.c     2009-03-01 13:37:30 UTC (rev 1449)
@@ -361,11 +361,13 @@
        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);
 
@@ -1489,6 +1491,7 @@
 
        table = pref_table_new(group, 2, 2, FALSE, FALSE);
 
+#if 0
        for (i = 0; ExifUIList[i].key; i++)
                {
                gchar *title;
@@ -1498,6 +1501,7 @@
                          &ExifUIList[i].temp);
                g_free(title);
                }
+#endif
 }
 
 /* advanced entry tab */


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn

Reply via email to