Commit 92abfa8b authored by Philipp Hörist's avatar Philipp Hörist
Browse files

PEPConfig: Rename class

parent c0228af4
......@@ -162,7 +162,7 @@ def on_import_contacts(_action, param):
def on_pep_config(_action, param):
account = param.get_string()
open_window('ManagePEPServicesWindow', account=account)
open_window('PEPConfig', account=account)
def on_mam_preferences(_action, param):
......
......@@ -120,7 +120,7 @@ def __str__(self):
'BlockingList': 'gajim.gtk.blocking',
'XMLConsoleWindow': 'gajim.gtk.xml_console',
'GroupchatJoin': 'gajim.gtk.groupchat_join',
'ManagePEPServicesWindow': 'gajim.gtk.pep_config',
'PEPConfig': 'gajim.gtk.pep_config',
'HistoryManager': 'gajim.history_manager',
'GroupchatConfig': 'gajim.gtk.groupchat_config',
'ProfileWindow': 'gajim.gtk.profile',
......
......@@ -28,14 +28,14 @@
from gajim.gtk.util import EventHelper
class ManagePEPServicesWindow(Gtk.ApplicationWindow, EventHelper):
class PEPConfig(Gtk.ApplicationWindow, EventHelper):
def __init__(self, account):
Gtk.ApplicationWindow.__init__(self)
EventHelper.__init__(self)
self.set_application(app.app)
self.set_position(Gtk.WindowPosition.CENTER)
self.set_show_menubar(False)
self.set_name('ManagePEPServicesWindow')
self.set_name('PEPConfig')
self.set_default_size(300, 350)
self.set_resizable(True)
self.set_transient_for(app.interface.roster.window)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment