Commit graph

2827 commits

Author SHA1 Message Date
Script Kiddy
13f393f42d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=1099845
2010-03-06 06:54:11 +00:00
Peter Penz
c73266cb59 fix link issue if Nepomuk is not installed
svn path=/trunk/KDE/kdebase/apps/; revision=1099444
2010-03-05 15:38:08 +00:00
Peter Penz
2b286a9f04 Rename NfoTranslator to KNfoTranslator, so that KMetaDataWidget can be moved to kdelibs for KDE SC 4.5 (some interfaces of KMetaDataWidget need to be cleaned up first).
KNfoTranslator is marked as private class, as it is not clear yet whether it should be used by other classes like KFileMetaInfo.

svn path=/trunk/KDE/kdebase/apps/; revision=1098897
2010-03-04 16:24:20 +00:00
Peter Penz
a0b010bb00 Only access the data of the thread that has been created most recently. Data of older threads will just get ignored.
svn path=/trunk/KDE/kdebase/apps/; revision=1097289
2010-02-28 21:03:58 +00:00
Peter Penz
072dacbb55 Fix possible memory leak when invoking KLoadMetaDataThread::cancelAndDelete().
svn path=/trunk/KDE/kdebase/apps/; revision=1097154
2010-02-28 15:01:33 +00:00
Peter Penz
77d9413d07 Meta data configuration cleanups:
- Use RDF labels internally.
- Provide better default settings, which meta data are hidden.
- Allow to configure which meta data is shown also if Nepomuk is turned off.

svn path=/trunk/KDE/kdebase/apps/; revision=1096571
2010-02-26 22:03:32 +00:00
Peter Penz
65106c3037 use NFO URI to check whether the width and height should be merged as one label
svn path=/trunk/KDE/kdebase/apps/; revision=1096542
2010-02-26 20:08:09 +00:00
Peter Penz
6479605c84 remove duplicate entries
svn path=/trunk/KDE/kdebase/apps/; revision=1096541
2010-02-26 20:07:26 +00:00
Peter Penz
4e370297de Show meta information also for files, which are not indexed (or in the case if Nepomuk is turned off).
Beside the new translations the fix is based on several other fixes in kdelibs + strigi and cannot be backported to KDE SC 4.4.x.

As soon as the meta data widget has been moved to kdelibs, this meta data information will also be available in the properties dialog.

BUG: 193592

svn path=/trunk/KDE/kdebase/apps/; revision=1096472
2010-02-26 18:03:13 +00:00
Peter Penz
5dee68a061 The number of fixed meta-info items may vary dependent on whether Nepomuk is enabled or not. Avoid the nasty hack to hardcode the value within the slotLoadingFinished() method.
BUG: 228540

svn path=/trunk/KDE/kdebase/apps/; revision=1096347
2010-02-26 14:42:47 +00:00
Peter Penz
08f93a673d Request the activation of the view, even if the column is marked as active already: The activation state of a column is independent from from the activation state of the view.
This fixes the regression that items for inactive views containing columns get triggered.

BUG: 227472

svn path=/trunk/KDE/kdebase/apps/; revision=1096114
2010-02-25 20:54:02 +00:00
Peter Penz
df6bc98ded Forward port of SVN commit 1096089: Fix regression that columns stay empty when switching between URLs that differ by more than one sub directory. Thanks to Frank Reininghaus for the analysis.
CCBUG: 227785
CCBUG: 227748

svn path=/trunk/KDE/kdebase/apps/; revision=1096093
2010-02-25 19:36:36 +00:00
Peter Penz
e488496286 Also show meta informations of files, if Nepomuk is not running or if the file is not indexed.
Still a lot of cleanups are required (e. g. the labels are not human readable currently).

svn path=/trunk/KDE/kdebase/apps/; revision=1096092
2010-02-25 19:34:58 +00:00
Sebastian Trueg
3beca2e7f1 * No need to reload all tags when one is deleted.
* Use Resource::genericLabel() always for consistency.

svn path=/trunk/KDE/kdebase/apps/; revision=1096036
2010-02-25 15:41:27 +00:00
Frank Reininghaus
af46cf7666 Remove all code that is related to DolphinController's
requestUrlChange signal. This signal was removed in r1080351, so the
code isn't needed any more.

svn path=/trunk/KDE/kdebase/apps/; revision=1095213
2010-02-23 20:34:33 +00:00
Peter Penz
e6ba74c5ae ups: I forgot to set the and-term for the file query in the last commit
CCMAIL: post@oliver-heidbuechel.de


svn path=/trunk/KDE/kdebase/apps/; revision=1095055
2010-02-23 15:46:43 +00:00
Peter Penz
661c0ae4d3 Use Nepomuk::Query::Query for global search queries, as it does not only return files but also other meta information.
Thanks to Oliver Heidbüchel for the patch!

