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

Commit

Permalink
technology: Hide tethering button for P2P
Browse files Browse the repository at this point in the history
Tethering P2P is not supported in connman.
  • Loading branch information
Jaakko Hannikainen committed Aug 26, 2015
1 parent d320b6a commit 95b570b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/technology.c
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,9 @@ struct technology_settings *technology_create_settings(struct technology *tech,

gtk_widget_show_all(item->grid);

if(tech->type == CONNECTION_TYPE_P2P)
gtk_widget_hide(item->tethering);

return item;
}

Expand Down

0 comments on commit 95b570b

Please sign in to comment.