[Xfce4-commits] r23394 - in xarchiver/branches/xarchiver-psybsd: libxarchiver src

Stephan Arts stephan at xfce.org
Fri Oct 13 09:51:33 UTC 2006


Author: stephan
Date: 2006-10-13 09:51:33 +0000 (Fri, 13 Oct 2006)
New Revision: 23394

Modified:
   xarchiver/branches/xarchiver-psybsd/libxarchiver/slist.h
   xarchiver/branches/xarchiver-psybsd/src/main_window.c
Log:
Fixed small stuff


Modified: xarchiver/branches/xarchiver-psybsd/libxarchiver/slist.h
===================================================================
--- xarchiver/branches/xarchiver-psybsd/libxarchiver/slist.h	2006-10-13 09:47:57 UTC (rev 23393)
+++ xarchiver/branches/xarchiver-psybsd/libxarchiver/slist.h	2006-10-13 09:51:33 UTC (rev 23394)
@@ -1,3 +1,5 @@
+#ifndef __LXA_SLIST_H__
+#define __LXA_SLIST_H__
 
 typedef struct _LXASList LXASList;
 
@@ -15,3 +17,4 @@
 void
 lxa_slist_free(LXASList *list);
 
+#endif /* __LXA_SLIST_H__ */

Modified: xarchiver/branches/xarchiver-psybsd/src/main_window.c
===================================================================
--- xarchiver/branches/xarchiver-psybsd/src/main_window.c	2006-10-13 09:47:57 UTC (rev 23393)
+++ xarchiver/branches/xarchiver-psybsd/src/main_window.c	2006-10-13 09:51:33 UTC (rev 23394)
@@ -706,6 +706,11 @@
 	GtkTreeModel *liststore = window->treemodel;
 	LXAArchive *archive = window->lp_xa_archive;
 	gint x = 0;
+
+	GValue *value = g_new0(GValue, 1);
+	value = g_value_init(value, G_TYPE_UINT);
+	g_value_set_uint(value, GTK_ICON_SIZE_MENU);
+
 	GList *columns = gtk_tree_view_get_columns(GTK_TREE_VIEW(window->treeview));
 	gboolean show_only_filenames = FALSE;
 	while(columns)
@@ -717,6 +722,7 @@
 
 	column = gtk_tree_view_column_new();
 	renderer = gtk_cell_renderer_pixbuf_new();
+	g_object_set_property(G_OBJECT(renderer), "stock-size", value);
 	gtk_tree_view_column_pack_start(column, renderer, FALSE);
 	gtk_tree_view_column_set_attributes(column, renderer, "icon-name", 0, NULL);
 



More information about the Xfce4-commits mailing list