David Faure [Tue, 7 Apr 2009 12:45:02 +0000 (12:45 +0000)]
We don't know the mimetype here, so better not set it at all, konq will determine it.
Better than setting inode/directory for everything due to the wrong S_IFDIR.
Fixes "foo is a file but a dir was expected" error when doing MMB on a file.
Shaun Reich [Fri, 27 Mar 2009 01:03:02 +0000 (01:03 +0000)]
A few changes...
*The search bar displays "Search..." as that nice inactive-hinted text, this provides a clue as to what it is, aside from merely the small icon. Text disappears upon clicking
*Also changed text on tooltip from "Search" to "Click to begin the search".
*No need to specify layout direction as Left to Right, it is this way on construction.
Peter Penz [Thu, 26 Mar 2009 18:44:36 +0000 (18:44 +0000)]
Use KNewMenu::createDirectory() instead of KonqOperations::newDir() when F10 has been pressed, so that the directory gets automatically selected afterwards.
Rahman Duran [Wed, 25 Mar 2009 22:00:50 +0000 (22:00 +0000)]
BUG: 175658
GUI:
The remote encoding code adapted from Konqueror to Dolphin. Now user can change
encoding for remote urls like ftp. Konqueror doesn't use
KRemoteEncodingPlugin anymore. Instead, this feature is supplied to
Konqueror via DolphinPart.
Peter Penz [Sat, 21 Mar 2009 11:49:10 +0000 (11:49 +0000)]
- Write the settings to the disk as soon as "Apply" or "OK" has been pressed inside a settings dialog.
- Assure that the settings are saved in the DolphinPart destructor for settings that are changed outside the settings dialog (e. g. by using Ctrl + mouse wheel for adjusting the icon size).
Thanks to Frank Reininghaus and David Faure for the analyses.
Shaun Reich [Thu, 19 Mar 2009 01:43:35 +0000 (01:43 +0000)]
Made the accelerator for "Rename" also removed the setMarginHint() or whatever, I'm quite certain this does absolutely nothing and is no longer needed, but please, correct me if I am wrong.
Peter Penz [Tue, 17 Mar 2009 20:55:26 +0000 (20:55 +0000)]
Assure that KNewMenu from DolphinPart attachs itself to the DolphinNewMenuObserver, so that newly created items get selected (DolphinNewMenu - which attachs itself automatically - cannot be used in DolphinPart).
Peter Penz [Tue, 17 Mar 2009 20:47:03 +0000 (20:47 +0000)]
After creating an item with the "Create New..." menu, the new item should get selected and it must be assured that the item stays visible. Thanks a lot to Rahman Duran for the original patch and the good discussions :-)
Open issues:
- F10 shortcut does not work yet (interface extension might be done in KNewMenu)
- Does not work in column view yet, but this is a colum view specific issue.
Shaun Reich [Sun, 15 Mar 2009 04:01:49 +0000 (04:01 +0000)]
Added F8 as an alternate shortcut for "Show Hidden Files". Reasoning: Open file and folder dialogs (do, except for the latter(but all will) use this shortcut).
Shaun Reich [Fri, 13 Mar 2009 01:07:51 +0000 (01:07 +0000)]
Added "document-properties" icon to "Properties", I added in another menu also, for the same action, but this is a different menu, yet used in the same context.
Ask for confirmation when closing a Dolphin window with more than one tab. This can be disabled by checking the "Do not ask again" checkbox in the confirmation dialog or in Dolphin's settings dialog.
Shaun Reich [Wed, 11 Mar 2009 20:47:46 +0000 (20:47 +0000)]
The last commit made the menu be on the heap, this switches it back to stack... (I initially couldn't figure out how to do that (had to pass by reference)).
Shaun Reich [Tue, 10 Mar 2009 00:35:59 +0000 (00:35 +0000)]
The tab icon now obeys the icon of the folder that it is currently browsing. Before it would just use the "folder" icon, but it now finds the icon of that folder, and uses it.
Shaun Reich [Mon, 9 Mar 2009 18:10:35 +0000 (18:10 +0000)]
The "Recently Closed Tabs" action menu now has a limit of 10, before it could just go on for practically ever, which would yield an annoyingly huge list of closed tabs.
Shaun Reich [Mon, 9 Mar 2009 02:31:41 +0000 (02:31 +0000)]
There is no point in setting the text of a tab, each time a tab is selected, the only time we should have to do that is when we are using a split view.
This also kind of hides the Qt 4.5 tab bug (a very ugly one) from "regular" users (who don't use the split view).
Peter Penz [Wed, 25 Feb 2009 20:53:17 +0000 (20:53 +0000)]
Provide a basic UI for the "Services" settings dialog. It's open yet whether installing services by the internet will make it into Dolphin/Konqueror for KDE 4.3, but at least turning off services (without deinstalling applications...) will be supported.
Peter Penz [Tue, 24 Feb 2009 08:25:01 +0000 (08:25 +0000)]
Stupid me: The inconsistent behavior between QListView::scrollTo() and QTreeView::scrollTo() has been fixed in Qt 4.5 :-) I should have tested this _before_ committing the huge patch for bug 185191... So:
* Remove the workaround in DolphinIconsView::scrollTo() to bypass an issue in Qt 4.4 (-> fixed in Qt 4.5)
* Revert the "use the DolphinController"-parts of commit 930754 and just use QAbstractItemView::scrollTo() instead.
Peter Penz [Tue, 24 Feb 2009 08:09:35 +0000 (08:09 +0000)]
After renaming an item the view should be scrolled in a way to still have a fully visible renamed item. The implementation required a lot of more code changes as such a fix should require: QAbstractItemView::scrollTo() cannot be used directly (inconsistent default behavior in QListView and QTreeView, a special case for the column view), so the communication has to be done with the DolphinController...
Shaun Reich [Sun, 22 Feb 2009 17:06:15 +0000 (17:06 +0000)]
* Remove deprecated use of KTabBar::setCloseButtonEnabled(), use qt-provided method-QTabBar::setTabsClosable().
* Enable dragging of tabs thanks to the new feature in Qt 4.5, QTabBar::setMovable(), now that the KTabBar has been ported. The dragging is a very neat effect.