[pitivi] encodingdialog: Use set_uri/set_current_name
- From: Edward Hervey <edwardrv src gnome org>
- To: svn-commits-list gnome org
- Subject: [pitivi] encodingdialog: Use set_uri/set_current_name
- Date: Tue, 5 May 2009 12:29:12 -0400 (EDT)
commit f0bee400cdfabd6fc6b23f13e17a8f664af926de
Author: Edward Hervey <bilboed bilboed com>
Date: Tue May 5 18:41:40 2009 +0200
encodingdialog: Use set_uri/set_current_name
This makes it in sync with the get_uri method we use to get the
currently set location.
---
pitivi/ui/encodingdialog.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/pitivi/ui/encodingdialog.py b/pitivi/ui/encodingdialog.py
index f99e4aa..8f4bf77 100644
--- a/pitivi/ui/encodingdialog.py
+++ b/pitivi/ui/encodingdialog.py
@@ -92,7 +92,8 @@ class EncodingDialog(GladeWindow, Loggable):
gtk.STOCK_OK, gtk.RESPONSE_ACCEPT),
action=gtk.FILE_CHOOSER_ACTION_SAVE)
if self.outfile:
- dialog.set_current_name(self.outfile)
+ dialog.set_uri(self.outfile)
+ dialog.set_current_name(os.path.basename(self.outfile))
res = dialog.run()
dialog.hide()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]