Skip to content

Commit

Permalink
Remove header buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
ashuntu committed Aug 11, 2023
1 parent 3cde66f commit 3094e18
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/nvidia32
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,14 @@ def nvidia_missing():

class NvidiaWindow(Gtk.Window):
def __init__(self):
super().__init__(title=TITLE)
super().__init__()
self.set_resizable(False)
self.set_border_width(10)
self.set_position(Gtk.WindowPosition.CENTER)

header = Gtk.HeaderBar(title=TITLE)
self.set_titlebar(header)

self.vbox = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
self.vbox.set_spacing(10)
self.add(self.vbox)
Expand Down

0 comments on commit 3094e18

Please sign in to comment.