Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[lipstick] Rework notification icon properties and hints. JB#50444
Leave appIcon as the only icon-related property/hint in the API, and define it as HINT_APP_ICON. LipstickNotification changes: - Add HINT_APP_ICON (defined as standardized "app_icon") and appIconChanged, and remove setAppIcon() so that it is set with hints instead - Remove previewIcon and deprecate HINT_PREVIEW_ICON - Remove icon and deprecate HINT_ICON Notification category .conf changes: - Use app_icon instead of x-nemo-icon
- Loading branch information
Bea Lam
committed
Jul 23, 2020
1 parent
64a3358
commit 6c5d366
Showing
29 changed files
with
93 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
x-nemo-icon=icon-system-usb | ||
app_icon=icon-system-usb | ||
urgency=2 | ||
transient=true | ||
x-nemo-feedback=accessory_connected |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
x-nemo-icon=icon-system-bluetooth-device | ||
app_icon=icon-system-bluetooth-device | ||
urgency=0 | ||
transient=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
x-nemo-icon=icon-system-usb | ||
app_icon=icon-system-usb | ||
urgency=2 | ||
transient=true | ||
x-nemo-feedback=general_warning |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
x-nemo-icon=icon-system-usb | ||
app_icon=icon-system-usb | ||
urgency=2 | ||
transient=true | ||
x-nemo-suppress-display-on=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
x-nemo-icon=icon-system-resources | ||
app_icon=icon-system-resources | ||
urgency=0 | ||
transient=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
x-nemo-icon=icon-system-resources | ||
app_icon=icon-system-resources | ||
urgency=1 | ||
transient=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
x-nemo-icon=icon-system-resources | ||
app_icon=icon-system-resources | ||
urgency=1 | ||
transient=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
x-nemo-icon=icon-system-resources | ||
app_icon=icon-system-resources | ||
urgency=2 | ||
transient=true |
2 changes: 1 addition & 1 deletion
2
src/notificationcategories/x-nemo.battery.chargingcomplete.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
x-nemo-icon=icon-system-charging | ||
app_icon=icon-system-charging | ||
urgency=2 | ||
transient=true |
2 changes: 1 addition & 1 deletion
2
src/notificationcategories/x-nemo.battery.chargingnotstarted.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
x-nemo-icon=icon-system-battery | ||
app_icon=icon-system-battery | ||
urgency=2 | ||
expireTimeout=60000 | ||
x-nemo-feedback=general_warning |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
x-nemo-icon=icon-system-charging | ||
app_icon=icon-system-charging | ||
urgency=2 | ||
transient=true | ||
x-nemo-feedback=charging_started |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
x-nemo-icon=icon-system-battery | ||
app_icon=icon-system-battery | ||
urgency=2 | ||
transient=true | ||
x-nemo-feedback=battery_low |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
x-nemo-icon=icon-system-battery | ||
app_icon=icon-system-battery | ||
urgency=2 | ||
transient=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
x-nemo-icon=icon-system-battery | ||
app_icon=icon-system-battery | ||
urgency=2 | ||
expireTimeout=60000 | ||
x-nemo-feedback=battery_low |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
x-nemo-icon=icon-system-battery | ||
app_icon=icon-system-battery | ||
urgency=2 | ||
expireTimout=60000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
x-nemo-icon=icon-system-battery | ||
app_icon=icon-system-battery | ||
urgency=2 | ||
transient=true | ||
x-nemo-feedback=battery_empty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
x-nemo-icon=icon-system-charging | ||
app_icon=icon-system-charging | ||
urgency=2 | ||
expireTimeout=60000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
x-nemo-icon=icon-system-battery | ||
app_icon=icon-system-battery | ||
urgency=2 | ||
transient=true | ||
x-nemo-feedback=battery_empty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
x-nemo-icon=icon-system-warning | ||
app_icon=icon-system-warning | ||
urgency=2 | ||
expireTimeout=60000 | ||
x-nemo-feedback=general_warning |
2 changes: 1 addition & 1 deletion
2
src/notificationcategories/x-nemo.connectionselector.cellular.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
x-nemo-icon=icon-m-mobile-network | ||
app_icon=icon-m-mobile-network | ||
urgency=2 | ||
transient=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
x-nemo-icon=icon-m-wlan | ||
app_icon=icon-m-wlan | ||
urgency=2 | ||
transient=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
x-nemo-icon=icon-system-warning | ||
app_icon=icon-system-warning | ||
urgency=2 | ||
transient=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
x-nemo-icon=icon-system-warning | ||
app_icon=icon-system-warning | ||
urgency=2 | ||
x-nemo-feedback=general_warning |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.