diff options
author | Robert Xu <robxu9@gmail.com> | 2011-08-24 17:26:04 -0400 |
---|---|---|
committer | Robert Xu <robxu9@gmail.com> | 2011-08-24 17:26:04 -0400 |
commit | 93c66bf8bb8ac0124ae1800cbaaeb814742bfac5 (patch) | |
tree | 2551422a7981b35684110fae090223b7a1b6d73f /opensuse/tdebase/quick_browser_menu.diff | |
parent | 425774d7d1d663e08bb06050924f2eeca9147bba (diff) | |
download | tde-packaging-93c66bf8bb8ac0124ae1800cbaaeb814742bfac5.tar.gz tde-packaging-93c66bf8bb8ac0124ae1800cbaaeb814742bfac5.zip |
dbus-1-tqt -> libdbus-tqt-1-0 AND tdelibs import (unchanged)
Diffstat (limited to 'opensuse/tdebase/quick_browser_menu.diff')
-rw-r--r-- | opensuse/tdebase/quick_browser_menu.diff | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/opensuse/tdebase/quick_browser_menu.diff b/opensuse/tdebase/quick_browser_menu.diff new file mode 100644 index 000000000..dd955115c --- /dev/null +++ b/opensuse/tdebase/quick_browser_menu.diff @@ -0,0 +1,30 @@ +Index: kicker/kicker/ui/browser_mnu.cpp +=================================================================== +--- kicker/kicker/ui/browser_mnu.cpp.orig ++++ kicker/kicker/ui/browser_mnu.cpp +@@ -31,6 +31,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE + #include <kfileitem.h> + #include <kglobal.h> + #include <kglobalsettings.h> ++#include <kconfig.h> + #include <kiconloader.h> + #include <kio/global.h> + #include <klocale.h> +@@ -148,12 +149,14 @@ void PanelBrowserMenu::initialize() + // only the first part menu got them + if(_startid == 0 && !_filesOnly) { + insertTitle(path()); ++ KConfig *c = KGlobal::config(); ++ c->setGroup("menus"); + insertItem(CICON("kfm"), i18n("Open in File Manager"), this, SLOT(slotOpenFileManager())); +- if (kapp->authorize("shell_access")) +- insertItem(CICON("terminal"), i18n("Open in Terminal"), this, SLOT(slotOpenTerminal())); ++ if (kapp->authorize("shell_access") && c->readBoolEntry("kickerOpenInTerminalIsVisible",false)) ++ insertItem(CICON("terminal"), i18n("Open in Terminal"), this, SLOT(slotOpenTerminal())); ++ insertSeparator(); + } + +- + bool first_entry = true; + bool dirfile_separator = false; + unsigned int item_count = 0; |