gnome-commander r2521 - in branches/gcmd-1-3: . src



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

Log:
Refresh file icon after renaming

Modified:
   branches/gcmd-1-3/ChangeLog
   branches/gcmd-1-3/src/gnome-cmd-file-list.cc

Modified: branches/gcmd-1-3/src/gnome-cmd-file-list.cc
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-file-list.cc	(original)
+++ branches/gcmd-1-3/src/gnome-cmd-file-list.cc	Tue Apr  7 17:29:40 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]