┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphincontextmenu.cpp
AgeCommit message (Collapse)Author
2013-06-24Do not show "Move To Trash" action in context menu for remote URLs.Dawit Alemayehu
BUG: 261762 REVIEW: 111206 FIXED-IN: 4.11
2013-06-21Revert "Hide context menu plugins unless enabled by default or by the user"Sune Vuorela
This reverts commit b1aebb44d6863951841d857b84253a782d4138dc. As agreed with Frank on k-c-d.
2013-06-04Bug 196035 - middle clicking on archive files in dolphin does not open them ↵Emmanuel Pescosta
in a new tab When 'browse through archives' is enabled, open archive files like folders on middle clicking, context menu -> new tab action and context menu -> new window action. BUG: 196035 REVIEW: 110487
2013-05-29Hide context menu plugins unless enabled by default or by the userFrank Reininghaus
REVIEW: 110685
2013-05-22Added the "Open in new Tabs" action to the Dolphin Context menu.Emmanuel Pescosta
BUG: 312296 REVIEW: 110371 FIXED-IN: 4.11.0
2013-05-14- Factored out the Delete/Move To Trash action into own class.Dawit Alemayehu
- Updated both the Dolphin KPart and context menu to use the new DolphinRemoveAction class to manage "Delete/Move to Trash" actions. See also https://git.reviewboard.kde.org/r/107509/. REVIEW: 108802
2013-05-05Reimplement handling of Shift while showing menu without KModifierKeyInfoDavid Faure
Finding out whether shift is pressed initially can be done with qApp->keyboardModifiers(), and finding out that the user is pressing or release shift can be done with keyPressEvent/keyReleaseEvent. This required to inherit from KMenu rather than having the KMenu as a member. KModifierKeyInfo is only implemented on X11, so this makes the code more portable. If similar solutions can be found for other users of KModifierKeyInfo, it will be deprecated in KF5. REVIEW: 110303
2012-07-10Use the right name when adding a folder to Places with the context menuFrank Reininghaus
Without this patch, the name of the parent folder was used for the entry in the Places Panel. Will backport to the KDE/4.9 branch when the RC2 freeze is over. Thanks to Daniel Kreuter for the patch! CCBUG: 303157
2012-06-02Provide a default name when adding a search query to the places panelPeter Penz
BUG: 300430 FIXED-IN: 4.9.0
2012-06-02Use PlacesItemModel instead of KFilePlacesModelPeter Penz
This allows inserting items to the corresponding group.
2012-05-29Get rid of obsolete DolphinPlacesModelPeter Penz
2012-05-11Allow moving items to trash also for non-local filesPeter Penz
See bug 188032 for an ongoing discussion. In case if this behavior is really not wanted by users (the feedback on bugs.kde.org will show), the review-request https://git.reviewboard.kde.org/r/104915/ should be merged too (after adjusting some parts of the code).
2012-01-14Fix issue when deleting items with the context menuPeter Penz
Thanks to Jekyll Wu for the analyses of the issue! BUG: 290307 BUG: 269096 BUG: 290954 BUG: 264583 FIXED-IN: 4.8.0
2011-11-06Delete obsolete class DolphinSettingsPeter Penz
2011-10-08Context menu cleanupsPeter Penz
- Open the context menu on the mouse-press event, not on the mouse-release event. - Provide an explicit position-information and don't use QCursor::pos(). This fixes the issue that opening a context-menu by the keyboard opens below the cursor. - Provide different signals in the KItemListController for the different context-menu types (item vs. view vs. header). - Implement turning on/off roles by the header-context-menu.
2011-07-31normalize signals/slotsMontel Laurent
2011-07-30Merged very early alpha-version of Dolphin 2.0Peter Penz
Dolphin 2.0 will get a new view-engine with the following improvements: - Better performance - Animated transitions - No clipped filenames due to dynamic item-sizes - Grouping support for all view-modes - Non-rectangular selection areas - Simplified code for better maintenance More details will be provided in a blog-entry during the next days. Please note that the code is in a very early alpha-stage and although the most tricky parts have been implemented already very basic things like drag and drop or selections have not been pushed yet. Those things are rather trivial to implement but this still will take some time.
2011-04-26Don't ask twice whether the trash should get emptiedPeter Penz
Thanks to Casey Jones for the patch! BUG: 265785 FIXED-IN: 4.7.0
2011-04-10DolphinContextMenu: Set the properties action from actionCollectionPeter Penz
Patch has been provided by Alex Fiestas at https://git.reviewboard.kde.org/r/101076/ CCMAIL: [email protected]
2011-03-27DolphinContextMenu: Show "Show menubar" entry if necessaryPeter Penz
If the user has hidden the menubar and the toolbar there is no way to get back the menu (at least not without knowing the Ctrl+M shortcut). Show an entry in the context-menu to bring back the menubar.
2011-03-26Provide toolbar-menu when the menubar is hiddenPeter Penz
Use a similar default UI like in Rekonq and other browsers: Hide the menubar and add access to all actions by a button in the toolbar. Of course it is still possible to show the menubar so that the same UI is given like before.
2011-02-11DolphinContextMenu: cleanup includesPeter Penz
2011-02-10revert ed4f9d3e11e66dd5ef136c3fac874ac5f53ec91aChristoph Thielecke
2011-02-10compile fix: includes does only exist with old names, please fix kde headers tooChristoph Thielecke
2011-02-09Fix regression that creating a sub-folder is not possiblePeter Penz
CCBUG: 265714
2011-02-09Coding style update for pointer comparisonPeter Penz
Most developers seem to prefer if (ptr) ... if (!ptr) ... in comparison to if (ptr != 0) ... if (ptr == 0) ... Adjusted the Dolphin-code to use the "most-prefered style" to make contributors happy.
2011-02-09Use capitalized includes of recently committed kdelibs headersPeter Penz
2011-02-07Add support for KAbstractFileItemActionPlugin. Requires kdelibs > 4.6.0.David Faure
(cherry picked from commit 4caa285c065ea362ae52d93a567680513d8beb2a)
2011-02-04Don't use the submodule-path for Qt-includes on application-levelPeter Penz
Also some KDE-includes have been capitalized
2011-02-04Use capitalized KDE includesPeter Penz
2010-11-17Move the "Show Menubar" entry from the top to the bottom. For users that ↵Peter Penz
have hidden the menubar on purpose having this as first item makes no sense. BUG: 257089 FIXED-IN: 4.6.0 svn path=/trunk/KDE/kdebase/apps/; revision=1198181
2010-11-16Don't show the "Show menubar" action for a context-menu above items.Peter Penz
BUG: 257065 FIXED-IN: 4.6.0 svn path=/trunk/KDE/kdebase/apps/; revision=1197828
2010-10-25- Add support for file item actions (see http://reviewboard.kde.org/r/5659/)Peter Penz
- Internal cleanups of DolphinContextMenu code svn path=/trunk/KDE/kdebase/apps/; revision=1189651
2010-10-13The &-shortcut from another action is not set until the action has been ↵Peter Penz
shown at least once. To bypass this issue in the context-menu when pressing SHIFT, the text and &-shortcut is applied manually. svn path=/trunk/KDE/kdebase/apps/; revision=1185522
2010-10-10Internal cleanup: Remove public method selectedUrls() from DolphinView to ↵Peter Penz
keep the interface minimal (selectedItems() is already available) svn path=/trunk/KDE/kdebase/apps/; revision=1184457
2010-10-09Move the "Add to Places" action upwards when used on the viewport to stay ↵Peter Penz
consistent when showing the context-menu above an item. svn path=/trunk/KDE/kdebase/apps/; revision=1184250
2010-10-07Use the actions "new_tab" and "new_window" for the viewport-contextmenu ↵Peter Penz
instead of "open_in_new_tab" and "open_in_new_window", as the current selection should get ignored. svn path=/trunk/KDE/kdebase/apps/; revision=1183548
2010-10-05Use "Open Path" instead of "Open Parent Folder", as the headline in the ↵Peter Penz
search-result is "Path". svn path=/trunk/KDE/kdebase/apps/; revision=1182754
2010-09-22If the context-menu is opened for a file shown as search result, offer the ↵Peter Penz
actions "Open Parent Folder in New Window" and "Open Parent Folder in New Tab" svn path=/trunk/KDE/kdebase/apps/; revision=1178362
2010-09-21- Use less separatorsPeter Penz
- Move "Add to Places" action upwards svn path=/trunk/KDE/kdebase/apps/; revision=1177960
2010-09-21Use K_GLOBAL_STATIC for the previously committed workaround to bypass a ↵Peter Penz
X11-issue in combination with KModifierKeyInfo. Thanks to David Faure for the hint. svn path=/trunk/KDE/kdebase/apps/; revision=1177902
2010-09-20Workaround for a X11-issue in combination with KModifierKeyInfo: When ↵Peter Penz
constructing KModifierKeyInfo in the constructor of the context menu, the user interface might freeze. Thanks to Mark Gaiser for clarifying this with the KModifierKeyInfo maintainer and testing the workaround! CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=1177658
2010-09-17Remove the fixed-size workaround, only one action is used now in this casePeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1176537
2010-09-17- Fix issue, that the 'Move To Trash'-action or 'Delete'-action from the ↵Peter Penz
File menu get invisible - Use KFileItemListProperties to check whether all selected URLs are local - Coding style cleanups CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=1176534
2010-09-17There is no need to burden DolphinMainWindow with internals of the context-menu.Peter Penz
CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=1176513
2010-09-17When you view the context menu of a file/folder and shift is pressed (and ↵Mark Gaiser
the delete action line is not enabled in the settings) then the "Move to trash (del)" action gets replaced by the "Delete (shift del)" action and replaced back to "Move to trash (del)" when you release shift. BUG: 194275 svn path=/trunk/KDE/kdebase/apps/; revision=1176493
2010-08-27Context-menu cleanups:Peter Penz
- KNewMenu has been deprecated by KNewFileMenu. Reflect this in the names of related Dolphin classes. - Provide context-sensitive actions also when a context-menu is opened on the viewport BUG: 191938 FIXED-IN: 4.6.0 svn path=/trunk/KDE/kdebase/apps/; revision=1168586
2010-08-24remove unused includes (found when grepping for stuff)David Faure
svn path=/trunk/KDE/kdebase/apps/; revision=1167264
2010-07-24Sourcecode hierarchy cleanup: Create folder "views" and move view related ↵Peter Penz
sources to it svn path=/trunk/KDE/kdebase/apps/; revision=1154146
2010-01-26Deprecated KNewMenu and make it derive from KNewFileMenu (BIC, but SC; the ↵David Faure
only way to avoid duplicating code until kde5) Port all of kdebase' use of KNewMenu to KNewFileMenu. Also port from KonqNameAndUrlInputDialog to KNameAndUrlInputDialog, and from KonqMenuActions to KFileItemActions in dolphincontextmenu.cpp svn path=/trunk/KDE/kdebase/apps/; revision=1080547