Dear Friends,<br><br>Thank you very much for pointing me to the right direction. Checking the related keys in gconf-editor made the stock icons appear in pygtk applications.<br><br>Have a nice day,<br>Timothy<br><br><div class="gmail_quote">
On Wed, Nov 4, 2009 at 1:33 PM, Pietro Battiston <span dir="ltr">&lt;<a href="mailto:toobaz@email.it">toobaz@email.it</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Il giorno mer, 04/11/2009 alle 12.16 +0100, Timo ha scritto:<br>
<div class="im">&gt; Search a bit in gconf-editor. There is a key you can set back to True to<br>
&gt; let the stock icons show.<br>
<br>
</div>/desktop/gnome/interface/{buttons_have_icons,menus_have_icons}<br>
<br>
Pietro<br>
<br>
<br>
--------------------------------------------------------------------------<br>
<br>
This email would probably have arrived sooner if &quot;reply&quot; replied to the<br>
mailing list I&#39;m replying to.<br>
<div><div></div><div class="h5"><br>
<br>
<br>
<br>
&gt;<br>
&gt; Timo<br>
&gt;<br>
&gt;<br>
&gt; Timothy Ulusoy schreef:<br>
&gt; &gt; Then this is a case of &quot;it&#39;s not a bug, it&#39;s a feature!&quot;<br>
&gt; &gt;<br>
&gt; &gt; Is there any document relating to this decision of the developers,<br>
&gt; &gt; that you can direct me to?<br>
&gt; &gt;<br>
&gt; &gt; Thanks a lot.<br>
&gt; &gt;<br>
&gt; &gt; On Tue, Nov 3, 2009 at 10:23 PM, Marco Antonio Islas Cruz<br>
&gt; &gt; &lt;<a href="mailto:markuz@islascruz.org">markuz@islascruz.org</a> &lt;mailto:<a href="mailto:markuz@islascruz.org">markuz@islascruz.org</a>&gt;&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt;     Actually it is not a problem, developers wanted to behave like that.<br>
&gt; &gt;<br>
&gt; &gt;     On Tue, 2009-11-03 at 22:08 +0200, Timothy Ulusoy wrote:<br>
&gt; &gt;     &gt; Thank you Marco,<br>
&gt; &gt;     &gt;<br>
&gt; &gt;     &gt; Now at least I know that it is a general problem, and it is not only<br>
&gt; &gt;     &gt; my system that fails. :)<br>
&gt; &gt;     &gt;<br>
&gt; &gt;     &gt;<br>
&gt; &gt;     &gt;<br>
&gt; &gt;     &gt; On Tue, Nov 3, 2009 at 9:56 PM, Marco Antonio Islas Cruz<br>
&gt; &gt;     &gt; &lt;<a href="mailto:markuz@islascruz.org">markuz@islascruz.org</a> &lt;mailto:<a href="mailto:markuz@islascruz.org">markuz@islascruz.org</a>&gt;&gt; wrote:<br>
&gt; &gt;     &gt;         On karmic, I can&#39;t remember if it is because of Gtk+ or<br>
&gt; &gt;     GNOME<br>
&gt; &gt;     &gt;         there are<br>
&gt; &gt;     &gt;         no icons in stock buttons. You must use a custom button<br>
&gt; &gt;     (with<br>
&gt; &gt;     &gt;         a hbox for<br>
&gt; &gt;     &gt;         example) with a gtk.Image and a gtk.Label.<br>
&gt; &gt;     &gt;<br>
&gt; &gt;     &gt;<br>
&gt; &gt;     &gt;<br>
&gt; &gt;     &gt;         On Tue, 2009-11-03 at 21:03 +0200, Timothy Ulusoy wrote:<br>
&gt; &gt;     &gt;         &gt; Hello,<br>
&gt; &gt;     &gt;         &gt;<br>
&gt; &gt;     &gt;         &gt; I have a problem with stock items. When I try to show a<br>
&gt; &gt;     &gt;         button with<br>
&gt; &gt;     &gt;         &gt; stock icon, I only see the text. For example, the<br>
&gt; &gt;     following<br>
&gt; &gt;     &gt;         code from<br>
&gt; &gt;     &gt;         &gt; Zetcode website only gives me the texts of the buttons (no<br>
&gt; &gt;     &gt;         images):<br>
&gt; &gt;     &gt;         &gt;<br>
&gt; &gt;     &gt;         &gt; import gtk<br>
&gt; &gt;     &gt;         &gt;<br>
&gt; &gt;     &gt;         &gt; class PyApp(gtk.Window):<br>
&gt; &gt;     &gt;         &gt;     def __init__(self):<br>
&gt; &gt;     &gt;         &gt;         super(PyApp, self).__init__()<br>
&gt; &gt;     &gt;         &gt;<br>
&gt; &gt;     &gt;         &gt;         self.set_title(&quot;Buttons&quot;)<br>
&gt; &gt;     &gt;         &gt;         self.set_size_request(250, 200)<br>
&gt; &gt;     &gt;         &gt;<br>
&gt; &gt;     &gt;         &gt;         self.set_position(gtk.WIN_POS_CENTER)<br>
&gt; &gt;     &gt;         &gt;<br>
&gt; &gt;     &gt;         &gt;         btn1 = gtk.Button(&quot;Button&quot;)<br>
&gt; &gt;     &gt;         &gt;         btn1.set_sensitive(False)<br>
&gt; &gt;     &gt;         &gt;         btn2 = gtk.Button(&quot;Button&quot;)<br>
&gt; &gt;     &gt;         &gt;         btn3 = gtk.Button(stock=gtk.STOCK_CLOSE)<br>
&gt; &gt;     &gt;         &gt;<br>
&gt; &gt;     &gt;         &gt;         btn4 = gtk.Button(&quot;Button&quot;)<br>
&gt; &gt;     &gt;         &gt;         btn4.set_size_request(80, 40)<br>
&gt; &gt;     &gt;         &gt;<br>
&gt; &gt;     &gt;         &gt;         fixed = gtk.Fixed()<br>
&gt; &gt;     &gt;         &gt;<br>
&gt; &gt;     &gt;         &gt;         fixed.put(btn1, 20, 30)<br>
&gt; &gt;     &gt;         &gt;         fixed.put(btn2, 100, 30)<br>
&gt; &gt;     &gt;         &gt;         fixed.put(btn3, 20, 80)<br>
&gt; &gt;     &gt;         &gt;<br>
&gt; &gt;     &gt;         &gt;         fixed.put(btn4, 100, 80)<br>
&gt; &gt;     &gt;         &gt;<br>
&gt; &gt;     &gt;         &gt;         self.connect(&quot;destroy&quot;, gtk.main_quit)<br>
&gt; &gt;     &gt;         &gt;<br>
&gt; &gt;     &gt;         &gt;         self.add(fixed)<br>
&gt; &gt;     &gt;         &gt;         self.show_all()<br>
&gt; &gt;     &gt;         &gt;<br>
&gt; &gt;     &gt;         &gt;<br>
&gt; &gt;     &gt;         &gt; PyApp()<br>
&gt; &gt;     &gt;         &gt; gtk.main()<br>
&gt; &gt;     &gt;         &gt;<br>
&gt; &gt;     &gt;         &gt; I&#39;m running Ubuntu Karmic Koala. Thinking that this may be<br>
&gt; &gt;     &gt;         related to<br>
&gt; &gt;     &gt;         &gt; the GTK theme I use (Human theme), I tried the other<br>
&gt; &gt;     themes,<br>
&gt; &gt;     &gt;         but to no<br>
&gt; &gt;     &gt;         &gt; avail. Any comments will be much appreciated.<br>
&gt; &gt;     &gt;         &gt;<br>
&gt; &gt;     &gt;         &gt; Thanks.<br>
&gt; &gt;     &gt;         &gt; Timothy<br>
&gt; &gt;     &gt;<br>
&gt; &gt;     &gt;         &gt; _______________________________________________<br>
&gt; &gt;     &gt;         &gt; pygtk mailing list   <a href="mailto:pygtk@daa.com.au">pygtk@daa.com.au</a><br>
&gt; &gt;     &lt;mailto:<a href="mailto:pygtk@daa.com.au">pygtk@daa.com.au</a>&gt;<br>
&gt; &gt;     &gt;         &gt; <a href="http://www.daa.com.au/mailman/listinfo/pygtk" target="_blank">http://www.daa.com.au/mailman/listinfo/pygtk</a><br>
&gt; &gt;     &gt;         &gt; Read the PyGTK FAQ: <a href="http://faq.pygtk.org/" target="_blank">http://faq.pygtk.org/</a><br>
&gt; &gt;     &gt;<br>
&gt; &gt;     &gt;<br>
&gt; &gt;     &gt;         --<br>
&gt; &gt;     &gt;         &lt;--Linux... Because I&#39;m Free--&gt;<br>
&gt; &gt;     &gt;         Marco Antonio Islas Cruz<br>
&gt; &gt;     &gt;         &quot;Markuz&quot;<br>
&gt; &gt;     &gt;         Linux User #280229<br>
&gt; &gt;     &gt;         <a href="mailto:markuz@islascruz.org">markuz@islascruz.org</a> &lt;mailto:<a href="mailto:markuz@islascruz.org">markuz@islascruz.org</a>&gt;<br>
&gt; &gt;     &gt;         <a href="mailto:markuz@unixmexico.org">markuz@unixmexico.org</a> &lt;mailto:<a href="mailto:markuz@unixmexico.org">markuz@unixmexico.org</a>&gt;<br>
&gt; &gt;     &gt;         <a href="mailto:markuz@linuxpozarica.com">markuz@linuxpozarica.com</a> &lt;mailto:<a href="mailto:markuz@linuxpozarica.com">markuz@linuxpozarica.com</a>&gt;<br>
&gt; &gt;     &gt;         <a href="mailto:marco.islas@gmail.com">marco.islas@gmail.com</a> &lt;mailto:<a href="mailto:marco.islas@gmail.com">marco.islas@gmail.com</a>&gt;<br>
&gt; &gt;     &gt;         <a href="mailto:islacruz@yahoo.com">islacruz@yahoo.com</a> &lt;mailto:<a href="mailto:islacruz@yahoo.com">islacruz@yahoo.com</a>&gt;<br>
&gt; &gt;     &gt;         <a href="http://www.islascruz.org" target="_blank">http://www.islascruz.org</a><br>
&gt; &gt;     &gt;         <a href="http://wwww.christine-project.org" target="_blank">http://wwww.christine-project.org</a><br>
&gt; &gt;     &gt;         <a href="http://www.linuxpozarica.com" target="_blank">http://www.linuxpozarica.com</a><br>
&gt; &gt;     &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;     --<br>
&gt; &gt;     &lt;--Linux... Because I&#39;m Free--&gt;<br>
&gt; &gt;     Marco Antonio Islas Cruz<br>
&gt; &gt;     &quot;Markuz&quot;<br>
&gt; &gt;     Linux User #280229<br>
&gt; &gt;     <a href="mailto:markuz@islascruz.org">markuz@islascruz.org</a> &lt;mailto:<a href="mailto:markuz@islascruz.org">markuz@islascruz.org</a>&gt;<br>
&gt; &gt;     <a href="mailto:markuz@unixmexico.org">markuz@unixmexico.org</a> &lt;mailto:<a href="mailto:markuz@unixmexico.org">markuz@unixmexico.org</a>&gt;<br>
&gt; &gt;     <a href="mailto:markuz@linuxpozarica.com">markuz@linuxpozarica.com</a> &lt;mailto:<a href="mailto:markuz@linuxpozarica.com">markuz@linuxpozarica.com</a>&gt;<br>
&gt; &gt;     <a href="mailto:marco.islas@gmail.com">marco.islas@gmail.com</a> &lt;mailto:<a href="mailto:marco.islas@gmail.com">marco.islas@gmail.com</a>&gt;<br>
&gt; &gt;     <a href="mailto:islacruz@yahoo.com">islacruz@yahoo.com</a> &lt;mailto:<a href="mailto:islacruz@yahoo.com">islacruz@yahoo.com</a>&gt;<br>
&gt; &gt;     <a href="http://www.islascruz.org" target="_blank">http://www.islascruz.org</a><br>
&gt; &gt;     <a href="http://wwww.christine-project.org" target="_blank">http://wwww.christine-project.org</a><br>
&gt; &gt;     <a href="http://www.linuxpozarica.com" target="_blank">http://www.linuxpozarica.com</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; ------------------------------------------------------------------------<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; pygtk mailing list   <a href="mailto:pygtk@daa.com.au">pygtk@daa.com.au</a><br>
&gt; &gt; <a href="http://www.daa.com.au/mailman/listinfo/pygtk" target="_blank">http://www.daa.com.au/mailman/listinfo/pygtk</a><br>
&gt; &gt; Read the PyGTK FAQ: <a href="http://faq.pygtk.org/" target="_blank">http://faq.pygtk.org/</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; pygtk mailing list   <a href="mailto:pygtk@daa.com.au">pygtk@daa.com.au</a><br>
&gt; <a href="http://www.daa.com.au/mailman/listinfo/pygtk" target="_blank">http://www.daa.com.au/mailman/listinfo/pygtk</a><br>
&gt; Read the PyGTK FAQ: <a href="http://faq.pygtk.org/" target="_blank">http://faq.pygtk.org/</a><br>
<br>
<br>
_______________________________________________<br>
pygtk mailing list   <a href="mailto:pygtk@daa.com.au">pygtk@daa.com.au</a><br>
<a href="http://www.daa.com.au/mailman/listinfo/pygtk" target="_blank">http://www.daa.com.au/mailman/listinfo/pygtk</a><br>
Read the PyGTK FAQ: <a href="http://faq.pygtk.org/" target="_blank">http://faq.pygtk.org/</a><br>
</div></div></blockquote></div><br>