Commit graph

1180 commits

Author SHA1 Message Date
Pascal Létourneau e4d60190fa Test for what the error message says
svn path=/trunk/KDE/kdebase/apps/; revision=718814
2007-09-29 19:01:43 +00:00
Pascal Létourneau dde3998b18 Init cwd with the current path (dolphin is a KUniqueApplication)
svn path=/trunk/KDE/kdebase/apps/; revision=718808
2007-09-29 18:36:36 +00:00
Script Kiddy 2c308ac7bf SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=718575
2007-09-29 06:00:08 +00:00
Rafael Fernández López 51c838dab7 Icons height is the same as the title
svn path=/trunk/KDE/kdebase/apps/; revision=718317
2007-09-28 13:12:53 +00:00
Peter Penz 1325d97bdd removed unused method expandSelectionParent (it is not invoked anymore since KDirLister::expandToUrl() is available)
svn path=/trunk/KDE/kdebase/apps/; revision=718182
2007-09-28 07:18:37 +00:00
Script Kiddy 3a56e20262 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=718158
2007-09-28 06:44:06 +00:00
Pascal Létourneau 4d015b6e22 Init the range before a value is set (via the signal valueChanged)
svn path=/trunk/KDE/kdebase/apps/; revision=717914
2007-09-27 18:16:18 +00:00
Peter Penz 39614955a4 assure that the decoration gets selected in the column-view even if the style has not enabled this per default
svn path=/trunk/KDE/kdebase/apps/; revision=717801
2007-09-27 16:12:37 +00:00
Peter Penz 7fd22d39bd assure that the decoration gets selected in the details-view even if the style has not enabled this per default
svn path=/trunk/KDE/kdebase/apps/; revision=717770
2007-09-27 14:26:08 +00:00
Peter Penz 03639796e5 temporary deactivate session restoring until it can be tested with a working desktop
svn path=/trunk/KDE/kdebase/apps/; revision=717741
2007-09-27 13:06:52 +00:00
Peter Penz f37aaf7948 use inline keyword as suggested at http://www.parashift.com/c%2B%2B-faq-lite/inline-functions.html#faq-9.9
svn path=/trunk/KDE/kdebase/apps/; revision=717738
2007-09-27 12:44:14 +00:00
Peter Penz 384ee037c2 reactivate session management
svn path=/trunk/KDE/kdebase/apps/; revision=717737
2007-09-27 12:36:40 +00:00
Peter Penz b45e2e92c5 updated version for KDE 4.0 beta 3 release
svn path=/trunk/KDE/kdebase/apps/; revision=717713
2007-09-27 10:59:30 +00:00
Peter Penz 500975f07d * right-to-left layout fixes
* fixes to assure that active column stays visible

svn path=/trunk/KDE/kdebase/apps/; revision=717684
2007-09-27 10:02:37 +00:00
Peter Penz f74e17d275 allow to show/hide the columns of the details-view by a context menu for the header (-> no need to go into the settings menu)
svn path=/trunk/KDE/kdebase/apps/; revision=717627
2007-09-27 08:56:38 +00:00
Peter Penz 40691db6e7 Remove ScrollPerPixel again. Beside a crash with a non-patched version of Qt it also decreases the usability when using the mouse wheel: one full rotation of the mouse wheel only leads to a scrolling of 1 or 2 items...
svn path=/trunk/KDE/kdebase/apps/; revision=717562
2007-09-27 07:02:35 +00:00
Peter Penz c108a62d4f use the proxy model categorization state to check whether it has changed, not the stored categorization state...
svn path=/trunk/KDE/kdebase/apps/; revision=717555
2007-09-27 06:25:10 +00:00
Peter Penz ac22d744ba * moved the loading of the settings into a separate method
* assure that the "show in groups" action gets disabled when no categorization is allowed for the current view

