Remove USE_HEADER_BAR flag (not working yet, crashes on Ubuntu 14.04

This commit is contained in:
Patrick Ulbrich
2016-04-02 20:37:42 +02:00
parent ceb5ecd0ff
commit aead528f30

View File

@@ -3,7 +3,7 @@
# #
# plugindialog.py # plugindialog.py
# #
# Copyright 2013 - 2015 Patrick Ulbrich <zulu99@gmx.net> # Copyright 2013 - 2016 Patrick Ulbrich <zulu99@gmx.net>
# #
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@@ -29,7 +29,7 @@ class PluginDialog:
def __init__(self, parent, plugin): def __init__(self, parent, plugin):
self._plugin = plugin self._plugin = plugin
flags = Gtk.DialogFlags.MODAL | Gtk.DialogFlags.USE_HEADER_BAR flags = Gtk.DialogFlags.MODAL # | Gtk.DialogFlags.USE_HEADER_BAR
self._window = Gtk.Dialog(_('Plugin Configuration'), parent, flags, \ self._window = Gtk.Dialog(_('Plugin Configuration'), parent, flags, \
(Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL, Gtk.STOCK_OK, Gtk.ResponseType.OK)) (Gtk.STOCK_CANCEL, Gtk.ResponseType.CANCEL, Gtk.STOCK_OK, Gtk.ResponseType.OK))