FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Kubuntu User

 
 
LinkBack Thread Tools
 
Old 03-22-2011, 05:38 AM
Ales Kozumplik
 
Default gui.py: nuke createRepoWindow()

No one ever used it.
---
pyanaconda/gui.py | 6 ------
pyanaconda/text.py | 4 ----
2 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/pyanaconda/gui.py b/pyanaconda/gui.py
index 3bc557e..de08977 100755
--- a/pyanaconda/gui.py
+++ b/pyanaconda/gui.py
@@ -1075,12 +1075,6 @@ class InstallInterface(InstallInterfaceBase):
rc = ReinitializeWindow(title, path, size, description, parent=parent).getrc()
return rc

- def createRepoWindow(self):
- from iw.task_gui import RepoCreator
- dialog = RepoCreator(self.anaconda)
- dialog.createDialog()
- dialog.run()
-
def editRepoWindow(self, repoObj):
from iw.task_gui import RepoEditor
dialog = RepoEditor(self.anaconda, repoObj)
diff --git a/pyanaconda/text.py b/pyanaconda/text.py
index 17e3911..65dd2ee 100644
--- a/pyanaconda/text.py
+++ b/pyanaconda/text.py
@@ -380,10 +380,6 @@ class InstallInterface(InstallInterfaceBase):
return self.messageWindow(title, text, type, default, custom_icon,
custom_buttons)

- def createRepoWindow(self):
- self.messageWindow(_("Error"),
- _("Repository editing is not available in text mode."))
-
def editRepoWindow(self, repoObj):
self.messageWindow(_("Error"),
_("Repository editing is not available in text mode."))
--
1.7.3.3

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 03-22-2011, 06:45 AM
Martin Gracik
 
Default gui.py: nuke createRepoWindow()

ack

On Tue, 2011-03-22 at 07:38 +0100, Ales Kozumplik wrote:
> No one ever used it.
> ---
> pyanaconda/gui.py | 6 ------
> pyanaconda/text.py | 4 ----
> 2 files changed, 0 insertions(+), 10 deletions(-)
>
> diff --git a/pyanaconda/gui.py b/pyanaconda/gui.py
> index 3bc557e..de08977 100755
> --- a/pyanaconda/gui.py
> +++ b/pyanaconda/gui.py
> @@ -1075,12 +1075,6 @@ class InstallInterface(InstallInterfaceBase):
> rc = ReinitializeWindow(title, path, size, description, parent=parent).getrc()
> return rc
>
> - def createRepoWindow(self):
> - from iw.task_gui import RepoCreator
> - dialog = RepoCreator(self.anaconda)
> - dialog.createDialog()
> - dialog.run()
> -
> def editRepoWindow(self, repoObj):
> from iw.task_gui import RepoEditor
> dialog = RepoEditor(self.anaconda, repoObj)
> diff --git a/pyanaconda/text.py b/pyanaconda/text.py
> index 17e3911..65dd2ee 100644
> --- a/pyanaconda/text.py
> +++ b/pyanaconda/text.py
> @@ -380,10 +380,6 @@ class InstallInterface(InstallInterfaceBase):
> return self.messageWindow(title, text, type, default, custom_icon,
> custom_buttons)
>
> - def createRepoWindow(self):
> - self.messageWindow(_("Error"),
> - _("Repository editing is not available in text mode."))
> -
> def editRepoWindow(self, repoObj):
> self.messageWindow(_("Error"),
> _("Repository editing is not available in text mode."))

--
Martin Gracik <mgracik@redhat.com>

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

Thread Tools




All times are GMT. The time now is 09:58 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org