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



Author: epiotr
Date: Sat Feb 23 22:42:13 2008
New Revision: 1583
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=1583&view=rev

Log:
Revert the bug introduced in rev. #1575

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

Modified: branches/gcmd-1-3/src/gnome-cmd-file-popmenu.cc
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-file-popmenu.cc	(original)
+++ branches/gcmd-1-3/src/gnome-cmd-file-popmenu.cc	Sat Feb 23 22:42:13 2008
@@ -59,18 +59,7 @@
 
 inline void exec_with_app (GList *files, GnomeCmdApp *app)
 {
-    guint selected_files = g_list_length (files);
-
-    if (selected_files==1)
-    {
-        GnomeCmdFile *finfo = (GnomeCmdFile *) files->data;
-        mime_exec_single (finfo);
-        gnome_cmd_app_free (app);
-
-        g_list_free (files);
-    }
-    else
-        mime_exec_multiple (files, app);
+    mime_exec_multiple (files, app);
 }
 
 



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