diff options
| author | David Faure <[email protected]> | 2008-02-13 18:45:20 +0000 |
|---|---|---|
| committer | David Faure <[email protected]> | 2008-02-13 18:45:20 +0000 |
| commit | 804a1967002b8d0714a865296fa2360c957284e6 (patch) | |
| tree | edb5ca8ae6f3657c1b518ac142339fad8b9c5165 /src/dolphinpart.desktop | |
| parent | 9a8f75e93cbddca787cbfea8d27ed60009a44512 (diff) | |
Provide the dolphinpart view modes (Icons, Details, Columns) in konqueror's View Modes menu.
(this is done using a Q_PROPERTY in the dolphin part and a signal; the available view modes for creating the menu in the first place are listed in dolphinpart.desktop)
Konqueror: cleaned up the old (complex) handling of view modes as N toolbar buttons from M services grouped by library (240 lines less!).
Dolphin: moved view mode handling to DolphinViewActionHandler, removes duplication between part and mainwindow.
svn path=/trunk/KDE/kdebase/apps/; revision=774646
Diffstat (limited to 'src/dolphinpart.desktop')
| -rw-r--r-- | src/dolphinpart.desktop | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/dolphinpart.desktop b/src/dolphinpart.desktop index dc2ead040..6a7bfd72b 100644 --- a/src/dolphinpart.desktop +++ b/src/dolphinpart.desktop @@ -9,3 +9,26 @@ X-KDE-BrowserView-HideFromMenus=true X-KDE-BrowserView-Built-Into=konqueror Icon=view_icon InitialPreference=7 + +# Provide info about the view modes using the Actions mechanism so that KService parses it. +# Konqueror then queries KService to get hold of the translated texts for the view modes +Actions=icons;details;columns; + +[Desktop Action icons] +Name=Icons +Icon=view-list-icons +# Dummy +Exec=dolphin + +[Desktop Action details] +Name=Details +Icon=view-list-details +# Dummy +Exec=dolphin + +[Desktop Action columns] +Name=Columns +Icon=view-file-columns +# Dummy +Exec=dolphin + |
