[pitivi: 1/4] Make pitivi -h show pitivi options.



commit 7c1dd0e0901826c418d97d72d8f5551b16f2a0e5
Author: Alessandro Decina <alessandro d gmail com>
Date:   Mon Jul 12 11:42:00 2010 +0200

    Make pitivi -h show pitivi options.

 bin/pitivi.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/bin/pitivi.in b/bin/pitivi.in
index db19ed9..03595cc 100644
--- a/bin/pitivi.in
+++ b/bin/pitivi.in
@@ -121,6 +121,7 @@ def _init_gobject_gtk_gst():
         import pygst
         pygst.require('0.10')
 
+        args, sys.argv[:] = sys.argv[:], sys.argv[0:1]
         import gst
     except ImportError:
         raise SystemExit("Gst-Python couldn't be found!")



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