Commit graph

1047 commits

Author SHA1 Message Date
Rafael Fernández López 2766a17613 More logic fixes
svn path=/trunk/KDE/kdebase/apps/; revision=744490
2007-12-03 19:43:11 +00:00
John Tapsell f4614fd066 Revert my last commit, it's not quite working
svn path=/trunk/KDE/kdebase/apps/; revision=744406
2007-12-03 13:10:55 +00:00
John Tapsell e80f077357 The first columns model and selection model should be the same as the view's model and selection model.
This means
1) We don't leak memory switching to and from column view
2) Selection is preserved when switching views
3) We don't have 2 models running for the root directory

CCMAIL:peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=744386
2007-12-03 10:32:27 +00:00
John Tapsell 0f4ecd1c61 Do not reload the directory when changing the view
svn path=/trunk/KDE/kdebase/apps/; revision=744377
2007-12-03 09:35:31 +00:00
Rafael Fernández López 398a9b1639 Same color for the category hovering as the rest of items
svn path=/trunk/KDE/kdebase/apps/; revision=744236
2007-12-03 00:47:15 +00:00
John Tapsell 396d620466 Share the selection model. Does not fix the selections yet though
svn path=/trunk/KDE/kdebase/apps/; revision=744230
2007-12-03 00:29:56 +00:00
Rafael Fernández López e71af0e7c1 Adapt to changes done on kdelibs
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=744218
2007-12-02 23:50:21 +00:00
Script Kiddy 2128e27bbf SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=743871
2007-12-02 08:04:51 +00:00
Peter Penz bfc1a4676c assure that the active column stays visible when the window gets resized or e. g. the information bar gets enabled
svn path=/trunk/KDE/kdebase/apps/; revision=743752
2007-12-01 20:06:26 +00:00
John Tapsell a818e555cb Make file properties dialog box non-modal
svn path=/trunk/KDE/kdebase/apps/; revision=743617
2007-12-01 14:06:07 +00:00
Peter Penz 7077d2edff Assure that the items of the details view are not expandable. We might think about enabling this in 4.1 optionally, so that especially Konqi can use this feature. But for this some adjustments in the drag & drop handling of the details view must be done first -> let's postpone this to 4.1.
svn path=/trunk/KDE/kdebase/apps/; revision=743539
2007-12-01 09:59:13 +00:00
Peter Penz 278cb078d6 allow the user resizing the columns in the details view
svn path=/trunk/KDE/kdebase/apps/; revision=743538
2007-12-01 09:49:51 +00:00
Script Kiddy 3b8571ec59 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=743500
2007-12-01 07:41:49 +00:00
Peter Penz d6488887ec Hide the "Sort by Rating" and "Sort by Tags" menu entries for KDE 4.0, as currently the performance is too slow. Nepomuk will support caching in future versions, so hopefully we can provide those entries again in KDE 4.1.
svn path=/trunk/KDE/kdebase/apps/; revision=743363
2007-11-30 19:19:38 +00:00
Peter Penz 0e6e4bf391 enable session management
CCMAIL: faure@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=743357
2007-11-30 18:42:17 +00:00
Albert Astals Cid 5d9a7d1ad3 You need >> or either the "Your names" and "Your messages" placeholders for translators are removed
svn path=/trunk/KDE/kdebase/apps/; revision=743049
2007-11-29 19:13:25 +00:00
Jakub Stachowski 51e6281fe8 When listing already visited dir, completed() would be emitted from within setUrl, before
emit started(0) making konq logo spinning indefinitely.


