GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Wed Aug 24, 2016 4:48 am

All times are UTC

Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: [gtk+-2.0]Glade & combobox translating the liststore strings
PostPosted: Sat Jan 05, 2013 5:43 pm 
Never Seen the Sunlight

Joined: Sun Apr 06, 2008 6:43 pm
Posts: 323
Location: Fortress of solitude
Hi, been a while

I'm making a glade file with a gtktreesortable, and a gtkliststore as child, and combobox.

The gtkliststore has some strings, the combobox show them propertly and sorted as expected.

Now, I have a problem:

When the app is run in my locale the combobox executes commands when the user change its activated item..but when
is translated and sorted, the commands are not execute according the activated item, because the sort and translated are missmatched...

any ideas or workarounds?

// spanish sorted order
Apagar <--execute shutdown
Reiniciar <-- execute reboot
Salir <-- close app window
// english sorted order
Exit <-- shutdown
Reboot <-- reboot
Shutdown <-- close

I can imagine other combinations can be with other locales :\

* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with xfce4.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with xfce4.

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC

Who is online

Users browsing this forum: Google [Bot] and 4 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group