Philipp Hörist pushed to branch master at gajim / gajim
Commits:
209fa4c9 by Philipp Hörist at 2017-06-11T22:54:15+02:00
Dont set scrollbar policy in GC config window
This crashes Gajim on Windows.
Its to be investigated why this happens and how we can avoid it.
- - - - -
1 changed file:
- src/config.py
Changes:
=====================================
src/config.py
=====================================
--- a/src/config.py
+++ b/src/config.py
@@ -2935,7 +2935,6 @@ class GroupchatConfigWindow:
self.affiliation_treeview[affiliation].append_column(col)
sw = Gtk.ScrolledWindow()
- sw.set_policy(Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.NEVER)
sw.add(self.affiliation_treeview[affiliation])
add_on_vbox.pack_start(sw, True, True, 0)
gajim.connections[self.account].get_affiliation_list(self.room_jid,
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/209fa4c92634cdd86ee6ae25b34c3ab636…
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
c8115e41 by Philipp Hörist at 2017-06-08T23:34:03+02:00
Set transient for ErrorDialog
Fixes #8649
- - - - -
1 changed file:
- src/adhoc_commands.py
Changes:
=====================================
src/adhoc_commands.py
=====================================
--- a/src/adhoc_commands.py
+++ b/src/adhoc_commands.py
@@ -367,8 +367,10 @@ class CommandWindow:
if self.data_form_widget.get_data_form():
df = self.data_form_widget.get_data_form()
if not df.is_valid():
- dialogs.ErrorDialog(_('Invalid Form'),
- _('The form is not filled correctly.'))
+ dialogs.ErrorDialog(
+ _('Invalid Form'),
+ _('The form is not filled correctly.'),
+ transient_for=self.window)
self.data_form_widget.set_sensitive(True)
return
self.data_form_widget.data_form.type_ = 'submit'
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/c8115e4164496da3527486507cb0c0acb8…