Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion po/POTFILES
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
src/Plug.vala
src/MainView.vala
src/PairDialog.vala
src/DeviceRow.vala
src/Services/Manager.vala
src/Services/Device.vala
Expand Down
130 changes: 0 additions & 130 deletions src/PairDialog.vala

This file was deleted.

2 changes: 0 additions & 2 deletions src/Plug.vala
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,11 @@ public class Bluetooth.Plug : Switchboard.Plug {
}

public override void shown () {
manager.register_agent.begin (main_view.get_root () as Gtk.Window);
manager.set_global_state.begin (true); /* Also sets discoverable true and starts discovery */
}

public override void hidden () {
Application.get_default ().hold ();
manager.unregister_agent.begin ();
manager.discoverable = false; /* Does not change is_powered or connections*/
manager.stop_discovery.begin (() => {
Application.get_default ().release ();
Expand Down
165 changes: 0 additions & 165 deletions src/Services/Agent.vala

This file was deleted.

Loading