=== modified file 'UpdateManager/UpdateManager.py' --- UpdateManager/UpdateManager.py 2009-11-23 11:09:20 +0000 +++ UpdateManager/UpdateManager.py 2009-12-14 02:52:11 +0000 @@ -236,12 +236,7 @@ def warn_on_battery(self): """check and warn if on battery""" if on_battery(): - self.dialog_on_battery.set_transient_for(self.window_main) - self.dialog_on_battery.set_title("") - res = self.dialog_on_battery.run() - self.dialog_on_battery.hide() - if res != gtk.RESPONSE_YES: - sys.exit() + sys.exit() def install_column_view_func(self, cell_layout, renderer, model, iter): pkg = model.get_value(iter, LIST_PKG)