Author: colossus Date: 2008-08-08 21:47:51 +0000 (Fri, 08 Aug 2008) New Revision: 27433
Modified: xarchiver/trunk/src/rpm.c xarchiver/trunk/src/window.c Log: Fixed inability to open files in rpm packages with double click or with Open from the popupmenu. Fixed sensitiveness of Delete and Rename poupmenu entries with rpm and deb packages. Modified: xarchiver/trunk/src/rpm.c =================================================================== --- xarchiver/trunk/src/rpm.c 2008-08-08 12:14:35 UTC (rev 27432) +++ xarchiver/trunk/src/rpm.c 2008-08-08 21:47:51 UTC (rev 27433) @@ -239,7 +239,7 @@ g_slist_free(files); chdir (archive->extraction_path); - command = g_strconcat ( "cpio -id" , names->str," -F ",archive->tmp,"/file.cpio",NULL); + command = g_strconcat ( "sh -c \"cpio -id" , names->str," < ",archive->tmp,"/file.cpio\"",NULL); g_string_free(names,TRUE); list = g_slist_append(list,command); Modified: xarchiver/trunk/src/window.c =================================================================== --- xarchiver/trunk/src/window.c 2008-08-08 12:14:35 UTC (rev 27432) +++ xarchiver/trunk/src/window.c 2008-08-08 21:47:51 UTC (rev 27433) @@ -2365,7 +2365,7 @@ gtk_widget_set_sensitive(rrename,FALSE); else gtk_widget_set_sensitive(rrename,TRUE); - if (archive->type == XARCHIVETYPE_BZIP2 || archive->type == XARCHIVETYPE_GZIP) + if (archive->type == XARCHIVETYPE_BZIP2 || archive->type == XARCHIVETYPE_GZIP || archive->type == XARCHIVETYPE_DEB || archive->type == XARCHIVETYPE_RPM) { gtk_widget_set_sensitive(ddelete,FALSE); gtk_widget_set_sensitive(rrename,FALSE); _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits