GNOME Bugzilla – Bug 722553
GtkMenuTrackerItem and friends should use GRemoteActionGroup
Last modified: 2014-01-28 20:55:01 UTC
Just syncing code changes that I made for gnome-shell with the master copy in gtk+.
Created attachment 266660 [details] [review] gtkactionmuxer: implement GRemoteActionGroup By forwarding to a GRemoteActionGroup if one is inserted in the muxer, or dropping the platform_data on the floor. GTK+ internally does not use remote actions, but this keeps the code consistent with gnome-shell.
Created attachment 266661 [details] [review] GtkMenuTrackerItem: make use of GRemoteActionGroup When the observable is a GtkActionMuxer, use the GRemoteActionGroup interface to pass down to the timestamp for the even to the implementation. The timestamp is added to the API to allow sharing the file with gnome-shell.
CCing desrt for review.
desrt didn't like these patches, so I'm going to WONTFIX them.
(In reply to comment #4) > desrt didn't like these patches, so I'm going to WONTFIX them. I'd like to know why.
He felt that "platform data" should not be injected into the high-level APIs, but at a place low in the stack, and pointed me to https://bugzilla.gnome.org/show_bug.cgi?id=697994 . You're free to continue those patches.