[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/plasma/generic/applets/battery
From: Sebastian Kügler <sebas () kde ! org>
Date: 2009-11-28 0:42:48
Message-ID: 1259368968.717967.4325.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1055424 by sebas:
s3 + s4 buttons on the same line
M +3 -3 battery.cpp
M +1 -1 battery.h
--- trunk/KDE/kdebase/workspace/plasma/generic/applets/battery/battery.cpp #1055423:1055424
@@ -1,6 +1,6 @@
/***************************************************************************
* Copyright 2007-2008 by Riccardo Iaconelli <riccardo@kde.org> *
- * Copyright 2007-2008 by Sebastian Kuegler <sebas@kde.org> *
+ * Copyright 2007-2009 by Sebastian Kuegler <sebas@kde.org> *
* Copyright 2007 by Luka Renko <lure@kubuntu.org> *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -488,7 +488,7 @@
suspendButton->setDrawBackground(true);
suspendButton->setTextBackgroundColor(QColor());
m_controlsLayout->addItem(suspendButton, row, 0);
- row++;
+ //row++;
connect(suspendButton, SIGNAL(clicked()), this, SLOT(suspend()));
//actionsLayout->setColumnSpacing(0, 20);
} else if (sleepstate == Solid::PowerManagement::HibernateState) {
@@ -501,7 +501,7 @@
hibernateButton->setMinimumHeight(buttonsize);
hibernateButton->setDrawBackground(true);
hibernateButton->setTextBackgroundColor(QColor());
- m_controlsLayout->addItem(hibernateButton, row, 0);
+ m_controlsLayout->addItem(hibernateButton, row, 1);
connect(hibernateButton, SIGNAL(clicked()), this, SLOT(hibernate()));
}
}
--- trunk/KDE/kdebase/workspace/plasma/generic/applets/battery/battery.h #1055423:1055424
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2007-2008 by Sebastian Kuegler <sebas@kde.org> *
+ * Copyright (C) 2007-2009 by Sebastian Kuegler <sebas@kde.org> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic