Disable resizing in GroupchatInvitationReceived

This commit is contained in:
Daniel Brötzmann 2019-04-19 11:45:21 +02:00 committed by Philipp Hörist
parent b2b249c60b
commit 24352b57c7
2 changed files with 3 additions and 2 deletions

View File

@ -15,7 +15,7 @@
<property name="label">&lt;b&gt;contact/jid&lt;/b&gt; has invited you to the group chat &lt;b&gt;muc.jid&lt;/b&gt;</property>
<property name="use_markup">True</property>
<property name="wrap">True</property>
<property name="max_width_chars">70</property>
<property name="max_width_chars">50</property>
<property name="xalign">0</property>
</object>
<packing>
@ -138,7 +138,7 @@
<property name="no_show_all">True</property>
<property name="label">&lt;comment&gt;</property>
<property name="wrap">True</property>
<property name="max_width_chars">70</property>
<property name="max_width_chars">50</property>
<property name="xalign">0</property>
</object>
<packing>

View File

@ -1006,6 +1006,7 @@ class InvitationReceivedDialog(Gtk.ApplicationWindow):
self.set_name('InvitationReceivedDialog')
self.set_application(app.app)
self.set_position(Gtk.WindowPosition.CENTER)
self.set_resizable(False)
self.set_show_menubar(False)
self.set_title(_('Group Chat Invitation '))