[pitivi] Rename variables with short names



commit 08d91e19d0c2b907a0485f3ef324213c71697422
Author: Alexandru Băluț <alexandru balut gmail com>
Date:   Wed Jan 15 17:53:55 2014 +0100

    Rename variables with short names

 pitivi/mainwindow.py   |    6 +++---
 pitivi/medialibrary.py |    6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/pitivi/mainwindow.py b/pitivi/mainwindow.py
index d1c4cd6..46f1ada 100644
--- a/pitivi/mainwindow.py
+++ b/pitivi/mainwindow.py
@@ -1010,10 +1010,10 @@ class PitiviMainWindow(Gtk.Window, Loggable):
 
         chooser = Gtk.FileChooserWidget(action=Gtk.FileChooserAction.OPEN)
         chooser.set_select_multiple(False)
-        pw = PreviewWidget(self.app)
-        chooser.set_preview_widget(pw)
+        previewer = PreviewWidget(self.app)
+        chooser.set_preview_widget(previewer)
         chooser.set_use_preview_label(False)
-        chooser.connect('update-preview', pw.add_preview_request)
+        chooser.connect('update-preview', previewer.add_preview_request)
         chooser.set_current_folder(self.settings.lastProjectFolder)
         # Use a Gtk FileFilter to only show files with the same extension
         # Note that splitext gives us the extension with the ".", no need to
diff --git a/pitivi/medialibrary.py b/pitivi/medialibrary.py
index 4b81af4..046aa1e 100644
--- a/pitivi/medialibrary.py
+++ b/pitivi/medialibrary.py
@@ -459,10 +459,10 @@ class MediaLibraryWidget(Gtk.VBox, Loggable):
         self._importDialog.set_current_folder(self.app.settings.lastImportFolder)
         self._importDialog.connect('response', self._dialogBoxResponseCb)
         self._importDialog.connect('close', self._dialogBoxCloseCb)
-        pw = PreviewWidget(self.app)
-        self._importDialog.set_preview_widget(pw)
+        previewer = PreviewWidget(self.app)
+        self._importDialog.set_preview_widget(previewer)
         self._importDialog.set_use_preview_label(False)
-        self._importDialog.connect('update-preview', pw.add_preview_request)
+        self._importDialog.connect('update-preview', previewer.add_preview_request)
         # Filter for the "known good" formats by default
         filt_supported = Gtk.FileFilter()
         filt_known = Gtk.FileFilter()


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