CCMAIL: post@oliver-heidbuechel.de

svn path=/trunk/KDE/kdebase/apps/; revision=1095051
2010-02-23 15:36:37 +00:00
Peter Penz
0c71d25a6f Allow to drop files above a tab. Thanks to Todd for the patch.
svn path=/trunk/KDE/kdebase/apps/; revision=1094746
2010-02-23 07:26:02 +00:00
Frank Reininghaus
a9702ad0cc Use the full width of the "Name" column of the Details View for
renaming items inline.

BUG: 226666

svn path=/trunk/KDE/kdebase/apps/; revision=1094416
2010-02-22 18:22:12 +00:00
Peter Penz
642062284c Forward port of SVN commit 1093803: Assure that the changed selection model is reconnected when changing columns. This fixes the regression that some operations have been disabled on sub columns. Thanks to Frank Reininghaus for the analyses.
CCBUG: 226749

svn path=/trunk/KDE/kdebase/apps/; revision=1093807
2010-02-21 13:29:32 +00:00
Luboš Luňák
a2f0d69558 replace X11-specific code with generic
svn path=/trunk/KDE/kdebase/apps/; revision=1093243
2010-02-20 11:52:46 +00:00
Sebastian Trueg
52e1503052 Implemented search restriction to filenames.
svn path=/trunk/KDE/kdebase/apps/; revision=1091902
2010-02-17 21:01:29 +00:00
Frank Reininghaus
c7515e9e90 Make sure that DolphinView's m_expanderActive member is handled
correctly, and emit DolphinDetailsViewExpander's completed() signal
only if the folder loading is really finished. This fixes possible
problems when restoring the current item and scroll position of the
view if these require a preceding folder expansion.

svn path=/trunk/KDE/kdebase/apps/; revision=1090926
2010-02-16 11:12:00 +00:00
Script Kiddy
323db2c9b5 SVN_SILENT made messages (.desktop file, second try)
svn path=/trunk/KDE/kdebase/apps/; revision=1089061
2010-02-12 10:55:37 +00:00
David Faure
0837da2d42 Separate the parent object (for the knewfilemenu instance) and the parent widget
(for dialogs it might pop up) so that we can use a non-widget parent.
BUG: 218743

svn path=/trunk/KDE/kdebase/apps/; revision=1087087
2010-02-08 14:27:58 +00:00
Script Kiddy
29bff3b1f0 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=1085566
2010-02-05 13:31:20 +00:00
Peter Penz
5fff84e068 Be more clear that selecting the checkbox means, that the shown view properties should be used as default (that only "new folders" are affected, is incorrect).
BUG: 213354

svn path=/trunk/KDE/kdebase/apps/; revision=1085564
2010-02-05 13:30:08 +00:00
Peter Penz
a3ae439be6 Fixed regression that has been introduced by the --select option: don't create 2 Dolphin windows instead of one when restoring a session.
BUG: 223831

svn path=/trunk/KDE/kdebase/apps/; revision=1085555
2010-02-05 13:17:31 +00:00
Christoph Feck
28e6a719d8 Fix height calculation of "Additional Information" label
CCBUG: 220632

svn path=/trunk/KDE/kdebase/apps/; revision=1084630
2010-02-03 10:58:05 +00:00
Christoph Feck
7a0cbf2573 Respect floating point font sizes
BUG: 220632

svn path=/trunk/KDE/kdebase/apps/; revision=1084629
2010-02-03 10:55:13 +00:00
Peter Penz
4b1277f078 removed clearSelection() code, it is not needed anymore with Qt 4.6 and done automatically internally
svn path=/trunk/KDE/kdebase/apps/; revision=1082869
2010-01-31 12:26:50 +00:00
Sebastian Trueg
5e079195bc Another fix for the metadata rows: properly clean up unused rows in case no metadata is added.
svn path=/trunk/KDE/kdebase/apps/; revision=1081502
2010-01-28 14:09:22 +00:00
David Faure
c3584e3101 Implement the --select option in konqueror again, using Peter's nice work in Dolphin.
While at it, I reworked the handling of command-line options in main completely,
to factorize code and make --select do the right thing even in case of multiple args
(wasn't supported in kde3).

svn path=/trunk/KDE/kdebase/apps/; revision=1081246
2010-01-27 23:55:55 +00:00
David Faure
6de569ab40 Ooops, fix my port to KNewFileMenu
svn path=/trunk/KDE/kdebase/apps/; revision=1081239
2010-01-27 23:35:37 +00:00
Frank Reininghaus
17ff26c355 Reorganise some code in DolphinView and DolphinViewContainer. This
makes it possible to restore the expanded folders in the Details View
when navigating in history (based on r1056438 and r1079843).

Also remove DolphinView::activateItem(const KUrl&) and DolphinView's
m_loadingDirectory member (they are not needed any more).

This will be in KDE 4.5.

BUG: 169886

svn path=/trunk/KDE/kdebase/apps/; revision=1080549
2010-01-26 12:18:08 +00:00
David Faure
ad85be955b Deprecated KNewMenu and make it derive from KNewFileMenu (BIC, but SC; the only way to avoid duplicating code until kde5)
Port all of kdebase' use of KNewMenu to KNewFileMenu.
Also port from KonqNameAndUrlInputDialog to KNameAndUrlInputDialog,
and from KonqMenuActions to KFileItemActions in dolphincontextmenu.cpp

svn path=/trunk/KDE/kdebase/apps/; revision=1080547
2010-01-26 12:04:56 +00:00
Sebastian Trueg
950d3ad78b * Do not hide the parent folder since we can now browse into it by simply clicking the link.
* Fixed index bug which caused the last information item to be deleted.
* Why make merge-sort more complicated than it is? ;)

