summaryrefslogtreecommitdiffstats
path: root/pyanaconda
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2012-08-27 16:12:52 -0400
committerChris Lumens <clumens@redhat.com>2012-08-27 16:17:49 -0400
commitfac4b22cd318faca63c82d3b4539bc7a09e065e1 (patch)
treea35037756f40912221ff222583f685bb124991a9 /pyanaconda
parent83261f64c372e76f9393169f4c38439b3e3f0272 (diff)
downloadanaconda-fac4b22cd318faca63c82d3b4539bc7a09e065e1.tar.gz
anaconda-fac4b22cd318faca63c82d3b4539bc7a09e065e1.tar.xz
anaconda-fac4b22cd318faca63c82d3b4539bc7a09e065e1.zip
Use the correct icon size constant.
Diffstat (limited to 'pyanaconda')
-rw-r--r--pyanaconda/ui/gui/spokes/source.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pyanaconda/ui/gui/spokes/source.py b/pyanaconda/ui/gui/spokes/source.py
index c912be3dd..28cd54e99 100644
--- a/pyanaconda/ui/gui/spokes/source.py
+++ b/pyanaconda/ui/gui/spokes/source.py
@@ -334,7 +334,7 @@ class AdditionalReposDialog(GUIObject):
self._repositorySpinner.start()
self._repositoryDesc.set_text(_("Getting info about requested repository"))
- self._repositoryIcon.set_from_stock("XXX_RESOLVING", Gtk.GTK_ICON_SIZE_MENU)
+ self._repositoryIcon.set_from_stock("XXX_RESOLVING", Gtk.IconSize.MENU)
return False
@@ -368,11 +368,11 @@ class AdditionalReposDialog(GUIObject):
self._repositoryDesc.set_text(description)
if valid is None:
- self._repositoryIcon.set_from_stock("XXX_NONE", Gtk.GTK_ICON_SIZE_MENU)
+ self._repositoryIcon.set_from_stock("XXX_NONE", Gtk.IconSize.MENU)
elif valid:
- self._repositoryIcon.set_from_stock("GTK_APPLY", Gtk.GTK_ICON_SIZE_MENU)
+ self._repositoryIcon.set_from_stock("gtk-apply", Gtk.IconSize.MENU)
else:
- self._repositoryIcon.set_from_stock("GTK_ERROR", Gtk.GTK_ICON_SIZE_MENU)
+ self._repositoryIcon.set_from_stock("gtk-error", Gtk.IconSize.MENU)
if not still_spinning:
self._repositorySpinner.stop()