should build without GTK deprecations
Bug #655628 reported by
Sebastien Bacher
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Indicator Applet |
Fix Released
|
Low
|
Michael Terry | ||
indicator-applet (Ubuntu) |
Fix Released
|
Low
|
Michael Terry |
Bug Description
Binary package hint: indicator-applet
Ubuntu will start using GTK3 in its default installation next cycle, as a first step to be ready for that your sources should build on GTK 2.22 with GTK deprecations disabled which is not the case for indicator-applet
You can set CFLAGS=
You can also find documentation on how to port code on http://
Changed in indicator-applet (Ubuntu): | |
importance: | Undecided → Low |
tags: | added: gnome3-gtk3 |
Changed in indicator-applet: | |
assignee: | nobody → Michael Terry (mterry) |
Changed in indicator-applet: | |
assignee: | Michael Terry (mterry) → nobody |
Changed in indicator-applet (Ubuntu): | |
assignee: | nobody → Michael Terry (mterry) |
status: | New → In Progress |
Changed in indicator-applet: | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in indicator-applet: | |
status: | Triaged → Fix Released |
assignee: | nobody → Heru Herdianto (herdiantoheru-yahoo) |
assignee: | Heru Herdianto (herdiantoheru-yahoo) → Michael Terry (mterry) |
Changed in indicator-applet (Ubuntu): | |
status: | In Progress → Fix Released |
To post a comment you must log in.
I have a branch for this (linked to this bug), but there was a problem with the hotkey handling. It used some secret attributes of a GtkMenuShell that aren't there with deprecated API disabled. I couldn't figure out how to get the same result using published API (except perhaps to fake a keyboard press?).
if (!GTK_MENU_ SHELL(data) ->active) { SHELL(data) ->have_ grab = TRUE; SHELL(data) ->active = TRUE;
gtk_grab_add (GTK_WIDGET(data));
GTK_MENU_
GTK_MENU_
}
You'll see this in hotkey_filter(). Ted, any ideas on how to do that bit the right way? For now I've commented it out in my branch, but it isn't recommended for merging because of this issue.