svn path=/trunk/KDE/kdebase/apps/; revision=742730
2007-11-28 19:44:44 +00:00
Peter Penz eac29a517c fix crash during drag & drop if the file item is not available (thanks to John Tapsell for the original fix in dolphiniconsview.cpp!)
svn path=/trunk/KDE/kdebase/apps/; revision=742703
2007-11-28 17:07:08 +00:00
John Tapsell edf8be2dff Do not crash if the index is not valid.
svn path=/trunk/KDE/kdebase/apps/; revision=742329
2007-11-27 20:55:02 +00:00
Script Kiddy 428a2064c3 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=742119
2007-11-27 07:46:00 +00:00
Script Kiddy 4fa2d439b8 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=741702
2007-11-26 08:05:24 +00:00
Peter Penz a26eda8d38 there's no need having 2-liners inside their own method when this method is only invoked once...
svn path=/trunk/KDE/kdebase/apps/; revision=741371
2007-11-25 14:51:41 +00:00
Peter Penz 937abdf2a7 provide useful default values when configuring the additional information for the details view
svn path=/trunk/KDE/kdebase/apps/; revision=741353
2007-11-25 13:59:29 +00:00
Script Kiddy 066ff3c6ca SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=741240
2007-11-25 07:47:58 +00:00
Albert Astals Cid 19a3216a0c and now the correct fix by master dfaure
svn path=/trunk/KDE/kdebase/apps/; revision=740707
2007-11-23 23:29:45 +00:00
Albert Astals Cid 52f20900d6 Ahhh, fixing the bugs you report, that rocks ;-)
Insert the dolphin catalog so the messages appear translated correctly when eg, embedded into konqueror

BUG: 152752

svn path=/trunk/KDE/kdebase/apps/; revision=740701
2007-11-23 22:54:12 +00:00
David Faure 71f5520898 Move F10 (create directory) shortcut from konq to dolphinpart.
About all those filemanagement feature moves: I double checked and the other inode/directory parts are cervisia (need own file-related operations for VCS support), konsole (no gui), kfilereplacepart (no mkdir) and fsview (readonly). So better unbloat konq itself.

svn path=/trunk/KDE/kdebase/apps/; revision=740491
2007-11-23 11:50:00 +00:00
Jakob Petsovits 207b72163b Icon renaming:
item-drag-multiple -> document-multiple

svn path=/trunk/KDE/kdebase/apps/; revision=740350
2007-11-23 02:52:03 +00:00
Script Kiddy 08fa632eb1 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=739529
2007-11-21 07:59:36 +00:00
Peter Penz c29d2b81c0 don't draw anything if the bounding rectangle is empty
svn path=/trunk/KDE/kdebase/apps/; revision=739378
2007-11-20 22:43:53 +00:00
Peter Penz a2fc277e1d Allow using a common drag and drop pixmap also for the KCategorizedView. The code is currently encapsulated inside a DOLPHIN_DRAGANDDROP define, we'll clean this up when Qt 4.4 is out (-> KDE 4.1?)
CCMAIL: ereslibre@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=739375
2007-11-20 22:36:21 +00:00
Peter Penz e46003aca3 Drag & drop fixes for all views: assure that a consistent pixmap for the drag object is used throughout all views (still open yet: KCategorizedView uses its custom code yet)
svn path=/trunk/KDE/kdebase/apps/; revision=739322
2007-11-20 21:11:48 +00:00
Peter Penz ddacabc391 fix minor margin issue for the item boundaries
svn path=/trunk/KDE/kdebase/apps/; revision=738873
2007-11-19 21:55:33 +00:00
Peter Penz 8129946449 fixed issue that the space info is not updated sometimes (QProgressBar::setValue() uses QProgressBar::text() which returns m_text -> the text must be set first)
svn path=/trunk/KDE/kdebase/apps/; revision=738826
2007-11-19 20:24:33 +00:00
Peter Penz 8672851a75 fixed issue that the "empty column" is not layouted when pressing the back-button
svn path=/trunk/KDE/kdebase/apps/; revision=738822
2007-11-19 20:10:20 +00:00
Peter Penz 46b52d7ba2 open the context-menu for the viewport if no selection is given although the mouse is above an item (this might happen if the shift-key is pressed during a right-button mouse click)
svn path=/trunk/KDE/kdebase/apps/; revision=738816
2007-11-19 19:58:00 +00:00
Peter Penz 8c045dfec6 Icons view: assure that the vertical spacing does not grow as fast as the horizontal spacing. For the default settings this means that the viewport can now be reached easier than before, while not wasting too much vertical space.
svn path=/trunk/KDE/kdebase/apps/; revision=738783
2007-11-19 17:44:21 +00:00
Peter Penz 1ce2fb199d allow to show/hide the menubar
BUG: 152463

svn path=/trunk/KDE/kdebase/apps/; revision=738282
2007-11-18 14:37:57 +00:00
Peter Penz 6abcaedfb0 Revert last fix, otherwise context menus on viewport don't work anymore. I'll try to find a clean patch later...
svn path=/trunk/KDE/kdebase/apps/; revision=738274
2007-11-18 14:22:36 +00:00
Peter Penz 36c5344dbd Check whether the shift key is pressed when the "Move to Trash" action is executed. If this is the case, perform the "Delete" action instead (-> works like in Konqi now, thanks to David for the hint)
CCMAIL: faure@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=738259
2007-11-18 13:33:16 +00:00
Peter Penz 8ee3363dbc fix crash for the following use case:
- open a view with no selection
- press SHIFT + right mouse-click on an item
- a context menu will be opened although no item has been selected -> assertion gets triggered later

svn path=/trunk/KDE/kdebase/apps/; revision=738255
2007-11-18 13:24:43 +00:00
David Faure afe7ee8583 Moved popupmenu logic for trash+del to dolphinpart
svn path=/trunk/KDE/kdebase/apps/; revision=737696
2007-11-17 00:53:45 +00:00
David Faure 8578ad1e75 Fix "delete" and "move to trash" actions in dolphinpart; moved all logic for those out of konqueror.
Inside dolphin, the usual: moving code to DolphinView.
Pressing shift while clicking on "Move to Trash" in konq (dolphinpart) offers to delete, as in kde3 (this bit of logic might be good for dolphin itself too? see DolphinPart::slotTrashActivated)
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=737682
2007-11-17 00:08:54 +00:00
Peter Penz 3a1d98a8eb SVN_SILENT: make code more readable
svn path=/trunk/KDE/kdebase/apps/; revision=737279
2007-11-15 22:33:31 +00:00
Allen Winter 5194174f89 DocPath => X-DocPath
ServiceTypes => X-KDE-ServiceTypes
Keywords => X-KDE-Keywords

svn path=/trunk/KDE/kdebase/apps/; revision=737278
2007-11-15 22:33:12 +00:00
Peter Penz e8bc9f1072 Bypass a layout issue in QListView::visualRect(), where the horizontal position of items might get calculated in a wrong manner when the item name is too long. I'll try create a patch for Qt but as Dolphin must also work with Qt 4.3.0 this workaround must get applied at least for KDE 4.0.
BUG: 152293

svn path=/trunk/KDE/kdebase/apps/; revision=737265
2007-11-15 22:20:40 +00:00
Peter Penz 8e1f288d3a don't add 2 separators inside a 3 item-menu...
svn path=/trunk/KDE/kdebase/apps/; revision=737232
2007-11-15 20:41:25 +00:00
David Faure f8302197da Implement cut/copy/paste in dolphinpart.
Had to move more code to DolphinView, to use it from the part.

svn path=/trunk/KDE/kdebase/apps/; revision=737203
2007-11-15 20:04:05 +00:00
Peter Penz 247f37a580 provide a better size hint for the default configuration
svn path=/trunk/KDE/kdebase/apps/; revision=737202
2007-11-15 19:59:08 +00:00
David Faure da8dc77c53 fix crash when pressing F2 on startup
enable undo

svn path=/trunk/KDE/kdebase/apps/; revision=737159
2007-11-15 17:16:17 +00:00