Well, apps using a HildonWindow don't *strictly* do it either (Hildon sets
the name of the binary as the first line which is odd IMHO) .

But for GTK: you get the first line by using g_set_application_name() and
then gtk_window_set_title() for the second line.

But believe it or not, this isn't hard to do at all...

char *name = "Title to show on first line - Title to show on second line"
and then pass that char to XStoreName as the third argument:

http://i44.tinypic.com/348sy2a.png

Best Regards,
qwerty12

On Wed, Apr 29, 2009 at 1:21 PM, Frantisek Dufka <duf...@seznam.cz> wrote:

> Faheem Pervez wrote:
> > For C programs, Mikkov made the following code which works a treat for
> > SDL stuff:
> > http://wiki.maemo.org/Game_development#Set_the_window_title
> >
>
> This is great and works fine to set first line in task switcher window
> list but it would be nice to put something to second line too like
> hildonized apps do. Any tips for setting second line from SDL/x11 C code?
>
> Frantisek
> _______________________________________________
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to