"quickly design": glade complains about old target GTK version
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Anjuta |
New
|
Undecided
|
Unassigned | ||
Quickly |
Fix Released
|
Undecided
|
Unassigned | ||
quickly (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When running "quickly design", glade complains about the target GTK version:
AboutMaxTtsDial
But this version of Glade is for GTK+ 3 only.
Make sure you can run this project with Glade 3.8 with no deprecated widgets first.
I noticed that this seems to be caused by missing comments in the AboutDialog UI files. I added them manually, but after running "quickly share", they disappear again:
=== modified file 'data/ui/
--- data/ui/
+++ data/ui/
@@ -1,8 +1,8 @@
<interface>
- <!-- interface-requires gtk+ 3.0 -->
- <!-- interface-requires about_max_
+
+
<object class="
It seems that the version number update process somehow replaces these comments with empty lines.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: quickly 11.12-0ubuntu1
ProcVersionSign
Uname: Linux 3.2.0-17-generic i686
ApportVersion: 1.94-0ubuntu1
Architecture: i386
Date: Sat Mar 3 20:30:22 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha i386 (20110803.1)
PackageArchitec
QuicklyDataPath: /usr/share/quickly
QuicklyTemplates:
/usr/share/
/usr/share/
/usr/share/
/usr/share/
QuicklyTemplate
SourcePackage: quickly
UpgradeStatus: Upgraded to precise on 2012-01-22 (41 days ago)
Changed in quickly: | |
status: | New → Confirmed |
Changed in quickly: | |
status: | Confirmed → Fix Committed |
Changed in quickly (Ubuntu): | |
status: | New → Fix Committed |
Changed in quickly: | |
milestone: | none → 12.03 |
Changed in quickly: | |
status: | Fix Committed → Fix Released |
This patch uses lxml instead of xml.etree, with a parser that keeps comments. This should be enough to fix the issue.