[pygtk] application custom stock icons not working in ubuntu unity top panel menu
Giuseppe Penone
giuspen at gmail.com
Tue Nov 29 21:16:12 WST 2011
Hi, seems a good workaround to me.
Thanks for the help, regards,
Giuseppe.
On Tue, Nov 29, 2011 at 13:58, Paul Malherbe <paul at tartan.co.za> wrote:
> **
> Hi
>
> I don't force the users to disable the Unity menu, I only disable in the
> specific pygtk app. by setting
>
> os.environ['UBUNTU_MENUPROXY'] = '0'
>
> Regards
>
> Paul Malherbe
>
> On 29/11/11 14:35, Giuseppe Penone wrote:
>
> Hi,
> I would not force users to remove unity appmenu, I would rather search for
> a solution.
> Thanks anyway.
> Cheers,
> Giuseppe.
>
>
> On Tue, Nov 29, 2011 at 09:47, Paul Malherbe <paul at tartan.co.za> wrote:
>
>> Hi
>>
>> I am sorry, I misunderstood you.
>>
>> I got the same as you so I turned off the Unity menu and my app menu now
>> works perfectly.
>>
>> Regards
>>
>> Paul Malherbe
>>
>>
>> On 28/11/11 17:03, Giuseppe Penone wrote:
>>
>> Hi,
>> I already have gnome-tweak-tools installed with "Menus Have Icons" to ON.
>> In fact I can see default stock icons in menus, I cannot see the icons I
>> added to stock, and only in ubuntu unity top panel.
>> Cheers.
>>
>>
>> On Mon, Nov 28, 2011 at 07:12, Paul Malherbe <paul at tartan.co.za> wrote:
>>
>>> Hi
>>>
>>> I found that i had to install gnome-tweak-tool and then enable the icons
>>> and then enable menu icons under themes.
>>>
>>> Regards
>>>
>>> *Paul Malherbe*
>>>
>>> +27 (0) 21 6711866 <%2B27%20%280%29%2021%206711866>
>>> +27 (0) 82 9005260 <%2B27%20%280%29%2082%209005260>
>>>
>>> On 28/11/11 01:58, Giuseppe Penone wrote:
>>>
>>> Hi,
>>> I recently noticed that in ubuntu unity the top menu of my apps does not
>>> show the (custom) icons I added to the gtk stock, but only the basic stock
>>> icons.
>>> This happens only since the top menu is displayed in the unity top panel
>>> and not in the application window.
>>> In place of the correct icons I see "gtk-missing-image".
>>> On my apps toolbars and other menus those icons are displayed properly,
>>> the problem is only with the top menu.
>>> This happens either with pygtk2 (e.g. http://www.giuspen.com/cherrytree/)
>>> and gobject introspection (e.g.
>>> http://www.giuspen.com/nautilus-pyextensions/).
>>> I use gtk ui manager after integrating the stock icons this way:
>>>
>>> factory = gtk.IconFactory()
>>> pixbuf = gtk.gdk.pixbuf_new_from_file(filepath)
>>> iconset = gtk.IconSet(pixbuf)
>>> factory.add(stock_name, iconset)
>>> factory.add_default()
>>>
>>> If anybody solved this problem please help.
>>> Cheers,
>>> Giuseppe.
>>>
>>> --
>>> This message has been scanned for viruses and
>>> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and
>>> is
>>> believed to be clean.
>>>
>>>
>>> _______________________________________________
>>> pygtk mailing list pygtk at daa.com.auhttp://www.daa.com.au/mailman/listinfo/pygtk
>>> Read the PyGTK FAQ: http://faq.pygtk.org/
>>>
>>>
>>> --
>>> This message has been scanned for viruses and
>>> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and
>>> is
>>> believed to be clean.
>>>
>>> _______________________________________________
>>> pygtk mailing list pygtk at daa.com.au
>>> http://www.daa.com.au/mailman/listinfo/pygtk
>>> Read the PyGTK FAQ: http://faq.pygtk.org/
>>>
>>
>>
>> --
>> This message has been scanned for viruses and
>> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and
>> is
>> believed to be clean.
>>
>>
>> --
>> This message has been scanned for viruses and
>> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and
>> is
>> believed to be clean.
>>
>
>
> --
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
> believed to be clean.
>
>
> --
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
> believed to be clean.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20111129/b2dca973/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 133ee8267cb6dd83_133e905a4963a482_graphics2
Type: image/jpeg
Size: 1511 bytes
Desc: not available
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20111129/b2dca973/attachment-0002.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 133ee8267cb6dd83_133e905a4963a482_graphics1
Type: image/jpeg
Size: 1329 bytes
Desc: not available
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20111129/b2dca973/attachment-0003.jpe>
More information about the pygtk
mailing list