diff options
-rwxr-xr-x | bin/draknetprofile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/draknetprofile b/bin/draknetprofile index 13ceabc..f06d8b7 100755 --- a/bin/draknetprofile +++ b/bin/draknetprofile @@ -177,9 +177,9 @@ gtkadd($w->{window}, 0, gtknew('WrappedLabel', text => N("This tool allows to activate an existing network profile, and to manage (clone, delete) profiles.") . "\n\n" . N("To modify a profile, you have to activate it first.")), 1, gtknew('ScrolledWindow', width => 300, height => 150, child => $profiles_list), 0, gtknew('HButtonBox', children_loose => [ - $buttons{activate} = gtknew('Button', text => N("Activate"), clicked => \&set_selected_profile), - $buttons{clone} = gtknew('Button', text => N("Clone"), clicked => \&clone_profile), - $buttons{delete} = gtknew('Button', text => N("Delete"), clicked => \&delete_selected_profile), + $buttons{activate} = gtknew('Button', text => N("Activate"), clicked => \&set_selected_profile, sensitive => 0), + $buttons{clone} = gtknew('Button', text => N("Clone"), clicked => \&clone_profile, sensitive => 0), + $buttons{delete} = gtknew('Button', text => N("Delete"), clicked => \&delete_selected_profile, sensitive => 0), gtknew('Button', text => N("Quit"), clicked => sub { Gtk2->main_quit }), ]), ]), |