Commit graph

1627 commits

Author SHA1 Message Date
Script Kiddy f56394e276 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=823977
2008-06-24 14:18:37 +00:00
Script Kiddy 2d57408d22 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=822978
2008-06-22 10:35:45 +00:00
Peter Penz 30cb4c1ef2 Assure that the keyboard focus stays inside the view when replacing the view implementation, otherwise when having a split view the other view gets the focus and will activate itself.
BUG: 164468

svn path=/trunk/KDE/kdebase/apps/; revision=822367
2008-06-19 22:43:10 +00:00
Laurent Montel 71a6ab3c9b Fix mem leak
svn path=/trunk/KDE/kdebase/apps/; revision=822130
2008-06-19 09:37:49 +00:00
Script Kiddy 1af667f6fd SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/apps/; revision=822007
2008-06-18 21:37:23 +00:00
Peter Penz afe18732f2 KFileItem::url() returns per value, not per reference
svn path=/trunk/KDE/kdebase/apps/; revision=822003
2008-06-18 21:23:06 +00:00
Peter Penz 4f3e1b0c24 the method dropUrls(KUrl::List, KUrl) was never used as slot and is invoked only once -> moved to caller
svn path=/trunk/KDE/kdebase/apps/; revision=822000
2008-06-18 21:19:46 +00:00
Peter Penz 84376acc84 it's assured that when requesting a context menu that the column is marked as active
svn path=/trunk/KDE/kdebase/apps/; revision=821938
2008-06-18 20:01:25 +00:00
Peter Penz 5b541d04e5 SVN_SILENT: removed unnecessary includes
svn path=/trunk/KDE/kdebase/apps/; revision=821923
2008-06-18 19:52:15 +00:00
Peter Penz b8a4e0fac2 Assure that when requesting the context menu for the column-view, that the correct items are used.
TODO for 4.2: get rid of those 'if (isColumnViewActive())' special cases and provide a generic model which also works with the way the column view is implemented

BUG: 164146

svn path=/trunk/KDE/kdebase/apps/; revision=821903
2008-06-18 19:34:03 +00:00
James Richard Tyrer 91607d4c4d Correcting icon name from "view_icon" to "view-icon"
svn path=/trunk/KDE/kdebase/apps/; revision=821583
2008-06-17 21:29:51 +00:00
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