[pitivi] project.py: don't connect to settings-changed signal of ExportSettings
- From: Edward Hervey <edwardrv src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [pitivi] project.py: don't connect to settings-changed signal of ExportSettings
- Date: Wed, 4 Nov 2009 15:44:13 +0000 (UTC)
commit 04cc1f25e072e55709f99d6f63e97c0c32c52b8a
Author: Brandon Lewis <brandon_lewis berkeley edu>
Date: Mon Oct 19 09:31:55 2009 -0700
project.py: don't connect to settings-changed signal of ExportSettings
pitivi/project.py | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/pitivi/project.py b/pitivi/project.py
index 86e8102..1fc1ca5 100644
--- a/pitivi/project.py
+++ b/pitivi/project.py
@@ -82,7 +82,6 @@ class Project(Signallable, Loggable):
self.sources = SourceList()
self.sources.connect("source-removed", self._sourceRemovedCb)
- self.settingssigid = 0
self._dirty = False
self.timeline = Timeline()
@@ -98,9 +97,6 @@ class Project(Signallable, Loggable):
#{ Settings methods
- def _settingsChangedCb(self, unused_settings):
- self.emit('settings-changed')
-
def getSettings(self):
"""
return the currently configured settings.
@@ -116,12 +112,8 @@ class Project(Signallable, Loggable):
If settings is None, the current settings will be unset
"""
self.log("Setting %s as the project's settings", settings)
- if self.settings:
- self.settings.disconnect(self.settingssigid)
self.settings = settings
self.emit('settings-changed')
- self.settingssigid = self.settings.connect('settings-changed',
- self._settingsChangedCb)
def unsetSettings(self, unused_settings):
""" Remove the currently configured settings."""
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]