View Single Post
Posts: 2,006 | Thanked: 3,351 times | Joined on Jun 2010 @ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
#383
Originally Posted by kojacker View Post
If you have any worries about packaging applications, something you're stuck on, or anything else that may be holding you back from completing your application then this is the time to let us help you. Or let us try to find someone to help you Especially beginners, we want to see everyone have a finished application
I dislike process of packaging an application (though I have done it once or twice) because it cannot be done on the N900 itself, if I remember correctly - I have to use MADDE Terminal.
I am stuck on changing the interface of hildon-touch-selector to display not only text value of the column, but also additional information. The tree model does include the "additional information", but the hildon-touch-selector does not show any awareness of it.
I would be grateful for help with C, since I am quite sure there are problems with memory allocation and pointers which I cannot see myself.
The application attached is hildon-control-panel applet to switch between virtual keyboards. As far as I know, right now a user of N900 has to type long gconf-invoking string in XTerm to change to a different virtual keyboard (it is the primary reason I still use the default virtual keyboard). This applet allows an easy-to-use graphical interface instead, showing currently used keyboard, list of available choices and button to switch to one of them.
An experienced user can understand which keyboard is going to be turned on just by seeing its file name. However, it would be easier for most users if additional information - such as, short description of the package which installed this file - was available.
The two attached files contain the source code of alpha version of the applet. C file is the whole code. DESKTOP file is to be put into directory /usr/share/applications/hildon-control-panel/.
SO file is the library to be put into location /usr/lib/hildon-input-method/. SO file can be found at
http://sharesend.com/4h1pz
Thanks in advance for reading.
Attached Files
File Type: txt libvirtrans.c.txt (4.2 KB, 121 views)
File Type: txt virtrans.desktop.txt (167 Bytes, 97 views)
 

The Following 2 Users Say Thank You to Wikiwide For This Useful Post: