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) .<br><br>But for GTK: you get the first line by using g_set_application_name() and then gtk_window_set_title() for the second line.<br>
<br>But believe it or not, this isn't hard to do at all...<br><br>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:<br><br>
<a href="http://i44.tinypic.com/348sy2a.png">http://i44.tinypic.com/348sy2a.png</a><br><br>Best Regards,<br>qwerty12<br><br><div class="gmail_quote">On Wed, Apr 29, 2009 at 1:21 PM, Frantisek Dufka <span dir="ltr"><<a href="mailto:dufkaf@seznam.cz">dufkaf@seznam.cz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">Faheem Pervez wrote:<br>
> For C programs, Mikkov made the following code which works a treat for<br>
> SDL stuff:<br>
> <a href="http://wiki.maemo.org/Game_development#Set_the_window_title" target="_blank">http://wiki.maemo.org/Game_development#Set_the_window_title</a><br>
><br>
<br>
</div>This is great and works fine to set first line in task switcher window<br>
list but it would be nice to put something to second line too like<br>
hildonized apps do. Any tips for setting second line from SDL/x11 C code?<br>
<font color="#888888"><br>
Frantisek<br>
</font><div class="im">_______________________________________________<br>
maemo-developers mailing list<br>
<a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a><br>
</div><div><div></div><div class="h5"><a href="https://lists.maemo.org/mailman/listinfo/maemo-developers" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-developers</a><br>
</div></div></blockquote></div><br>