Commit graph

1666 commits

Author SHA1 Message Date
Peter Penz 8103ead940 Details view related fixes: all columns except the name column should act as viewport.
svn path=/trunk/KDE/kdebase/apps/; revision=821229
2008-06-16 21:56:20 +00:00
Peter Penz 989cc7e0bf also update the current index if a deselection is done
svn path=/trunk/KDE/kdebase/apps/; revision=821216
2008-06-16 21:19:34 +00:00
Peter Penz 350197cee9 also adjust the current index when selecting an item by the (+) selector
svn path=/trunk/KDE/kdebase/apps/; revision=821197
2008-06-16 20:02:06 +00:00
Peter Penz 836849c785 use a smaller margin for the meta information
svn path=/trunk/KDE/kdebase/apps/; revision=821189
2008-06-16 19:33:29 +00:00
Script Kiddy 2001b7f833 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=820661
2008-06-15 03:55:58 +00:00
Peter Penz 94fd0e85ff Runtime optimization for preview sorting: Use 2 different algorithms dependent on the relation between model-rows and preview items. One algorithm is faster when e. g. inserting 10 items into a directory of 2000 items, while the other algorithm is faster when initially loading the directory.
svn path=/trunk/KDE/kdebase/apps/; revision=820321
2008-06-13 21:22:13 +00:00
David Faure b17a5814d0 Fix the "No text" menu appearing in konqueror while browsing directories. Sorry for message freeze breakage.
svn path=/trunk/KDE/kdebase/apps/; revision=820149
2008-06-13 10:58:26 +00:00
Peter Penz fe1d38f023 Finally fixed problem that "Apply to all folders" did not work as expected. TODO: the mirrored directory still should be cleaned up, but this has to be done without deleting the view properties fallback.
BUG: 163366

svn path=/trunk/KDE/kdebase/apps/; revision=820068
2008-06-13 06:10:53 +00:00
Peter Penz b4bbde4005 Fix the "Apply" - "OK" problem in the viewproperties dialog (patch done by Rafael Fernández López). One related problem still has to be solved...
CCBUG: 163366

svn path=/trunk/KDE/kdebase/apps/; revision=820062
2008-06-13 05:30:55 +00:00
Peter Penz 07eae8826f SVN_SILENT: comment++
svn path=/trunk/KDE/kdebase/apps/; revision=819683
2008-06-11 18:52:57 +00:00
Peter Penz 5717987295 Simplify code:
* Use KFileItems for all lists instead a mixture of KFileItemList and QList<KUrl>.
* Use a common helper method for generatePreviews() and resumePreviews() to order the visible items at the beginning of the list.

svn path=/trunk/KDE/kdebase/apps/; revision=819681
2008-06-11 18:47:32 +00:00
Peter Penz 4032437915 cancel previews if the URL has been changed
svn path=/trunk/KDE/kdebase/apps/; revision=819665
2008-06-11 17:51:32 +00:00
Peter Penz 629ec98952 Improve the performance of the code part which checks which items are visible. Although the code is less readable now, it requires only 0,5 seconds for 2500 items instead of 2 seconds.
svn path=/trunk/KDE/kdebase/apps/; revision=819663
2008-06-11 17:50:59 +00:00
Script Kiddy 60bfc51464 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=819272
2008-06-10 20:52:13 +00:00
Peter Penz 9a4c1af391 don't forget to delete the MIME type resolver when the IconManager gets destructed
svn path=/trunk/KDE/kdebase/apps/; revision=819163
2008-06-10 18:45:00 +00:00
Peter Penz 35370b6678 only resolve the MIME-types asynchronously, if no preview is generated
CCMAIL: faure@kde.org
CCMAIL: ereslibre@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=819162
2008-06-10 18:38:28 +00:00
Peter Penz 9b9bccc862 remove KDE 3 relict (the preview action does not exist anymore since about more than 1 year)
svn path=/trunk/KDE/kdebase/apps/; revision=819151
2008-06-10 17:54:52 +00:00
Peter Penz 8fd40e72aa Just use KMimeType::extractKnownExtension() instead of the custom implementation. Thanks to David Faure for the hint!
svn path=/trunk/KDE/kdebase/apps/; revision=819137
2008-06-10 17:22:24 +00:00
Peter Penz c4f8d95a60 Move code for disabling the paste action into DolphinView::pasteInfo() -> Dolphin KPart now also is aware about the disabled paste action.
@David: Konqueror hides the paste action in the context menu now, but still the action in the edit menu stays enabled

CCMAIL: faure@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=819116
2008-06-10 16:23:46 +00:00
Peter Penz 8a8c615e37 SVN_SILENT: documentation fixes
svn path=/trunk/KDE/kdebase/apps/; revision=819108
2008-06-10 16:07:09 +00:00
David Faure 162436801d Argh my last patch broke plugins. So revert 818988 and do it properly, for real this time :)
KPluginFactory can take the catalog name as second argument, this is the best fix.
CCMAIL: Chusslove Illich <caslav.ilic@gmx.net>

svn path=/trunk/KDE/kdebase/apps/; revision=818989
2008-06-10 09:15:19 +00:00
Chusslove Illich e5840f23f9 Revert 818910 and do it properly (patch by dfaure).
svn path=/trunk/KDE/kdebase/apps/; revision=818988
2008-06-10 09:07:59 +00:00
David Faure 11bf9d8dbb Another fix for redirections: "Create New" was missing from the konqpopupmenu when doing RMB on ftp://user@host, because after the redirection, part->url() was still the old url (so it didn't look like a popup opened for the current directory, in the konqpopupemenu code)
svn path=/trunk/KDE/kdebase/apps/; revision=818721
2008-06-09 11:59:15 +00:00
Peter Penz ffe9bbacd9 disable the paste action if no writing is supported for the paste-destination
BUG: 161639

svn path=/trunk/KDE/kdebase/apps/; revision=818445
2008-06-08 15:20:19 +00:00
Peter Penz eeea9662b7 * use a default size where the height of the line editor is not too small
* remember the size set by the user

CCMAIL: trueg@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=818381
2008-06-08 13:10:14 +00:00
Peter Penz 6a9d80a1fd fixed issue that "Apply to all folders" in the view properties dialog might forget some settings when pressing first "Apply" and then "OK"
BUG: 163366

svn path=/trunk/KDE/kdebase/apps/; revision=818368
2008-06-08 12:43:10 +00:00
Peter Penz cb6e5a933b SVN_SILENT: removed trailing spaces
svn path=/trunk/KDE/kdebase/apps/; revision=818367
2008-06-08 12:38:56 +00:00
Albert Astals Cid 404e5f081b ;--
svn path=/trunk/KDE/kdebase/apps/; revision=818343
2008-06-08 11:29:38 +00:00
Peter Penz d9ec7ac7a3 fixed possible crash when showing tooltips and switching between views
BUG: 161201
CCMAIL: ubuntu@martin-graesslin.com

svn path=/trunk/KDE/kdebase/apps/; revision=818325
2008-06-08 10:11:13 +00:00
Peter Penz b5c7a2ebb9 added missing virtuals
svn path=/trunk/KDE/kdebase/apps/; revision=818316
2008-06-08 09:55:06 +00:00
Peter Penz e409bbf24e SVN_SILENT: minor coding style fix
svn path=/trunk/KDE/kdebase/apps/; revision=818305
2008-06-08 09:27:29 +00:00
Peter Penz d4779278bc fix memory leak
svn path=/trunk/KDE/kdebase/apps/; revision=818303
2008-06-08 09:26:18 +00:00
Peter Penz 8cfe659711 Update the keypress state before invoking QTreeView::keyPressEvent(), as this call invokes QTreeView::currentChanged(), where the value is needed. This fix assures that the selection is changed when the current index is changed like in QListView.
svn path=/trunk/KDE/kdebase/apps/; revision=818070
2008-06-07 15:53:34 +00:00
Jakub Stachowski 13b2fc5570 1) Make sure that size qprogressbar is really updated after each change
2) Get rid of flicker when after changing partition new size is smaller
than used space on old one - in this case setMaximum calls reset()
3) User proper value for comparison when checking if progressbar should
be changed

BUG: 163343


