Don't set window decorations

This works ootb with recent GTK versions now.
The workaround we used creates problems when run in HiDPI
(the window is misplaced and its size is twice larger).
This commit is contained in:
Clement Lefebvre 2018-05-31 12:56:16 +01:00
parent 45faa83e52
commit 9f22254425

View File

@ -57,9 +57,6 @@ class MainWindow( object ):
builder = Gtk.Builder()
builder.add_from_file(os.path.join( self.path, "mintMenu.glade" ))
self.window = builder.get_object( "mainWindow" )
self.window.realize()
self.window.get_window().set_decorations(Gdk.WMDecoration.BORDER)
self.window.set_title("")
self.paneholder = builder.get_object( "paneholder" )
builder.connect_signals(self)