svn path=/trunk/KDE/kdebase/apps/; revision=717550
2007-09-27 06:20:39 +00:00
Peter Penz c152767131 Use case: categorized sorting is enabled, the current view mode is icons-view. When switching to the details-view (which does not support categorized sorting yet), the 'categorized sorting' action should get only disabled to indicate that it is not available, not get unchecked (currently it gets disabled AND unchecked). This patch assures that always the stored categorization state is returned for the menu actions, but internally the categorization is turned off for the proxy model for the details view and column view.
CCMAIL: ereslibre@gmail.com

svn path=/trunk/KDE/kdebase/apps/; revision=717548
2007-09-27 06:19:30 +00:00
Matthew Woehlke 341c16eba6 use blitz instead of deprecated kdefx, remove kdefx headers where unused
svn path=/trunk/KDE/kdebase/apps/; revision=717537
2007-09-27 04:11:28 +00:00
Peter Penz 093efca22d reactivate ScrollPerPixel again, as the Qt-patch for "divide by zero" has been applied to qt-copy now
svn path=/trunk/KDE/kdebase/apps/; revision=717366
2007-09-26 18:53:34 +00:00
Peter Penz d4a9bc6a3f assure that the directory gets reloaded when the base URL has been changed
svn path=/trunk/KDE/kdebase/apps/; revision=717365
2007-09-26 18:52:19 +00:00
Peter Penz 34a19e156e Assure that the categorized sorting is applied correctly to the proxy model if the view does not support the categorization feature (currently only the icons view supports this). Take care that switching between e. g. the icons-view and the details-view does not change the stored categorized sorting. Thanks to Rafael for the initial patch!
CCMAIL: ereslibre@gmail.com

svn path=/trunk/KDE/kdebase/apps/; revision=717300
2007-09-26 15:26:30 +00:00
Peter Penz 3713f1991a use the fixed resizing mode (it is assured that each column stays readable)
svn path=/trunk/KDE/kdebase/apps/; revision=717263
2007-09-26 13:34:28 +00:00
Peter Penz 89a12482f7 assure that the width of the name-column cannot get too small when decreasing the width of the viewport
CCMAIL: ereslibre@gmail.com

svn path=/trunk/KDE/kdebase/apps/; revision=717258
2007-09-26 13:15:16 +00:00
Peter Penz 8df41dd006 * Fix memory leak (DolphinCategoryDrawer is leaking...)
* There is no need to explicitly turning on the category, as this is done automatically when reading out the view properties. @Rafael: I tested your error description and could not reproduce the problem anymore. If I miss something, please let me know, so that we can work together to fix this :-)

CCMAIL: ereslibre@gmail.com

svn path=/trunk/KDE/kdebase/apps/; revision=717245
2007-09-26 11:46:49 +00:00
Peter Penz 1c819fb0ed code simplifications like done in the column view
svn path=/trunk/KDE/kdebase/apps/; revision=717229
2007-09-26 10:46:25 +00:00
Peter Penz 28372c1724 internal cleanup
svn path=/trunk/KDE/kdebase/apps/; revision=717223
2007-09-26 10:36:32 +00:00
Peter Penz 7bd8a826f4 lessons learned from the column view: never invoke KDirModel::expandToUrl() when the directory lister has not finished its loading...
svn path=/trunk/KDE/kdebase/apps/; revision=717203
2007-09-26 09:11:40 +00:00
Peter Penz 8c9c081ead Listen to the directory lister signals to know whether the directory lister is still working. This information is needed as KDirModel::expandToUrl() may never get invoked if the directory lister is still busy...
svn path=/trunk/KDE/kdebase/apps/; revision=717188
2007-09-26 08:39:58 +00:00
David Faure 13ef27496e associate dolphin with inode/directory; give it a higher initial preference than konq for directories.
svn path=/trunk/KDE/kdebase/apps/; revision=717185
2007-09-26 08:33:02 +00:00
Peter Penz f15e4914a0 prevent crash in model when invoking KDirModel::expandToUrl() before the directory lister has been initialized
svn path=/trunk/KDE/kdebase/apps/; revision=717158
2007-09-26 07:23:09 +00:00
Peter Penz 96d892bc47 Revert last patch which should fix the "name column can get too small issue" - turning off the automatical resizing is no good solution. I'll submit another fix during this week...
CCMAIL: ereslibre@gmail.com

