Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #33 from nwg-piotr/development
Browse files Browse the repository at this point in the history
box containing buttons named `#bar` for styling purposes
  • Loading branch information
nwg-piotr authored Jan 29, 2020
2 parents 50e9afb + 86e7259 commit bb167b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sgtk_menu/bar.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@ def draw(self, widget, context):

def key_pressed(self, window, event):
if event.type == Gdk.EventType.KEY_RELEASE:
print(event.keyval)
# Escape
if event.keyval == 65307:
Gtk.main_quit()
Expand All @@ -245,6 +244,7 @@ def build_bar():
icon_theme = Gtk.IconTheme.get_default()
orientation = Gtk.Orientation.VERTICAL if args.vertical else Gtk.Orientation.HORIZONTAL
box = Gtk.Box(orientation=orientation)
box.set_property("name", "bar")

appendix = load_json(build_from_file)
for entry in appendix:
Expand Down

0 comments on commit bb167b9

Please sign in to comment.