Commit graph

214 commits

Author SHA1 Message Date
Peter Penz 9d394f7a4a prevent flickering when switching between tabs having a split view
svn path=/trunk/KDE/kdebase/apps/; revision=796566
2008-04-13 19:18:54 +00:00
Peter Penz 9d1a8d98dd fixes for tabs:
* remember active view when having a split view inside a tab
* prevent a possible recursion when returning into a tab having a split view

svn path=/trunk/KDE/kdebase/apps/; revision=796563
2008-04-13 19:12:52 +00:00
Peter Penz 030a5d5433 when clicking with the middle mouse button on a directory, a new tab should be opened
svn path=/trunk/KDE/kdebase/apps/; revision=796116
2008-04-12 16:12:57 +00:00
Peter Penz 3b06c2120d "New Tab" menu + some related code ;-)
BUG: 143995

svn path=/trunk/KDE/kdebase/apps/; revision=796101
2008-04-12 15:09:46 +00:00
Peter Penz c33b01efb2 Move the pasteIntoFolder() method from the contextmenu into DolphinView. This allows to show the information inside the statusbar, that the paste operation has been completed (also some code duplication can be prevented by the way).
svn path=/trunk/KDE/kdebase/apps/; revision=791436
2008-03-29 14:54:56 +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 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
Chusslove Illich 428a5cacce Fix Krazy i18n issues.
svn path=/trunk/KDE/kdebase/apps/; revision=787308
2008-03-18 22:38:52 +00:00
Peter Penz e83c309781 remove unused signal
svn path=/trunk/KDE/kdebase/apps/; revision=784855
2008-03-12 17:07:42 +00:00
Peter Penz 74541a5d48 menu actions have not been updated correctly when changing between the split views (regression from KDE 4.0.1 to KDE 4.0.2)
BUG: 158317

svn path=/trunk/KDE/kdebase/apps/; revision=784853
2008-03-12 16:58:11 +00:00
Jeff Mitchell e8f247159e Don't try to show the terminal in dolphin when in Windows
svn path=/trunk/KDE/kdebase/apps/; revision=784126
2008-03-10 17:33:30 +00:00
Peter Penz eb7294fa10 minor cleanup: no need to create a slot which just invokes another method, just use the other method as slot
svn path=/trunk/KDE/kdebase/apps/; revision=778423
2008-02-23 15:48:56 +00:00
Peter Penz 98497a639a let F6 also select the whole text of the URL navigator to stay consistent with Konqueror and Firefox
BUG: 157589

svn path=/trunk/KDE/kdebase/apps/; revision=775977
2008-02-16 22:05:34 +00:00
Peter Penz f70b85b4ca Initially I thought it's better not having code as default value inside dolphin_generalsettings.kcfg. But the check for an empty home URL in DolphinMainWindow::init() must also be done when invoking GeneralSettings::setDefaults() in StartupSettingsPage, otherwise the home URL would get empty... Using QDir::homePath() as default-value inside the *.kcfg file prevents such issues.
CCMAIL: michael.a.oshea@gmail.com

svn path=/trunk/KDE/kdebase/apps/; revision=775494
2008-02-15 23:13:47 +00:00
Peter Penz e43bc5a6f6 minor code cleanup
svn path=/trunk/KDE/kdebase/apps/; revision=775094
2008-02-14 21:25:36 +00:00
Peter Penz 57e2cd9ae9 ~ is no useful home folder in a Windows environment (thanks to Michael O'Shea for the patch!)
BUG: 156463
CCMAIL: michael.a.oshea@gmail.com

svn path=/trunk/KDE/kdebase/apps/; revision=775056
2008-02-14 20:11:51 +00:00
David Faure a8a050952d Provide the "sort by" actions in dolphinpart (konqueror); share and simplify the code by connecting to the actiongroup's signal.
svn path=/trunk/KDE/kdebase/apps/; revision=774699
2008-02-13 20:52:21 +00:00
David Faure 804a196700 Provide the dolphinpart view modes (Icons, Details, Columns) in konqueror's View Modes menu.
(this is done using a Q_PROPERTY in the dolphin part and a signal; the available view modes for creating the menu in the first place are listed in dolphinpart.desktop)
Konqueror: cleaned up the old (complex) handling of view modes as N toolbar buttons from M services grouped by library (240 lines less!).
Dolphin: moved view mode handling to DolphinViewActionHandler, removes duplication between part and mainwindow.

svn path=/trunk/KDE/kdebase/apps/; revision=774646
2008-02-13 18:45:20 +00:00
David Faure 846b21edf5 Forwardport 773570:
Factorize all the view-related action handling to DolphinViewActionHandler, to remove code duplication between mainwindow and part, and to remove my code-splitting with the static createFooAction methods in the view.

svn path=/trunk/KDE/kdebase/apps/; revision=773572
2008-02-11 12:44:46 +00:00
David Faure 45a1074b0a Factorize all the view-related action handling to DolphinViewActionHandler, to remove code duplication between mainwindow and part, and to remove my code-splitting with the static createFooAction methods in the view.
svn path=/branches/KDE/4.0/kdebase/apps/; revision=773570
2008-02-11 12:34:48 +00:00
Peter Penz 368e7d615a Fixed issue that the "Show Full Location" action is not synchronized with the editable state of the URL navigator (thanks to David Benjamin for the patch).
BUG: 156891

svn path=/trunk/KDE/kdebase/apps/; revision=771918
2008-02-07 07:27:06 +00:00
Peter Penz 9a944644e9 allow dropping items above a place inside the Places panel
BUG: 154014

svn path=/trunk/KDE/kdebase/apps/; revision=768921
2008-01-30 22:22:46 +00:00
David Faure a6f5c499ef keep in sync with 4.0 branch (767566)
svn path=/trunk/KDE/kdebase/apps/; revision=767567
2008-01-28 11:37:08 +00:00
David Faure cdc40d4398 Centralize three more actions so that they are available in DolphinPart: 'Show preview' 'Show hidden files' 'Categorized sorting'
Found a way of sharing the actions with even less code duplication, discussed it with Peter, but this will be for after 4.0.1

svn path=/branches/KDE/4.0/kdebase/apps/; revision=767566
2008-01-28 11:33:49 +00:00
Bill Egert 52025112b0 - Fix some compiler warnings.
- Switched depricated stdName() to name()

svn path=/trunk/KDE/kdebase/apps/; revision=767204
2008-01-27 14:54:38 +00:00
David Faure 494f522b91 svn merge -r764536:HEAD from 4.0 branch: refactor "additional info" actions and provide them in the part
svn path=/trunk/KDE/kdebase/apps/; revision=764550
2008-01-22 01:38:45 +00:00
David Faure 13706a2952 Move the code handling the additional-info-actions to DolphinView; simplify signal from DolphinView (it has the info anyway).
The fact that the last additional-info doesn't show up in the icon view is in fact a KFileItemDelegate bug, not a bug in this code :)

svn path=/branches/KDE/4.0/kdebase/apps/; revision=764544
2008-01-22 01:22:56 +00:00
David Faure d34f1d1b46 Use a QActionGroup and save 6 slots (and the duplication of the action names in the code).
svn path=/branches/KDE/4.0/kdebase/apps/; revision=764537
2008-01-22 00:39:52 +00:00
David Faure 3c1efcb738 Make sort/descending available in dolphinpart
svn path=/trunk/KDE/kdebase/apps/; revision=764445
2008-01-21 19:44:36 +00:00
David Faure af333d9c7a Make sort/descending available in dolphinpart
svn path=/branches/KDE/4.0/kdebase/apps/; revision=764444
2008-01-21 19:42:16 +00:00
David Faure e3da86af95 forwardport 764429:
Revert the moving of the action to the DolphinView instance, this doesn't work with splitted views.
(Each view would need its own action collection, but then DolphinView would have to become
a KXMLGUIClient, and the GUI would flicker when switching views).

Instead, use the same solution as the other shared actions: static method in DolphinView (for now),
slot in the mainwindow (and for the more complex actions than this one, shared code in DolphinView)

svn path=/trunk/KDE/kdebase/apps/; revision=764436
2008-01-21 19:31:07 +00:00
David Faure c00478bbc1 Revert the moving of the action to the DolphinView instance, this doesn't work with splitted views.
(Each view would need its own action collection, but then DolphinView would have to become
a KXMLGUIClient, and the GUI would flicker when switching views).

Instead, use the same solution as the other shared actions: static method in DolphinView (for now),
slot in the mainwindow (and for the more complex actions than this one, shared code in DolphinView)

svn path=/branches/KDE/4.0/kdebase/apps/; revision=764429
2008-01-21 19:08:52 +00:00
Peter Penz 1daef0dc52 Cleanup: let the DolphinView be aware about the used action collection. This will allow us cleaning up some code in DolphinMainWindow and will make it easier sharing code with DolphinPart.
CCMAIL: faure@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=764347
2008-01-21 14:16:31 +00:00
Peter Penz aeec659530 stay consistent with Konqueror: F10 creates a new directory
svn path=/trunk/KDE/kdebase/apps/; revision=763500
2008-01-19 16:59:10 +00:00
Peter Penz 09c62f7c6a use F3 for "Split View" instead of F10, as F10 is used for "new directory" since KDE 3... (thanks to Aaron for the hint)
svn path=/trunk/KDE/kdebase/apps/; revision=759633
2008-01-10 23:42:34 +00:00
Peter Penz fb00dfe15f Backport: use F3 for "Split View" instead of F10
svn path=/branches/KDE/4.0/kdebase/apps/; revision=759573
2008-01-10 21:35:03 +00:00
Peter Penz 0e58c734c1 Backport of bugfix 154434 (trunk revision 757791): Remember the additional-info property (size, date, type, ...) for each view mode (icons view, details view, column view) individually.
svn path=/branches/KDE/4.0/kdebase/apps/; revision=758210
2008-01-07 07:38:09 +00:00
Peter Penz e3ed05b372 Remember the additional-info property (size, date, type, ...) for each view mode (icons view, details view, column view) individually.
BUG: 154434
CCMAIL: hein@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=757791
2008-01-05 22:09:07 +00:00
Jakob Petsovits 05c8b55c73 Icon renaming (code changes - KDE/):
consolidate the fileview-* icons to view-*

svn path=/trunk/KDE/kdebase/apps/; revision=755384
2008-01-01 12:25:48 +00:00
Rafael Fernández López 73fbb1a3d1 Now the konsole part is autodestructed when no tabs do exist. This makes the desired effect on dolphin when typing "exit" on the terminal, the dock will be hidden.
BUG: 153648

svn path=/trunk/KDE/kdebase/apps/; revision=750276
2007-12-19 01:35:09 +00:00
David Faure bdb91e85ec Disable the action that launches kompare if kompare is not installed.
svn path=/trunk/KDE/kdebase/apps/; revision=750038
2007-12-18 15:08:59 +00:00
Peter Penz ae44181e5e If the URL navigator is editable and has the focus, Ctrl+A should select the URL and not all items (thanks to Morton O. Hansen for the patch!)
BUG: 153697

svn path=/trunk/KDE/kdebase/apps/; revision=749188
2007-12-16 19:25:59 +00:00
David Faure 609ce09292 Moving code around in dolphin fixes DnD support in konqueror :)
svn path=/trunk/KDE/kdebase/apps/; revision=748476
2007-12-14 15:53:40 +00:00
Peter Penz 5690330220 Allow turning off the feature that additional information might be shown in the icons view. Per default the setting is still on, but for people who prefer browsing with the details view and only temporary switch to the icons view (e. g. for having a larger preview), this feature gets a showstopper (discussed with Eike Hein).
Got the OK from the translator team for adding the new string.

CCMAIL: hein@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=744901
2007-12-04 20:56:42 +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 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
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 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 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