[pitivi] filelisterrordialog: Make _addFileExpander a private static method.
- From: Jean-François Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] filelisterrordialog: Make _addFileExpander a private static method.
- Date: Wed, 8 Jan 2014 18:39:14 +0000 (UTC)
commit cb2c48956e99366e7fde08f1c0a65e02224b799b
Author: Mathieu Duponchelle <mduponchelle1 gmail com>
Date: Thu Dec 26 15:45:38 2013 +0100
filelisterrordialog: Make _addFileExpander a private static method.
pitivi/dialogs/filelisterrordialog.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/dialogs/filelisterrordialog.py b/pitivi/dialogs/filelisterrordialog.py
index ca529c8..f1a2f49 100644
--- a/pitivi/dialogs/filelisterrordialog.py
+++ b/pitivi/dialogs/filelisterrordialog.py
@@ -61,13 +61,14 @@ class FileListErrorDialog(Signallable, Loggable):
discovered
"""
self.debug("Uri: %s, reason: %s, extra: %s", uri, reason, extra)
- exp = self._createFileExpander(uri, reason, extra)
+ exp = self.__createFileExpander(uri, reason, extra)
self.errorvbox.pack_start(exp, False, False, 0)
if len(self.errorvbox.get_children()) < 3:
exp.set_expanded(True) # Let's save the user some clicks
exp.show_all()
- def _createFileExpander(self, uri, reason, extra=None):
+ @staticmethod
+ def __createFileExpander(uri, reason, extra=None):
if uri:
if uri.startswith("file://"):
uri = uri[7:]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]