Commit graph

14574 commits

Author SHA1 Message Date
David Faure 05cf901796 Don't crash if parentWidget is 0 (even though I don't recommend setting it to 0, the dirlister mainwindow won't be set if you reparent the widget later on)
BUG: 161681

svn path=/trunk/KDE/kdebase/apps/; revision=916972
2009-01-26 15:45:39 +00:00
Simon Paul St James e29699f794 Refactor the folder expansion system. Main effect: instead of having a list of m_expandedViews which cannot yet be deleted, we more accurately identify the current source of the drag operation if any and store only this for later deletion.
This also fixes folder-expansion not working in Column view.

svn path=/trunk/KDE/kdebase/apps/; revision=916701
2009-01-25 19:46:08 +00:00
Nick Shaforostoff d89782ddf7 add fine-grained categories in (compliance with xdg menu spec)
svn path=/trunk/KDE/kdebase/apps/; revision=915866
2009-01-24 01:00:48 +00:00
Burkhard Lück bdb235d92a improve comment as discussed on kde-i18n-doc@kde.org
svn path=/trunk/KDE/kdebase/apps/; revision=915848
2009-01-23 23:21:09 +00:00
Simon Paul St James b805f5e7eb In rare circumstances (a very narrow viewport is a necessary, but not sufficient, condition) DolphinDetailsView::resizeColumns() is called with an empty model so that sizeHintForColumn(...) returns -1 and so the name column ultimately has width -1. Detect and prevent this.
svn path=/trunk/KDE/kdebase/apps/; revision=915781
2009-01-23 18:55:08 +00:00
Burkhard Lück f0e5f2e927 make the stylesheet page translatable
svn path=/trunk/KDE/kdebase/apps/; revision=915705
2009-01-23 15:36:28 +00:00
Burkhard Lück e6997e3962 add lang="&language;" to article to make the markup translatable
svn path=/trunk/KDE/kdebase/apps/; revision=915165
2009-01-22 14:24:59 +00:00
Simon Paul St James f735ec6a54 Two KFilePreviewGenerator's operating on the same KDirModel can lead to infinite loops of preview generation. If view is not delete'd (e.g. as a result of a FolderExpander), then m_previewGenerator won't be either: delete it manually to prevent having two active at once.
svn path=/trunk/KDE/kdebase/apps/; revision=914799
2009-01-21 19:43:41 +00:00
Sebastian Trueg 1a41139295 Only actually change the resource if tags were changed.
svn path=/trunk/KDE/kdebase/apps/; revision=914234
2009-01-20 17:41:56 +00:00
Simon Paul St James 2d7dd71310 Update the KPart host's status bar info when selection changes.
svn path=/trunk/KDE/kdebase/apps/; revision=913713
2009-01-19 19:11:38 +00:00
Peter Penz fd604eaeb9 don't use any spacing between the search button and the input field
svn path=/trunk/KDE/kdebase/apps/; revision=913589
2009-01-19 15:02:09 +00:00
David Faure bcf111f149 Fix lack of error handling in RMB/Move To... (e.g. when src is root-owned) because the parent for KonqOperations
was the popupmenu, which gets deleted before the job finishes.

svn path=/trunk/KDE/kdebase/apps/; revision=913576
2009-01-19 14:33:10 +00:00
Peter Penz 7d5dc0fe4d Use a custom SearchWidget instead directly using a KLineEdit. Currently the DolphinSearchWidget acts as "playground" to test some ideas. If it works well it might be a good idea moving this widget as KSearchBox (?) to kdelibs, so that it can be used by the file dialog or other applications.
svn path=/trunk/KDE/kdebase/apps/; revision=913572
2009-01-19 14:25:08 +00:00
David Faure 4f04c40721 Adding a qBacktrace near the warning
Object: Do not delete object, 'unnamed', during its event handler!
helps seeing a lot of these. Like, any key shortcut that deletes a widget...

