diff options
| author | David Faure <[email protected]> | 2008-02-13 18:07:34 +0000 |
|---|---|---|
| committer | David Faure <[email protected]> | 2008-02-13 18:07:34 +0000 |
| commit | 905277aac40f2a55daa5bb2925acb6d4046dacfd (patch) | |
| tree | 0e71fb7f7a5ba6ab7f0d88edf5fdf01dbb5bd499 /src/dolphinpart.desktop | |
| parent | 35654aa44d35fb238ed2f045617917fa87a7f468 (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.
Dolphin: moved view mode handling to DolphinViewActionHandler, removes duplication between part and mainwindow.
BUG: 157424
svn path=/branches/KDE/4.0/kdebase/apps/; revision=774632
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 d506a65c6..8d417d3db 100644 --- a/src/dolphinpart.desktop +++ b/src/dolphinpart.desktop @@ -57,3 +57,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 + |
