[hafqa] [hafqa] [Bug 1732] hildon window.set_title does not replace command name and dash in title bar

From: bugzilla-daemon at maemo.org bugzilla-daemon at maemo.org
Date: Thu Oct 30 18:47:09 EET 2008
https://bugs.maemo.org/show_bug.cgi?id=1732


pierre.amadio at laposte.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pierre.amadio at laposte.net




------- Comment #6 from pierre.amadio at laposte.net  2008-10-30 18:47 GMT+3 -------
This seems to be done on purpose.

In  libhildon-2.0.6/src/hildon-window.c , function hildon_window_update_title :

/*
 * If the application
 * was given a name (with g_set_application_name(), set 
 * "ProgramName - WindowTitle" as the displayed
 * title
 */

Now, it looks like with pygtk, argv0 is the application name by default (i m
not sure about this, but could be true):

http://www.daa.com.au/pipermail/pygtk/2006-November/013083.html

The proposed workaround does not give the expected result. If i comment use the
following test case:

import sys
sys.argv[0] = False
import hildon
import gtk
win = hildon.Window()
win.set_title("sample tile")
win.show_all()
gtk.main()

Tehn the displayed title is "<unkown> -sample tile"


-- 
Configure bugmail: https://bugs.maemo.org/userprefs.cgi?tab=email
Replies to this email are NOT read, instead please add comments at
https://bugs.maemo.org/show_bug.cgi?id=1732
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the hafqa mailing list