aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiktor w brodlo <wiktor@brodlo.net>2011-07-21 20:51:04 +0000
committerwiktor w brodlo <wiktor@brodlo.net>2011-07-21 20:51:04 +0000
commit56ef89e347ffc9b700c1ae98826a8219570d5368 (patch)
tree4fe80fa492aa3a80a3e8941cc27fb82d12712184
parentgui.py: fix a bug where the makeconf screen appears twice (diff)
downloadanaconda-56ef89e347ffc9b700c1ae98826a8219570d5368.tar.gz
anaconda-56ef89e347ffc9b700c1ae98826a8219570d5368.tar.bz2
anaconda-56ef89e347ffc9b700c1ae98826a8219570d5368.zip
Remove the progress bar
-rwxr-xr-xanaconda1
-rwxr-xr-xgui.py1
-rw-r--r--iw/welcome_gui.py7
-rw-r--r--ui/anaconda.glade12
4 files changed, 1 insertions, 20 deletions
diff --git a/anaconda b/anaconda
index 3beb128..fc87336 100755
--- a/anaconda
+++ b/anaconda
@@ -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 = []
diff --git a/gui.py b/gui.py
index ee32f0f..e09d9b9 100755
--- a/gui.py
+++ b/gui.py
@@ -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">