Awn

"Remove Customized Icon" item doesn't have Python binding

Bug #665847 reported by Gabor Karsay
68
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Awn
Fix Released
Low
Alberto Aldegheri
avant-window-navigator (Ubuntu)
Fix Released
Low
Julien Lavergne

Bug Description

libawn's awn_themed_icon_create_remove_custom_icon_item() doesn't have a Python binding.

And maybe you know what's wrong with this vala code (in awnterm):

code:
Gtk.MenuItem remove_custom_item;
remove_custom_item = Awn.ThemedIcon.create_remove_custom_icon_item (this, null);

error message:
Access to instance member `Awn.ThemedIcon.create_remove_custom_icon_item' denied

Tags: libawn patch
tags: added: libawn
Revision history for this message
Michal Hruby (mhr3) wrote :

> error message:
> Access to instance member `Awn.ThemedIcon.create_remove_custom_icon_item' denied

It's an instance method, not a class method, therefore you need to call it with ThemedIcon instance.

Revision history for this message
Gabor Karsay (gabor-karsay) wrote :

Thanks, I figured it out, but unlike the C function it does not accept null as icon_name.

Revision history for this message
onox (onox) wrote :

Python binding for awn_themed_icon_create_remove_custom_icon_item.

Changed in awn:
status: New → Confirmed
description: updated
summary: - "Remove Custom Icon" item doesn't have python bindings
+ "Remove Customized Icon" item doesn't have Python binding
Changed in awn:
assignee: nobody → Alberto (albyrock87)
status: Confirmed → Fix Committed
importance: Undecided → Low
milestone: none → 0.4.2
Julien Lavergne (gilir)
Changed in avant-window-navigator (Ubuntu):
status: New → In Progress
importance: Undecided → Low
assignee: nobody → Julien Lavergne (gilir)
tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package avant-window-navigator - 0.4.1~bzr822-0ubuntu1

---------------
avant-window-navigator (0.4.1~bzr822-0ubuntu1) natty; urgency=low

  * New upstream snapshot.
   - Fix crash when launching awn-settings (LP: #702701)
   - Remove Customized Icon" item doesn't have Python binding (LP: #665847)
 -- Julien Lavergne <email address hidden> Mon, 21 Feb 2011 22:50:04 +0100

Changed in avant-window-navigator (Ubuntu):
status: In Progress → Fix Released
Povilas Kanapickas (p12)
Changed in awn:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.