Skip to content

Commit

Permalink
disable bar_tab on sway, too!
Browse files Browse the repository at this point in the history
  • Loading branch information
nwg-piotr committed Oct 16, 2024
1 parent a4747ca commit c277421
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions nwg_shell_config/main_sway.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,9 @@ def preset_menu(preset_id):
row.eb.connect("button-press-event", set_up_dock_tab, preset, preset_name)
list_box.add(row)

row = SideMenuRow(voc["exit-menu"], margin_start=18)
row.eb.connect("button-press-event", set_up_bar_tab, preset, preset_name)
list_box.add(row)
# row = SideMenuRow(voc["exit-menu"], margin_start=18)
# row.eb.connect("button-press-event", set_up_bar_tab, preset, preset_name)
# list_box.add(row)

row = SideMenuRow(voc["notifications"], margin_start=18)
row.eb.connect("button-press-event", set_up_notification_tab, preset, preset_name)
Expand Down Expand Up @@ -363,12 +363,12 @@ def set_up_dock_tab(event_box, event_button, preset, preset_name):
grid.attach(content, 1, 0, 1, 1)


def set_up_bar_tab(event_box, event_button, preset, preset_name):
hide_submenus()
global content
content.destroy()
content = bar_tab(preset, preset_name, voc)
grid.attach(content, 1, 0, 1, 1)
# def set_up_bar_tab(event_box, event_button, preset, preset_name):
# hide_submenus()
# global content
# content.destroy()
# content = bar_tab(preset, preset_name, voc)
# grid.attach(content, 1, 0, 1, 1)


def set_up_notification_tab(event_box, event_button, preset, preset_name):
Expand Down

0 comments on commit c277421

Please sign in to comment.