diff options
author | 2011-07-21 20:51:04 +0000 | |
---|---|---|
committer | 2011-07-21 20:51:04 +0000 | |
commit | 56ef89e347ffc9b700c1ae98826a8219570d5368 (patch) | |
tree | 4fe80fa492aa3a80a3e8941cc27fb82d12712184 | |
parent | gui.py: fix a bug where the makeconf screen appears twice (diff) | |
download | anaconda-56ef89e347ffc9b700c1ae98826a8219570d5368.tar.gz anaconda-56ef89e347ffc9b700c1ae98826a8219570d5368.tar.bz2 anaconda-56ef89e347ffc9b700c1ae98826a8219570d5368.zip |
Remove the progress bar
-rwxr-xr-x | anaconda | 1 | ||||
-rwxr-xr-x | gui.py | 1 | ||||
-rw-r--r-- | iw/welcome_gui.py | 7 | ||||
-rw-r--r-- | ui/anaconda.glade | 12 |
4 files changed, 1 insertions, 20 deletions
@@ -486,7 +486,6 @@ class Anaconda(object): self.makeconf_jobs = None self.makeconf_load = None self.makeconf_silent = None - self.mainxml = None self.mediaDevice = None self.methodstr = None self.mirrors = [] @@ -1477,7 +1477,6 @@ class InstallControlWindow: def loadGlade(self): self.mainxml = gtk.glade.XML(findGladeFile("anaconda.glade"), domain="anaconda") - self.anaconda.mainxml = self.mainxml def setup_window (self, window_reload): self.setLtR() diff --git a/iw/welcome_gui.py b/iw/welcome_gui.py index e558f25..6c8780c 100644 --- a/iw/welcome_gui.py +++ b/iw/welcome_gui.py @@ -112,13 +112,6 @@ environment installed on your new system. "), text_ = xml.get_widget("text") title_.set_markup("<span size=\"x-large\">%s</span>" % (_("Chapter %i: %s") % (chapter, title))) text_.set_text(text) - ip = anaconda.mainxml.get_widget("install_progress") - current_progress = ip.get_fraction() - step = 1/len(self.windows) - new_progress = current_progress + step - if chapter == 0: - new_progress = 0 - ip.set_fraction(new_progress) return align diff --git a/ui/anaconda.glade b/ui/anaconda.glade index 486d632..824edd5 100644 --- a/ui/anaconda.glade +++ b/ui/anaconda.glade @@ -167,17 +167,7 @@ </packing> </child> <child> - <widget class="GtkProgressBar" id="install_progress"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="show_text">True</property> - <property name="text" translatable="yes">Installation progress</property> - </widget> - <packing> - <property name="expand">True</property> - <property name="fill">True</property> - <property name="position">2</property> - </packing> + <placeholder/> </child> <child> <widget class="GtkHButtonBox" id="hbuttonbox2"> |