Commit graph

1611 commits

Author SHA1 Message Date
Peter Penz f40e6db807 * minor coding style fixes
* replaced "Free disk space could not be determined" by "Unknown size", as the string would be too long fitting into the space information widget

svn path=/trunk/KDE/kdebase/apps/; revision=791051
2008-03-28 06:32:41 +00:00
Jeff Mitchell 1fed8b968c Revert back to kibibytes for now
svn path=/trunk/KDE/kdebase/apps/; revision=791031
2008-03-28 01:24:50 +00:00
Jeff Mitchell 994e0570ee This value was still wrong, because I mixed up kibibytes and kilobytes. Assuming KDiskFreeSpace is really returning kB = 1000 bytes instead of kiB as according to Si rules,
this value should now be correct (as opposed to the original code which assumed it was actually returning kibibytes, or my incorrect fix which multiplied the kibibyte value by 
a kilobyte factor to pass into convertSize. 

svn path=/trunk/KDE/kdebase/apps/; revision=791030
2008-03-28 01:21:19 +00:00
Jeff Mitchell daf788e858 Ack, forgot half the fix
svn path=/trunk/KDE/kdebase/apps/; revision=790987
2008-03-27 22:53:14 +00:00
Jeff Mitchell fba908b88c The size is passed in from KDiskFreeSpace as kilobytes, not kibibytes; use the appropriate conversion function
svn path=/trunk/KDE/kdebase/apps/; revision=790986
2008-03-27 22:52:21 +00:00
Jeff Mitchell 674fe81e0a If KDiskFreeSpace doesn't work for some reason it never emits foundMountPoint, and since Dolphin never checked for done(), it'd sit there waiting on the job.
svn path=/trunk/KDE/kdebase/apps/; revision=790923
2008-03-27 20:36:05 +00:00
Script Kiddy e08b8edc22 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=790904
2008-03-27 20:13:14 +00:00
Script Kiddy b6ef95e5a1 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=790479
2008-03-26 19:25:10 +00:00
David Faure 6d425dcc66 Use new key in .protocol files, archiveMimetype, to know which kioslave can handle which type of archive in a generic way.
Used that in dolphin and in konqueror (and in the filetypes config module, to show the right default value for those mimetypes).
This way Urs can extend this mechanism with the p7zip kioslave in the future.
CCMAIL: uwolfer@kde.org, peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=790102
2008-03-25 21:39:05 +00:00
Script Kiddy b7049db594 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=790020
2008-03-25 18:47:35 +00:00
Thomas Reitelbach c81438bea1 Fix typo
svn path=/trunk/KDE/kdebase/apps/; revision=790017
2008-03-25 18:40:01 +00:00
Jarosław Staniek 48f122fa6c fix exports and use dolphinprivatelib in the part
svn path=/trunk/KDE/kdebase/apps/; revision=789835
2008-03-25 12:06:18 +00:00
Script Kiddy eb0974229f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=789620
2008-03-24 18:42:13 +00:00
Peter Penz 4b51a27aaa The background for the image previews is already filled, so there is no need adding a border with the background color again (this also fixes a one-pixel-issue that shaded the right/bottom border in a wrong way).
svn path=/trunk/KDE/kdebase/apps/; revision=789234
2008-03-23 17:40:14 +00:00
Richard J. Moore 1249738421 - Fix build for non-nepomuk users
svn path=/trunk/KDE/kdebase/apps/; revision=789215
2008-03-23 16:07:18 +00:00
Peter Penz 6420d5f973 provide a config module for the settings GUI of the Dolphin views, so that it can be embedded into Konqueror
CCMAIL: faure@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=789209
2008-03-23 15:54:07 +00:00
Peter Penz cfb135f24e provide an option to rename files inline
CCMAIL: fredrik@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=789208
2008-03-23 15:53:12 +00:00
Peter Penz 71afbc513b Show hovered items in the Information panel also when items are selected. If the cursor is above the viewport in this case, show the selection information again.
BUG: 154618

svn path=/trunk/KDE/kdebase/apps/; revision=789207
2008-03-23 15:52:31 +00:00
Peter Penz 99419d3d74 allow to show hidden files in the Folders panel (treeview)
svn path=/trunk/KDE/kdebase/apps/; revision=789206
2008-03-23 15:51:30 +00:00
Peter Penz acb61c69a6 Open Dolphin in the split-view when started with 2 URLs from the command line. Thanks to David Edmundson for the patch!
CCMAIL: david@davidedmundson.co.uk

svn path=/trunk/KDE/kdebase/apps/; revision=789204
2008-03-23 15:50:58 +00:00
Peter Penz ca1c230831 minor code simplification
svn path=/trunk/KDE/kdebase/apps/; revision=789193
2008-03-23 14:55:16 +00:00
Peter Penz 4d80f9924a take care to restart the timer even when no previews are in the queue: as long as preview jobs are working, new previews will arrive
svn path=/trunk/KDE/kdebase/apps/; revision=789066
2008-03-23 02:46:52 +00:00
Peter Penz 8c6e717ead Performance boost for previews that are already available in the cache: apply the previews in larger blocks instead of applying them immediately after getting the signal 'gotPreview' from the PreviewJob. Now the previews in Konqueror and Dolphin are as fast as in the good old KDE 3 days :-)
svn path=/trunk/KDE/kdebase/apps/; revision=789009
2008-03-23 01:56:18 +00:00
Peter Penz 4d1a74b745 A separator is required above the preview widget too for widgets with a lot of empty space. I played around with QFrame too, but this looks to busy...
svn path=/trunk/KDE/kdebase/apps/; revision=788845
2008-03-22 17:21:44 +00:00
Peter Penz fbe257768c * changed "Click to add comment..." to simply "Add comment..." for consistency with the "Change tags..." link
* do a centered alignment for "Change comment..."

CCMAIL: sebastian@trueg.de

svn path=/trunk/KDE/kdebase/apps/; revision=788837
2008-03-22 16:52:46 +00:00
Peter Penz 4eaa9ddcb1 minor layout improvements for the Information Panel:
* use the KStyle for drawing separators
* remove frame from general meta data box

CCMAIL: sebastian@trueg.de

svn path=/trunk/KDE/kdebase/apps/; revision=788834
2008-03-22 16:23:54 +00:00
Sebastian Trueg d3a0432188 This is the first step towards a better looking and more usable metadata GUI.
- A nicer comment widget shows a popup to edit the comment.
- A tag cloud replaces the ugly tagwidget from libnepomuk.
The plan is to use Dolphin as a testbed to optimize the look and then 
move at least the tagcloud to libnepomuk to make it available for all apps
since this is a common feature.

So please test it and provide feedback. The layout is still cluttered. So we
also need feedback on that. And of course on the usability.

Apart from the GUI Dolphin now uses the mass metadata update job to perform
metadata updates on many files in an async KJob without blocking the GUI.
This is another candidate for public API at some point.

svn path=/trunk/KDE/kdebase/apps/; revision=788565
2008-03-21 21:05:05 +00:00
Sebastian Trueg 9ceab694e2 removed unused includes
svn path=/trunk/KDE/kdebase/apps/; revision=788554
2008-03-21 20:57:34 +00:00
Luboš Luňák 2328577ac6 Append # to the object name (window role), KWin uses it for better
window grouping.


svn path=/trunk/KDE/kdebase/apps/; revision=788492
2008-03-21 17:24:06 +00:00
Peter Penz 0d9e87975e use QDir::rootPath() to make the folders panel functional on Windows
svn path=/trunk/KDE/kdebase/apps/; revision=788155
2008-03-20 21:37:15 +00:00
Peter Penz c50a1e000f assure that the maximum size of the item-delegate gets updated before showing the icons view
svn path=/trunk/KDE/kdebase/apps/; revision=788152
2008-03-20 21:23:06 +00:00
Peter Penz a47758bae5 show the Information Panel per default as discussed in core-devel
CCMAIL: jriddell@ubuntu.com

svn path=/trunk/KDE/kdebase/apps/; revision=788150
2008-03-20 21:10:27 +00:00
Peter Penz 6c05a2bb29 fixed regression because of disconnecting non-available slots - now files don't get started twice in the column view anymore
BUG: 159551

