Skip to content

Commit

Permalink
ManagerToolbar: Use existing action
Browse files Browse the repository at this point in the history
  • Loading branch information
infirit committed Dec 10, 2022
1 parent a224912 commit 89d007b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion blueman/gui/manager/ManagerToolbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ def __init__(self, blueman: "Blueman") -> None:
self.blueman.List.connect("adapter-property-changed", self.on_adapter_property_changed)

self.b_search = blueman.builder.get_widget("b_search", Gtk.ToolButton)
self.b_search.connect("clicked", lambda button: blueman.inquiry())

self.b_bond = blueman.builder.get_widget("b_bond", Gtk.ToolButton)
self.b_bond.connect("clicked", self.on_action, self.blueman.bond)
Expand Down
1 change: 1 addition & 0 deletions data/ui/manager-main.ui
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@
<property name="can-focus">False</property>
<property name="tooltip-text" translatable="yes">Search for nearby devices</property>
<property name="is-important">True</property>
<property name="action-name">app.search</property>
<property name="label" translatable="yes" comments="translators: toolbar item: keep it as short as possible">Search</property>
<property name="icon-name">edit-find-symbolic</property>
</object>
Expand Down

0 comments on commit 89d007b

Please sign in to comment.