[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Error in Fullscreen action either in kstdaction_p.h or in
From:       Albert Astals Cid <astals11 () terra ! es>
Date:       2003-06-29 22:28:09
[Download RAW message or body]

It is regarding the FullScreen action.

In kstdaction_p.h its entry is

{ FullScreen,    KStdAccel::FullScreen, "fullscreen", 0, 0, 
"window_fullscreen" },

and then in kstdaction.cpp it tries to do 

sLabel = i18n(pInfo->psLabel);

and so the aplications using 

KStdAction::fullScreen( this, SLOT( slotToggleFullScreen() ), 
actionCollection());

like KGhostview

say

kghostview: WARNING: KLocale: trying to look up "" in catalogue. Fix the 
program

So i think that either the kstdaction_p.h its entry should be changed to 
something like

{ FullScreen,    KStdAccel::FullScreen, "fullscreen", I18N_NOOP("Show in 
&Fullscreen"), 0, "window_fullscreen" },

or in kstdaction.cpp

sLabel = i18n(pInfo->psLabel);

gets changed to 

if (pInfo->psLabel) sLabel = i18n(pInfo->psLabel);
else sLabel = "";


Albert 'TSDgeos' Astals Cid
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic