summaryrefslogtreecommitdiff
path: root/src/file-manager/fm-desktop-icon-view.c
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-07-20 14:58:18 +0800
committerraveit65 <[email protected]>2019-08-26 14:21:14 +0200
commit093aacfeccdb47b6b12b1978dd88243479626398 (patch)
tree4e03f0d98674e9e3087512ebd07fc220a3cac6c6 /src/file-manager/fm-desktop-icon-view.c
parent840f8890e05dab73d9ded916947973032d9d0091 (diff)
downloadcaja-093aacfeccdb47b6b12b1978dd88243479626398.tar.bz2
caja-093aacfeccdb47b6b12b1978dd88243479626398.tar.xz
Set FmWidgetView is single view.
Diffstat (limited to 'src/file-manager/fm-desktop-icon-view.c')
-rw-r--r--src/file-manager/fm-desktop-icon-view.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/file-manager/fm-desktop-icon-view.c b/src/file-manager/fm-desktop-icon-view.c
index 7ee0394e..1efb2578 100644
--- a/src/file-manager/fm-desktop-icon-view.c
+++ b/src/file-manager/fm-desktop-icon-view.c
@@ -882,14 +882,14 @@ fm_desktop_icon_view_supports_uri (const char *uri,
static CajaViewInfo fm_desktop_icon_view =
{
- FM_DESKTOP_ICON_VIEW_ID,
- "Desktop View",
- "_Desktop",
- N_("The desktop view encountered an error."),
- N_("The desktop view encountered an error while starting up."),
- "Display this location with the desktop view.",
- fm_desktop_icon_view_create,
- fm_desktop_icon_view_supports_uri
+ .id = FM_DESKTOP_ICON_VIEW_ID,
+ .view_combo_label = "Desktop View",
+ .view_menu_label_with_mnemonic = "_Desktop",
+ .error_label = N_("The desktop view encountered an error."),
+ .startup_error_label = N_("The desktop view encountered an error while starting up."),
+ .display_location_label = "Display this location with the desktop view.",
+ .create = fm_desktop_icon_view_create,
+ .supports_uri = fm_desktop_icon_view_supports_uri
};
void