[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebase/kicker/applets/clock
From: Aaron J. Seigo <aseigo () kde ! org>
Date: 2004-10-22 0:20:14
Message-ID: 20041022002014.03B0316BD3 () office ! kde ! org
[Download RAW message or body]
CVS commit by aseigo:
compensate for the 28px offset when re-positioning the widget
also, give the calendar focus so it gets keypressevents too
M +2 -1 clock.cpp 1.185
--- kdebase/kicker/applets/clock/clock.cpp #1.184:1.185
@@ -1243,8 +1243,9 @@ void ClockApplet::toggleCalendar()
c.setY(deskR.bottom()-h-1);
if (c.x()+w > deskR.right())
- c.setX(deskR.right()-w-1);
+ c.setX(deskR.right()-w+28-1);
_calendar->move(c);
_calendar->show();
+ _calendar->setFocus();
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic