Commit 10b29765 authored by Philipp Hörist's avatar Philipp Hörist

Add some type hints for some dialogs

This helps the Window Manager decide how to display the window
parent 47a8f53f
Pipeline #6282 passed with stages
in 3 minutes and 59 seconds
......@@ -38,6 +38,7 @@ class GroupchatJoin(Gtk.ApplicationWindow):
self.set_position(Gtk.WindowPosition.CENTER)
self.set_show_menubar(False)
self.set_title(_('Join Group Chat'))
self.set_type_hint(Gdk.WindowTypeHint.DIALOG)
self._destroyed = False
self.account = account
......
......@@ -31,6 +31,7 @@ class ManageProxies(Gtk.ApplicationWindow):
self.set_default_size(500, -1)
self.set_show_menubar(False)
self.set_title(_('Manage Proxies'))
self.set_type_hint(Gdk.WindowTypeHint.DIALOG)
self._ui = get_builder('manage_proxies.ui')
self.add(self._ui.box)
......
......@@ -46,6 +46,7 @@ class ServerInfo(Gtk.ApplicationWindow, EventHelper):
self.set_default_size(400, 600)
self.set_show_menubar(False)
self.set_title(_('Server Info'))
self.set_type_hint(Gdk.WindowTypeHint.DIALOG)
self.account = account
self._destroyed = False
......
......@@ -53,6 +53,7 @@ class StartChatDialog(Gtk.ApplicationWindow):
self.set_position(Gtk.WindowPosition.CENTER)
self.set_show_menubar(False)
self.set_title(_('Start / Join Chat'))
self.set_type_hint(Gdk.WindowTypeHint.DIALOG)
self.set_default_size(-1, 400)
self.ready_to_destroy = False
self._parameter_form = None
......
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