diff --git a/handy/2-headerbar.py b/handy/2-headerbar.py index e3ed258..c825ef0 100644 --- a/handy/2-headerbar.py +++ b/handy/2-headerbar.py @@ -14,20 +14,20 @@ class MyWindow(Handy.Window): self.add(self.handle) # Box - self.box = Gtk.Box(spacing=6, orientation=Gtk.Orientation.VERTICAL) + self.winbox = Gtk.Box(spacing=6, orientation=Gtk.Orientation.VERTICAL) self.handle.add(self.box) # Headerbar self.hb = Handy.HeaderBar() self.hb.set_show_close_button(True) self.hb.props.title = "HeaderBar Example" - self.box.pack_start(self.hb, False, True, 0) + self.winbox.pack_start(self.hb, False, True, 0) # Label self.lbl = Gtk.Label() self.lbl.set_text("Hebele hübele") self.lbl.set_justify(Gtk.Justification.CENTER) - self.box.pack_start(self.lbl, True, True, 0) + self.winbox.pack_start(self.lbl, True, True, 0) win = MyWindow()