Commit graph

1640 commits

Author SHA1 Message Date
Peter Penz
cb6e5a933b SVN_SILENT: removed trailing spaces
svn path=/trunk/KDE/kdebase/apps/; revision=818367
2008-06-08 12:38:56 +00:00
Albert Astals Cid
404e5f081b ;--
svn path=/trunk/KDE/kdebase/apps/; revision=818343
2008-06-08 11:29:38 +00:00
Peter Penz
d9ec7ac7a3 fixed possible crash when showing tooltips and switching between views
BUG: 161201
CCMAIL: ubuntu@martin-graesslin.com

svn path=/trunk/KDE/kdebase/apps/; revision=818325
2008-06-08 10:11:13 +00:00
Peter Penz
b5c7a2ebb9 added missing virtuals
svn path=/trunk/KDE/kdebase/apps/; revision=818316
2008-06-08 09:55:06 +00:00
Peter Penz
e409bbf24e SVN_SILENT: minor coding style fix
svn path=/trunk/KDE/kdebase/apps/; revision=818305
2008-06-08 09:27:29 +00:00
Peter Penz
d4779278bc fix memory leak
svn path=/trunk/KDE/kdebase/apps/; revision=818303
2008-06-08 09:26:18 +00:00
Peter Penz
8cfe659711 Update the keypress state before invoking QTreeView::keyPressEvent(), as this call invokes QTreeView::currentChanged(), where the value is needed. This fix assures that the selection is changed when the current index is changed like in QListView.
svn path=/trunk/KDE/kdebase/apps/; revision=818070
2008-06-07 15:53:34 +00:00
Jakub Stachowski
13b2fc5570 1) Make sure that size qprogressbar is really updated after each change
2) Get rid of flicker when after changing partition new size is smaller
than used space on old one - in this case setMaximum calls reset()
3) User proper value for comparison when checking if progressbar should
be changed

BUG: 163343


svn path=/trunk/KDE/kdebase/apps/; revision=818066
2008-06-07 15:39:27 +00:00
Peter Penz
4a91b1c563 Request item information when the current directory has been (re-) entered. This e. g. occurs if a media has been unmounted and remounted again.
svn path=/trunk/KDE/kdebase/apps/; revision=818013
2008-06-07 12:32:03 +00:00
Peter Penz
2848f1fb5a Fixed the following Information Panel issues:
* Trash icon is not updated when trash has been emptied or got filled.
* When renaming an item the old name will be shown in the Information Panel.
* When unmounting media, still the mounted icon is shown.

BUG: 161385
BUG: 153514
BUG: 154747
CCBUG: 159366

svn path=/trunk/KDE/kdebase/apps/; revision=818005
2008-06-07 12:14:29 +00:00
Peter Penz
ff33284963 Do a delayed initialization of all widgets when showing the the Information Panel. This assures that no expensive initializations are done when the Information Panel is not shown at all.
svn path=/trunk/KDE/kdebase/apps/; revision=817992
2008-06-07 11:00:42 +00:00
Urs Wolfer
232a542175 * use cmake macro to install preview icon
* install icons to global icon dir, otherwise it seems not to work when using dolpin part in konqueror

svn path=/trunk/KDE/kdebase/apps/; revision=817991
2008-06-07 10:56:14 +00:00
Peter Penz
3b8f32042f fix crash when e. g. right clicking on a file using SMB inside Konqueror
BUG: 163358

svn path=/trunk/KDE/kdebase/apps/; revision=817974
2008-06-07 09:49:24 +00:00
David Faure
3d28c53564 When "move_to_trash" is disabled and "delete" is enabled (e.g. non-local files),
enable a hidden action with Key_Del as shortcut, so that the user can press Del to delete the file.
BUG: 76016

svn path=/trunk/KDE/kdebase/apps/; revision=817389
2008-06-05 22:25:07 +00:00
David Faure
008f524498 Move the "Create New" action (for the Edit menu, not for the context menu) to dolphinpart, so that
it doesn't appear while browsing the web [with a filemanagement profile initially]. The point is to
make the GUI sensible whatever initial profile was selected and hopefully get rid of konq-filemanagement.rc/konq-webbrowsing.rc.

svn path=/trunk/KDE/kdebase/apps/; revision=817326
2008-06-05 19:19:14 +00:00
Script Kiddy
ee5a78d967 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/apps/; revision=817018
2008-06-05 02:24:59 +00:00
David Faure
38beff1a4b Continue cleaning up the menus of "konqueror as a webbrowser" : moved "Tools / Open Terminal" action to DolphinPart.
Thanks to Kevin for reminding me of this one.

