[PATCH 2/5] Set the secret agent icon in the glade file
David Shea
dshea at redhat.com
Tue Mar 25 17:52:33 UTC 2014
Set the icon using icon-name instead of using a missing-image stock id.
---
pyanaconda/ui/gui/spokes/network.glade | 2 +-
pyanaconda/ui/gui/spokes/network.py | 2 --
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/pyanaconda/ui/gui/spokes/network.glade b/pyanaconda/ui/gui/spokes/network.glade
index e555995..75a8907 100644
--- a/pyanaconda/ui/gui/spokes/network.glade
+++ b/pyanaconda/ui/gui/spokes/network.glade
@@ -2556,7 +2556,7 @@ updates available for you.</property>
<property name="valign">start</property>
<property name="hexpand">True</property>
<property name="xpad">15</property>
- <property name="stock">gtk-missing-image</property>
+ <property name="icon_name">dialog-password-symbolic</property>
</object>
<packing>
<property name="expand">False</property>
diff --git a/pyanaconda/ui/gui/spokes/network.py b/pyanaconda/ui/gui/spokes/network.py
index a9e818e..d2f7a83 100644
--- a/pyanaconda/ui/gui/spokes/network.py
+++ b/pyanaconda/ui/gui/spokes/network.py
@@ -1126,8 +1126,6 @@ class SecretAgentDialog(GUIObject):
def __init__(self, *args, **kwargs):
self._content = kwargs.pop('content', {})
GUIObject.__init__(self, *args, **kwargs)
- img = self.builder.get_object("image_password_dialog")
- img.set_from_icon_name("dialog-password-symbolic", Gtk.IconSize.DIALOG)
self.builder.get_object("label_message").set_text(self._content['message'])
self._connect_button = self.builder.get_object("connect_button")
--
1.9.0
More information about the anaconda-patches
mailing list