Ignore:
Timestamp:
Jun 30, 2017, 9:23:48 AM (2 years ago)
Author:
hectorgh
Message:

fixing n4d calls

Location:
lliurex-shutdowner/trunk/fuentes/lliurex-shutdowner.install/usr/share/lliurex-shutdowner
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • lliurex-shutdowner/trunk/fuentes/lliurex-shutdowner.install/usr/share/lliurex-shutdowner/N4dManager.py

    r5321 r5415  
    7979        def get_client_list(self):
    8080               
    81                 self.client.manual_client_list_check(self.validation,"Shutdowner")
     81                self.client.manual_client_list_check(self.validation,"ShutdownerManager")
    8282                ret=self.client.get_client_list("","VariablesManager")
    8383                #self.dprint(ret)
     
    104104        def set_shutdowner_values(self):
    105105               
    106                 self.client.set_variable(self.validation,"VariablesManager","SHUTDOWNER",self.shutdowner_var)
     106                self.client.save_variable(self.validation,"ShutdownerManager",self.shutdowner_var)
    107107               
    108108        #def set_shutdowner_values
     
    110110        def shutdown_clients(self):
    111111               
    112                 self.client.update_shutdown_signal(self.validation,"Shutdowner")
     112                self.client.update_shutdown_signal(self.validation,"ShutdownerManager")
    113113               
    114114        #def shutdown_clients
  • lliurex-shutdowner/trunk/fuentes/lliurex-shutdowner.install/usr/share/lliurex-shutdowner/rsrc/lliurex-shutdowner.ui

    r5317 r5415  
    3030            <property name="visible">True</property>
    3131            <property name="can_focus">False</property>
    32             <property name="label" translatable="yes">Automatic shutdown</property>
     32            <property name="label" translatable="yes">Automatic client shutdown</property>
    3333          </object>
    3434          <packing>
     
    220220                  </packing>
    221221                </child>
     222                <child>
     223                  <object class="GtkCheckButton" id="server_shutdown_checkbutton">
     224                    <property name="label" translatable="yes">Shutdown server as well (2 minutes later)</property>
     225                    <property name="visible">True</property>
     226                    <property name="can_focus">True</property>
     227                    <property name="receives_default">False</property>
     228                    <property name="halign">center</property>
     229                    <property name="xalign">0</property>
     230                    <property name="draw_indicator">True</property>
     231                  </object>
     232                  <packing>
     233                    <property name="expand">False</property>
     234                    <property name="fill">True</property>
     235                    <property name="position">2</property>
     236                  </packing>
     237                </child>
    222238              </object>
    223239            </child>
     
    419435    <property name="can_focus">False</property>
    420436    <property name="title" translatable="yes">Lliurex Shutdowner</property>
     437    <property name="resizable">False</property>
    421438    <property name="window_position">center</property>
    422439    <child>
Note: See TracChangeset for help on using the changeset viewer.