Commit graph

367 commits

Author SHA1 Message Date
Peter Penz
7d74e2b70d Use the default keyboard shortcuts for next-tab/previous-tab as primary key, but use the commonly used shortcuts Ctrl+Tab/Ctrl+Shift+Tab as secondary keys.
Of course it is still possible that the user defines custom shortcuts.

BUG: 231541

svn path=/trunk/KDE/kdebase/apps/; revision=1106406
2010-03-22 18:48:12 +00:00
Sebastian Trueg
fa24cc8e11 Stat URLs before opening them to make sure they are actually dirs we can list. Otherwise use KRun.
svn path=/trunk/KDE/kdebase/apps/; revision=1103520
2010-03-15 09:55:51 +00:00
Peter Penz
0c71d25a6f Allow to drop files above a tab. Thanks to Todd for the patch.
svn path=/trunk/KDE/kdebase/apps/; revision=1094746
2010-02-23 07:26:02 +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
11e1ee53bb Now *really' open a new tab if the URL navigator requests it... (the previous commit missed this 2 quite important lines).
CCBUG: 181223

svn path=/trunk/KDE/kdebase/apps/; revision=1079854
2010-01-25 09:00:51 +00:00
Peter Penz
e5eae108ca * Adjust code to use the improved KUrlNavigator API.
* Open a new tab if the URL navigator requests it.
* Get rid of a cyclic dependency between DolphinViewContainer and DolphinMainWindow.

BUG: 181223

svn path=/trunk/KDE/kdebase/apps/; revision=1079843
2010-01-25 07:58:24 +00:00
Peter Penz
2798e5d225 only set the title synchronously for the file-protocol, otherwise use KIO::stat()
svn path=/trunk/KDE/kdebase/apps/; revision=1077599
2010-01-20 13:06:16 +00:00
Sebastian Trueg
a567da792a Use a stat job to determine the caption on non-file URLs. This way we get the fancy UDS_DISPLAY_NAMEs for
URLs like the nepomuksearch ones.

BUG: 222095

svn path=/trunk/KDE/kdebase/apps/; revision=1077551
2010-01-20 11:26:39 +00:00
Peter Penz
f18e6e6bb8 use KAction::setShortcut() instead of QAction::setShortcut()
svn path=/trunk/KDE/kdebase/apps/; revision=1075127
2010-01-15 15:23:43 +00:00
Peter Penz
2f59a5236a Fixed issue that the keyboard shortcuts for the docks places, folders, information and terminal could not be changed.
BUG: 218485

svn path=/trunk/KDE/kdebase/apps/; revision=1073053
2010-01-11 13:55:21 +00:00
Peter Penz
cc06711735 - When the filterbar has been activated as startup setting, still the view should get the keyboard focus.
- Assure that the keyboard focus does not get lost when a tab is opened in background.

CCBUG: 183394

svn path=/trunk/KDE/kdebase/apps/; revision=1072868
2010-01-11 09:21:16 +00:00
Peter Penz
2c3fc5c93f use correct icon when opening new tabs with the middle click
BUG: 212942

svn path=/trunk/KDE/kdebase/apps/; revision=1070717
2010-01-06 15:33:27 +00:00
Maciej Mrozowski
b6cf6cc684 Revert r1053349 - this file is included alread when HAVE_NEPOMUK is defined - no need to do it twice.
This fixed compilation without nepomuk libs.

svn path=/trunk/KDE/kdebase/apps/; revision=1064809
2009-12-21 20:58:28 +00:00
Peter Penz
4ce21c5a6e don't try to do anything if no files have been passed
svn path=/trunk/KDE/kdebase/apps/; revision=1063333
2009-12-17 21:14:38 +00:00
Peter Penz
e15a9f3a8d * respect the --select startup option
* minor cleanups related to selecting items in general

svn path=/trunk/KDE/kdebase/apps/; revision=1063329
2009-12-17 21:07:18 +00:00
Peter Penz
5e25098037 allow to restrict the search results by the current folder (including all sub folders)
svn path=/trunk/KDE/kdebase/apps/; revision=1061589
2009-12-12 12:23:05 +00:00
Peter Penz
a960935b00 * allow to filter the search result by images or text-documents
* minor cleanups

svn path=/trunk/KDE/kdebase/apps/; revision=1061550
2009-12-12 05:59:45 +00:00
Sebastian Trueg
d324e790d6 * Fixed execution of links in the metadata widget.
* Do not try to list non-listable URLs.

