Bugzilla – Attachment 66359 Details for
Bug 147941
Menubar at top of screen is aligned wrong
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
kdebase3 patch
menubar_align_fix.patch (text/plain), 1.19 KB, created by
Lubos Lunak
on 2006-02-03 14:42:16 UTC
(
hide
)
Description:
kdebase3 patch
Filename:
MIME Type:
Creator:
Lubos Lunak
Created:
2006-02-03 14:42:16 UTC
Size:
1.19 KB
patch
obsolete
>--- kicker/kicker/core/containerarealayout.cpp.sav 2005-11-30 16:53:23.000000000 +0100 >+++ kicker/kicker/core/containerarealayout.cpp 2006-02-03 15:38:46.000000000 +0100 >@@ -635,6 +635,25 @@ void ContainerAreaLayout::moveContainerS > geom.moveLeft(distance); > moving->setGeometryR(geom); > >+ // HACK - since the menuapplet is not movable by the user, make sure it's always left-aligned >+ ItemList::const_iterator prev = m_items.constEnd(); >+ for( ItemList::const_iterator it = m_items.constBegin(); >+ it != m_items.constEnd(); >+ ( prev = it ), ++it ) >+ { >+ if( BaseContainer* container = dynamic_cast<BaseContainer*>((*it)->item->widget())) >+ if(AppletContainer* applet = dynamic_cast<AppletContainer*>(container)) >+ if( applet->info().desktopFile() == "menuapplet.desktop" ) >+ { >+ QRect geom = (*it)->geometryR(); >+ if( prev != m_items.constEnd()) >+ geom.moveLeft( (*prev)->rightR() + 1 ); >+ else >+ geom.moveLeft( 0 ); >+ (*it)->setGeometryR( geom ); >+ } >+ } >+ > updateFreeSpaceValues(); > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 147941
:
66316
| 66359