summaryrefslogtreecommitdiff
path: root/src/file-manager/fm-list-view.c
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-07-20 14:58:18 +0800
committerraveit65 <[email protected]>2022-07-20 21:40:42 +0200
commit958b4fa7f6f460121dc1a5eff5ce0a353188333b (patch)
tree32546bd679ee02961bcc21cc4bd38171119c7e34 /src/file-manager/fm-list-view.c
parent989f2dc1964f011d7f6ebd037afe4fd3d48e8eba (diff)
downloadcaja-958b4fa7f6f460121dc1a5eff5ce0a353188333b.tar.bz2
caja-958b4fa7f6f460121dc1a5eff5ce0a353188333b.tar.xz
Set FmWidgetView is single view.
Diffstat (limited to 'src/file-manager/fm-list-view.c')
-rw-r--r--src/file-manager/fm-list-view.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/file-manager/fm-list-view.c b/src/file-manager/fm-list-view.c
index 21b02905..396f2d82 100644
--- a/src/file-manager/fm-list-view.c
+++ b/src/file-manager/fm-list-view.c
@@ -3492,17 +3492,17 @@ fm_list_view_supports_uri (const char *uri,
static CajaViewInfo fm_list_view =
{
- FM_LIST_VIEW_ID,
+ .id = FM_LIST_VIEW_ID,
/* Translators: this is used in the view selection dropdown
* of navigation windows and in the preferences dialog */
- N_("List View"),
+ .view_combo_label = N_("List View"),
/* Translators: this is used in the view menu */
- N_("_List"),
- N_("The list view encountered an error."),
- N_("The list view encountered an error while starting up."),
- N_("Display this location with the list view."),
- fm_list_view_create,
- fm_list_view_supports_uri
+ .view_menu_label_with_mnemonic = N_("_List"),
+ .error_label = N_("The list view encountered an error."),
+ .startup_error_label = N_("The list view encountered an error while starting up."),
+ .display_location_label = N_("Display this location with the list view."),
+ .create = fm_list_view_create,
+ .supports_uri = fm_list_view_supports_uri
};
void