svn path=/trunk/KDE/kdebase/apps/; revision=1054300
2009-11-25 20:53:37 +00:00
Frank Reininghaus
5592947ec2 Fix Dolphin crash on startup if HAVE_NEPOMUK is false.
svn path=/trunk/KDE/kdebase/apps/; revision=1054165
2009-11-25 17:48:41 +00:00
Dmitry Suzdalev
61813e0df7 Add missing include
svn path=/trunk/KDE/kdebase/apps/; revision=1053349
2009-11-23 21:56:26 +00:00
Peter Penz
35ba6eb132 * show only a minimized set of search options per default
* remember the search options when closing Dolphin, so that the user can adjust his "default search template"

svn path=/trunk/KDE/kdebase/apps/; revision=1052499
2009-11-21 22:08:59 +00:00
Peter Penz
2b6cceb0f6 Provide clickable resources for the Information Panel. Thanks to Sebastian Trüg für the patch!
CCMAIL: trueg@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=1051553
2009-11-19 19:38:34 +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
David Faure
23e0b64e60 better fix so that it links, too...
svn path=/trunk/KDE/kdebase/apps/; revision=1050535
2009-11-17 15:16:38 +00:00
David Faure
df5b974b1b try to fix compilation for people without nepomuk (dolphinmainwindow.cpp:1008: error: invalid use of incomplete type ‘struct DolphinSearchOptionsConfigurator’)
svn path=/trunk/KDE/kdebase/apps/; revision=1050534
2009-11-17 15:12:10 +00:00
Peter Penz
bd30bb6ca9 search finetuning:
* trigger progress information when starting a search
* let the information panel hide the meta data for the search string
* get the search string from the configurator

svn path=/trunk/KDE/kdebase/apps/; revision=1048721
2009-11-13 21:03:19 +00:00
Peter Penz
07f31c2087 Show a progress information when doing a Nepomuk search. As "sideeffect" some KDE3 relicts for the progress bar code have been removed too...
svn path=/trunk/KDE/kdebase/apps/; revision=1048225
2009-11-12 22:45:47 +00:00
Peter Penz
f0cab33518 Don't show the search options, if no Nepomuk is available. Hopefully Nepomuk will get a hard build dependency quite soon, those #ifdef-code is really ugly and difficult to maintain...
svn path=/trunk/KDE/kdebase/apps/; revision=1048135
2009-11-12 19:45:55 +00:00
Peter Penz
d9e3139e50 * Show the search options as soon as the search bar gains focus.
* Allow the user to manually close the options.
* Added tooltip descriptions.

svn path=/trunk/KDE/kdebase/apps/; revision=1047281
2009-11-10 21:44:24 +00:00
Peter Penz
232e7eaad7 move the "Download New Services..." entry from the Settings menu to the service configuration dialog
svn path=/trunk/KDE/kdebase/apps/; revision=1046788
2009-11-09 18:13:36 +00:00
Frank Reininghaus
7ff8c0d89a When the Back, Forward and Up buttons in the toolbar are clicked with
the middle mouse button, open the URL in a new tab.

FEATURE: 190549

svn path=/trunk/KDE/kdebase/apps/; revision=1046785
2009-11-09 17:50:21 +00:00
Peter Penz
7746fdb9a3 * provide descriptive tooltip texts for actions
* fixed some coding style issue (tabs...)

BUG: 213358

svn path=/trunk/KDE/kdebase/apps/; revision=1045751
2009-11-06 18:02:55 +00:00
Peter Penz
73007f7d63 After some discussions at http://reviewboard.kde.org/r/1938 it turned out that moving KMetaDataWidget and KMetaDataConfigurationDialog to kdelibs should be postponed to KDE 4.5. The main reason is that adding application specific properties is not possible with the current API in a generic way. Also the topic how to hide properties application specific is an open point...
So now all adjustments from the review have been adapted to the Dolphin code. After KDE 4.4 has been released some refactoring will be done so that the open topics above are handled in a nice way.

svn path=/trunk/KDE/kdebase/apps/; revision=1041547
2009-10-28 07:18:00 +00:00
Markus Meik Slopianka
573299f13b Typo
svn path=/trunk/KDE/kdebase/apps/; revision=1038352
2009-10-21 06:59:05 +00:00
Markus Meik Slopianka
f1ebbff6e4 Less technical language in status bar messages
svn path=/trunk/KDE/kdebase/apps/; revision=1038270
2009-10-20 22:50:34 +00:00
Peter Penz
213705a22c give the splitter more space than the (optional) search options
svn path=/trunk/KDE/kdebase/apps/; revision=1036783
2009-10-17 19:33:36 +00:00
Peter Penz
884b5ad3a9 add A search options widget, which later on will include Adam Kidder's search prototype from playground
svn path=/trunk/KDE/kdebase/apps/; revision=1036776
2009-10-17 19:24:05 +00:00
Peter Penz
5e123c68d7 * move classes for searching into an own folder (new classes will be added soon)
* Postpone the creation of the searchcompleter, until the editor gets focused. This improves the startup time of Dolphin (reading all available tags is an expensive operation).

