Opened 6 years ago

Last modified 4 years ago

#4672 task new

Convert libglade files to gtkbuilder files

Reported by: jml Owned by: thijs
Priority: lowest Milestone:
Component: core Keywords:
Cc: thijs Branch: branches/glade-gtkbuilder-4672
branch-diff, diff-cov, branch-cov, buildbot
Author: thijs

Description (last modified by thijs)

Gtk added support for gtkbuilder files in 2.12, deprecating the need for libglade.

We should probably bring our glade files up to date. Also see

$ find . -name '*glade'

Attachments (1)

glade-gtkbuilder-4672.patch (31.9 KB) - added by thijs 5 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 6 years ago by exarkun

  • Priority changed from normal to lowest

Assigning a priority consistent with the explanation at

comment:2 Changed 6 years ago by <automation>

  • Owner glyph deleted

Changed 5 years ago by thijs

comment:3 Changed 5 years ago by thijs

  • Cc thijs added
  • Keywords review added

When trying to close the doc/core/examples/ example it prints the following traceback:

Traceback (most recent call last):
  File "doc/core/examples/", line 48, in on_loginDialog_response
  File "doc/core/examples/", line 55, in cancelled
  File "/home/thijs/workspaces/opensource/Twisted/trunk/twisted/internet/", line 393, in errback
    fail = failure.Failure(captureVars=self.debug)
  File "/home/thijs/workspaces/opensource/Twisted/trunk/twisted/python/", line 217, in __init__
    raise NoCurrentExceptionError()

When I convert the glade file to a gtkbuilder file the traceback is the same so this means it's not related to the conversion. Not sure what goes wrong here, any pointers are appreciated.

Attached patch adds the converted file and changes to the example. I suggest opening additional tickets for the other glade files to limit the scope of this ticket.

comment:4 Changed 5 years ago by thijs

  • Description modified (diff)

comment:5 Changed 4 years ago by washort

How is this patch related to the error you list there? Does it fix the problem?

comment:6 Changed 4 years ago by exarkun

The error is an unrelated bug in the example.

comment:7 Changed 4 years ago by exarkun

  • Keywords review removed
  • Owner set to thijs

Unfortunately the bulk of this patch no longer applies. There's a big conflict in with the part of the code that actually switches to Builder.

comment:8 Changed 4 years ago by thijs

  • Author set to thijs
  • Branch set to branches/glade-gtkbuilder-4672

(In [36829]) Branching to 'glade-gtkbuilder-4672'

Note: See TracTickets for help on using tickets.