[PATCH 3/6] Fix setting of "Add repository" dialog title.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 iw/task_gui.py |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/iw/task_gui.py b/iw/task_gui.py
index ec3c4ae..268372b 100644
--- a/iw/task_gui.py
+++ b/iw/task_gui.py
@@ -151,6 +151,8 @@ class RepoEditor:
         self.partitionComboBox = self.dxml.get_widget("partitionComboBox")
         self.directoryChooser = self.dxml.get_widget("directoryChooserButton")
 
+        self.dialog.set_title(_("Edit Repository"))
+
         # Remove these until they are actually implemented
         self.typeComboBox.remove_text(3)
 
@@ -187,7 +189,6 @@ class RepoEditor:
                                  url.startswith("ftp://";))
 
     def createDialog(self):
-        self.dialog.set_title(_("Edit Repository"))
 
         if self.repo:
             self.nameEntry.set_text(self.repo.name)
@@ -459,9 +460,6 @@ class RepoMethodstrEditor(RepoEditor):
 class RepoCreator(RepoEditor):
     def __init__(self, anaconda):
         RepoEditor.__init__(self, anaconda, None)
-
-    def createDialog(self):
-        RepoEditor.createDialog(self)
         self.dialog.set_title(_("Add Repository"))
 
 class TaskWindow(InstallWindow):
-- 
1.6.0.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux