[Glade-users] New Installation from Librecore
- From: tristan.van.berkom at gmail.com (Tristan Van Berkom)
- Subject: [Glade-users] New Installation from Librecore
- Date: Wed, 8 Jun 2016 00:33:19 +0900
Sorry, this mail fell through the cracks.
The warning:
Gtk-WARNING **: Unknown type < define a new column > spevified in
treemodel Number_List
Is particularly telling, this is a string from the list store editor
which should really only appear in the editor, the fact that you have
that in your glade file means that some bug caused it to be saved in
the file.
I'm not sure how it can be possible that this glade file ever worked
before, this probably means you are looking at the loaded/saved
version which probably introduced that bug, are you sure these are the
warning messages you originally encountered before loading/saving the
file ?
If the glade file is not particularly sensitive information, it would
be really nice if you could attach a before/after glade file to a bug
report at:
http://bugzilla.gnome.org/enter_bug.cgi?product=glade ideally with
some steps to reproduce the error.
In any case, it looks like you just have an extra column definition in
the xml for some unexplained reason, and deleting that column should
get things up and running again.
Note that the other errors:
Gtk-WARNING **: ../../src/gtk/gtkliststore.c:516: Invalid type (null)
This one is caused by the previous one which specifies a bogus type
named "< define a new column >"
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
This one can be safely ignored, it's a recommendation from the GTK+ team.
To fix it, you can call gtk_window_set_transient_for() on the dialog,
setting the parent window of the dialog, ensuring that the said dialog
always remains stacked above your application's main window - but as I
said, it's just discouraged and should be harmless to just leave it as
is.
Cheers,
-Tristan
On Tue, Jun 7, 2016 at 10:05 PM, <bertus.dries at planet.nl> wrote:
In the mean time I try to creat my .glade file from the start all over
again. I find that each time I make a fresh start with Glade the buttons of
the dialogs are disappeared.
L. Dries
-----Oorspronkelijk bericht----- From: bertus.dries at planet.nl
Sent: Sunday, June 5, 2016 11:24 AM
To: tristan.van.berkom at gmail.com
Cc: glade-users
Subject: Re: [Glade-users] New Installation from Librecore
First I was using the version that was distributed last year (I believe that
was 3.8.3).
And I always believe in using the latest version of a distribution.
In the mean time I found the folowing when starting my program with the run
button:
Gtk-WARNING **: Unknown type < define a new column > spevified in treemodel
Number_List
Gtk-WARNING **: ../../src/gtk/gtkliststore.c:516: Invalid type (null)
Gtk-Message: GtkDialog mapped without a transient parent. This is
discouraged.
I do start the program with the lines:
Gtk_New (Builder);
Error_nr := Add_From_File (Builder, "Program.glade", Error'Access);
if Error /= null then
-- Create an Error Message Window in case the an error resulted from
Add_From_File
answer := Message_Dialog( Msg => "No correct file wth the name
""Program.glade""",
Buttons => Button_OK,
Title => "Error");
Error_Free (Error);
return;
end if;
As I did with the last version also.
This means that the Error messages in the GPS occur before the Message Box
appears.
At the top of the file I do have:
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.16.1 -->
<interface>
-----Oorspronkelijk bericht----- From: Tristan Van Berkom
Sent: Sunday, June 5, 2016 10:00 AM
To: bertus.dries at planet.nl
Cc: glade-users
Subject: Re: [Glade-users] New Installation from Librecore
Hi,
It's hard to say whats going wrong, what version of Glade were you
previously using ? If you were using Glade 3.8.x - then you need to
continue using Glade 3.8.x (which is parallel installable with Glade
= 3.10) which generates XML for the older libglade format as well as
GtkBuilder format for GTK+2.x.
From your message, I suspect that you are looking at an older code
base which still uses libglade and GTK+2, but as I said it's hard to
say whats going on without further information.
What were the warnings that you saw when running your program ?
In your glade file, does it say <glade-interface> at the top level ?
or <interface> ?
What api are you using to load the glade file through your Ada
bindings, bindings to libglade or to GTK+'s GtkBuilder ?
Cheers,
-Tristan
On Sun, Jun 5, 2016 at 4:09 PM, <bertus.dries at planet.nl> wrote:
I just made a new installation from Librecore of GPS and GtkAda. In the
GtkAda installation a new version of glade was introduced (3.16.1). When I
tried to run in GPS a programwhich uses a .glade file I got several
warnings. Then I tried via properties to change the toolkit version to
3.10
and my program (in the meantime rebuild ). My program did not recognized
the
.glade file as a correct file.
Which is the correct combination I should use with the new installation. I
am running on Windows 10.
L. Dries
_______________________________________________
Glade-users maillist - Glade-users at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-users
-----
Geen virus gevonden in dit bericht.
Gecontroleerd door AVG - www.avg.com
Versie: 2016.0.7639 / Virusdatabase: 4591/12360 - datum van uitgifte:
06/04/16
_______________________________________________
Glade-users maillist - Glade-users at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-users
-----
Geen virus gevonden in dit bericht.
Gecontroleerd door AVG - www.avg.com
Versie: 2016.0.7639 / Virusdatabase: 4591/12360 - datum van uitgifte:
06/04/16
_______________________________________________
Glade-users maillist - Glade-users at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-users
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]