[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebase/kwin
From: Stephan Binner <binner () kde ! org>
Date: 2005-01-16 9:12:28
Message-ID: 20050116091228.DE6AA1BB32 () office ! kde ! org
[Download RAW message or body]
CVS commit by binner:
compile
M +8 -8 useractions.cpp 2.26
--- kdebase/kwin/useractions.cpp #2.25:2.26
@@ -85,5 +85,5 @@ QPopupMenu* Workspace::clientPopup()
connect(transSlider, SIGNAL(sliderMoved(int)), this, \
SLOT(setPopupClientOpacity(int)));
connect(transSlider, SIGNAL(sliderReleased()), trans_popup, \
SLOT(hide()));
- transSlider->setValue(100-popup_client->opacityPercentage());
+ transSlider->setValue(100-active_popup_client->opacityPercentage()); \
trans_popup->insertItem(transBox);
popup->insertItem(i18n("&Opacity"), trans_popup );
@@ -113,7 +113,7 @@ QPopupMenu* Workspace::clientPopup()
void Workspace::setPopupClientOpacity(int value)
{
- popup_client->setCustomOpacityFlag(true);
+ active_popup_client->setCustomOpacityFlag(true);
value = 100 - value;
- value<100?popup_client->setOpacity(true, \
(uint)((value/100.0)*0xffffffff)):popup_client->setOpacity(false,0xffffffff); + \
value<100?active_popup_client->setOpacity(true, \
(uint)((value/100.0)*0xffffffff)):active_popup_client->setOpacity(false,0xffffffff); \
}
@@ -133,7 +133,7 @@ void Workspace::setTransButtonText(int v
void Workspace::resetClientOpacity()
{
- popup_client->setCustomOpacityFlag(false);
- popup_client->updateOpacity();
- setTransButtonText(popup_client->opacityPercentage());
+ active_popup_client->setCustomOpacityFlag(false);
+ active_popup_client->updateOpacity();
+ setTransButtonText(active_popup_client->opacityPercentage());
}
@@ -176,6 +176,6 @@ void Workspace::clientPopupAboutToShow()
if (options->useTranslucency)
{
- transSlider->setValue(100-popup_client->opacityPercentage());
- setTransButtonText(popup_client->opacityPercentage());
+ transSlider->setValue(100-active_popup_client->opacityPercentage());
+ setTransButtonText(active_popup_client->opacityPercentage());
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic