Peter Penz
9af429cae1
Provide toolbar-menu when the menubar is hidden
...
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-03-26 23:26:39 +01:00
Peter Penz
1112fd7cc5
DolphinContextMenu: cleanup includes
2011-02-11 19:33:29 +01:00
Christoph Thielecke
12324da326
revert ed4f9d3e11
2011-02-10 10:59:35 +01:00
Christoph Thielecke
ee0f3435b2
compile fix: includes does only exist with old names, please fix kde headers too
2011-02-10 08:58:24 +01:00
Peter Penz
4a9561e6b7
Fix regression that creating a sub-folder is not possible
...
CCBUG: 265714
2011-02-09 21:15:55 +01:00
Peter Penz
d3496b1231
Coding style update for pointer comparison
...
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-09 19:24:27 +01:00
Peter Penz
ceba0f6f6a
Use capitalized includes of recently committed kdelibs headers
2011-02-09 18:42:04 +01:00
David Faure
3250510ba2
Add support for KAbstractFileItemActionPlugin. Requires kdelibs > 4.6.0.
...
(cherry picked from commit 4caa285c06
)
2011-02-07 13:13:02 +01:00
Peter Penz
956ebf7115
Don't use the submodule-path for Qt-includes on application-level
...
Also some KDE-includes have been capitalized
2011-02-04 15:49:45 +01:00
Peter Penz
8eb9b508ca
Use capitalized KDE includes
2011-02-04 15:43:21 +01:00
Peter Penz
a6fee698f6
Move the "Show Menubar" entry from the top to the bottom. For users that 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-17 19:10:23 +00:00
Peter Penz
d3eee9120f
Don't show the "Show menubar" action for a context-menu above items.
...
BUG: 257065
FIXED-IN: 4.6.0
svn path=/trunk/KDE/kdebase/apps/; revision=1197828
2010-11-16 17:09:15 +00:00
Peter Penz
edd98d7659
- Add support for file item actions (see http://reviewboard.kde.org/r/5659/ )
...
- Internal cleanups of DolphinContextMenu code
svn path=/trunk/KDE/kdebase/apps/; revision=1189651
2010-10-25 13:45:34 +00:00
Peter Penz
39f89141b0
The &-shortcut from another action is not set until the action has been 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-13 15:25:58 +00:00
Peter Penz
36e89e9fa6
Internal cleanup: Remove public method selectedUrls() from DolphinView to keep the interface minimal (selectedItems() is already available)
...
svn path=/trunk/KDE/kdebase/apps/; revision=1184457
2010-10-10 11:11:45 +00:00
Peter Penz
53c36c4758
Move the "Add to Places" action upwards when used on the viewport to stay consistent when showing the context-menu above an item.
...
svn path=/trunk/KDE/kdebase/apps/; revision=1184250
2010-10-09 15:39:41 +00:00
Peter Penz
6c8c052b3f
Use the actions "new_tab" and "new_window" for the viewport-contextmenu 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-07 18:25:47 +00:00
Peter Penz
7fcab3c783
Use "Open Path" instead of "Open Parent Folder", as the headline in the search-result is "Path".
...
svn path=/trunk/KDE/kdebase/apps/; revision=1182754
2010-10-05 14:40:42 +00:00
Peter Penz
7f7bea872b
If the context-menu is opened for a file shown as search result, offer the actions "Open Parent Folder in New Window" and "Open Parent Folder in New Tab"
...
svn path=/trunk/KDE/kdebase/apps/; revision=1178362
2010-09-22 20:24:49 +00:00
Peter Penz
7d7ecaafb1
- Use less separators
...
- Move "Add to Places" action upwards
svn path=/trunk/KDE/kdebase/apps/; revision=1177960
2010-09-21 19:56:35 +00:00
Peter Penz
fcef5f7721
Use K_GLOBAL_STATIC for the previously committed workaround to bypass a X11-issue in combination with KModifierKeyInfo. Thanks to David Faure for the hint.
...
svn path=/trunk/KDE/kdebase/apps/; revision=1177902
2010-09-21 16:18:20 +00:00
Peter Penz
c7e8c4af3d
Workaround for a X11-issue in combination with KModifierKeyInfo: When 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: markg85@gmail.com
svn path=/trunk/KDE/kdebase/apps/; revision=1177658
2010-09-20 19:52:40 +00:00
Peter Penz
4822c2cc3b
Remove the fixed-size workaround, only one action is used now in this case
...
svn path=/trunk/KDE/kdebase/apps/; revision=1176537
2010-09-17 22:59:37 +00:00
Peter Penz
23a4868dea
- Fix issue, that the 'Move To Trash'-action or 'Delete'-action from the File menu get invisible
...
- Use KFileItemListProperties to check whether all selected URLs are local
- Coding style cleanups
CCMAIL: markg85@gmail.com
svn path=/trunk/KDE/kdebase/apps/; revision=1176534
2010-09-17 22:23:11 +00:00
Peter Penz
9a55b0d704
There is no need to burden DolphinMainWindow with internals of the context-menu.
...
CCMAIL: markg85@gmail.com
svn path=/trunk/KDE/kdebase/apps/; revision=1176513
2010-09-17 21:16:56 +00:00
Mark Gaiser
304e9524b6
When you view the context menu of a file/folder and shift is pressed (and 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-09-17 19:47:01 +00:00
Peter Penz
09e1cc4d77
Context-menu cleanups:
...
- 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-27 05:26:27 +00:00
David Faure
d99e541453
remove unused includes (found when grepping for stuff)
...
svn path=/trunk/KDE/kdebase/apps/; revision=1167264
2010-08-24 08:09:14 +00:00
Peter Penz
652d08c924
Sourcecode hierarchy cleanup: Create folder "views" and move view related sources to it
...
svn path=/trunk/KDE/kdebase/apps/; revision=1154146
2010-07-24 21:45:49 +00:00
David Faure
ad85be955b
Deprecated KNewMenu and make it derive from KNewFileMenu (BIC, but SC; the 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
2010-01-26 12:04:56 +00:00
Peter Penz
fb86b50eca
SVN_SILENT: renamed addRevisionControlActions() to addVersionControlActions()
...
svn path=/trunk/KDE/kdebase/apps/; revision=1065346
2009-12-23 08:50:54 +00:00
David Faure
f2c315a147
Warn when the unsuspecting user is about to create a directory that starts with a dot,
...
like Sabine's ".csv test files" folder, which did not appear in the directory view
after being created.
svn path=/trunk/KDE/kdebase/apps/; revision=1051124
2009-11-18 22:27:31 +00:00
Harsh Chouraria J
51dc542497
BUG: 191309
...
Don't show 'Add to Places' context-menu action for urls already in places.
svn path=/trunk/KDE/kdebase/apps/; revision=1048149
2009-11-12 20:22:22 +00:00
Peter Penz
d84909dc36
* Use the term "version control" instead of "revision control" to be consistent with the naming in kdevplatform.
...
* Renamed VersionControlPlugin to KVersionControlPlugin so that the interface can be moved out of Dolphin.
svn path=/trunk/KDE/kdebase/apps/; revision=1011058
2009-08-13 20:48:58 +00:00
Michael Jansen
a48c813fd9
Fix memory leak. QMenu::addAction(QMenu*) does not take ownership.
...
svn path=/trunk/KDE/kdebase/apps/; revision=1004276
2009-07-29 18:59:06 +00:00
Peter Penz
fddd17030c
replace list.count() > 0 by !list.isEmpty()
...
svn path=/trunk/KDE/kdebase/apps/; revision=1001386
2009-07-23 06:14:57 +00:00
Peter Penz
9340a52cf8
also provide revision control actions for the viewport-context-menu
...
svn path=/trunk/KDE/kdebase/apps/; revision=1001385
2009-07-23 06:10:01 +00:00
Peter Penz
a9ef4bd96a
show the actions of a revision control plugin in the context menu
...
svn path=/trunk/KDE/kdebase/apps/; revision=1001270
2009-07-22 19:26:25 +00:00
Peter Penz
f034356d74
fixed wrong include usage (reported by krazy)
...
svn path=/trunk/KDE/kdebase/apps/; revision=973279
2009-05-26 18:41:20 +00:00
David Faure
402a17bf1f
KonqFileItemCapabilities -> KFileItemListProperties
...
svn path=/trunk/KDE/kdebase/apps/; revision=948007
2009-04-01 23:34:33 +00:00
David Faure
ba84cf3c69
Port away from now-deprecated KonqPopupMenuInformation
...
svn path=/trunk/KDE/kdebase/apps/; revision=943384
2009-03-23 19:10:13 +00:00
Shaun Reich
92534adf15
Added "document-properties" icon to "Properties", I added in another menu also, for the same action, but this is a different menu, yet used in the same context.
...
svn path=/trunk/KDE/kdebase/apps/; revision=938793
2009-03-13 01:07:51 +00:00
Peter Penz
2f47863c68
- allow the view implementations to attach custom actions to the context menu
...
- let the "details view" show the "[x] Expandable Folders" action in the context menu
CCMAIL: faure@kde.org
svn path=/trunk/KDE/kdebase/apps/; revision=924867
2009-02-11 20:45:12 +00:00
David Faure
056b6855d3
Fix lack of error handling in RMB/Move To... (e.g. when src is root-owned) because the parent for KonqOperations
...
was the popupmenu, which gets deleted before the job finishes.
svn path=/trunk/KDE/kdebase/apps/; revision=913576
2009-01-19 14:33:10 +00:00
Peter Penz
307285e963
Group classes into folders, Dolphin is too big in the meantime for having a flat directory hierarchy. dolphin/src/CMakeLists.txt will be cleaned up later.
...
svn path=/trunk/KDE/kdebase/apps/; revision=911065
2009-01-14 19:26:23 +00:00
Peter Penz
db5ee5f2a6
raise() and activateWindow() are not needed in this case
...
svn path=/trunk/KDE/kdebase/apps/; revision=908812
2009-01-10 14:27:07 +00:00
Peter Penz
85aec92f81
SVN_SILENT: removed trailing spaces
...
svn path=/trunk/KDE/kdebase/apps/; revision=895978
2008-12-12 06:55:26 +00:00
Peter Penz
2554385bbc
disable the 'Create New' entry in the context menu, if the directory does not support writing
...
svn path=/trunk/KDE/kdebase/apps/; revision=884396
2008-11-14 20:49:58 +00:00
Peter Penz
1743e4b1fa
provide a 'Create New' entry for a context menu above a directory
...
BUG: 169880
svn path=/trunk/KDE/kdebase/apps/; revision=884373
2008-11-14 19:51:13 +00:00
Peter Penz
b1aadb8cce
If the context menu is opened above a directory, add the actions "Open in New Window" and "Open in New Tab" to the context menu.
...
Thanks to Mathias Soeken for the patch!
CCMAIL: msoeken@tzi.de
svn path=/trunk/KDE/kdebase/apps/; revision=875711
2008-10-25 10:32:55 +00:00