svn path=/trunk/KDE/kdebase/apps/; revision=788133
2008-03-20 20:15:18 +00:00
Urs Wolfer 8246f56923 fix icon
svn path=/trunk/KDE/kdebase/apps/; revision=788123
2008-03-20 19:23:50 +00:00
Peter Penz a8ada5e685 QListView does not support having a margin for grids. Originally it has been tried to bypass this by overwriting QListView::visualRect(), but this has some side effects (see #155378 and #155575). The clean approach is to return a proper size hint in the file item delegate.
Currently a custom item delegate has been made for Dolphin, but we'll discuss whether it makes sense providing this feature already in KFileItemDelegate...

BUG: 155378
BUG: 155575
CCMAIL: fredrik@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=788095
2008-03-20 16:58:59 +00:00
Script Kiddy f738a9ff2b SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=787952
2008-03-20 10:35:18 +00:00
Script Kiddy e5161b14a6 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=787655
2008-03-19 15:28:15 +00:00
Chusslove Illich 428a5cacce Fix Krazy i18n issues.
svn path=/trunk/KDE/kdebase/apps/; revision=787308
2008-03-18 22:38:52 +00:00
Robert Knight 7bce1c996b Bump the priority of Dolphin an application for the inode/directory mimetype. This fixes a problem where Konqueror would be preferred over Dolphin if KDE 3 and KDE 4 were both installed because the kfmclient_dir.desktop file from KDE 3 had a higher priority than Dolphin.
BUG: 159112


svn path=/trunk/KDE/kdebase/apps/; revision=787199
2008-03-18 19:16:52 +00:00
Peter Penz 15ebb03713 because of the recent Information Panel fixes it is now possible again that previews are shown for the inactive views too
svn path=/trunk/KDE/kdebase/apps/; revision=786729
2008-03-17 20:29:44 +00:00
Peter Penz 8d0fda61c8 fixed issue that the current selection was not reflected in the information panel
CCMAIL: strueg@mandriva.com

svn path=/trunk/KDE/kdebase/apps/; revision=786724
2008-03-17 20:19:17 +00:00
Peter Penz 43333dc703 fixed issue that no preview is generated if the user hovers the viewport within a small timeframe
svn path=/trunk/KDE/kdebase/apps/; revision=786210
2008-03-16 11:40:22 +00:00
Script Kiddy 6a629406a0 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=786161
2008-03-16 05:19:46 +00:00
Peter Penz 0d3e896d3a use different icon but with correct size for the information panel when selecting files
svn path=/trunk/KDE/kdebase/apps/; revision=786081
2008-03-16 02:40:01 +00:00
Peter Penz 2b8772807f provide a cleaner layout for the information panel; there are still some open issues, but it looks already less cluttered...
svn path=/trunk/KDE/kdebase/apps/; revision=786080
2008-03-16 02:17:16 +00:00
Peter Penz ef07279ab7 When selecting 100 files in Dolphin and the Information Panel is shown, MetaDataWidget::setFiles() blocks Dolphin for around 15 seconds. Maybe we should delegate this to a KJob... In the meantime we temporary just reset the widgets (hoping that "meantime" means < KDE 4.1 ;-)).
CCMAIL: trueg@k3b.org

svn path=/trunk/KDE/kdebase/apps/; revision=785958
2008-03-15 17:17:30 +00:00
Peter Penz ec9b516e3a dim image frame only by 12.5 % instead of 25 %
svn path=/trunk/KDE/kdebase/apps/; revision=785957
2008-03-15 17:13:59 +00:00
Peter Penz 4b48006164 show clear button in filterbar (if bugfixes would always be as straight forward as this one ;-))
BUG: 158852

svn path=/trunk/KDE/kdebase/apps/; revision=785414
2008-03-13 23:43:16 +00:00
Peter Penz bd925ea49a differ between pasting one folder, pasting one file and pasting n items
BUG: 154926

svn path=/trunk/KDE/kdebase/apps/; revision=785409
2008-03-13 23:28:13 +00:00
Peter Penz 6f1c9ca1b9 Don't force that the preview size must be >= the icon size. This gets confusing when the user uses the Zoom In/Zoom Out feature inside a view a lot (e. g. by Ctrl + scroll wheel). This is because decreasing the preview size would also decrease the icon size, but when increasing the preview size again the icon size remains... I even got confused myself by this "feature" although I knew the reason for it ;-)
svn path=/trunk/KDE/kdebase/apps/; revision=785373
2008-03-13 21:48:24 +00:00