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

Commit

Permalink
sample custom menus and css
Browse files Browse the repository at this point in the history
  • Loading branch information
nwg-piotr committed Jan 21, 2020
1 parent 99c7aac commit de97b6e
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1 @@
recursive-include sgtk-menu/json *
recursive-include sgtk-menu/config *
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 3 additions & 2 deletions sgtk-menu/sgtk-bar.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def main():

global build_from_file

parser = argparse.ArgumentParser(description="GTK menu for sway, i3 and some floating WMs")
parser = argparse.ArgumentParser(description="Button bar for sgtk-menu")
placement = parser.add_mutually_exclusive_group()

parser.add_argument("-bf", type=str, help="build from file (default: {})".format(build_from_file))
Expand Down Expand Up @@ -158,7 +158,7 @@ def main():

win.set_skip_taskbar_hint(True)

win.button_bar.set_property("name", "menu")
win.button_bar.set_property("name", "button")

global menu_items_list
menu_items_list = win.button_bar.get_children()
Expand Down Expand Up @@ -307,6 +307,7 @@ def build_bar():

button = Gtk.Button()
button.set_property("name", "button")
button.set_always_show_image(True)
button.set_image(image)
button.set_image_position(Gtk.PositionType.TOP)
button.set_label(name)
Expand Down

0 comments on commit de97b6e

Please sign in to comment.