summaryrefslogtreecommitdiffstats
path: root/redhat/tdebase/kdebase-3.5.13-option_to_disable_scroll_desktop.patch
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2014-10-06 12:16:27 -0500
committerTimothy Pearson <[email protected]>2014-10-06 12:16:27 -0500
commitecd088049d4aa2e8262f4cc1e0ac45e135964229 (patch)
tree49ed22e9e7852fd3f26854aecf41c96169d59629 /redhat/tdebase/kdebase-3.5.13-option_to_disable_scroll_desktop.patch
parent855439d3f99b0c152c33ae76a06cce9853f9b8dd (diff)
parent01a7863524342e1aec31679e55d08830cc571066 (diff)
downloadtde-packaging-ecd088049d4aa2e8262f4cc1e0ac45e135964229.tar.gz
tde-packaging-ecd088049d4aa2e8262f4cc1e0ac45e135964229.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'redhat/tdebase/kdebase-3.5.13-option_to_disable_scroll_desktop.patch')
-rw-r--r--redhat/tdebase/kdebase-3.5.13-option_to_disable_scroll_desktop.patch101
1 files changed, 0 insertions, 101 deletions
diff --git a/redhat/tdebase/kdebase-3.5.13-option_to_disable_scroll_desktop.patch b/redhat/tdebase/kdebase-3.5.13-option_to_disable_scroll_desktop.patch
deleted file mode 100644
index 732619ff5..000000000
--- a/redhat/tdebase/kdebase-3.5.13-option_to_disable_scroll_desktop.patch
+++ /dev/null
@@ -1,101 +0,0 @@
-Index: pagerapplet.cpp
-===================================================================
---- kdebase.ori/kicker/applets/minipager/pagerapplet.cpp (revision 1287351)
-+++ kdebase/kicker/applets/minipager/pagerapplet.cpp (working copy)
-@@ -442,6 +442,10 @@
- {
- int newDesk;
- int desktops = KWin::numberOfDesktops();
-+
-+
-+ if(cycleWindow()){
-+
- if (m_kwin->numberOfViewports(0).width() * m_kwin->numberOfViewports(0).height() > 1 )
- desktops = m_kwin->numberOfViewports(0).width() * m_kwin->numberOfViewports(0).height();
- if (e->delta() < 0)
-@@ -452,8 +456,9 @@
- {
- newDesk = (desktops + m_curDesk - 2) % desktops + 1;
- }
--
-+
- slotButtonSelected(newDesk);
-+ }
- }
-
- void KMiniPager::drawButtons()
-@@ -729,6 +734,7 @@
-
- showMenu->insertItem(i18n("&Window Thumbnails"), WindowThumbnails);
- showMenu->insertItem(i18n("&Window Icons"), WindowIcons);
-+ showMenu->insertItem(i18n("&Cycle on Wheel"), Cycle);
-
- showMenu->insertTitle(i18n("Text Label"));
- showMenu->insertItem(i18n("Desktop N&umber"),
-@@ -760,6 +766,7 @@
-
- m_contextMenu->setItemChecked(WindowThumbnails, m_settings->preview());
- m_contextMenu->setItemChecked(WindowIcons, m_settings->icons());
-+ m_contextMenu->setItemChecked(Cycle, m_settings->cycle());
- m_contextMenu->setItemEnabled(WindowIcons, m_settings->preview());
- m_contextMenu->setItemEnabled(RenameDesktop,
- m_settings->labelType() ==
-@@ -812,11 +819,12 @@
- m_settings->setPreview(!m_settings->preview());
- TaskManager::the()->trackGeometry();
- break;
--
-+ case Cycle:
-+ m_settings->setCycle(!m_settings->cycle());
-+ break;
- case WindowIcons:
- m_settings->setIcons(!m_settings->icons());
- break;
--
- case PagerSettings::EnumBackgroundType::BgPlain + bgOffset:
- m_settings->setBackgroundType(PagerSettings::EnumBackgroundType::BgPlain);
- break;
-Index: pagersettings.kcfg
-===================================================================
---- kdebase.ori/kicker/applets/minipager/pagersettings.kcfg (revision 1287351)
-+++ kdebase/kicker/applets/minipager/pagersettings.kcfg (working copy)
-@@ -49,10 +49,15 @@
- <label>Show desktop preview?</label>
- <default>true</default>
- </entry>
--
-+
- <entry name="Icons" type="Bool">
- <label>Show window icons in previews?</label>
- <default>true</default>
- </entry>
-+
-+ <entry name="Cycle" type="Bool">
-+ <label>Cycle through desktops with wheel?</label>
-+ <default>true</default>
-+ </entry>
- </group>
- </kcfg>
-Index: pagerapplet.h
-===================================================================
---- kdebase.ori/kicker/applets/minipager/pagerapplet.h (revision 1287351)
-+++ kdebase/kicker/applets/minipager/pagerapplet.h (working copy)
-@@ -64,15 +64,17 @@
- void setActive( WId active ) { m_activeWindow = active; }
- WId activeWindow() { return m_activeWindow; }
-
-- enum ConfigOptions { LaunchExtPager = 96, WindowThumbnails,
-+ enum ConfigOptions { LaunchExtPager = 96, WindowThumbnails, Cycle,
- WindowIcons, ConfigureDesktops, RenameDesktop };
- int labelType() const { return m_settings->labelType(); }
-
- int bgType() const { return m_settings->backgroundType(); }
-
- bool desktopPreview() const { return m_settings->preview(); }
-+ bool cycleWindow() const { return m_settings->cycle(); }
- bool windowIcons() const { return m_settings->icons(); }
-
-+
- Orientation orientation() const { return KPanelApplet::orientation(); }
- Direction popupDirection() { return KPanelApplet::popupDirection(); }
-