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 705131 - Replace stock icons with named icons
Replace stock icons with named icons
Status: RESOLVED FIXED
Product: sound-juicer
Classification: Applications
Component: general
git master
Other All
: Normal normal
: ---
Assigned To: Sound Juicer Maintainers
Sound Juicer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-07-30 10:24 UTC by Phillip Wood
Modified: 2013-08-20 14:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Replace stock icons with named icons (1.73 KB, patch)
2013-07-30 10:24 UTC, Phillip Wood
committed Details | Review
Remove remaining stock items (17.82 KB, patch)
2013-08-15 10:21 UTC, Phillip Wood
none Details | Review
(In reply to comment #9) (17.93 KB, patch)
2013-08-20 13:14 UTC, Phillip Wood
accepted-commit_now Details | Review
Updated patch, added missing GTK_BUTTON casts (17.95 KB, patch)
2013-08-20 14:27 UTC, Phillip Wood
committed Details | Review

Description Phillip Wood 2013-07-30 10:24:22 UTC
This works around GTK bug #702423 which stops the playback icon showing
on GTK 3.8 & later. This is also a small first step towards removing
deprecated stock items.
Comment 1 Phillip Wood 2013-07-30 10:24:25 UTC
Created attachment 250444 [details] [review]
Replace stock icons with named icons
Comment 2 Christophe Fergeau 2013-08-08 15:14:05 UTC
Comment on attachment 250444 [details] [review]
Replace stock icons with named icons

Thanks for working on that!
Comment 3 Phillip Wood 2013-08-15 10:21:40 UTC
Created attachment 251711 [details] [review]
Remove remaining stock items

This removes the arrow on the 'Continue' button in the multiple album
dialog partly to conform with the recommendation that buttons just
have a label describing their action and partly to avoid having to
deal with the RTL variant of the icon. The Alt+N accelerator on
'Cancel' in the infobar is non standard but avoids a clash with the
album composer entry. Alt+P for Pause is non standard but avoids a
clash with the album artist entry and gives a consistent accelerator
for Play/Pause. The disc number entry was missing an accelerator so it
is assigned Alt+D.
Comment 4 Phillip Wood 2013-08-16 09:17:59 UTC
(In reply to comment #2)
> (From update of attachment 250444 [details] [review])
> Thanks for working on that!

Are you happy for me to apply that patch? It would be good to get the play icon working again with GTK 3.8
Comment 5 Phillip Wood 2013-08-16 09:26:08 UTC
(In reply to comment #3)
> Created an attachment (id=251711) [details] [review]
> Remove remaining stock items

I should remove the underscores from the fake button labels as I think they have 'use-underline' set to FALSE.

I've just noticed that we don't have any fake buttons for 'Extract' and 'Stop' should we add some? In English 'Select None' is the longest label for all the buttons and so determines their size but that might not be the case for other languages.
Comment 6 Christophe Fergeau 2013-08-19 11:32:38 UTC
(In reply to comment #4)
> (In reply to comment #2)
> > (From update of attachment 250444 [details] [review] [details])
> > Thanks for working on that!
> 
> Are you happy for me to apply that patch?

Yes, I've set the patch status as "accepted_commit_now" which means it's fine to be pushed to git.gnome.org. I should have made that more explicit ;)
Comment 7 Christophe Fergeau 2013-08-19 11:43:24 UTC
(In reply to comment #5)
> (In reply to comment #3)
> > Created an attachment (id=251711) [details] [review] [details] [review]
> > Remove remaining stock items
> 
> I should remove the underscores from the fake button labels as I think they
> have 'use-underline' set to FALSE.
> 

The real buttons will have underline set to TRUE and their label will contain an underscore so I think you should just add calls to gtk_label_set_use_underline(fake_button, TRUE);


Patch looks good otherwise from a quick glance.
Comment 8 Phillip Wood 2013-08-20 09:51:31 UTC
Comment on attachment 250444 [details] [review]
Replace stock icons with named icons

Attachment 250444 [details] pushed as 50c4b53 - Replace stock icons with named icons
Comment 9 Christophe Fergeau 2013-08-20 09:56:38 UTC
(In reply to comment #8)
> (From update of attachment 250444 [details] [review])
> Attachment 250444 [details] pushed as 50c4b53 - Replace stock icons with named icons

Yay \o/
Comment 10 Phillip Wood 2013-08-20 13:14:08 UTC
Created attachment 252416 [details] [review]
(In reply to comment #9)

> Yay \o/
Thanks!

(In reply to comment #7) 
>The real buttons will have underline set to TRUE and their label will
>contain an underscore so I think you should just add calls to
>gtk_button_set_use_underline(fake_button, TRUE);

I've updated the patch as you suggested.
Comment 11 Christophe Fergeau 2013-08-20 13:19:27 UTC
Comment on attachment 252416 [details] [review]
(In reply to comment #9)

Thanks, seems good to go now!
Comment 12 Phillip Wood 2013-08-20 14:27:49 UTC
Created attachment 252433 [details] [review]
Updated patch, added missing GTK_BUTTON casts
Comment 13 Phillip Wood 2013-08-20 14:40:44 UTC
Attachment 252433 [details] pushed as c3913c5 - Remove remaining stock items