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 557152 - Popup menus need placeholders for plugin items. Properties should always be at bottom.
Popup menus need placeholders for plugin items. Properties should always be ...
Status: RESOLVED FIXED
Product: rhythmbox
Classification: Other
Component: User Interface
HEAD
Other All
: Normal minor
: ---
Assigned To: RhythmBox Maintainers
RhythmBox Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-10-20 21:14 UTC by Steven Brown
Modified: 2008-11-10 20:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Adds *PluginPlaceholder to all Popup menus in data/ui/rhythmbox-ui.xml (4.74 KB, patch)
2008-10-20 21:20 UTC, Steven Brown
committed Details | Review
screenshot showing before and after effects of the patch with an updated (jump-to-playing) plugin (18.31 KB, image/png)
2008-10-21 00:07 UTC, Steven Brown
  Details
Adds Open Folder to PodcastView, QueuePlaylistView, and PlaylistView popups and puts the item in the placeholder (1.06 KB, patch)
2008-10-22 00:20 UTC, Steven Brown
none Details | Review
Image of patched RB and 2 updated plugins using it (31.04 KB, image/png)
2008-10-22 20:23 UTC, Steven Brown
  Details
patch to apply to rb-open-folder 0.3 to account for changes (1.11 KB, patch)
2008-11-10 19:26 UTC, Steven Brown
none Details | Review

Description Steven Brown 2008-10-20 21:14:07 UTC
Because there is not a placeholder on some of the popup menus, adding items from a plugin adds them below the properties menu item, which should always be last.

Add *PluginPlaceholder to all Popup menus.  Patch to rhythmbox-ui.xml forthcoming.

Other information:
Comment 1 Steven Brown 2008-10-20 21:20:51 UTC
Created attachment 120960 [details] [review]
Adds *PluginPlaceholder to all Popup menus in data/ui/rhythmbox-ui.xml

created from HEAD
Comment 2 Steven Brown 2008-10-21 00:07:50 UTC
Created attachment 120972 [details]
screenshot showing before and after effects of the patch with an updated (jump-to-playing) plugin
Comment 3 Steven Brown 2008-10-21 23:06:42 UTC
I'm only currently aware of 2 plugins needing updating.

I've updated the jump-to-playing plugin here: http://www.stevenbrown.ca/blog/archives/437

Other plugins that need updating:
 - Open Containing Folder

I'll send a patch to the author shortly, I suppose.
Comment 4 Steven Brown 2008-10-22 00:20:01 UTC
Created attachment 121079 [details] [review]
Adds Open Folder to PodcastView,  QueuePlaylistView, and PlaylistView popups and puts the item in the placeholder

This should be applied to version 0.2 of the plugin, available here: http://www.infinicode.org/code/rb/
Comment 5 Steven Brown 2008-10-22 20:23:58 UTC
Created attachment 121161 [details]
Image of patched RB and 2 updated plugins using it

Attached an image of a patched RB and 2 updated plugins using it.  Looks much better with Properties always at the bottom, I think!  :)
Comment 6 Adolfo González Blázquez 2008-10-24 08:17:47 UTC
I've just uploaded a new version of the Open Folder plugin, with the patch from Steven Brown. Thank you very much for it.
Comment 7 Jonathan Matthew 2008-11-07 10:19:40 UTC
There's actually no reason to call these things 'QueuePlaylistViewPopupPluginPlaceholder' and so on.  I've changed all the names to just PluginPlaceholder (including for existing placeholders) and committed it.  Thanks.

Comment 8 Steven Brown 2008-11-10 19:26:05 UTC
Created attachment 122347 [details] [review]
patch to apply to rb-open-folder 0.3 to account for changes

Adolfo, here's a patch you can apply to 0.3 of your plugin to account for these changes.
Comment 9 Steven Brown 2008-11-10 20:02:45 UTC
I agree!  :)  I was just trying to follow the existing standard.

Updated jump-to-playing plugin appropriately here: http://www.stevenbrown.ca/blog/archives/437
Comment 10 Adolfo González Blázquez 2008-11-10 20:09:03 UTC
rb-open-folder updated to 0.4. Thanks Steven.