Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F113117
D48.1732383696.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
6 KB
Referenced Files
None
Subscribers
None
D48.1732383696.diff
View Options
diff --git a/src/contents/ui/Bubble.qml b/src/contents/ui/Bubble.qml
--- a/src/contents/ui/Bubble.qml
+++ b/src/contents/ui/Bubble.qml
@@ -168,7 +168,7 @@
property var popupAction: Kirigami.Action {
id: popupAction
text: l10n.get('event-popup-action')
- iconName: 'view-more-horizontal-symbolic'
+ icon.name: 'view-more-horizontal-symbolic'
onTriggered: maybePopupMenu()
}
diff --git a/src/contents/ui/CreateRoomPage.qml b/src/contents/ui/CreateRoomPage.qml
--- a/src/contents/ui/CreateRoomPage.qml
+++ b/src/contents/ui/CreateRoomPage.qml
@@ -102,7 +102,7 @@
actions: [
Kirigami.Action {
objectName: 'removeInviteAction'
- iconName: 'list-remove-symbolic'
+ icon.name: 'list-remove-symbolic'
text: l10n.get('create-room-page-action-remove-invite')
onTriggered: {
createRoomPage.inviteUserIds.splice(index, 1);
diff --git a/src/contents/ui/KazvIOMenu.qml b/src/contents/ui/KazvIOMenu.qml
--- a/src/contents/ui/KazvIOMenu.qml
+++ b/src/contents/ui/KazvIOMenu.qml
@@ -82,7 +82,7 @@
Kirigami.Action {
id: pauseAction
text: suspended ? l10n.get("kazv-io-resume") : l10n.get("kazv-io-pause")
- iconName: suspended ? "media-playback-start" : "media-playback-pause"
+ icon.name: suspended ? "media-playback-start" : "media-playback-pause"
property var suspended: false
onTriggered: {
if (pauseAction.suspended) {
@@ -96,7 +96,7 @@
Kirigami.Action {
id: cancelAction
text: l10n.get("kazv-io-cancel")
- iconName: "dialog-cancel"
+ icon.name: "dialog-cancel"
onTriggered: {
pauseAction.suspended = false
kazvIOJob.cancel()
diff --git a/src/contents/ui/RoomListViewItemDelegate.qml b/src/contents/ui/RoomListViewItemDelegate.qml
--- a/src/contents/ui/RoomListViewItemDelegate.qml
+++ b/src/contents/ui/RoomListViewItemDelegate.qml
@@ -88,12 +88,12 @@
text: l10n.get("room-list-view-room-item-fav-action")
checkable: true
checked: isFavourite
- iconName: isFavourite ? 'starred-symbolic' : 'non-starred-symbolic'
+ icon.name: isFavourite ? 'starred-symbolic' : 'non-starred-symbolic'
onTriggered: toggleFavourite()
},
Kirigami.Action {
text: l10n.get('room-list-view-room-item-more-action')
- iconName: 'view-more-horizontal-symbolic'
+ icon.name: 'view-more-horizontal-symbolic'
onTriggered: activateRoomSettingsPage(item)
}
]
diff --git a/src/contents/ui/SendMessageBox.qml b/src/contents/ui/SendMessageBox.qml
--- a/src/contents/ui/SendMessageBox.qml
+++ b/src/contents/ui/SendMessageBox.qml
@@ -165,7 +165,7 @@
Kirigami.Action {
id: removeRelatedToAction
- iconName: 'window-close-symbolic'
+ icon.name: 'window-close-symbolic'
text: getCancelRelationPrompt(sendMessageBox.draftRelType)
onTriggered: {
sendMessageBox.draftRelType = '';
@@ -175,7 +175,7 @@
Kirigami.Action {
id: sendAction
- iconName: "document-send"
+ icon.name: "document-send"
text: l10n.get("send-message-box-send")
onTriggered: {
room.setTyping(false);
@@ -187,7 +187,7 @@
}
Kirigami.Action {
id:sendMediaFileAction
- iconName: "mail-attachment-symbolic"
+ icon.name: "mail-attachment-symbolic"
text: l10n.get("send-message-box-send-file")
onTriggered: {
fileDialog.open()
@@ -232,7 +232,7 @@
Kirigami.Action {
id: stickersAction
- iconName: 'smiley'
+ icon.name: 'smiley'
text: l10n.get('send-message-box-stickers')
onTriggered: stickerPopup.open()
}
diff --git a/src/contents/ui/device-mgmt/Device.qml b/src/contents/ui/device-mgmt/Device.qml
--- a/src/contents/ui/device-mgmt/Device.qml
+++ b/src/contents/ui/device-mgmt/Device.qml
@@ -131,7 +131,7 @@
actions: [
Kirigami.Action {
text: l10n.get('device-set-trust-level')
- iconName: 'settings-configure'
+ icon.name: 'settings-configure'
onTriggered: {
popup.open();
}
diff --git a/src/contents/ui/main.qml b/src/contents/ui/main.qml
--- a/src/contents/ui/main.qml
+++ b/src/contents/ui/main.qml
@@ -83,7 +83,7 @@
Kirigami.Action {
objectName: 'switch-account'
text: l10n.get('global-drawer-action-switch-account')
- iconName: 'system-switch-user'
+ icon.name: 'system-switch-user'
onTriggered: switchAccount()
},
Kirigami.Action {
@@ -116,7 +116,7 @@
Kirigami.Action {
objectName: 'create-room'
enabled: root.loggedIn
- iconName: 'contact-new'
+ icon.name: 'contact-new'
text: l10n.get('global-drawer-action-create-room')
onTriggered: {
pushCreateRoomPage();
diff --git a/src/contents/ui/room-settings/RoomSettingsPage.qml b/src/contents/ui/room-settings/RoomSettingsPage.qml
--- a/src/contents/ui/room-settings/RoomSettingsPage.qml
+++ b/src/contents/ui/room-settings/RoomSettingsPage.qml
@@ -129,7 +129,7 @@
actions: [
Kirigami.Action {
enabled: tagHandler.available
- iconName: 'list-remove-symbolic'
+ icon.name: 'list-remove-symbolic'
text: l10n.get('room-settings-remove-tag')
onTriggered: tagHandler.toggleTag(customTagIds[index])
}
diff --git a/src/contents/ui/settings/CacheSettings.qml b/src/contents/ui/settings/CacheSettings.qml
--- a/src/contents/ui/settings/CacheSettings.qml
+++ b/src/contents/ui/settings/CacheSettings.qml
@@ -19,7 +19,7 @@
Kirigami.Action {
id: selectCacheDirectory
- iconName: "inode-directory"
+ icon.name: "inode-directory"
text: 'settings-cache-directory'
onTriggered: {
folderDialog.open()
diff --git a/src/contents/ui/shortcuts/ActionItem.qml b/src/contents/ui/shortcuts/ActionItem.qml
--- a/src/contents/ui/shortcuts/ActionItem.qml
+++ b/src/contents/ui/shortcuts/ActionItem.qml
@@ -13,7 +13,7 @@
Kirigami.BasicListItem {
id: actionItem
property var action
- icon: action.iconName || action.iconSource
+ icon: action.icon.name || action.icon.source
label: action.text
subtitle: l10n.get(
'action-settings-shortcut-prompt', {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 23, 9:41 AM (15 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39333
Default Alt Text
D48.1732383696.diff (6 KB)
Attached To
Mode
D48: Port away from iconName and iconSource in Kirigami.Action
Attached
Detach File
Event Timeline
Log In to Comment