[pitivi] startupwizard: Add docstrings to public and "protected" methods.
- From: Jean-François Fortin Tam <jfft src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] startupwizard: Add docstrings to public and "protected" methods.
- Date: Wed, 8 Jan 2014 18:38:29 +0000 (UTC)
commit 683ba5f295c883e6886c14df261c7ba90f8390eb
Author: Mathieu Duponchelle <mduponchelle1 gmail com>
Date: Thu Dec 26 14:42:20 2013 +0100
startupwizard: Add docstrings to public and "protected" methods.
pitivi/dialogs/startupwizard.py | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/dialogs/startupwizard.py b/pitivi/dialogs/startupwizard.py
index e5d6efa..0c7bd6c 100644
--- a/pitivi/dialogs/startupwizard.py
+++ b/pitivi/dialogs/startupwizard.py
@@ -103,6 +103,7 @@ class StartUpWizard(object):
self.app.gui.openProject()
def _onMissingDepsButtonClickedCb(self, unused_button):
+ """Handle a click on the Missing Deps button."""
DepsManager(self.app, parent_window=self.window)
def _userManualCb(self, unused_button):
@@ -118,11 +119,13 @@ class StartUpWizard(object):
self.app.projectManager.newBlankProject()
def show(self):
+ """Will show the interal window and position the wizard"""
self.window.set_transient_for(self.app.gui)
self.window.set_position(Gtk.WindowPosition.CENTER_ON_PARENT)
self.window.show()
def hide(self):
+ """Will hide the internal window"""
self.window.hide()
def _projectFailedCb(self, unused_project_manager, unused_uri,
@@ -146,6 +149,7 @@ class StartUpWizard(object):
self.hide()
def _appVersionInfoReceivedCb(self, unused_pitivi, version):
+ """Handle version info"""
# current version, don't show message
if version["status"].upper() == "CURRENT":
return
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]