Commit graph

18810 commits

Author SHA1 Message Date
Frank Reininghaus 4e9268f092 Make error message translatable 2013-05-12 10:38:22 +02:00
Frank Reininghaus 039bb2bad2 Merge remote-tracking branch 'origin/KDE/4.10' 2013-05-12 10:04:01 +02:00
Frank Reininghaus 5324fcd315 Hide the message widget when the URL changes
Most error messages are only relevant when trying to open a URL, e.g.,
they inform the user that opening the URL failed. After the next
successful URL change, these errors are not relevant any more.
Therefore, it makes sense to hide the message widget automatically to
prevent that the user is forced to close it manually.

BUG: 312872
FIXED-IN: 4.11.0
REVIEW: 110369
2013-05-12 10:01:01 +02:00
Frank Reininghaus 958f1871f1 Fix unit test failure
The recent commit 022b564831, which added
a few source files to kitemlistcontrollertest, caused a crash in that
test - an assert was hit because now a different virtual method was
called in one place (KStandardItemListView::initializeItemListWidget()),
and qobject_cast could not cast the 'item', which is of type
KFileItemListWidget, to its base class KStandardItemListWidget. Adding
the source file kfileitemlistwidget.cpp fixes this.

CCMAIL: ps_ml@gmx.de
2013-05-12 09:34:05 +02:00
Frank Reininghaus 5786895f14 Merge remote-tracking branch 'origin/KDE/4.10'
Conflicts:
	CMakeLists.txt
2013-05-11 18:47:58 +02:00
Frank Reininghaus 4cff8cf14d Update copyright year 2013-05-11 18:44:21 +02:00
Andrea Iacovitti 854fab5bfa Restore the old behavior where the icon is removed from the status bar
when starting loading a new page.

BUG: 319675
FIXED-IN: 4.10.4
2013-05-11 18:43:27 +02:00
Frank Reininghaus 4e438670d8 Update the required kdelibs version
Since commit b8c9aa55ff, kde-baseapps
calls KFileItem::isFinalIconKnown(), which has been added to KFileItem
in KDE 4.10.2. Update the required version accordingly in the
CMakeLists.txt, such that people with an older version get a CMake
error, rather than a build failure.
2013-05-11 18:36:42 +02:00
Patrick Spendrin 022b564831 fix building tests under windows 2013-05-10 23:03:23 +02:00
Daniel Faust f12345a57f Don't try to change the icon of the "sort" action menu if it doesn't exist
BUG: 255819
FIXED-IN: 4.10.4
REVIEW: 109966
2013-05-10 22:27:22 +02:00
David Palser a81ebe5d79 Improve Konqueror docs 2013-05-08 18:40:59 +03:00
Burkhard Lück 51be8ffdf5 &kregexpeditor; is in git now 2013-05-07 16:50:00 +02:00
Vishesh Handa 24609e78f8 Dolphin Places: React to Nepomuk system changes
Reload the places panel when Nepomuk starts up and shutsdown. This way
the user does not need to restart Dolphin to see the custom searches and
places after Nepomuk switches on.

BUG: 304918
REVIEW: 110323
2013-05-07 01:36:37 +05:30
David Faure 3c092af49b Merge remote-tracking branch 'origin/KDE/4.10' 2013-05-05 22:45:21 +02:00
David Faure 58fc982e28 Reimplement handling of Shift while showing menu without KModifierKeyInfo
Finding out whether shift is pressed initially can be done
with qApp->keyboardModifiers(), and finding out that the user is pressing
or release shift can be done with keyPressEvent/keyReleaseEvent.

This required to inherit from KMenu rather than having the KMenu
as a member.

KModifierKeyInfo is only implemented on X11, so this makes the code
more portable. If similar solutions can be found for other users of
KModifierKeyInfo, it will be deprecated in KF5.

REVIEW: 110303
2013-05-05 22:42:49 +02:00
David Faure 291966486c Fix konq's unittests by ensuring it picks up khtmlpart rather than kwebkitpart.
(the tests cast to KHTMLPart)
2013-05-05 22:41:59 +02:00
David Faure 712d12c143 Move bookmarks in reverse order so that their address remains valid.
BUG: 287038
FIXED-IN: 4.10.4
2013-05-05 10:01:05 +02:00
David Faure e0c4b4478b Add unittest for DnD of multiple bookmarks
When the bookmarks are selected from bottom to top, it works.
When they are selected from top to bottom, it makes addresses invalid,
and breaks.
More debugging tomorrow.
CCBUG: 287038
2013-05-05 01:07:52 +02:00
Script Kiddy 8b36ea1163 SVN_SILENT made messages (.desktop file) 2013-05-04 09:46:31 +02:00
David Palser 86f410b0a8 Fix typos and improve Konqueror docs 2013-05-03 17:33:35 +03:00
David Faure d78bdf9cef Remove erroneous double-quotes around %c in Exec line 2013-05-03 13:22:33 +02:00
David Faure 775b9487c6 Remove kgenericfactory include 2013-05-03 13:22:33 +02:00
Frank Reininghaus e5777f4c52 Merge remote-tracking branch 'origin/KDE/4.10' 2013-05-02 19:45:08 +02:00
Frank Reininghaus 2e123de94f Do not change the view URL if it is a symlink to the current directory
BUG: 302037
FIXED-IN: 4.10.3
REVIEW: 110233
2013-05-02 19:40:01 +02:00
Frank Reininghaus 572513a167 Use the same text color for selected hidden and non-hidden items
This fixes the problem that the names of selected hidden items are
unreadable with some color schemes.

