On Mon, 2012-04-23 at 13:18 -0400, Chris Lumens wrote: > > @@ -239,8 +240,18 @@ class KeyboardSpoke(NormalSpoke): > > store.swap(cur, nxt) > > selection.emit("changed") > > > > - def on_settings_clicked(self, button): > > - pass > > + def on_preview_clicked(self, button): > > + selection = self.builder.get_object("layoutSelection") > > + (store, cur) = selection.get_selected() > > + layout_description = store[cur] > > + layout_name = self._xkl_wrapper.description_to_name.get(layout_description, None) > > + if not layout_name: > > + return > > + > > + dialog = Gkbd.KeyboardDrawing.dialog_new() > > + Gkbd.KeyboardDrawing.dialog_set_layout(dialog, self._xkl_wrapper.configreg, > > + layout_name) > > + dialog.show_all() > > > > def on_selection_changed(self, *args): > > self.layout_selection_changed(self.builder.get_object("layoutSelection")) > > I believe you want to write this in a lightbox. Good point, thanks. I will send a new lightbox-including patch. -- Vratislav Podzimek <vpodzime@xxxxxxxxxx> _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list