mirror of
https://github.com/lakinduakash/linux-wifi-hotspot.git
synced 2024-11-21 19:40:11 +00:00
lock qr button when hotspot is not active
This commit is contained in:
parent
d083bbdecf
commit
6f87753779
@ -608,6 +608,7 @@ void lock_running_views(gboolean set_lock){
|
|||||||
gtk_widget_set_sensitive ((GtkWidget*)button_create_hp, FALSE);
|
gtk_widget_set_sensitive ((GtkWidget*)button_create_hp, FALSE);
|
||||||
|
|
||||||
gtk_widget_set_sensitive ((GtkWidget*)button_stop_hp, TRUE);
|
gtk_widget_set_sensitive ((GtkWidget*)button_stop_hp, TRUE);
|
||||||
|
gtk_widget_set_sensitive ((GtkWidget*)button_qr, TRUE);
|
||||||
|
|
||||||
gtk_widget_set_sensitive ((GtkWidget*)combo_internet, FALSE);
|
gtk_widget_set_sensitive ((GtkWidget*)combo_internet, FALSE);
|
||||||
gtk_widget_set_sensitive ((GtkWidget*)combo_wifi, FALSE);
|
gtk_widget_set_sensitive ((GtkWidget*)combo_wifi, FALSE);
|
||||||
@ -619,6 +620,7 @@ void lock_running_views(gboolean set_lock){
|
|||||||
gtk_widget_set_sensitive ((GtkWidget*)button_create_hp, TRUE);
|
gtk_widget_set_sensitive ((GtkWidget*)button_create_hp, TRUE);
|
||||||
|
|
||||||
gtk_widget_set_sensitive ((GtkWidget*)button_stop_hp, FALSE);
|
gtk_widget_set_sensitive ((GtkWidget*)button_stop_hp, FALSE);
|
||||||
|
gtk_widget_set_sensitive ((GtkWidget*)button_qr, FALSE);
|
||||||
|
|
||||||
gtk_widget_set_sensitive ((GtkWidget*)combo_internet, TRUE);
|
gtk_widget_set_sensitive ((GtkWidget*)combo_internet, TRUE);
|
||||||
gtk_widget_set_sensitive ((GtkWidget*)combo_wifi, TRUE);
|
gtk_widget_set_sensitive ((GtkWidget*)combo_wifi, TRUE);
|
||||||
|
Loading…
Reference in New Issue
Block a user