diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2012-March/012752.html')
-rw-r--r-- | zarb-ml/mageia-dev/2012-March/012752.html | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-March/012752.html b/zarb-ml/mageia-dev/2012-March/012752.html new file mode 100644 index 000000000..81fe50900 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-March/012752.html @@ -0,0 +1,97 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] Gtk+3.0 bindings API break, what to do? + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Gtk%2B3.0%20bindings%20API%20break%2C%20what%20to%20do%3F&In-Reply-To=%3C4F5781E4.9090709%40mageia.org%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="012707.html"> + <LINK REL="Next" HREF="012698.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] Gtk+3.0 bindings API break, what to do?</H1> + <B>Anssi Hannula</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Gtk%2B3.0%20bindings%20API%20break%2C%20what%20to%20do%3F&In-Reply-To=%3C4F5781E4.9090709%40mageia.org%3E" + TITLE="[Mageia-dev] Gtk+3.0 bindings API break, what to do?">anssi at mageia.org + </A><BR> + <I>Wed Mar 7 16:42:28 CET 2012</I> + <P><UL> + <LI>Previous message: <A HREF="012707.html">[Mageia-dev] Gtk+3.0 bindings API break, what to do? +</A></li> + <LI>Next message: <A HREF="012698.html">[Mageia-dev] lvm2 initscript is marked as a config file...? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#12752">[ date ]</a> + <a href="thread.html#12752">[ thread ]</a> + <a href="subject.html#12752">[ subject ]</a> + <a href="author.html#12752">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>06.03.2012 20:34, Anssi Hannula kirjoitti: +><i> Hi! +</I>><i> +</I>><i> As per <A HREF="https://bugzilla.gnome.org/show_bug.cgi?id=657385">https://bugzilla.gnome.org/show_bug.cgi?id=657385</A> +</I>><i> gtk_menu_popup_for_device() has been renamed to gtk_menu_popup() in +</I>><i> introspection, causing at least Menu.popup() in python-gi to break. +</I>><i> +</I>><i> Ubuntu has reverted it: +</I>><i> <A HREF="https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/923171">https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/923171</A> +</I>><i> +</I>><i> Attached are alternative one-liner patches to either revert the API +</I>><i> break in Gtk+3.0 (dont_rename_annotation.patch, from Ubuntu), or to +</I>><i> adapt python-gobject3 to the API change +</I>><i> (python-gi-adapt-for-gnome657385.patch, written by me). +</I>><i> +</I>><i> Since gtk+3.0 is unmaintained, I'm posting here to ask which way to go. +</I> +For now I've patched python-gobject3. More GTK+3-knowledged people can +feel free to revert it and use the other solution if they so wish... + +><i> This affects e.g. gcdemu, right-clicking the traybar icon causes this error: +</I>><i> Traceback (most recent call last): +</I>><i> File "/usr/bin/gcdemu", line 688, in on_popup_menu +</I>><i> self.menu.popup(None, None, status_icon.position_menu, self, button, +</I>><i> activate_time) +</I>><i> File "/usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py", line +</I>><i> 1381, in popup +</I>><i> self.popup_for_device(None, parent_menu_shell, parent_menu_item, +</I>><i> func, data, button, activate_time) +</I>><i> AttributeError: 'Menu' object has no attribute 'popup_for_device' +</I>><i> +</I>><i> +</I> + +-- +Anssi Hannula +</PRE> + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="012707.html">[Mageia-dev] Gtk+3.0 bindings API break, what to do? +</A></li> + <LI>Next message: <A HREF="012698.html">[Mageia-dev] lvm2 initscript is marked as a config file...? +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#12752">[ date ]</a> + <a href="thread.html#12752">[ thread ]</a> + <a href="subject.html#12752">[ subject ]</a> + <a href="author.html#12752">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html> |