## Description: add some description ## Origin/Author: add some origin or author ## Bug: bug URL Index: totem-3.0.1/configure.in =================================================================== --- totem-3.0.1.orig/configure.in 2012-04-04 00:46:16.000000000 +0300 +++ totem-3.0.1/configure.in 2012-04-04 00:48:03.268422613 +0300 @@ -395,11 +395,6 @@ add_plugin="1" case ${plugin} in - coherence_upnp) - # The Coherence framework still uses PyGTK, and thus conflicts with the new pygobject introspected bindings - plugin_error_or_ignore "the coherence_upnp plugin uses PyGTK and conflicts with the new pygobject bindings" - add_plugin="0" - ;; gromit) if test "${have_x11}" != "yes" ; then plugin_error_or_ignore "the gromit plugin is not supported on non-X11 targets" Index: totem-3.0.1/src/plugins/coherence_upnp/coherence_upnp.py =================================================================== --- totem-3.0.1.orig/src/plugins/coherence_upnp/coherence_upnp.py 2012-04-04 00:46:16.000000000 +0300 +++ totem-3.0.1/src/plugins/coherence_upnp/coherence_upnp.py 2012-04-04 00:10:57.072488390 +0300 @@ -12,6 +12,7 @@ from coherence.ui.av_widgets import TreeWidget from coherence.ui.av_widgets import UDN_COLUMN,UPNP_CLASS_COLUMN,SERVICE_COLUMN +import gettext gettext.textdomain("totem") @@ -28,11 +29,11 @@ self.totem_object = None self.ui = TreeWidget() - self.ui.window.set_shadow_type(gtk.SHADOW_IN) + self.ui.window.set_shadow_type(Gtk.ShadowType.IN) self.ui.cb_item_right_click = self.button_pressed self.ui.window.show_all() selection = self.ui.treeview.get_selection() - selection.set_mode(gtk.SELECTION_MULTIPLE) + selection.set_mode(Gtk.SelectionMode.MULTIPLE) def button_pressed(self, widget, event): if event.button == 3: @@ -82,30 +83,30 @@ self.totem_object.action_remote(totem.REMOTE_COMMAND_PLAY,url) if not hasattr(self, 'context_no_delete'): - self.context_no_delete = gtk.Menu() + self.context_no_delete = Gtk.Menu() # Translators: this refers to a media file - play_menu = gtk.MenuItem(_(u"Play")) + play_menu = Gtk.MenuItem(_(u"Play")) play_menu.connect("activate", action, 'item.play') # Translators: this refers to a media file - enqueue_menu = gtk.MenuItem(_(u"Enqueue")) + enqueue_menu = Gtk.MenuItem(_(u"Enqueue")) enqueue_menu.connect("activate", action, 'item.enqueue') self.context_no_delete.append(play_menu) self.context_no_delete.append(enqueue_menu) self.context_no_delete.show_all() if not hasattr(self, 'context_with_delete'): - self.context_with_delete = gtk.Menu() + self.context_with_delete = Gtk.Menu() # Translators: this refers to a media file - play_menu = gtk.MenuItem(_(u"Play")) + play_menu = Gtk.MenuItem(_(u"Play")) play_menu.connect("activate", action, 'item.play') # Translators: this refers to a media file - enqueue_menu = gtk.MenuItem(_(u"Enqueue")) + enqueue_menu = Gtk.MenuItem(_(u"Enqueue")) enqueue_menu.connect("activate", action, 'item.enqueue') self.context_with_delete.append(play_menu) self.context_with_delete.append(enqueue_menu) - self.context_with_delete.append(gtk.SeparatorMenuItem()) + self.context_with_delete.append(Gtk.SeparatorMenuItem()) # Translators: this refers to a media file - menu = gtk.MenuItem(_(u"Delete")) + menu = Gtk.MenuItem(_(u"Delete")) menu.connect("activate", action, 'item.delete') self.context_with_delete.append(menu) self.context_with_delete.show_all()