Re: Porting UIs to GtkBuilder



Hi,

On Wed, Apr 15, 2009 at 1:35 AM, Tristan Van Berkom <tvb gnome org> wrote:
On Tue, Apr 14, 2009 at 4:50 PM, Zeeshan Ali (Khattak) <zeenix gmail com> wrote:
Hi,
 Reading through planet gnome and related mailing-lists recently, I
got the impression that this would be a good time to port my UIs from
libglade usage to GtkBuilder. So following the guidelines on this
page:

http://library.gnome.org/devel/gtk/stable/gtk-migrating-GtkBuilder.html

 I tried to do so:
http://gitorious.org/projects/gupnp-tools/repos/mainline/commits/e8bb5436aa22009b5b312da5a459324382e889c5

Errr, try converting with Glade 3.6 instead of the conversion script ?

   I just tried glade3 from trunk[1]. One of the three UIs just work
fine now but two others don't. One of them hits a fatal on startup:

<console>
$ gupnp-universal-cp
Gtk-Message: Failed to load module "atk-bridge": libatk-bridge.so:
cannot open shared object file: No such file or directory

** (gupnp-universal-cp:12727): CRITICAL **: Unable to load the GUI
file /opt/gnome2/share/gupnp-tools/gupnp-universal-cp.ui: Unknown
internal child: image
</console>

   The other one has some minor issues that i might be able to figure on my own:

<console>
(gupnp-av-cp:13063): Gtk-WARNING **: Cannot add an object of type
GtkMenu to a container of type GtkMenuItem

(gupnp-av-cp:13063): Gtk-WARNING **: Cannot add an object of type
GtkMenu to a container of type GtkMenuItem

(gupnp-av-cp:13063): Gtk-WARNING **: No object called:

(gupnp-av-cp:13063): Gtk-WARNING **: No object called:
</console>

-- 
Regards,

Zeeshan Ali (Khattak)
FSF member#5124

[1] git://git-mirror.gnome.org/git/glade3



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]