From 06413f38d8ee24e1a8a6c006e748d3985e28a450 Mon Sep 17 00:00:00 2001 From: Harishankar Date: Mon, 7 Nov 2011 08:58:22 +0530 Subject: [PATCH] Small changes to the progress window Minor changes to the progress window --- progress_window.py | 2 ++ progress_window.xml | 1 + 2 files changed, 3 insertions(+) diff --git a/progress_window.py b/progress_window.py index 102b222..7f1cb18 100644 --- a/progress_window.py +++ b/progress_window.py @@ -23,6 +23,7 @@ class BiaGenProgress: if perc >= 0 and perc <= 1: pbar.set_fraction (perc) else: + pbar.set_pulse_step (0.3) pbar.pulse () except: pass @@ -56,6 +57,7 @@ class BiaGenProgress: #gobject.idle_add (self.update_ui, data) self.parent.ui.get_object ("progressmessages").get_buffer ().set_text (data) self.parent.ui.get_object ("btnclose").set_sensitive (True) + self.parent.ui.get_object ("btncancel").set_sensitive (False) self.parent.ui.get_object ("progress").set_fraction (1.0) def __init__ (self, parent): diff --git a/progress_window.xml b/progress_window.xml index 6b0affa..0419f8f 100644 --- a/progress_window.xml +++ b/progress_window.xml @@ -51,6 +51,7 @@ True + True 2 -- 2.20.1