svn path=/trunk/KDE/kdebase/apps/; revision=816632
2008-06-04 11:51:54 +00:00
Peter Penz
834082a16c jump to the URL of the clipboard content if a middle click on an empty area inside the view is done
svn path=/trunk/KDE/kdebase/apps/; revision=816421
2008-06-03 20:30:39 +00:00
Peter Penz
ae0829d3b8 SVN_SILENT: removed obsolete (now: wrong) comment
svn path=/trunk/KDE/kdebase/apps/; revision=816420
2008-06-03 20:29:12 +00:00
Peter Penz
193218f5f4 no need to request a thumbnail
svn path=/trunk/KDE/kdebase/apps/; revision=816400
2008-06-03 19:27:46 +00:00
Allen Winter
e431abda40 move the create config-nepomuk.h higher so dolphinprivate sources can find it.
add a macro_log_feature() message

svn path=/trunk/KDE/kdebase/apps/; revision=816293
2008-06-03 14:44:10 +00:00
Sebastian Trueg
a70fcc6353 Fixed Nepomuk dependancy checking
svn path=/trunk/KDE/kdebase/apps/; revision=816282
2008-06-03 14:34:10 +00:00
Script Kiddy
ac01d6853d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=816270
2008-06-03 14:23:53 +00:00
David Faure
d6e0d332e1 Use KonqMenuActions to add the "open with" actions to the popupmenu, to avoid this independent reimplementation,
which brought back bug 121728 ('&' in application name treated as accelerator)

svn path=/trunk/KDE/kdebase/apps/; revision=815838
2008-06-02 16:36:29 +00:00
David Faure
927a621f0e Use KonqFileItemCapabilities in KonqPopupMenuInformation instead of the too-basic bool readOnly().
Ported KonqPopupMenu to KonqFileItemCapabilities.

svn path=/trunk/KDE/kdebase/apps/; revision=815688
2008-06-02 14:30:26 +00:00
George Goldberg
0a3a481ee2 Fix the edit-menu action disabling/enabling bug in dolphinpart finally! Also, move FileItemCapabilities from dolphin to KonqFileItemCapabilities at dfaure's request (making it implicitly shared along the way).
BUGS:161594

svn path=/trunk/KDE/kdebase/apps/; revision=815584
2008-06-02 10:07:13 +00:00
George Goldberg
6c24907d28 dolphin part context menu now displays delete and not send to trash for remote files. (Makes behaviour same is in dolphin itself).
CCBUGS: 161594

svn path=/trunk/KDE/kdebase/apps/; revision=815519
2008-06-02 02:57:22 +00:00
George Goldberg
df7c2385ec Fix dolphinpart context menu so that the delete/rename/send to trash options are disabled when the directory containing the selected files/dirs is not writable.
CCBUGS: 161594

Issues remaining: Send to trash should be disabled on remote files (and replaced with delete) and edit menu of konqueror still has the actions like cut/delete/rename always enabled.

svn path=/trunk/KDE/kdebase/apps/; revision=815517
2008-06-02 02:50:36 +00:00
Peter Penz
32298bba66 Improve the performance when creating previews for thousands of items by the following strategy:
- The previews for currently visible items are created before
   the previews for invisible items.
 - If the user changes the visible area by using the scrollbars,
   all pending previews get paused. As soon as the user stays
   on the same position for a short delay, the previews are
   resumed. Also in this case the previews for the visible items
   are generated first.

svn path=/trunk/KDE/kdebase/apps/; revision=815480
2008-06-01 22:15:13 +00:00
Peter Penz
70d1cb86e0 increase the readability of the code
svn path=/trunk/KDE/kdebase/apps/; revision=815420
2008-06-01 18:44:35 +00:00
George Goldberg
08dfefec38 Fix dolphin to only enable the Cut context menu option if the file capabilites supportsMoving().
CCBUGS: 161594

Still need to fix Send to trash Context Option in Konqueror

svn path=/trunk/KDE/kdebase/apps/; revision=815362
2008-06-01 15:16:27 +00:00
Rafael Fernández López
c68112de65 Fix problem when descending order on "Today" and "Thursday" for example. Now we also have week independant maths, so we get a Yesterday tag even if yesterday was 31st and today is 1st. Peter, the
order should be correct now, please recheck (I added a '-', so the order now is the inverse that the one shown on the kfm-devel thread).

