gnome-commander r2520 - in trunk: . src



Author: epiotr
Date: Tue Apr  7 17:29:07 2009
New Revision: 2520
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=2520&view=rev

Log:
Refresh file icon after renaming

Modified:
   trunk/ChangeLog
   trunk/src/gnome-cmd-file-list.cc

Modified: trunk/src/gnome-cmd-file-list.cc
==============================================================================
--- trunk/src/gnome-cmd-file-list.cc	(original)
+++ trunk/src/gnome-cmd-file-list.cc	Tue Apr  7 17:29:07 2009
@@ -1492,6 +1492,11 @@
 
     for (gint i=1; i<GnomeCmdFileList::NUM_COLUMNS; i++)
         gtk_clist_set_text (*this, row, i, data.text[i]);
+
+    if (gnome_cmd_data.layout != GNOME_CMD_LAYOUT_TEXT)
+        gtk_clist_set_pixmap (*this, row, 0,
+                              gnome_cmd_file_get_type_pixmap (f),
+                              gnome_cmd_file_get_type_mask (f));
 }
 
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]