Skip to content

Commit ee99b41

Browse files
committed
Add placeholder actions
1 parent 3728696 commit ee99b41

File tree

3 files changed

+32
-5
lines changed

3 files changed

+32
-5
lines changed

po/io.papyros.files.pot

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: \n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2015-02-20 22:12-0600\n"
11+
"POT-Creation-Date: 2015-02-20 22:38-0600\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -32,8 +32,8 @@ msgstr ""
3232
msgid "Device"
3333
msgstr ""
3434

35-
#: ../build/src/app/qml/components/FolderListView.qml:150
36-
#: ../src/app/qml/components/FolderListView.qml:150
35+
#: ../build/src/app/qml/components/FolderListView.qml:152
36+
#: ../src/app/qml/components/FolderListView.qml:152
3737
msgid "No files"
3838
msgstr ""
3939

src/app/qml/FolderPage.qml

+25
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,31 @@ Page {
4040
Action {
4141
iconName: "action/search"
4242
name: "Search"
43+
},
44+
45+
Action {
46+
iconName: "action/list"
47+
name: "List mode"
48+
},
49+
50+
Action {
51+
iconName: "content/add"
52+
name: "New folder"
53+
},
54+
55+
Action {
56+
iconName: "action/visibility"
57+
name: "Properties"
58+
},
59+
60+
Action {
61+
iconName: "action/open_in_new"
62+
name: "Open in Terminal"
63+
},
64+
65+
Action {
66+
iconName: "action/settings"
67+
name: "Settings"
4368
}
4469
]
4570

src/app/qml/components/FolderListView.qml

+4-2
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Item {
7272

7373
Label {
7474
Layout.alignment: Qt.AlignVCenter
75-
Layout.preferredWidth: units.dp(120)
75+
Layout.preferredWidth: units.dp(100)
7676

7777
text: "Last modified"
7878
color: Theme.light.subTextColor
@@ -131,8 +131,10 @@ Item {
131131

132132
Label {
133133
Layout.alignment: Qt.AlignVCenter
134-
Layout.preferredWidth: units.dp(120)
134+
Layout.preferredWidth: units.dp(100)
135135

136+
elide: Text.ElideRight
137+
136138
text: DateUtils.friendlyTime(model.modifiedDate, true)
137139
color: Theme.light.subTextColor
138140
}

0 commit comments

Comments
 (0)