~ubuntu-branches/ubuntu/quantal/rhythmbox/quantal-proposed

« back to all changes in this revision

Viewing changes to plugins/magnatune/magnatune.py

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher, Rico Tzschichholz
  • Date: 2011-12-05 19:31:23 UTC
  • mfrom: (1.1.60)
  • Revision ID: package-import@ubuntu.com-20111205193123-89047p8yplb0w1vx
Tags: 2.90.1~20111126.89c872b0-0ubuntu1
* Upload the new version to Ubuntu, should solve those issues:
  - the lack of rhythmbox-client command (lp: #875064)
  - the music sharing preferences dialog (lp: #894153)
  - several segfaults (lp: #859195, #814614)
* debian/control.in:
  - let the rhythmbox gir depends on gir1.2-peas-1.0 (lp: #874973)

[ Rico Tzschichholz ]
* New upstream git snapshot

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
 
41
41
from MagnatuneSource import MagnatuneSource
42
42
 
 
43
import gettext
 
44
gettext.install('rhythmbox', RB.locale_dir())
 
45
 
43
46
popup_ui = """
44
47
<ui>
45
48
  <popup name="MagnatuneSourceViewPopup">
108
111
                # Add the popup menu actions
109
112
                self.action_group = Gtk.ActionGroup(name='MagnatunePluginActions')
110
113
 
111
 
                action = Gtk.Action(name='MagnatuneDownloadAlbum', label=_('Download Album'),
 
114
                action = Gtk.Action(name='MagnatuneDownloadAlbum', label=_("Download Album"),
112
115
                                tooltip=_("Download this album from Magnatune"),
113
116
                                stock_id='gtk-save')
114
117
                action.connect('activate', lambda a: shell.props.selected_page.download_album())
115
118
                self.action_group.add_action(action)
116
 
                action = Gtk.Action(name='MagnatuneArtistInfo', label=_('Artist Information'),
 
119
                action = Gtk.Action(name='MagnatuneArtistInfo', label=_("Artist Information"),
117
120
                                tooltip=_("Get information about this artist"),
118
121
                                stock_id='gtk-info')
119
122
                action.connect('activate', lambda a: shell.props.selected_page.display_artist_info())
120
123
                self.action_group.add_action(action)
121
 
                action = Gtk.Action(name='MagnatuneCancelDownload', label=_('Cancel Downloads'),
 
124
                action = Gtk.Action(name='MagnatuneCancelDownload', label=_("Cancel Downloads"),
122
125
                                tooltip=_("Stop downloading purchased albums"),
123
126
                                stock_id='gtk-stop')
124
127
                action.connect('activate', lambda a: shell.props.selected_page.cancel_downloads())