[Xfce4-commits] r23206 - xarchiver/branches/xarchiver-psybsd/src
Stephan Arts
stephan at xfce.org
Mon Sep 25 14:30:45 UTC 2006
Author: stephan
Date: 2006-09-25 14:30:44 +0000 (Mon, 25 Sep 2006)
New Revision: 23206
Modified:
xarchiver/branches/xarchiver-psybsd/src/main_window.c
Log:
fixed an issue with displayed columns.
Modified: xarchiver/branches/xarchiver-psybsd/src/main_window.c
===================================================================
--- xarchiver/branches/xarchiver-psybsd/src/main_window.c 2006-09-25 14:27:01 UTC (rev 23205)
+++ xarchiver/branches/xarchiver-psybsd/src/main_window.c 2006-09-25 14:30:44 UTC (rev 23206)
@@ -702,6 +702,7 @@
GValue *tmp_value;
gpointer props;
gpointer props_iter;
+ gint column_number;
gtk_list_store_clear(GTK_LIST_STORE(liststore));
@@ -729,7 +730,12 @@
if(props)
{
props_iter = props;
- for(; i < archive->column_number-1; i++)
+ if(main_window->props._show_icons)
+ column_number = archive->column_number;
+ else
+ column_number = archive->column_number - 1;
+
+ for(; i < column_number; i++)
{
tmp_value = g_new0(GValue, 1);
tmp_value = g_value_init(tmp_value, archive->column_types[i]);
More information about the Xfce4-commits
mailing list