imsory / gnome2-globalmenu

Automatically exported from code.google.com/p/gnome2-globalmenu
GNU General Public License v2.0
0 stars 0 forks source link

Wrong title in applet for PyGTK applications #590

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I've found that the globalmenu applet displays wrong title for apps built 
with PyGTK. It only shows the name of the binary, not the window title.
I've checked Miro, virt-manager and PyGTK hello world.

I'm running latest globalmenu on Ubuntu Lucid 64-bit.

Original issue reported on code.google.com by wojtekma...@gmail.com on 28 Mar 2010 at 12:10

GoogleCodeExporter commented 8 years ago
Most likely because WM_CLASS is preferred which is autoset to the filename of 
the running script by PyGtk. WM_NAME and WM_ICON_NAME instead contain the title 
set by the application.

Original comment by matsusuk...@gmail.com on 19 Jun 2010 at 12:59

GoogleCodeExporter commented 8 years ago
BTW, those functions can also change the WM_CLASS application wide by calling 
the gtk.gdk.set_program_class() helper function.

Original comment by matsusuk...@gmail.com on 19 Jun 2010 at 8:58

GoogleCodeExporter commented 8 years ago
Same issue here. In particular, Update Manager on Ubuntu 10.04 (which I presume 
is a PyGTK app) is shown as Python (v2.6) which would be a bit confusing for 
some.

Original comment by pinner.luke@gmail.com on 22 Dec 2010 at 4:01