Changeset 5444


Ignore:
Timestamp:
Jul 4, 2017, 11:51:07 AM (18 months ago)
Author:
hectorgh
Message:

wip

Location:
lliurex-shutdowner/trunk/fuentes
Files:
5 added
2 edited

Legend:

Unmodified
Added
Removed
  • lliurex-shutdowner/trunk/fuentes/lliurex-shutdowner-common.install/usr/sbin/shutdown-lliurex

    r5426 r5444  
    2222                continue
    2323        display=x[-1].lstrip("(").rstrip(")")
    24         cmd="su -c 'zenity --info --text=\"System will shutdown at %s, please save your files.\" --display %s\' %s &"%(shutdown_date,display,user)
     24        cmd="su -c 'DISPLAY=%s /usr/sbin/shutdown-lliurex-dialog %s' %s &"%(display,wait_time,user)
     25        #cmd="su -c 'zenity --info --text=\"System will shutdown at %s, please save your files.\" --display %s\' %s &"%(shutdown_date,display,user)
    2526        os.system(cmd)
    2627
  • lliurex-shutdowner/trunk/fuentes/lliurex-shutdowner.install/usr/share/lliurex-shutdowner/rsrc/lliurex-shutdowner.ui

    r5415 r5444  
    8686                        <property name="visible">True</property>
    8787                        <property name="can_focus">True</property>
    88                         <property name="text" translatable="yes">0</property>
     88                        <property name="text" translatable="yes">15</property>
    8989                        <property name="orientation">vertical</property>
    9090                        <property name="adjustment">adjustment1</property>
     
    114114                        <property name="visible">True</property>
    115115                        <property name="can_focus">True</property>
    116                         <property name="text" translatable="yes">0</property>
     116                        <property name="text" translatable="yes">30</property>
    117117                        <property name="orientation">vertical</property>
    118118                        <property name="adjustment">adjustment2</property>
     
    301301                    <child>
    302302                      <object class="GtkButton" id="shutdown_button">
    303                         <property name="label" translatable="yes">Shutdown clients</property>
     303                        <property name="label" translatable="yes">Shutdown clients now</property>
    304304                        <property name="visible">True</property>
    305305                        <property name="can_focus">True</property>
Note: See TracChangeset for help on using the changeset viewer.