The bug has been marked as a duplicate upstream. The problem is that the
"name" property is only meant to be used w.r.t. themes and doesn't need
to be unique. The GtkBuilder ID however needs to be unique and was bound
to the "name" property until now.

This means that the problem can be fixed within LottaNZB using a rather
ugly hack by getting the GtkBuilder ID using
gtk.Buildable.get_name(widget). Let's hope that the GTK/PyGTK API's will
be updated regarding this issue by adding methods/functions like
"get_id" or "get_buildable_id".

** Changed in: lottanzb
       Status: Invalid => Triaged

** Changed in: lottanzb
       Status: Triaged => In Progress

** Changed in: lottanzb
     Assignee: (unassigned) => Severin Heiniger (lantash)

** Changed in: lottanzb
   Importance: Undecided => Critical

** Changed in: lottanzb
    Milestone: None => 0.5.3

-- 
Widget names not set when using GtkBuilder
https://bugs.launchpad.net/bugs/507739
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to