fix display of preferences window from coverart browser - issue #9
Esse commit está contido em:
@@ -197,12 +197,13 @@ class SearchPreferences(GObject.Object, PeasGtk.Configurable):
|
||||
def display_preferences_dialog(self, plugin):
|
||||
if self._first_run:
|
||||
self._first_run = False
|
||||
#self._dialog = Gtk.Dialog(_('Search Preferences'), None,
|
||||
# Gtk.DialogFlags.MODAL | Gtk.DialogFlags.DESTROY_WITH_PARENT, (Gtk.STOCK_OK, Gtk.ResponseType.OK))
|
||||
|
||||
cl = CoverLocale()
|
||||
cl.switch_locale(cl.Locale.LOCALE_DOMAIN)
|
||||
|
||||
self._dialog = Gtk.Dialog(modal=True, destroy_with_parent=True)
|
||||
self._dialog.add_button(Gtk.STOCK_OK, Gtk.ResponseType.OK)
|
||||
self._dialog.set_title(_('Search Preferences'))
|
||||
self._dialog.set_title(_('CoverArt Browser Search Providers'))
|
||||
|
||||
content_area = self._dialog.get_content_area()
|
||||
content_area.pack_start(self._create_display_contents(plugin), True, True, 0)
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário