Commit graph

1989 commits

Author SHA1 Message Date
Peter Penz f37ecd6ecf Cleanup panel related class names: The terms "sidebar"/"sidebarpage" are relicts from the KDE 3 version of Dolphin and are called "Panels" in the KDE 4 version of Dolphin. Yes, renaming classes may take more than 1 year ;-)
svn path=/trunk/KDE/kdebase/apps/; revision=911089
2009-01-14 20:14:36 +00:00
Peter Penz 307285e963 Group classes into folders, Dolphin is too big in the meantime for having a flat directory hierarchy. dolphin/src/CMakeLists.txt will be cleaned up later.
svn path=/trunk/KDE/kdebase/apps/; revision=911065
2009-01-14 19:26:23 +00:00
Peter Penz 86d9c40ab7 prevent that the user can open more than one instance of the settings dialog
svn path=/trunk/KDE/kdebase/apps/; revision=910588
2009-01-13 18:06:15 +00:00
Stefan Monov 942778cb2a someone forgot to move the comment along with the code ;)
svn path=/trunk/KDE/kdebase/apps/; revision=909814
2009-01-12 10:11:30 +00:00
Peter Penz d15ff33059 SVN_SILENT: fixed indentation (was a mix of 1, 2 or 4 spaces...)
svn path=/trunk/KDE/kdebase/apps/; revision=909451
2009-01-11 16:35:07 +00:00
Peter Penz 6d2904ec48 add action "Close Tab" to the file menu, so that users get the chance to discover the key shortcut
svn path=/trunk/KDE/kdebase/apps/; revision=909450
2009-01-11 16:28:42 +00:00
Peter Penz db5ee5f2a6 raise() and activateWindow() are not needed in this case
svn path=/trunk/KDE/kdebase/apps/; revision=908812
2009-01-10 14:27:07 +00:00
Peter Penz e931b21216 there is no reason that the settings dialog is modal...
BUG: 179757

svn path=/trunk/KDE/kdebase/apps/; revision=908577
2009-01-09 22:56:24 +00:00
David Faure 723db9be83 same optimization as in 907877 but for the info sidebar's preview.
svn path=/trunk/KDE/kdebase/apps/; revision=907878
2009-01-08 20:51:03 +00:00
David Faure b44364bd11 Small optimization found while having debug output in kfileitem: pass the KFileItem rather than the URL,
so that previewjob doesn't have to determine the item's mimetype again.

svn path=/trunk/KDE/kdebase/apps/; revision=907877
2009-01-08 20:46:10 +00:00
Peter Penz d4173fa3f1 version update
svn path=/trunk/KDE/kdebase/apps/; revision=907874
2009-01-08 20:42:09 +00:00
David Faure 72f99574b4 don't complain about
KDirModel::indexForUrl: KUrl("") not found
every time the selection changes

svn path=/trunk/KDE/kdebase/apps/; revision=907756
2009-01-08 18:00:56 +00:00
Laurent Montel 054a5eca04 Fix compile with enable final
svn path=/trunk/KDE/kdebase/apps/; revision=907022
2009-01-07 12:27:38 +00:00
Laurent Montel c907d6cd6b Not necessary
svn path=/trunk/KDE/kdebase/apps/; revision=907018
2009-01-07 12:22:36 +00:00
Script Kiddy 580da51e01 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=906580
2009-01-06 12:52:00 +00:00
Peter Penz c11baf1ad5 fixed issue that the zoom slider tooltip showed the previous size when changing the slider with the mouse
svn path=/trunk/KDE/kdebase/apps/; revision=906188
2009-01-05 18:41:06 +00:00
Peter Penz b2db9bd9ed QAbstractItemView::scrollTo() may get called by QListView::keyPressEvent(), so m_enableScrollTo (which is checked in DolphinIconsView::scrollTo()) must be enabled before. This fixes the issue that the autoscrolling does not work if exactly one item is selected and an invisible item should get focused because of a key press.
BUG: 179049

svn path=/trunk/KDE/kdebase/apps/; revision=906179
2009-01-05 18:21:34 +00:00
Peter Penz 59ac1d10ae Only expand the tree view if it has an enabled 'itemsExpandable' property. If this is not the case, the folder will get opened like in the icon view by exchanging the whole content.
CCBUG: 178630

svn path=/trunk/KDE/kdebase/apps/; revision=905632
2009-01-04 18:35:32 +00:00
Peter Penz 291c9219a2 SVN_SILENT: minor coding style cleanups
svn path=/trunk/KDE/kdebase/apps/; revision=905631
2009-01-04 18:31:59 +00:00
Peter Penz 2872b35f4b Fixed issue that in combination with the "automatically open folders during drag operations" the details view is not drawn correctly in the following case: Drag an item in the icons view to a folder which uses the details view.
Thanks to Simon St. James for the patch!

CCBUG: 178630

svn path=/trunk/KDE/kdebase/apps/; revision=905627
2009-01-04 18:26:43 +00:00
Peter Penz 6f38e24dbb Don't set the mouse button state to NoButton, this is invalid e. g. during a drag operation. The mouse button state will be updated anyhow on each item-click. This fixes the regression that the feature "automatically open folders during drag operations" did not work anymore after one level.
Thanks to Simon St. James for the good analyzes!

BUG: 178630

svn path=/trunk/KDE/kdebase/apps/; revision=905622
2009-01-04 18:19:48 +00:00
Peter Penz 74f73dd2af SVN_SILENT: minor coding style cleanups
svn path=/trunk/KDE/kdebase/apps/; revision=905620
2009-01-04 18:14:26 +00:00
Script Kiddy fbd7cb02a5 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=905486
2009-01-04 13:22:16 +00:00
Simon Paul St James e896fc8e11 contentsPos turned out to be a little broken - it would always return (0,0), except in a very unusual set of circumstances where it returned ... "different" values, causing very odd behaviour with the elastic band :) Remove it.
svn path=/trunk/KDE/kdebase/apps/; revision=904995
2009-01-03 16:00:21 +00:00
Peter Penz 64059e5083 don't cache the preview of the information sidebar, as this restricts the maximum size to 256 x 256 pixels
svn path=/trunk/KDE/kdebase/apps/; revision=904639
2009-01-02 17:26:12 +00:00
Script Kiddy c6dbe9a31d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=904551
2009-01-02 13:30:12 +00:00
Peter Penz bac6ebe5d3 Instead of increasing the grid spacing, increase the item size, so that there is more space for the text.
svn path=/trunk/KDE/kdebase/apps/; revision=904408
2009-01-02 09:04:16 +00:00
Laurent Montel da089e957c not necessary
svn path=/trunk/KDE/kdebase/apps/; revision=904391
2009-01-02 08:00:53 +00:00
Peter Penz 3fc700f042 fixed crash when enabling grouping by date and having dates like
30 December 2008 (is "Week 1" (of 2009 , but for 2008 too))
28 December 2008 (is "Week 52" (of 2008) )

Thanks to Darío Andrés for the patch!

BUG: 179019

svn path=/trunk/KDE/kdebase/apps/; revision=903432
2008-12-30 14:48:18 +00:00
Peter Penz 5194a032ac optimize the grid size of the icons view to prevent having gaps on the right border (= row arrangement) or on the bottom border (= column arrangement)
svn path=/trunk/KDE/kdebase/apps/; revision=903417
2008-12-30 14:32:45 +00:00
Peter Penz 46483d7c08 SVN_SILENT: minor coding style cleanups
svn path=/trunk/KDE/kdebase/apps/; revision=903414
2008-12-30 14:29:58 +00:00
Script Kiddy 8536030ea5 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=902470
2008-12-28 13:25:02 +00:00
Script Kiddy 649668d845 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=902162
2008-12-27 16:16:25 +00:00
Nuno Fernades Pinheiro 170ae64f6a fix bug Bug 177446 icons now in Oxygen
svn path=/trunk/KDE/kdebase/apps/; revision=902064
2008-12-27 15:07:16 +00:00
Script Kiddy 1123841d73 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=901727
2008-12-26 13:31:59 +00:00
Leonardo Finetti efbce1059c Patch by Drew Fisher: enable keypad enter in dolphin.
Tested by me and approved by Peter Penz.