svn path=/trunk/KDE/kdebase/apps/; revision=913541
2009-01-19 14:02:12 +00:00
Peter Penz 6729cb17c5 Provide a search box for the nepomuksearch:/ KIO slave. This is just an initial prototype to get some feedback, the search box and the URL navigator still need some love for this usecase...
CCMAIL: sebastian@trueg.de

svn path=/trunk/KDE/kdebase/apps/; revision=913451
2009-01-19 13:17:33 +00:00
Peter Penz 95377395c8 Provide filemanager settings for 'Navigation' and 'General'. TODO: currently the entries are not shown, but I could not face the difference (yet) to the working 'View Modes' settings... Should hopefully be only a minor issue.
svn path=/trunk/KDE/kdebase/apps/; revision=913421
2009-01-19 11:28:48 +00:00
Ivo Anjo 078cd1d3b2 Fix small issues found by EBN.
svn path=/trunk/KDE/kdebase/apps/; revision=913418
2009-01-19 11:19:16 +00:00
Peter Penz b37be7afe3 use correct icon
svn path=/trunk/KDE/kdebase/apps/; revision=913415
2009-01-19 11:12:24 +00:00
Peter Penz b9d7137334 added settings module 'General' that can be used by Konqueror
svn path=/trunk/KDE/kdebase/apps/; revision=913414
2009-01-19 11:11:11 +00:00
Peter Penz 7d8a48434f * enable the apply button when settings have been changed
* restore default settings correctly

svn path=/trunk/KDE/kdebase/apps/; revision=913412
2009-01-19 11:10:04 +00:00
Peter Penz 3649ace842 added settings module for 'Navigation', that can be used by Konqueror
svn path=/trunk/KDE/kdebase/apps/; revision=913405
2009-01-19 10:39:11 +00:00
Peter Penz d03ddf8dff hide the tooltips when a key is pressed (thanks to Shaun Reich for the initial patch)
CCMAIL: predator106@gmail.com

svn path=/trunk/KDE/kdebase/apps/; revision=913383
2009-01-19 08:57:35 +00:00
Jakob Petsovits 724b355e99 Make kdialog use Plasma's notification bling (via D-Bus) if possible,
keeping KPassivePopup as fallback in case the D-Bus invocation fails.
The invocation code is a heavily simplified version of dimsuz's code
in NotifyByPopup of KNotify, therefore his copyright instead of mine.

Ok to backport to 4.2, or rather not?

svn path=/trunk/KDE/kdebase/apps/; revision=913253
2009-01-18 23:44:47 +00:00
Artur Duque de Souza 27c5266cc2 Update the string following danny's tip
svn path=/trunk/KDE/kdebase/apps/; revision=912664
2009-01-17 23:55:14 +00:00
Harald Sitter 12cd28f069 Fix Dolphin's desktop file. The additional quotation of %u made dolphin be started with an empty (but existing) location value which made it fall back to XDG's document path as of KDE 4.2. Without
quotation it doesn't get that empty value and starts using it's configured default location.
BUG: 169016

svn path=/trunk/KDE/kdebase/apps/; revision=912654
2009-01-17 23:07:46 +00:00
Peter Penz cfaa185abf further kcms for Dolphin will be available next week -> adjust Konqueror for the renaming of the view modes module
svn path=/trunk/KDE/kdebase/apps/; revision=912589
2009-01-17 18:43:31 +00:00
Peter Penz 00553e3810 Relayout of the settings dialog, so that all Dolphin KPart relevant settings can be made available in Konqueror's settings dialog too. Further cleanups and layout fixes are required and will be done during the next week.
svn path=/trunk/KDE/kdebase/apps/; revision=912587
2009-01-17 18:42:06 +00:00
David Faure 3712c4b764 Remove useless code, replaced with slotRedirection.
svn path=/trunk/KDE/kdebase/apps/; revision=912124
2009-01-16 18:47:40 +00:00
Pino Toscano a2ea386774 fix "D-Bus" spelling
svn path=/trunk/KDE/kdebase/apps/; revision=912052
2009-01-16 15:57:32 +00:00
David Faure 5e07ed9a34 Repair redirections in DolphinPart, it used to notify of redirections by connecting to urlChanged,
but iirc there were recent changes which make dolphinview emit redirection instead of urlChanged in that case
Makes me wonder if urlChanged is still useful for anything?
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=911974
2009-01-16 13:21:33 +00:00
Peter Penz b4278ca81b Pressing "Enter" in the folders panel should open the folder in the main view. Thanks to Darío Andrés for the patch!
BUG: 172360

