fixed some EBN issues

svn path=/trunk/KDE/kdebase/workspace/; revision=546993
This commit is contained in:
Thorsten Roeder 2006-05-31 16:23:36 +00:00
parent 750d4f1d03
commit d68dafda6b
5 changed files with 6 additions and 6 deletions

View file

@ -50,7 +50,7 @@ PlastikButton::PlastikButton(ButtonType type, PlastikClient *parent)
{
setAttribute(Qt::WA_NoSystemBackground);
// no need to reset here as the button will be resetted on first resize.
// no need to reset here as the button will be reseted on first resize.
animTmr = new QTimer(this);
animTmr->setSingleShot(true); // single-shot

View file

@ -302,9 +302,9 @@ bool Workspace::workspaceEvent( XEvent * e )
// If the system tray gets destroyed, the system tray
// icons automatically get unmapped, reparented and mapped
// again to the closest non-client ancestor due to
// QXEmbed's SaveSet feature. Unfortunatly with kicker
// QXEmbed's SaveSet feature. Unfortunately with kicker
// this closest ancestor is not the root window, but our
// decoration, so we reparent explicitely back to the root
// decoration, so we reparent explicitly back to the root
// window.
XEvent ev;
WId w = e->xunmap.window;

View file

@ -393,7 +393,7 @@ void ButtonDropSite::dropEvent( QDropEvent* e )
} else {
ButtonDropSiteItem *aboveItem = buttonAt(p);
if (!aboveItem)
return; // invalid drop. hasn't occured _over_ a button (or left/right dropArea), return...
return; // invalid drop. hasn't occurred _over_ a button (or left/right dropArea), return...
ButtonList::iterator it;
if (!getItemIterator(aboveItem, buttonList, it) ) {

View file

@ -153,7 +153,7 @@ void KCommonDecoration::borders( int& left, int& right, int& top, int& bottom )
layoutMetric(LM_TitleEdgeTop) +
layoutMetric(LM_TitleEdgeBottom);
updateLayout(); // TODO!! don't call everytime we are in ::borders
updateLayout(); // TODO!! don't call every time we are in ::borders
}
void KCommonDecoration::updateLayout() const

2
sm.cpp
View file

@ -314,7 +314,7 @@ NET::WindowType Workspace::txtToWindowType( const char* txt )
// Therefore it's temporarily disabled during session saving. Start of
// session saving can be detected in SessionManaged::saveState() above,
// but Qt doesn't have API for saying when session saved finished (either
// successfully, or was cancelled). Therefore, create another connection
// successfully, or was canceled). Therefore, create another connection
// to session manager, that will provide this information.
static void save_yourself( SmcConn conn_P, SmPointer ptr, int, Bool, int, Bool )
{