After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 138625 - Cannot switch domains when use quick-lounge applet.
Cannot switch domains when use quick-lounge applet.
Status: RESOLVED FIXED
Product: gnome-panel
Classification: Other
Component: panel
unspecified
Other All
: High normal
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-03-31 12:12 UTC by Takao Fujiwara
Modified: 2005-04-25 13:49 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
patch for bonobo domain. (1.94 KB, patch)
2004-03-31 12:13 UTC, Takao Fujiwara
none Details | Review

Description Takao Fujiwara 2004-03-31 12:12:11 UTC
Description of Problem:
Cannot switch over domains when use quick-lounge
applet.

Steps to reproduce the problem:
1. Add Quick Lounge applet on gnome-panel.
2. Right click on the applet

Actual Results:
Then the menuitem "Lock" is not localized.
What worse still, once see the menu of the 
applet, Gnome-menu turns back English messages. 

Expected Results:
Domain can be switched on gnome-panel.

How often does this happen? 
When see right click menu of quick lounge applet.

Additional Information:
I attached the patch.
Comment 1 Takao Fujiwara 2004-03-31 12:13:34 UTC
Created attachment 26152 [details] [review]
patch for bonobo domain.
Comment 2 Mark McLoughlin 2004-06-02 12:50:41 UTC
I don't understand your problem or the patch.

Are you saying the menu is localized the first time and then switches back to
the C locale ?
Comment 3 Takao Fujiwara 2004-06-03 02:27:08 UTC
Yes, The GNOME desktop menu is localized at the first time.
Quick Lounge applet loads the own .mo file and gnome-panel's .mo file.
But applets configure the textdomain as own names and gnome-panel inherits 
the domain name so applets cannot find localized messages in gnome-panel's .mo 
file, then "Lock" of the applet and the desktop menus of gnome-panel are fallen 
back to English messages.

To fix this, gnome-panel always to bind the textdomain of the own name.
Comment 4 Vincent Untz 2004-10-18 11:26:33 UTC
Mark: is it clearer for you now? (it's not for me :-))
Comment 5 Mark McLoughlin 2005-04-25 13:49:05 UTC
No, this still makes precisely zero sense to me.

Both the panel and the clock applet do textdomain ("gnome-panel-2.0");

The only thing I can think of is if the quick-lounge applet is an shlib applet,
then its probably doing textdomain ("quick-lounge-applet") and screwing the panel.

That's probably it, fixed on HEAD:

2005-04-25  Mark McLoughlin  <mark@skynet.ie>

        * panel-applet.h: don't call textdomain() from shlib
        applets. Should fix reported issue with quick-lounge,
        although quick-lounge isn't an shlib applet anymore
        apparently (bug #138625)