Hide License Button only on Windows

This commit is contained in:
Philipp Hörist 2017-09-02 12:07:14 +02:00
parent 5837c47088
commit a462af555b
1 changed files with 3 additions and 1 deletions

View File

@ -1329,7 +1329,9 @@ class AboutDialog(Gtk.AboutDialog):
self.show_all()
# GTK Bug, We have to manually hide the License Button
self.get_action_area().get_children()[1].hide()
# Bug exists only on Windows
if os.name == 'nt':
self.get_action_area().get_children()[1].hide()
class Dialog(Gtk.Dialog):