[Webkit-unassigned] [Bug 49904] [GTK] Add a signal to allow applications to handle its own context menu
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Dec 14 09:01:09 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=49904
--- Comment #13 from Carlos Garcia Campos <cgarcia at igalia.com> 2010-12-14 09:01:09 PST ---
(In reply to comment #12)
> > He means it's very close to handling all cases only with this signal. Obviously all possible cases are already handled with all the signals + the setting. FWIW I'm not really a fan of the GList API and I think a setting makes things easier for some common cases, but I guess that's up for debate.
>
> I'm not particularly attached to passing the default menu items with a GList. What would you propose as an alternative? A GtkMenu?
The problem is not whether use a list or any other container, but the items, what would you pass? a GtkMenuItem? how can the user know that a GtkMenuItem is the same menu entry he wanted to add? Now that simplify-context menu patch was committed, menu items have a GtkAction associated, we might use a well known id for the actions and use gtk_activatable_get_related_action() and gtk_action_get_name(). We would have to document the names of the actions handled by the default context menu. This is a lot of more complex than adding a new signal.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list