PDA

View Full Version : problem in Glade interface designer of Ubuntu 9.10



brijith
November 28th, 2009, 05:57 AM
Hi all,

When I take a glade file ( which is designed in Ubuntu 9.04 ) in Ubuntu 9.10 every thing in coming distorted. Can any one help me in solving this .... Only because of this issue we are not able to use ubuntu 9.10 in our office...

Thanks in avdance

days_of_ruin
November 28th, 2009, 06:22 AM
Was the 9.04 one in LibGlade or GtkBuilder format?

brijith
November 28th, 2009, 06:34 AM
Was the 9.04 one in LibGlade or GtkBuilder format?

I don't know What it is....
I have the glade files ....
Is there any way to get its format from the files ...

Thanks for your Reply

Virtual Liberty
November 28th, 2009, 09:53 AM
When I take a glade file ( which is designed in Ubuntu 9.04 ) in Ubuntu 9.10 every thing in coming distorted.

Please be more specific - language, examples of what's not working, etc. ;)

brijith
November 28th, 2009, 10:36 AM
Please be more specific - language, examples of what's not working, etc. ;)

Oky...

Please check the attached screen shots

The first one is how the interface actually look

The second one is how it looks when I open the glade file in Glade interface designer ...

nvt
January 7th, 2010, 09:55 PM
Hi brijith,

After switching to 9.10, I got similar problem.
Have you found any solution?

Thanks for you help

giuspen
January 7th, 2010, 11:32 PM
I had the same problem but it's not a big deal, it's just a couple of vbox that turn into hbox or vice versa.

It takes less than one minute: find the vbox/hbox that behaves bad and change the parameter ORIENTATION (tab general, from horizontal to vertical or vice versa) you'll see everything gets fixed.

Once you fix it, if you open again with an older glade it will be still good... you will not need to change again the orientation.

brijith
January 8th, 2010, 07:54 AM
Thanks ...
did it worked for you ?
I will check it in my system .

Flimm
January 8th, 2010, 09:52 PM
I had the same problem but it's not a big deal, it's just a couple of vbox that turn into hbox or vice versa.
That's exactly the problem, thanks giuspen. All vertical type widgets (VBox, VPane, VScrollbar, etc) are assumed to be horizontal when <property name="orientation"> is not included in the source of the glade file, which seems to be the case for most old glade files.

I made a script that automatically fixes this, it's attached. To run:

python fix_glade_3.py filename.glade
A backup named filename.glade~script~ is automatically created.

UPDATE: I've updated the script so that it handles glade files built with libglade and GtkBuilder.

nvt
January 9th, 2010, 09:21 AM
Thanks all for your help,
and thanks Flimm for the script!

It seems to work for me, and I have check "back port" 9.10->8.04.
However, problem seems to be deeper. In older versions (<9.10)
glade-3 was in main repository, but in 9.10 glade is excluded
from the main repository and there is no glade-3 at all!

Best regards, nick

djtarki
January 28th, 2010, 03:13 PM
:p

I was pretty scared at the beginning when I saw the behaviour of the Glade project in Ubuntu 9.04