diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-17 21:11:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-17 21:11:18 +0000 |
commit | eac7424f22a70f39c7b57d2beeb87c4a7cd7e93d (patch) | |
tree | 83c19a10f22521290c48d2f39e39b5b7d0316dfc /kicker | |
parent | 543cc6312fbb723545f97ab7a8426be7ddd0d673 (diff) | |
download | tdebase-eac7424f22a70f39c7b57d2beeb87c4a7cd7e93d.tar.gz tdebase-eac7424f22a70f39c7b57d2beeb87c4a7cd7e93d.zip |
Bugfix batch 2/2
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1176512 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kicker')
-rw-r--r-- | kicker/applets/clock/clockapplet.kcfg | 2 | ||||
-rw-r--r-- | kicker/kicker/core/container_extension.cpp | 4 | ||||
-rw-r--r-- | kicker/kicker/core/containerarea.cpp | 13 | ||||
-rw-r--r-- | kicker/kicker/core/extensionSettings.kcfg | 2 | ||||
-rw-r--r-- | kicker/kicker/panel.desktop | 146 | ||||
-rw-r--r-- | kicker/kicker/ui/k_mnu.cpp | 1 |
6 files changed, 92 insertions, 76 deletions
diff --git a/kicker/applets/clock/clockapplet.kcfg b/kicker/applets/clock/clockapplet.kcfg index 9b1ab3031..fb38d6583 100644 --- a/kicker/applets/clock/clockapplet.kcfg +++ b/kicker/applets/clock/clockapplet.kcfg @@ -14,7 +14,7 @@ <choice name="Analog"/> <choice name="Fuzzy"/> </choices> - <default>Digital</default> + <default>Plain</default> </entry> </group> <group name="Date"> diff --git a/kicker/kicker/core/container_extension.cpp b/kicker/kicker/core/container_extension.cpp index 7aee673f1..52e85bd7e 100644 --- a/kicker/kicker/core/container_extension.cpp +++ b/kicker/kicker/core/container_extension.cpp @@ -63,7 +63,9 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include "container_extension.h" /* 1 is the initial speed, hide_show_animation is the top speed. */ -#define PANEL_SPEED(x, c) (int)((1.0-2.0*fabs((x)-(c)/2.0)/c)*m_settings.hideAnimationSpeed()+1.0) +/* PANEL_SPEED_MULTIPLIER is used to increase the overall speed as the panel seems to have slowed down over the various releases! */ +#define PANEL_SPEED_MULTIPLIER 10.0 +#define PANEL_SPEED(x, c) (int)(((1.0-2.0*fabs((x)-(c)/2.0)/c)*m_settings.hideAnimationSpeed()+1.0)*PANEL_SPEED_MULTIPLIER) ExtensionContainer::ExtensionContainer(const AppletInfo& info, const TQString& extensionId, diff --git a/kicker/kicker/core/containerarea.cpp b/kicker/kicker/core/containerarea.cpp index 6334cb2d2..779555a3d 100644 --- a/kicker/kicker/core/containerarea.cpp +++ b/kicker/kicker/core/containerarea.cpp @@ -265,6 +265,19 @@ void ContainerArea::defaultContainerConfig() containers.append(a); } + // lock applet + a = manager->createAppletContainer( + "lockout.desktop", + true, + TQString::null, + m_opMenu, + m_contents ); + if (a) + { + a->setFreeSpace(1); + containers.append(a); + } + for (BaseContainer::Iterator it = containers.begin(); it != containers.end(); ++it) diff --git a/kicker/kicker/core/extensionSettings.kcfg b/kicker/kicker/core/extensionSettings.kcfg index dcf7edd23..432b1fb15 100644 --- a/kicker/kicker/core/extensionSettings.kcfg +++ b/kicker/kicker/core/extensionSettings.kcfg @@ -101,7 +101,7 @@ <entry name="Size" type="Int"> <label>Size</label> - <default code="true">KPanelExtension::SizeNormal</default> + <default code="true">KPanelExtension::SizeSmall</default> </entry> <entry name="CustomSize" type="Int" > diff --git a/kicker/kicker/panel.desktop b/kicker/kicker/panel.desktop index 605610841..ba0cad218 100644 --- a/kicker/kicker/panel.desktop +++ b/kicker/kicker/panel.desktop @@ -1,86 +1,86 @@ [Desktop Entry] Exec=kicker -Name=KDE Panel -Name[af]=KDE Paneel -Name[ar]=لوحة KDE -Name[az]=KDE Paneli -Name[be]=Панэль KDE +Name=Trinity Panel +Name[af]=Trinity Paneel +Name[ar]=لوحة Trinity +Name[az]=Trinity Paneli +Name[be]=Панэль Trinity Name[bg]=Системен панел Name[bn]=কে.ডি.ই. প্যানেল -Name[br]=Panell KDE -Name[bs]=KDE panel -Name[ca]=Plafó KDE -Name[cs]=Panel KDE -Name[cy]=Panel KDE -Name[de]=KDE-Kontrollleiste -Name[el]=Πίνακας KDE +Name[br]=Panell Trinity +Name[bs]=Trinity panel +Name[ca]=Plafó Trinity +Name[cs]=Panel Trinity +Name[cy]=Panel Trinity +Name[de]=Trinity-Kontrollleiste +Name[el]=Πίνακας Trinity Name[eo]=Panelo -Name[es]=Panel de KDE -Name[et]=KDE paneel -Name[eu]=KDE panela -Name[fa]=تابلوی KDE -Name[fi]=KDE-paneeli -Name[fr]=Tableau de bord de KDE -Name[fy]=KDE Paniel -Name[ga]=Painéal KDE -Name[gl]=Painel de KDE -Name[he]=הלוח של KDE +Name[es]=Panel de Trinity +Name[et]=Trinity paneel +Name[eu]=Trinity panela +Name[fa]=تابلوی Trinity +Name[fi]=Trinity-paneeli +Name[fr]=Tableau de bord de Trinity +Name[fy]=Trinity Paniel +Name[ga]=Painéal Trinity +Name[gl]=Painel de Trinity +Name[he]=הלוח של Trinity Name[hi]=केडीई फलक -Name[hr]=KDE ploča +Name[hr]=Trinity ploča Name[hu]=Panel -Name[id]=Panel KDE -Name[is]=KDE spjald -Name[it]=Pannello di KDE -Name[ja]=KDE パネル -Name[ka]=KDE-ს პანელი -Name[kk]=KDE панелі -Name[km]=បន្ទះ KDE -Name[ku]=Panela KDE'yê -Name[lo]=ຖາດພາເນລຂອง KDE -Name[lt]=KDE pultas -Name[lv]=KDE Panelis -Name[mk]=Панелот на KDE +Name[id]=Panel Trinity +Name[is]=Trinity spjald +Name[it]=Pannello di Trinity +Name[ja]=Trinity パネル +Name[ka]=Trinity-ს პანელი +Name[kk]=Trinity панелі +Name[km]=បន្ទះ Trinity +Name[ku]=Panela Trinity'yê +Name[lo]=ຖາດພາເນລຂອง Trinity +Name[lt]=Trinity pultas +Name[lv]=Trinity Panelis +Name[mk]=Панелот на Trinity Name[mn]=КДЭ-Удирдлагын самбар -Name[ms]=Panel KDE -Name[mt]=Pannell KDE -Name[nb]=KDE-Panel -Name[nds]=KDE-Paneel -Name[ne]=KDE प्यानल -Name[nl]=KDE Paneel -Name[nn]=KDE-panel -Name[nso]=Panel ya KDE -Name[pa]=KDE ਪੈਨਲ +Name[ms]=Panel Trinity +Name[mt]=Pannell Trinity +Name[nb]=Trinity-Panel +Name[nds]=Trinity-Paneel +Name[ne]=Trinity प्यानल +Name[nl]=Trinity Paneel +Name[nn]=Trinity-panel +Name[nso]=Panel ya Trinity +Name[pa]=Trinity ਪੈਨਲ Name[pl]=Panel -Name[pt]=Painel do KDE -Name[pt_BR]=Painel do KDE -Name[ro]=Panou KDE -Name[ru]=Панель KDE -Name[rw]=KDE Umwanya -Name[se]=KDE-panela -Name[sk]=KDE panel -Name[sl]=Pult KDE -Name[sr]=KDE панел -Name[sr@Latn]=KDE panel -Name[sv]=KDE-panel -Name[ta]=KDE பலகம் +Name[pt]=Painel do Trinity +Name[pt_BR]=Painel do Trinity +Name[ro]=Panou Trinity +Name[ru]=Панель Trinity +Name[rw]=Trinity Umwanya +Name[se]=Trinity-panela +Name[sk]=Trinity panel +Name[sl]=Pult Trinity +Name[sr]=Trinity панел +Name[sr@Latn]=Trinity panel +Name[sv]=Trinity-panel +Name[ta]=Trinity பலகம் Name[te]=కెడిఈ పెనల్ -Name[tg]=Сафҳаи KDE -Name[th]=ถาดพาเนล KDE -Name[tr]=KDE Paneli -Name[tt]=KDE Üzäge -Name[uk]=Панель KDE -Name[uz]=KDE paneli -Name[uz@cyrillic]=KDE панели -Name[ven]=Phanele ya KDE -Name[vi]=Bảng điều khiển KDE -Name[wa]=Scriftôr KDE -Name[xh]=Ipanel ye KDE -Name[zh_CN]=KDE 面板 -Name[zh_TW]=KDE 面板 -Name[zu]=Iwindi lemininingwane le-KDE +Name[tg]=Сафҳаи Trinity +Name[th]=ถาดพาเนล Trinity +Name[tr]=Trinity Paneli +Name[tt]=Trinity Üzäge +Name[uk]=Панель Trinity +Name[uz]=Trinity paneli +Name[uz@cyrillic]=Trinity панели +Name[ven]=Phanele ya Trinity +Name[vi]=Bảng điều khiển Trinity +Name[wa]=Scriftôr Trinity +Name[xh]=Ipanel ye Trinity +Name[zh_CN]=Trinity 面板 +Name[zh_TW]=Trinity 面板 +Name[zu]=Iwindi lemininingwane le-Trinity X-DCOP-ServiceType=wait -X-KDE-autostart-after=kdesktop +X-Trinity-autostart-after=kdesktop DocPath=kicker/index.html Type=Service -OnlyShowIn=KDE; -X-KDE-autostart-phase=0 +OnlyShowIn=Trinity; +X-Trinity-autostart-phase=0 diff --git a/kicker/kicker/ui/k_mnu.cpp b/kicker/kicker/ui/k_mnu.cpp index 50ceceea9..b8084f489 100644 --- a/kicker/kicker/ui/k_mnu.cpp +++ b/kicker/kicker/ui/k_mnu.cpp @@ -520,6 +520,7 @@ void PanelKMenu::showMenu() else { show(); + repaint(); // If the menu is not repainted on initial display the search bar merges into the side image } } |