Bug 155867 - usermode-gtk applications don't set icons for their windows
usermode-gtk applications don't set icons for their windows
Product: Fedora
Classification: Fedora
Component: usermode (Show other bugs)
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Jindrich Novy
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2005-04-24 23:03 EDT by Wei-Lun Chao
Modified: 2013-07-02 19:07 EDT (History)
1 user (show)

See Also:
Fixed In Version: 1.80-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-05-11 08:29:53 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Wei-Lun Chao 2005-04-24 23:03:49 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; zh-TW; rv:1.7.7) Gecko/20050416 Fedora/1.0.3-1.3.1 Firefox/1.0.3

Description of problem:
when usermode-gtk is opened in GNOME
and under the metacity window manager,
the icon on the title bar is not it's
own icon.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.execute usermode-gtk

Additional info:
Comment 1 Jindrich Novy 2005-04-25 03:51:07 EDT
你好 Zhao Weilun,

you possibly mean to execute any of the usermode-gtk application such as
userpasswd, etc. I'm not a metacity user at all so maybe there's some kind of
incompatibility here in contrast with another window managers?

Ray, is there something on the usermode side I can fix to let the correct icon
be displayed in the title bar? Maybe some additional tweaks to *.desktop files
are needed?
Comment 2 Ray Strode [halfline] 2005-04-25 12:34:11 EDT
Hi Jindrich,

The icons in desktop files are not automatically associated with window icons.

You can either call

gtk_window_set_icon_name (window, "the-icon-name");

for a specific window or

gtk_window_set_default_icon_name ("the-icon-name");

so it will happen for all windows.

"the-icon-name" is the name listed in the [Desktop Entry] section of the
.desktop file on the line that starts with Icon=

Comment 3 Jindrich Novy 2005-05-03 06:37:56 EDT
Ray, thanks, now I know what reporter actually wants.
Comment 4 Jindrich Novy 2005-05-11 08:29:53 EDT
This is now fixed.

Note You need to log in before you can comment on or make changes to this bug.