# Start with no buttons enabled, since nothing is selected.
self._upButton.set_sensitive(False)
self._downButton.set_sensitive(False)
self._removeButton.set_sensitive(False)
+ self._previewButton.set_sensitive(False)
- # If something's selected, always enable the remove button.
+ # If something's selected, always enable the remove and preview buttons.
self._removeButton.set_sensitive(True)
+ self._previewButton.set_sensitive(True)
# Disable the Up button if the top row's selected, and disable the
# Down button if the bottom row's selected.
diff --git a/pyanaconda/ui/gui/spokes/keyboard.ui b/pyanaconda/ui/gui/spokes/keyboard.ui
index de1c1f6..c471287 100644
--- a/pyanaconda/ui/gui/spokes/keyboard.ui
+++ b/pyanaconda/ui/gui/spokes/keyboard.ui
@@ -343,7 +343,7 @@ any layout to the top of the list to select it as the default.</property>
</packing>
</child>
<child>
- <object class="GtkButton" id="settingsButton">
+ <object class="GtkButton" id="previewButton">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
--
1.7.4.4
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list