svn path=/trunk/KDE/kdebase/apps/; revision=717133
2007-09-26 06:12:44 +00:00
Peter Penz c364f1b47a temporary disable the ScrollPerPixel feature until a Qt-patch is supplied which fixes a possible crash
(see http://lists.kde.org/?l=kde-core-devel&m=119077433611662&w=2)

svn path=/trunk/KDE/kdebase/apps/; revision=717132
2007-09-26 06:08:51 +00:00
Script Kiddy 7923d297f1 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=717121
2007-09-26 05:58:14 +00:00
Rafael Fernández López 1b0a498799 This fixes the problem of the "hidden filename corner case" by setting the column to the width of its contents. Probably is a poor solution...
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=717081
2007-09-26 02:07:30 +00:00
Rafael Fernández López 1e1e1b6c86 Hide unused and not drawn columns on the details view
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=717068
2007-09-26 00:47:33 +00:00
Rafael Fernández López 8ff20f6519 Fix the reproducible problem after the fix:
- On the icon view, enable categorization
- Switch to details view
- Go back to the icon view. The categorization has been disabled for the 
details view to sort correctly.

This fixes this problem :)

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=717051
2007-09-25 22:56:20 +00:00
Rafael Fernández López ccea74a99a When the view is the Details or Columns one do not have in count lessThanGeneralPurpose. For that we need to force the proxy model to not to be categorized.
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=717040
2007-09-25 21:54:26 +00:00
Rafael Fernández López ddcf546a4a Revert as it doesn't fix the problem completely... diving into this... sorry
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=717031
2007-09-25 21:27:47 +00:00
Rafael Fernández López 2c689ca4f7 Whenever we are trying to sort, bypass lessThanGeneralPurpose when is not allowed to sort by categories. This will result as bad sortings on Detailed and in
Column views.

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=717022
2007-09-25 21:17:18 +00:00
Peter Penz 93f8093b66 don't expand to the active URL synchronously, wait until the directory lister has completed its loading
svn path=/trunk/KDE/kdebase/apps/; revision=716899
2007-09-25 14:56:34 +00:00
Peter Penz 41f8286a56 assure that "Select All" and "Invert Selection" only operate on the active column of the column-view instead of selecting the whole hierarchy of the model
svn path=/trunk/KDE/kdebase/apps/; revision=716885
2007-09-25 13:53:08 +00:00
Peter Penz 1db9b6c3c4 fix filtering issues for views that show a directory hierarchy like a tree view or a column view: the directories should not get filtered
svn path=/trunk/KDE/kdebase/apps/; revision=716873
2007-09-25 13:16:17 +00:00
Peter Penz ffe9f62839 use pixel scrolling for all views (thanks to Rafael for the initial fix in the column view)
svn path=/trunk/KDE/kdebase/apps/; revision=716868
2007-09-25 13:03:41 +00:00
Rafael Fernández López d462712eaf Now that we talk about the column view => smooth scrolling
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=716865
2007-09-25 12:42:41 +00:00
Peter Penz d4103e8ecb * the directory lister must be updated when reloading columns
* ignore trailing slashes when comparing URLs

svn path=/trunk/KDE/kdebase/apps/; revision=716858
2007-09-25 12:03:57 +00:00
Peter Penz e0c795a529 restoring of the column view must also be done if the column view is active
svn path=/trunk/KDE/kdebase/apps/; revision=716850
2007-09-25 11:41:06 +00:00
Peter Penz 991df9c857 clear columns if the new URL is no parent of the currently shown columns
svn path=/trunk/KDE/kdebase/apps/; revision=716840
2007-09-25 11:06:54 +00:00
Rafael Fernández López 9bbab1421c Categories imroved
svn path=/trunk/KDE/kdebase/apps/; revision=716833
2007-09-25 10:43:48 +00:00