svn path=/trunk/KDE/kdebase/apps/; revision=818066
2008-06-07 15:39:27 +00:00
Peter Penz 4a91b1c563 Request item information when the current directory has been (re-) entered. This e. g. occurs if a media has been unmounted and remounted again.
svn path=/trunk/KDE/kdebase/apps/; revision=818013
2008-06-07 12:32:03 +00:00
Peter Penz 2848f1fb5a Fixed the following Information Panel issues:
* Trash icon is not updated when trash has been emptied or got filled.
* When renaming an item the old name will be shown in the Information Panel.
* When unmounting media, still the mounted icon is shown.

BUG: 161385
BUG: 153514
BUG: 154747
CCBUG: 159366

svn path=/trunk/KDE/kdebase/apps/; revision=818005
2008-06-07 12:14:29 +00:00
Peter Penz ff33284963 Do a delayed initialization of all widgets when showing the the Information Panel. This assures that no expensive initializations are done when the Information Panel is not shown at all.
svn path=/trunk/KDE/kdebase/apps/; revision=817992
2008-06-07 11:00:42 +00:00
Urs Wolfer 232a542175 * use cmake macro to install preview icon
* install icons to global icon dir, otherwise it seems not to work when using dolpin part in konqueror

svn path=/trunk/KDE/kdebase/apps/; revision=817991
2008-06-07 10:56:14 +00:00
Peter Penz 3b8f32042f fix crash when e. g. right clicking on a file using SMB inside Konqueror
BUG: 163358

svn path=/trunk/KDE/kdebase/apps/; revision=817974
2008-06-07 09:49:24 +00:00
David Faure 3d28c53564 When "move_to_trash" is disabled and "delete" is enabled (e.g. non-local files),
enable a hidden action with Key_Del as shortcut, so that the user can press Del to delete the file.
BUG: 76016

svn path=/trunk/KDE/kdebase/apps/; revision=817389
2008-06-05 22:25:07 +00:00
David Faure 008f524498 Move the "Create New" action (for the Edit menu, not for the context menu) to dolphinpart, so that
it doesn't appear while browsing the web [with a filemanagement profile initially]. The point is to
make the GUI sensible whatever initial profile was selected and hopefully get rid of konq-filemanagement.rc/konq-webbrowsing.rc.

svn path=/trunk/KDE/kdebase/apps/; revision=817326
2008-06-05 19:19:14 +00:00
Script Kiddy ee5a78d967 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/apps/; revision=817018
2008-06-05 02:24:59 +00:00
David Faure 38beff1a4b Continue cleaning up the menus of "konqueror as a webbrowser" : moved "Tools / Open Terminal" action to DolphinPart.
Thanks to Kevin for reminding me of this one.

svn path=/trunk/KDE/kdebase/apps/; revision=816632
2008-06-04 11:51:54 +00:00
Peter Penz 834082a16c jump to the URL of the clipboard content if a middle click on an empty area inside the view is done
svn path=/trunk/KDE/kdebase/apps/; revision=816421
2008-06-03 20:30:39 +00:00
Peter Penz ae0829d3b8 SVN_SILENT: removed obsolete (now: wrong) comment
svn path=/trunk/KDE/kdebase/apps/; revision=816420
2008-06-03 20:29:12 +00:00
Peter Penz 193218f5f4 no need to request a thumbnail
svn path=/trunk/KDE/kdebase/apps/; revision=816400
2008-06-03 19:27:46 +00:00
Allen Winter e431abda40 move the create config-nepomuk.h higher so dolphinprivate sources can find it.
add a macro_log_feature() message

svn path=/trunk/KDE/kdebase/apps/; revision=816293
2008-06-03 14:44:10 +00:00
Sebastian Trueg a70fcc6353 Fixed Nepomuk dependancy checking
svn path=/trunk/KDE/kdebase/apps/; revision=816282
2008-06-03 14:34:10 +00:00
Script Kiddy ac01d6853d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=816270
2008-06-03 14:23:53 +00:00
David Faure d6e0d332e1 Use KonqMenuActions to add the "open with" actions to the popupmenu, to avoid this independent reimplementation,
which brought back bug 121728 ('&' in application name treated as accelerator)

svn path=/trunk/KDE/kdebase/apps/; revision=815838
2008-06-02 16:36:29 +00:00