Changeset 7597


Ignore:
Timestamp:
Jun 29, 2018, 9:40:49 AM (16 months ago)
Author:
hectorgh
Message:

allowing to close window instead of killing when countdown reaches 0

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

Legend:

Unmodified
Added
Removed
  • lliurex-shutdowner/trunk/fuentes/debian/changelog

    r7596 r7597  
    11lliurex-shutdowner (0.94) xenial; urgency=high
    22
    3    * Killing dialog when countdown reaches 0
     3   * Allowing to close window when countdown reaches 0
    44
    55 -- Hector Garcia Huerta <hectorgh@gmail.com>  Fri, 29 Jun 2018 09:37:51 +0200
  • lliurex-shutdowner/trunk/fuentes/lliurex-shutdowner-common.install/usr/sbin/shutdown-lliurex-dialog

    r7596 r7597  
    2424                self.countdown=wait_time*60
    2525                self.current_counter=0
     26               
     27                self.block_destroy=True
    2628               
    2729                self.start_gui()
     
    8082        def close_window_clicked(self,widget,event):
    8183               
    82                 return True
     84                return self.block_destroy
    8385               
    8486        #def close_window_clicked
     
    110112                        return True
    111113               
    112                 Gtk.main_quit()
     114                self.block_destroy=False
    113115                return False
    114116               
Note: See TracChangeset for help on using the changeset viewer.