"quickly design": glade complains about old target GTK version

Bug #945808 reported by Frederik Elwert
8
This bug affects 1 person
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:

AboutMaxTtsDialog.ui targets Gtk+ 2.12

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/AboutMaxTtsDialog.ui'
--- data/ui/AboutMaxTtsDialog.ui 2012-03-01 18:41:33 +0000
+++ data/ui/AboutMaxTtsDialog.ui 2012-03-03 19:22:25 +0000
@@ -1,8 +1,8 @@
 <interface>
- <!-- interface-requires gtk+ 3.0 -->
- <!-- interface-requires about_max_tts_dialog 1.0 -->
+
+
   <object class="AboutMaxTtsDialog" id="about_max_tts_dialog">

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
ProcVersionSignature: Ubuntu 3.2.0-17.27-generic 3.2.6
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)
PackageArchitecture: all
QuicklyDataPath: /usr/share/quickly
QuicklyTemplates:
 /usr/share/quickly/templates/ubuntu-application
 /usr/share/quickly/templates/ubuntu-flash-game
 /usr/share/quickly/templates/ubuntu-pygame
 /usr/share/quickly/templates/ubuntu-cli
QuicklyTemplatesDirectories: /usr/share/quickly/templates/
SourcePackage: quickly
UpgradeStatus: Upgraded to precise on 2012-01-22 (41 days ago)

Revision history for this message
Frederik Elwert (frederik-elwert) wrote :
Michael Terry (mterry)
Changed in quickly:
status: New → Confirmed
Revision history for this message
Frederik Elwert (frederik-elwert) wrote :

This patch uses lxml instead of xml.etree, with a parser that keeps comments. This should be enough to fix the issue.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "quickly_preserve_xml_comment.patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Michael Terry (mterry)
Changed in quickly:
status: Confirmed → Fix Committed
Changed in quickly (Ubuntu):
status: New → Fix Committed
Michael Terry (mterry)
Changed in quickly:
milestone: none → 12.03
Michael Terry (mterry)
Changed in quickly:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package quickly - 12.03-0ubuntu1

---------------
quickly (12.03-0ubuntu1) precise; urgency=low

  * New upstream release
    - Tutorial update (LP: #929417, LP: #929420, LP: #929572)
    - Fix crash when creating derived-template projects (LP: #936379)
    - Don't strip comments from glade files (LP: #945808)
  * debian/rules:
    - Move project_root schema file to template directory after
      python-distutils-extra zealously places it in system schema folder.
 -- Michael Terry <email address hidden> Wed, 14 Mar 2012 20:30:12 -0400

Changed in quickly (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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