[pitivi] editorperspective: Remove never-used missing-plugins logic
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] editorperspective: Remove never-used missing-plugins logic
- Date: Fri, 23 Nov 2018 13:21:45 +0000 (UTC)
commit 1d4a2ba71654181c361478fedeab0055637ed587
Author: Alexandru Băluț <alexandru balut gmail com>
Date: Tue Nov 20 23:22:25 2018 +0100
editorperspective: Remove never-used missing-plugins logic
pitivi/editorperspective.py | 18 ------------------
1 file changed, 18 deletions(-)
---
diff --git a/pitivi/editorperspective.py b/pitivi/editorperspective.py
index 998ea185..e1610f7f 100644
--- a/pitivi/editorperspective.py
+++ b/pitivi/editorperspective.py
@@ -24,7 +24,6 @@ from urllib.parse import unquote
from gi.repository import Gdk
from gi.repository import GES
from gi.repository import Gio
-from gi.repository import GstPbutils
from gi.repository import Gtk
from pitivi.clipproperties import ClipProperties
@@ -638,29 +637,12 @@ class EditorPerspective(Perspective, Loggable):
return new_uri
def _connectToProject(self, project):
- # FIXME GES we should re-enable this when possible
- # medialibrary.connect("missing-plugins", self._sourceListMissingPluginsCb)
project.connect("project-changed", self._projectChangedCb)
project.connect("rendering-settings-changed",
self._rendering_settings_changed_cb)
project.ges_timeline.connect("notify::duration",
self._timelineDurationChangedCb)
- def _sourceListMissingPluginsCb(
- self, unused_project, unused_uri, unused_factory,
- details, unused_descriptions, missingPluginsCallback):
- res = self._installPlugins(details, missingPluginsCallback)
- return res
-
- def _installPlugins(self, details, missingPluginsCallback):
- context = GstPbutils.InstallPluginsContext()
- if self.app.system.has_x11():
- context.set_xid(self.window.xid)
-
- res = GstPbutils.install_plugins_async(details, context,
- missingPluginsCallback)
- return res
-
def _setProject(self, project):
"""Disconnects and then reconnects callbacks to the specified project.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]