After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 167933 - Can not pick a stock icon named "Forward" up from Properties window.
Can not pick a stock icon named "Forward" up from Properties window.
Status: RESOLVED DUPLICATE of bug 303105
Product: glade-legacy
Classification: Deprecated
Component: general
2.9.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2005-02-20 06:19 UTC by Takeshi AIHANA
Modified: 2005-08-21 20:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Takeshi AIHANA 2005-02-20 06:19:46 UTC
Please describe the problem:
At the GTK_VERSION=2.6.x, I could not choice a stock icon named "Forward" 
correctly from Glade UI designer.
It looks that there are two stock icons named "Forward" from this GTK_VERSION;
./gtk/gtkstock.c:282
static const GtkStockItem builtin_items [] =
{
  ...
  { GTK_STOCK_GO_FORWARD, N_("_Forward"), 0, 0, GETTEXT_PACKAGE },
  ...
  { GTK_STOCK_MEDIA_FORWARD, N_("_Forward"), 0, 0, GETTEXT_PACKAGE },
};

Glade (v2.9.0) has also both stock icons in Properties window are appeard.
However, when I pick a "Forward" icon which is considered as 'GTK_STOCK_GO_FORWARD',
it's always set a icon as 'GTK_STOCK_MEDIA_FORWARD'.
I could not choice it as 'GTK_STOCK_GO_FORWARD'.

Steps to reproduce:
1. run `glade-2`.
2. create project "New GTK+ Project".
3. create a Window.
4. pack a Button to Window.
5. pull stock icons list from Properties window.
6. You can see two "Forward" icons.
7. Choice "Forward" as GTK_STOCK_GO_FORWARD, but it's always set as
GTK_STOCK_MEDIA_FORWARD.


Actual results:
I can not pick a "Forward" stock icon as GTK_STOCK_MEDIA_FORWARD from Properties
window.

Expected results:
It looks that Glade can not handle _GtkStockItem::stock_id correctly.


Does this happen every time?
Always on Glade v2.6.0.

Other information:
Comment 1 Dominik Zablotny 2005-05-26 14:52:15 UTC
The same problem here. Glade 2.10.0, locale=PL
Comment 2 Matthias Clasen 2005-05-26 15:04:02 UTC
The icons are named gtk-go-forward and gtk-media-forward. Glade seems to make
the incorrect assumption that there is a 1-1 mapping from labels to icons
Comment 3 Carlos GUSLiBu 2005-07-22 13:29:57 UTC
I confirm this bug in the glade version of Debian Sarge. However, exists a
simple (but annoying) workaround: edit manually the file interface.c to change
"gtk-media-forward" with "gtk-go-forward" where appropriate, and recompile. Thanks.
Comment 4 Damon Chaplin 2005-08-21 20:31:41 UTC

*** This bug has been marked as a duplicate of 303105 ***