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

Bug#512896: liblablgtk2-ocaml-dev: lablgladecc2 hide-default behavior breaks GtkAboutDialog



Package: liblablgtk2-ocaml-dev
Version: 2.10.1-2
Severity: normal

I have a Glade file (created with Glade 3.4.5) containing an about
dialog (GtkAboutDialog).  I am using lablgladecc2 to generate code to
access to widgets in this file, using -hide-default to omit components
without particular names.

The resulting file, however, attempts to obtain the object for the
top-level vbox in the About dialog.  This vbox has its default name
(dialog-vbox1), so I expected it to be omitted in the generated code.
Since it is included, however, Glade fails with the following message
when attempting to instantiate the about dialog:

In callback for signal activate, uncaught exception: Failure("Glade
error: GtkVBox:dialog-vbox1 is not accessible.")

Looking at the source code to lablgladecc2, it seems that a simple
"fix" is to stop checking for top-level widgets and thus only use name
to determine whether a widget is hidden, but this would probably break
applications and is thus probably not the best solution.

-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.28-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages liblablgtk2-ocaml-dev depends on:
ii  libglade2-dev                1:2.6.2-1   development files for libglade
ii  libgtk2.0-dev                2.12.11-4   Development files for the GTK+ lib
ii  libgtkspell-dev              2.0.13-1+b1 Development files for GtkSpell
ii  liblablgtk2-ocaml            2.10.1-2    runtime libraries for OCaml bindin
ii  ocaml [ocaml-3.10.2]         3.10.2-3    ML language implementation with a 

liblablgtk2-ocaml-dev recommends no packages.

Versions of packages liblablgtk2-ocaml-dev suggests:
pn  liblablgtk2-gl-ocaml-dev      <none>     (no description available)
pn  liblablgtk2-gnome-ocaml-dev   <none>     (no description available)

-- no debconf information



Reply to: