Changeset 5699


Ignore:
Timestamp:
Aug 10, 2017, 2:58:06 PM (22 months ago)
Author:
hectorgh
Message:

adding enter_key support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-freeradius/trunk/fuentes/install/usr/share/lliurex-freeradius/LliurexFreeradius.py

    r5697 r5699  
    169169                self.login_button.connect("clicked",self.login_clicked)
    170170               
     171                self.user_entry.connect("activate",self.entries_press_event)
     172                self.password_entry.connect("activate",self.entries_press_event)
     173                self.server_entry.connect("activate",self.entries_press_event)
     174
    171175                self.help_window.connect("delete_event",self.help_window_closed)
    172176                self.llum_button.connect("clicked",self.open_llum_clicked)
     
    386390        #def check_initialize_input_data
    387391       
     392
     393        def entries_press_event(self,widget):
     394
     395                self.login_clicked(None,None)
     396
     397        #def login_clicked
     398
    388399       
    389400        def login_clicked(self,widget):
     
    394405                               
    395406                self.n4d.set_server(server)
    396                
    397                 user="lliurex"
    398                 password="lliurex"
    399                
    400407                self.run_validate_user(user,password)
    401408               
Note: See TracChangeset for help on using the changeset viewer.