CCMAIL: kfm-devel@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=815341
2008-06-01 14:56:07 +00:00
Script Kiddy
ebae284adb SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=814782
2008-05-31 09:41:27 +00:00
Chusslove Illich
b3beb9e0c2 There are some extractable strings in subdirs too.
svn path=/trunk/KDE/kdebase/apps/; revision=814642
2008-05-31 00:14:56 +00:00
Peter Penz
6eb6ff007a revert last (wrong) commit
CCMAIL: darktears31@gmail.com

svn path=/trunk/KDE/kdebase/apps/; revision=814581
2008-05-30 18:32:49 +00:00
Alexis Ménard
19cb792d4d Fix compil
svn path=/trunk/KDE/kdebase/apps/; revision=814574
2008-05-30 18:20:42 +00:00
Peter Penz
b96686e591 assure that the cut item cache gets updated too when invoking IconManager::updatePreviews()
svn path=/trunk/KDE/kdebase/apps/; revision=814274
2008-05-29 20:19:26 +00:00
Peter Penz
8931e14eec Before applying the cut item effect to a preview, assure that the cut items cache gets an update of the preview without effect. This assures that when cutting other items that the state of the previously cut items can be restored in any case.
svn path=/trunk/KDE/kdebase/apps/; revision=814273
2008-05-29 20:01:13 +00:00
Peter Penz
8d95c06df1 don't clear the selection when the view gets inactive
BUG: 162432

svn path=/trunk/KDE/kdebase/apps/; revision=814244
2008-05-29 18:32:02 +00:00
Peter Penz
c8c4c69a0a Assure that the item view gets the keyboard focus when it was activated. This fixes the issue that when the view gets split, that the keyboard focus remained on the inactive view.
svn path=/trunk/KDE/kdebase/apps/; revision=814237
2008-05-29 18:10:28 +00:00
Peter Penz
1efa3ccad7 Only select an item if the current item has been changed by a key press (e. g. QTreeView sets the current item when the view loses the focus).
svn path=/trunk/KDE/kdebase/apps/; revision=814234
2008-05-29 18:00:59 +00:00
Peter Penz
d0df073064 SVN_SILENT: minor coding style fix
svn path=/trunk/KDE/kdebase/apps/; revision=814019
2008-05-29 06:14:47 +00:00
David Faure
091d15582b fix wrong connect
svn path=/trunk/KDE/kdebase/apps/; revision=813967
2008-05-29 00:01:59 +00:00
David Faure
707f9a9409 Handle redirections (e.g. from fish://localhost) without breaking the column view -- thanks Peter for the advice on how to separate the two cleanly.
svn path=/trunk/KDE/kdebase/apps/; revision=813954
2008-05-28 23:07:09 +00:00
David Faure
d6fc21618a Wow, giving fileItem.url().url() to KFileMetaInfo is a bad idea -- it takes that as a path, so you end up with
QFile("file://fish://hostname")... I guess the only solution is to skip the whole KFileMetaInfo stuff for non-local-files.
But then we shouldn't see size 0 modified 12:00 am...

svn path=/trunk/KDE/kdebase/apps/; revision=813953
2008-05-28 22:59:26 +00:00
Script Kiddy
b2fb35585d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=813908
2008-05-28 21:39:47 +00:00
Peter Penz
d326c746bc Assure that tabs always have a text. If the file name is empty, use the protocol instead. This fixes the issue that for "trash://" no text is shown in the tab.
svn path=/trunk/KDE/kdebase/apps/; revision=813844
2008-05-28 20:48:40 +00:00
Peter Penz
e54e6a9cdb Move the code for restoring the current item from DolphinViewContainer to DolphinView, as the DolphinView must be able to do this without advice from the container.
Beside that this simplifies the code it also fixes a regression of having empty tabs.

svn path=/trunk/KDE/kdebase/apps/; revision=813828
2008-05-28 20:40:16 +00:00
Peter Penz
b445156dd4 assure that the preview widget of the information bar gets not overlapped by other widgets when having a very small height
BUG: 162674

svn path=/trunk/KDE/kdebase/apps/; revision=813780
2008-05-28 19:55:42 +00:00
Dirk Mueller
2dd39ff2ad people want tabs, give them tabs
svn path=/trunk/KDE/kdebase/apps/; revision=813401
2008-05-27 15:26:33 +00:00