summaryrefslogtreecommitdiffstats
path: root/iw/kbd_gui.py
diff options
context:
space:
mode:
authorMartin Sivak <msivak@redhat.com>2010-05-11 17:31:06 +0200
committerMartin Sivak <msivak@redhat.com>2010-05-31 14:21:49 +0200
commit78421d4ed23ad58b021c4d9d1bae690b99c167fe (patch)
tree909c1b650afe9afea03ecf1a03b2d39d39cf72b7 /iw/kbd_gui.py
parent40b979f28cfd73078d5dd58b8f7e97e76198a222 (diff)
downloadanaconda-78421d4ed23ad58b021c4d9d1bae690b99c167fe.tar.gz
anaconda-78421d4ed23ad58b021c4d9d1bae690b99c167fe.tar.xz
anaconda-78421d4ed23ad58b021c4d9d1bae690b99c167fe.zip
Structure the repo layout so it matches final structure better and make isys a real Python package.
Also updates the build and autotools stuff to work with the new structure
Diffstat (limited to 'iw/kbd_gui.py')
-rw-r--r--iw/kbd_gui.py39
1 files changed, 0 insertions, 39 deletions
diff --git a/iw/kbd_gui.py b/iw/kbd_gui.py
deleted file mode 100644
index 95fc10651..000000000
--- a/iw/kbd_gui.py
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# keyboard_gui.py: Shim around system-config-keyboard
-# Brrrraaaaaiiiinnnns...
-#
-# Copyright (C) 2006, 2007 Red Hat, Inc. All rights reserved.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-#
-
-from iw_gui import *
-import sys
-
-sys.path.append("/usr/share/system-config-keyboard")
-
-from keyboard_gui import childWindow as installKeyboardWindow
-
-class KeyboardWindow(InstallWindow, installKeyboardWindow):
- def __init__(self, ics):
- InstallWindow.__init__(self, ics)
- installKeyboardWindow.__init__(self)
-
- def getNext(self):
- installKeyboardWindow.getNext(self)
-
- def getScreen(self, anaconda):
- default = anaconda.instLanguage.getDefaultKeyboard(anaconda.rootPath)
- anaconda.keyboard.set(default)
- return installKeyboardWindow.getScreen(self, default, anaconda.keyboard)