svn path=/trunk/KDE/kdebase/apps/; revision=911855
2009-01-16 10:28:25 +00:00
Peter Penz 633765b882 provide icons for "Places", "Folders", "Information" and "Terminal" actions, so that they can be added to the toolbar
BUG: 180847

svn path=/trunk/KDE/kdebase/apps/; revision=911845
2009-01-16 09:54:55 +00:00
André Wöbbeking 79a146a887 endsWith() works with chars
svn path=/trunk/KDE/kdebase/apps/; revision=911607
2009-01-15 19:07:26 +00:00
Aaron J. Seigo 5fd0026dd5 don't make room in the rubber band for the scrollbar if the scrollbar isn't visible.
BUG:180424

svn path=/trunk/KDE/kdebase/apps/; revision=911229
2009-01-15 06:11:45 +00:00
David Faure 09d0b4ad2f Resolve aliases; don't abort if mimetype is unknown.
svn path=/trunk/KDE/kdebase/apps/; revision=911198
2009-01-15 01:37:26 +00:00
Peter Penz 57437320db cleanup sort order, so that it is easier later to split the files into several CMakeLists.txt
svn path=/trunk/KDE/kdebase/apps/; revision=911094
2009-01-14 20:22:17 +00:00
Peter Penz a34895731f 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 892226dec5 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
Aaron J. Seigo b6de777f88 sometimes folderview gets some *very* fishy context menu requests, but let's at least not hit an assert in libkonq due to that
CCBUG:180600


svn path=/trunk/KDE/kdebase/apps/; revision=910710
2009-01-14 00:16:02 +00:00
Peter Penz 49c24952a1 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
Frederik Schwarzer 53a9734c08 typo: "information" has no plural
svn path=/trunk/KDE/kdebase/apps/; revision=910119
2009-01-12 18:41:54 +00:00
Stefan Monov 618c603287 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
Tommi Tervo f6a343211c Enabled close tab button on konqueror tab a default. BUG 173827
svn path=/trunk/KDE/kdebase/apps/; revision=909806
2009-01-12 09:48:46 +00:00
Fredrik Höglund 16b4b74787 Don't allow the user to move icons outside the view on any edge
when the flow is set to top-to-bottom, since there's currently
no support for a horizontal scrollbar.

svn path=/trunk/KDE/kdebase/apps/; revision=909682
2009-01-12 00:29:47 +00:00
Fredrik Höglund 96a1586709 There's no need to do a relayout here when the font changes; the parent
widget is responsible for updating the grid size when it changes the
font, which will trigger the relayout.

svn path=/trunk/KDE/kdebase/apps/; revision=909675
2009-01-12 00:14:50 +00:00
Fredrik Höglund 80040c56e2 Update the grid size in the icon view when the font changes.
svn path=/trunk/KDE/kdebase/apps/; revision=909673
2009-01-12 00:08:42 +00:00
Fredrik Höglund ec63abafdb Don't include the icons sub menu in the contextual actions when
there's no icon view.

svn path=/trunk/KDE/kdebase/apps/; revision=909667
2009-01-12 00:00:00 +00:00
Fredrik Höglund 2523ca5003 Repaint the view and update the scrollbar when all items are removed
from the folder.

svn path=/trunk/KDE/kdebase/apps/; revision=909666
2009-01-11 23:50:29 +00:00
Fredrik Höglund 4fb505e0ca Avoid doing a relayout if possible when the contents margins change.
svn path=/trunk/KDE/kdebase/apps/; revision=909665
2009-01-11 23:48:25 +00:00
Peter Penz c8b7be40dc 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