BUG: 178735


svn path=/trunk/KDE/kdebase/apps/; revision=901630
2008-12-26 11:34:09 +00:00
Script Kiddy bba48e459d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=901125
2008-12-24 13:32:45 +00:00
David Faure 818864ec48 Open the sidebar on applications:/, not on applications:, that URL makes no sense [and crashes kdirmodel...].
BUG: 178416

svn path=/trunk/KDE/kdebase/apps/; revision=901012
2008-12-24 11:45:09 +00:00
Peter Penz 86ee6dbd07 assure that the zoom slider tooltip is always updated when changing a value
svn path=/trunk/KDE/kdebase/apps/; revision=900577
2008-12-23 10:54:56 +00:00
Peter Penz e1ca3fc1ee revert SVN commit 899245: The patch does not work as expected.
CCMAIL: ereslibre@kde.org
CCBUG: 173027

svn path=/trunk/KDE/kdebase/apps/; revision=900071
2008-12-22 07:18:18 +00:00
Peter Penz 9f87bf8d88 minor coding style fixes:
* let the global variable 'others' be a static member 'm_others'
* constify

svn path=/trunk/KDE/kdebase/apps/; revision=900070
2008-12-22 07:17:06 +00:00
Peter Penz 49ec13f58e fixed ARK drop handling as suggested by Harald Hvaal
svn path=/trunk/KDE/kdebase/apps/; revision=899770
2008-12-21 15:14:03 +00:00
Script Kiddy 833ab70add SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=899710
2008-12-21 12:59:15 +00:00
Peter Penz 17033c5da6 When common view properties are used for all folders, the internal properties should not be changed during the lifetime of a DolphinView instance. This allows to e. g. split a view and work with different view modes on each view.
BUG: 174102

svn path=/trunk/KDE/kdebase/apps/; revision=899571
2008-12-21 10:15:19 +00:00
Script Kiddy 88ae4d94bc SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=899357
2008-12-20 14:39:35 +00:00
Peter Penz f2d61b242d Assure that the items within the "Others" group are sorted too, when sorting by name and using categorization.
@Rafael: Could you please have a look whether this patch is OK? It fixes bug 173027 but it is unclear for me why the deleted lines had been added at all. Thanks :-)

CCMAIL: ereslibre@kde.org
BUG: 173027

svn path=/trunk/KDE/kdebase/apps/; revision=899245
2008-12-20 12:54:46 +00:00
Peter Penz de2d93b068 minor improvement to last commit: only request the focus if we have a listable protocol; otherwise leave the focus where it was (e. g. so that the user can enter another URL)
svn path=/trunk/KDE/kdebase/apps/; revision=898822
2008-12-19 06:48:57 +00:00
Peter Penz 426a57997b Don't request the focus for the view because of a completed directory lister, instead directly request it when we know that the user has entered a new URL. This prevents that the focus gets stolen from the Terminal when somebody types "touch foo".
BUG: 178070

svn path=/trunk/KDE/kdebase/apps/; revision=898819
2008-12-19 06:41:26 +00:00
Peter Penz d05c4ba829 turn off the filter when closing the filterbar by CTRL+I
BUG: 177948

svn path=/trunk/KDE/kdebase/apps/; revision=897988
2008-12-17 10:35:02 +00:00
Peter Penz f9beadde75 assure that a column of the column view acts as focus proxy when being active
svn path=/trunk/KDE/kdebase/apps/; revision=897744
2008-12-16 18:52:26 +00:00