[Xfce4-commits] r23212 - xarchiver/branches/xarchiver-psybsd/src
Stephan Arts
stephan at xfce.org
Tue Sep 26 12:46:33 UTC 2006
Author: stephan
Date: 2006-09-26 12:46:32 +0000 (Tue, 26 Sep 2006)
New Revision: 23212
Modified:
xarchiver/branches/xarchiver-psybsd/src/main_window.c
Log:
Fixed icon-theme-change stuff. (really)
Modified: xarchiver/branches/xarchiver-psybsd/src/main_window.c
===================================================================
--- xarchiver/branches/xarchiver-psybsd/src/main_window.c 2006-09-26 11:05:02 UTC (rev 23211)
+++ xarchiver/branches/xarchiver-psybsd/src/main_window.c 2006-09-26 12:46:32 UTC (rev 23212)
@@ -770,12 +770,8 @@
if(props)
{
props_iter = props;
- if(main_window->props._show_icons)
- column_number = archive->column_number;
- else
- column_number = archive->column_number - 1;
- for(; i < column_number; i++)
+ for(i=1; i < archive->column_number; i++)
{
tmp_value = g_new0(GValue, 1);
tmp_value = g_value_init(tmp_value, archive->column_types[i]);
@@ -794,7 +790,10 @@
props_iter += sizeof(guint64);
break;
}
- gtk_list_store_set_value(GTK_LIST_STORE(liststore), &iter, i+1, tmp_value);
+ if(main_window->props._show_icons)
+ gtk_list_store_set_value(GTK_LIST_STORE(liststore), &iter, i+1, tmp_value);
+ else
+ gtk_list_store_set_value(GTK_LIST_STORE(liststore), &iter, i, tmp_value);
g_free(tmp_value);
}
}
More information about the Xfce4-commits
mailing list