BUG: 305734
FIXED-IN: 4.10.3
REVIEW: 110164
2013-05-02 19:28:10 +02:00
Frank Reininghaus cbb2a4cf47 Rename multiple files: Determine correctly if the name pattern is valid
The "Rename" button in the dialog should be enabled if and only if the
"new name" pattern is valid. This is the case if the pattern contains
exactly one sequence of '#', which will be replaced by digits.

This patch fixes the problem that
(a) A pattern that contains a single '#' is not considered valid, and
(b) A pattern without any '#' at all is not recognized as invalid.

BUG: 318942
FIXED-IN: 4.10.3
REVIEW: 110223
2013-05-02 19:23:38 +02:00
David Palser be1deaafeb Fix typos and improve Konqueror docs 2013-05-01 22:31:52 +03:00
David Palser 1241c94b50 Fix typo and improve Konqueror Basics chapter 2013-04-29 18:53:16 +03:00
Frank Reininghaus d819fd1498 Replace the button label "Less Options" by "Fewer Options"
BUG: 318937

FIXED-IN: 4.11.0
2013-04-27 19:09:42 +02:00
Script Kiddy 1f8499d491 SVN_SILENT made messages (.desktop file) 2013-04-26 13:28:44 +02:00
Script Kiddy 39de651b4f SVN_SILENT made messages (.desktop file) 2013-04-26 08:49:28 +02:00
Michael Drueing 3236d9761d Only require X11 libraries if actually compiling on X11
This will fix compilation on Win32 (and probably others)
2013-04-24 19:54:02 +02:00
Ignat Semenov 6639567e2b whatsthis tips for the Arrange In and Align combos 2013-04-24 16:57:30 +04:00
Ignat Semenov 76916d27b0 whatsthis tip for the Descending checkbox 2013-04-24 16:57:30 +04:00
Ignat Semenov d554fe95f1 whatsthis tip for the Folders first checkbox 2013-04-24 16:57:30 +04:00
Ignat Semenov cdf2c40bcf rename Display page to Icons; change icon accordingly 2013-04-24 16:57:30 +04:00
Ignat Semenov d9e48c575a Align Icons -> Align (menu name already provides context) 2013-04-24 16:57:30 +04:00
Ignat Semenov 68d649b82e Arrange -> Arrange In for consistency with Sort By 2013-04-24 16:57:30 +04:00
Ignat Semenov 9d30c8d1f4 Sort Icons -> Sort By for consistency with Dolphin 2013-04-24 16:57:30 +04:00
Ignat Semenov 1b4a5b4aa0 make Descending a checkbox, not a combo 2013-04-24 16:57:27 +04:00
Ignat Semenov 91b007d428 change i18nc context comment for simplicity 2013-04-24 16:56:26 +04:00
Ignat Semenov a8ddc6bb67 simplify alignment action strings 2013-04-24 16:56:26 +04:00
Ignat Semenov efbd7ec1fb Verbify Layout and Alignment, reword Layout for less technical 2013-04-24 16:56:26 +04:00
Ignat Semenov fcb97d234e verbify Sorting for consistency 2013-04-24 16:56:26 +04:00
Ignat Semenov ec33d65184 an attempt at categorizing the settings 2013-04-24 16:56:25 +04:00
Ignat Semenov 7fd7f69ab9 icon arrangement mega-patch for usability and maintainability
This splits the enum IconView::Flow into two enums
- IconView::Layout { Rows, Columns }
- IconView::Alignment { Left, Right }

Note that Qt::Alignment is not used to emphasize the fact that
these two properties are orthogonal (layoutDirection() is used
e.g. to place the scrollbar at the correct side of the screen,
whereas IconView::Alignment is about the side of the screen
the user want their icons to stick to.

This patch greatly improves the readability of the IconView
layouting code, as well as the user-friendliness of the
applet's Display configuration page, with a distinct separation
of the two layout-related factors.

Corresponding context menu actions have been added. They update
the configuration dialog combos when selected if the dialog is
open at that moment.

CCBUG:306537
2013-04-24 16:56:23 +04:00
Ignat Semenov b77e0f6655 only show Unsorted when the view is manually sorted 2013-04-24 16:47:29 +04:00
Ignat Semenov fe3290d9db avoid a potential stall: QComboBox::maxCount() -> QComboBox::count() 2013-04-24 16:47:28 +04:00
Ignat Semenov 3a7b07633d hardcoded -1 -> enum FolderView::Unsorted 2013-04-24 16:47:28 +04:00
Ignat Semenov 7665ee95af keep 4 context menu checkboxes and Display page in sync 2013-04-24 16:47:28 +04:00