def getScreen(self, anaconda): default = anaconda.instLanguage.getDefaultKeyboard() anaconda.keyboard.set(default) vbox = installKeyboardWindow.getScreen(self, default, anaconda.keyboard) self.modelView.connect("select-cursor-row", lambda widget, vbox=vbox: self.ics.setGrabNext(1)) return vbox
def getScreen(self, anaconda): default = anaconda.id.instLanguage.getDefaultKeyboard(anaconda.rootPath) anaconda.id.keyboard.set(default) if anaconda.id.installationtype==True: return None else: return installKeyboardWindow.getScreen(self, default, anaconda.id.keyboard)
def getScreen(self, anaconda): default = anaconda.instLanguage.getDefaultKeyboard(anaconda.rootPath) anaconda.keyboard.set(default) gs_rc = installKeyboardWindow.getScreen(self, default, anaconda.keyboard) # add keyboard test widgets hbox = gtk.HBox() entry = gtk.Entry() button = gtk.Button(_("_Set keyboard")) button.connect("clicked", self._set_keyboard) tlabel = gtk.Label(_("Keyboard test:")) hbox.pack_start(tlabel, False, padding=5) hbox.pack_start(entry, True) hbox.pack_start(button, False) hbox.show_all() self.vbox.pack_start(hbox, False) hint_label = gtk.Label() hint_label.set_markup(_("<b>Note</b>: to switch layout (from Cyrillic to English, for instance) press <b>both</b> SHIFT keys")) self.vbox.pack_start(hint_label, False) return gs_rc
def getScreen(self, anaconda): default = anaconda.instLanguage.getDefaultKeyboard(anaconda.rootPath) anaconda.keyboard.set(default) gs_rc = installKeyboardWindow.getScreen(self, default, anaconda.keyboard) # add keyboard test widgets hbox = gtk.HBox() entry = gtk.Entry() button = gtk.Button(_("_Set keyboard")) button.connect("clicked", self._set_keyboard) tlabel = gtk.Label(_("Keyboard test:")) hbox.pack_start(tlabel, False, padding=5) hbox.pack_start(entry, True) hbox.pack_start(button, False) hbox.show_all() self.vbox.pack_start(hbox, False) hint_label = gtk.Label() hint_label.set_markup( _("<b>Note</b>: to switch layout (from Cyrillic to English, for instance) press <b>both</b> SHIFT keys" )) self.vbox.pack_start(hint_label, False) return gs_rc
def getScreen(self, anaconda): default = anaconda.id.instLanguage.getDefaultKeyboard(anaconda.rootPath) anaconda.id.keyboard.set(default) return installKeyboardWindow.getScreen(self, default, anaconda.id.keyboard)
def getScreen(self, anaconda): default = anaconda.id.instLanguage.getDefaultKeyboard( anaconda.rootPath) anaconda.id.keyboard.set(default) return installKeyboardWindow.getScreen(self, default, anaconda.id.keyboard)