Skip to content

Commit

Permalink
Use Icon instead of icon name (#231)
Browse files Browse the repository at this point in the history
Co-authored-by: Jeremy Wootten <jeremywootten@gmail.com>
  • Loading branch information
danirabbit and jeremypw authored Feb 3, 2024
1 parent 88a1323 commit 8d9a73e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Views/Clicking.vala
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class MouseTouchpad.ClickingView : Switchboard.SettingsPage {
public ClickingView () {
Object (
header: _("Behavior"),
icon_name: "mouse-touchpad-clicking",
icon: new ThemedIcon ("mouse-touchpad-clicking"),
title: _("Clicking")
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/Views/Gestures.vala
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
public class MouseTouchpad.GesturesView : Switchboard.SettingsPage {
public GesturesView () {
Object (
icon_name: "mouse-touchpad-gestures",
icon: new ThemedIcon ("mouse-touchpad-gestures"),
title: _("Gestures")
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/Views/Mouse.vala
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public class MouseTouchpad.MouseView : Switchboard.SettingsPage {
public MouseView () {
Object (
header: _("Devices"),
icon_name: "input-mouse",
icon: new ThemedIcon ("input-mouse"),
title: _("Mouse")
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/Views/Pointing.vala
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
public class MouseTouchpad.PointingView : Switchboard.SettingsPage {
public PointingView () {
Object (
icon_name: "mouse-touchpad-pointing",
icon: new ThemedIcon ("mouse-touchpad-pointing"),
title: _("Pointing")
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/Views/Touchpad.vala
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class MouseTouchpad.TouchpadView : Switchboard.SettingsPage {

public TouchpadView () {
Object (
icon_name: "input-touchpad",
icon: new ThemedIcon ("input-touchpad"),
title: _("Touchpad")
);
}
Expand Down

0 comments on commit 8d9a73e

Please sign in to comment.