Should use GtkBuilder rather than libglade

Bug #403542 reported by Sebastien Bacher
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mythbuntu-common (Ubuntu)
Fix Released
Undecided
Unassigned
mythbuntu-control-centre (Ubuntu)
Fix Released
Undecided
Unassigned
ubiquity (Ubuntu)
Fix Released
Wishlist
Michael Terry

Bug Description

Binary package hint: ubiquity

" Since version 2.12, GTK+ provides GtkBuilder to construct user interfaces from XML descriptions, similar to the functionality provided by GladeXML in the libglade library. "

GNOME is migrating to GtkBuilder for GNOME3 and it would be nice if the default install for the coming LTS would stop using libglade too which means this software should be updated in the next cycle.

You can find details on what changes are required on http://library.gnome.org/devel/gtk/stable/gtk-migrating-GtkBuilder.html

Changed in ubiquity (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Michael Terry (mterry) wrote :

I happen to be doing this as part of my plugins branch (as I convert each page to a plugin, I'm also moving to gtkbuilder). The two things are really unrelated, but there ya go. I'm not very far along yet, but it's happening.

lp:~mterry/ubiquity/plugins

Michael Terry (mterry)
Changed in ubiquity (Ubuntu):
status: New → In Progress
assignee: nobody → Michael Terry (mterry)
Revision history for this message
Michael Terry (mterry) wrote :

Guh, I just did this outside of my plugins branch; the changes are orthogonal. Note that we couldn't remove the dependency on glade, because we steal one of mythbuntu-common's glade files, which it must use because that's what mythbuntu-control-center expects. Yikes.

I'll add those components to this bug, maybe they can convert too, eventually letting ubiquity be glade-free.

Changed in ubiquity (Ubuntu):
status: In Progress → Fix Committed
Changed in mythbuntu-common (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mythbuntu-common - 0.32-0ubuntu1

---------------
mythbuntu-common (0.32-0ubuntu1) karmic; urgency=low

  [ Mario Limonciello ]
  * mythbuntu_common/mysql:
    - Use the full path for invoke-rc.d as /usr/sbin/ isn't in PATH
      when ran dbus activated.
  * mythbuntu_common/dictionaries:
    - Add an argument to the services dictionary so that a different
      object can be specified for mysql-server.
  * Convert from glade to gtkbuilder (LP: #403542)
  * Remove dummy_window top level parent window from all widgets.
    In gtk.Builder, we don't need a top level parent.
  * services:
    - Ignore any items in the dictionary that are None.
  * remote:
    - Reference builder objects rather than xml objects.
    - Add list store objects that weren't automatically created.
    - Add CellRenderer objects that weren't automatically created.
  * roles:
    - Drop references to unused 'toggled' function.
    - Drop references to unused diskless toggle function.
    - Hide the Appliance Frontend option since it has no code to
      back it currently. (LP: #413008)
    - Set diskless to be sensitive again.
  * mysql_configuration:
    - Drop reference to unused 'toggled' function.
    - Remove references to 'has_default' that were causing warnings
      about no gtk.Window object that they are within.
  * plugins:
    - Change the mythweb password section to be a 3 way selector
      for en/dis/reconfigure
    - Don't try to read the old password or username
    - Write out the new md5 and what not.
    - This may or may not be complete. It will need some experimentation
      with 0.22 and how it interacts with dpkg-reconfigure mythweb.

  [ Michael Haas ]
  * Remove plugins/ui/tab_diskless.ui as it'll be shipped in an external
    package

 -- Mario Limonciello <email address hidden> Tue, 18 Aug 2009 00:09:20 -0500

Changed in mythbuntu-common (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mythbuntu-control-centre - 0.52-0ubuntu1

---------------
mythbuntu-control-centre (0.52-0ubuntu1) karmic; urgency=low

  * Convert the project to use gtk.Builder as the primary way of loading
    plugins. This introduces a new information dictionary key, "ui"
    for plugins. (LP: #403542)
  * Add more debugging code when loading widgets and files and what not
    as they have more of a tendency to break now.
  * debian/control:
    - Remove python-glade2
    - Add python-gtk2

 -- Mario Limonciello <email address hidden> Tue, 18 Aug 2009 00:09:51 -0500

Changed in mythbuntu-control-centre (Ubuntu):
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubiquity - 1.99.7

---------------
ubiquity (1.99.7) karmic; urgency=low

  [ Mario Limonciello ]
  * mythbuntu_ui:
    - Hide step_label during the last step just prior to reboot. (LP: #412823)
    - Add a GtkCellRendererText and ListStore to drivers step. The previous
      conversion from glade->gtkbuilder appears to have not done for us.
    - Link to the gtkbuilder remote file from mythbuntu-common.
    - Fix broken MySQL service by mythbuntu-common changes.
  * gtk:
     - Drop logic to support glade files.
  * Drop depends on python-glade2

  [ Colin Watson ]
  * Upgrade to debhelper v7. There's still some fairly significant ugliness
    in our debian/rules, but this is a slight improvement.

  [ Michael Terry ]
  * kde: Enable timezone translation
  * gtk: Remove separators from dialogs
  * gtk: Convert glade files to GtkBuilder files (LP: #403542), which required
    a minimum gtk+ version bump to 2.12
  * Add menu icons for oem-config-prepare*.desktop (LP: #412832)

  [ Harald Sitter ]
  * Install the KDE desktop file to applications/kde4/ to prevent it from showing
    up as KDE 3 application in KRunner (happens when stored in applications/kde/)

  [ Roman Shtylman ]
  * kde: fix text overflow/clipping on user info page when presented with errors
   (LP: #413127)

  [ Evan Dandrea ]
  * Use "Require my password" rather than "Require a password" for the
    sake of clarity. Thanks Matthew Paul Thomas.
  * Reset the internal pointer to the segment to be resized when
    clearing the contents of the segmented bar in the GTK frontend
    (LP: #386982). Thanks Eitan Isaacson!

 -- Mario Limonciello <email address hidden> Tue, 18 Aug 2009 00:27:47 -0500

Changed in ubiquity (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.