oshazard / gtkdialog

Automatically exported from code.google.com/p/gtkdialog
GNU General Public License v2.0
10 stars 7 forks source link

stock icons with ltr and rtl versions do not work correctly in the window tag #70

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When using gtk stock icons, there are some which have left-to-right and 
right-to-left variants - you can see them e.g. at 
http://gtk.php.net/manual/en/gtk.enum.stockitems.php
When you use them in gtkdialog, you normally need to refer to them like this, 
which I believe is correct:

<pixmap icon_size="1">
    <input file stock="gtk-jump-to"></input>
</pixmap>

This does not work:

<pixmap icon_size="1">
    <input file stock="gtk-jump-to-ltr"></input>
</pixmap>

But when you use them as a window icon you need to refer to them like this, 
which I believe is really incorrect:

<window title=\"Open bookmarks:\" icon-name=\"gtk-jump-to-ltr\">

This does not work (but I think it should):

<window title=\"Open bookmarks:\" icon-name=\"gtk-jump-to\">

Is this a bug with gtkdialog or something else?  I thought maybe it was a bug 
in my window manager, but I tried another one and it had the same behaviour.

Original issue reported on code.google.com by Alister....@gmail.com on 19 Oct 2013 at 5:23