svn path=/trunk/KDE/kdebase/apps/; revision=1036658
2009-10-17 15:05:50 +00:00
Peter Penz
f9b2c9f0c7 The text of the paste-action is modified dynamically by Dolphin (e. g. to "Paste One Folder"). To prevent that the size of the toolbar changes due to the long text, the text "Paste" is used when the action is shown in the toolbar.
Thanks to Christoph Feck for the hint!

BUG: 209392

svn path=/trunk/KDE/kdebase/apps/; revision=1033985
2009-10-11 17:43:30 +00:00
Will Stephenson
22187ee547 Add view-filter icon as discussed on kde-devel with ppenz.
svn path=/trunk/KDE/kdebase/apps/; revision=1017236
2009-08-30 08:33:59 +00:00
Frank Reininghaus
8e17757ae3 Use KApplication::sessionSaving() to determine if Dolphin is closed by
the session manager - there's no need to reinvent the wheel ;-)

Thanks to Lubos Lunak for the hint.

svn path=/trunk/KDE/kdebase/apps/; revision=1013726
2009-08-20 15:47:38 +00:00
Frank Reininghaus
c0922a81d8 Do not warn the user about closing Dolphin windows with multiple tabs
if Dolphin is closed by the session manager, i.e., if the user logs
out. The fix is inspired by the way this issue is handled in
Konqueror.

BUG: 201803

svn path=/trunk/KDE/kdebase/apps/; revision=1011002
2009-08-13 18:54:16 +00:00
Peter Penz
99eacd9f56 move statusbar code into the directory "statusbar"
svn path=/trunk/KDE/kdebase/apps/; revision=1005704
2009-08-01 20:01:51 +00:00
Peter Penz
8e6dbadef2 Fixed performance issues related to selections and deleting of files:
- Don't connect to KDirLister::itemDeleted(const KFileItem&), but KDirLister::itemsDeleted(const KFileItemList&). Otherwise Dolphin is informed about each single file deletion instead of getting the deleted items as a list. Thanks to David Faure for the hint!

- DolphinViewContainer::updateStatusBar() can be expensive when a lot of files are selected, as the file size must get retrieved. Assure that fast calls for updateStatusBar() don't trigger a synchronous update, do the update after 300 ms where no further update has been triggered.

- Dolphin provides a list of file items when emitting the selectionChanged() signal. Collecting the file items is a quite expensive operation, so use the same approach as when updating the statusbar: only emit the selection changed signal when no change has been done within 300 ms. This improves the performance when doing huge selections a lot.

- Make updateStatusBar() a private method, the main window should not need to take care about updating the statusbar (this is done internally now by DolphinViewContainer).

BUG: 199090
BUG: 195787
CCBUG: 199352
CCBUG: 188218

svn path=/trunk/KDE/kdebase/apps/; revision=995015
2009-07-11 17:48:05 +00:00
Peter Penz
c3ffc95a73 - adding missing const
- minor adjustment of name
- use same declaration order as other private methods

CCMAIL: predator106@gmail.com 

svn path=/trunk/KDE/kdebase/apps/; revision=994089
2009-07-10 06:07:32 +00:00
Shaun Reich
70915125f7 Fixed the annoying bug (for me) that dealt with having a very long folder name. In this case, the name of the tab could be many more times bigger than the tabBar itself.
Now they are ellided, so e.g. "really really long folder name...is" or something.

Few more cases left for me to fix(shortly), but those are not quite close to this section.

svn path=/trunk/KDE/kdebase/apps/; revision=993618
2009-07-09 04:41:53 +00:00
Peter Penz
c1ea2c3491 krazy qtclasses fixes
svn path=/trunk/KDE/kdebase/apps/; revision=973289
2009-05-26 18:52:14 +00:00
Peter Penz
3a612f1f24 use correct icon name (issue reported by krazy)
svn path=/trunk/KDE/kdebase/apps/; revision=973278
2009-05-26 18:39:25 +00:00
Peter Penz
ec859058c6 krazy fixes
svn path=/trunk/KDE/kdebase/apps/; revision=969874
2009-05-19 07:25:40 +00:00
Frank Reininghaus
07ad9b3726 Update the directory of the Terminal Panel if the current URL is not a
"file:" URL, but is nevertheless local (e.g., "desktop:").

This fix is also applied to the new "Open external Terminal" action
which will be in KDE 4.3.

BUG: 167810 

svn path=/trunk/KDE/kdebase/apps/; revision=969265
2009-05-17 19:57:07 +00:00