svn path=/trunk/KDE/kdebase/apps/; revision=1080377
2010-01-26 09:25:22 +00:00
Peter Penz
6c326f9962 Don't show the search options again, if the user closed them and cleared the search box.
BUG: 218880

svn path=/trunk/KDE/kdebase/apps/; revision=1080372
2010-01-26 09:01:38 +00:00
Peter Penz
e536466ac7 * Assure that the URL navigator is synchronized with the active column.
* Removed obsolete triggerUrlChangeRequest() method + signal in the DolphinController. This is not needed anymore because of the refactored column view.

svn path=/trunk/KDE/kdebase/apps/; revision=1080351
2010-01-26 08:27:42 +00:00
Friedrich W. H. Kossebau
5accf42fc8 changed: made static const data symbols really static const
svn path=/trunk/KDE/kdebase/apps/; revision=1080302
2010-01-26 02:57:09 +00:00
Peter Penz
3b4b98ed57 fixed regression: don't open files twice in the column-view
BUG: 223799

svn path=/trunk/KDE/kdebase/apps/; revision=1080102
2010-01-25 16:37:43 +00:00
Peter Penz
6ea2aec5ae SVN_SILENT: minor coding style fixes
svn path=/trunk/KDE/kdebase/apps/; revision=1080074
2010-01-25 14:39:47 +00:00
Laurent Montel
8dd3b9d3be Implement todo (create a dialog box when ok is enable/disable when text is empty or not)
(and fix restore size, in old version we didn't save size before to delete element)

svn path=/trunk/KDE/kdebase/apps/; revision=1080045
2010-01-25 13:14:39 +00:00
Peter Penz
11e1ee53bb Now *really' open a new tab if the URL navigator requests it... (the previous commit missed this 2 quite important lines).
CCBUG: 181223

svn path=/trunk/KDE/kdebase/apps/; revision=1079854
2010-01-25 09:00:51 +00:00
Peter Penz
e5eae108ca * Adjust code to use the improved KUrlNavigator API.
* Open a new tab if the URL navigator requests it.
* Get rid of a cyclic dependency between DolphinViewContainer and DolphinMainWindow.

BUG: 181223

svn path=/trunk/KDE/kdebase/apps/; revision=1079843
2010-01-25 07:58:24 +00:00
Peter Penz
0ad9abf7b1 Fixed crash, if the categorizied view sorted by date is used. Use case: modified date = 2010-01-01 (= week number 53), current date = 2010-01-22 (= week number 3).
BUG: 223651

svn path=/trunk/KDE/kdebase/apps/; revision=1078626
2010-01-22 14:05:09 +00:00
Darío Andrés Rodríguez
82bf5d99c1 - Fix minor typos
"sub folders" -> "sub-folders"

BUG: 198084

svn path=/trunk/KDE/kdebase/apps/; revision=1077615
2010-01-20 14:04:08 +00:00
Peter Penz
2798e5d225 only set the title synchronously for the file-protocol, otherwise use KIO::stat()
svn path=/trunk/KDE/kdebase/apps/; revision=1077599
2010-01-20 13:06:16 +00:00
Sebastian Trueg
a567da792a Use a stat job to determine the caption on non-file URLs. This way we get the fancy UDS_DISPLAY_NAMEs for
URLs like the nepomuksearch ones.

BUG: 222095

svn path=/trunk/KDE/kdebase/apps/; revision=1077551
2010-01-20 11:26:39 +00:00
Peter Penz
b3ab00e8ba fixed issue that SVN actions got disabled after selecting items
svn path=/trunk/KDE/kdebase/apps/; revision=1076617
2010-01-18 14:08:21 +00:00