Skip to content

Commit

Permalink
Suffix symbolic icon names with -symbolic (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
meisenzahl committed Jun 14, 2019
1 parent dc9f1d1 commit 8965cc9
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ foreach i : icon_sizes
endforeach

symbolic_icons = [
'com.github.manexim.home.lightbulb',
'com.github.manexim.home.lightbulb.lifx'
'com.github.manexim.home.lightbulb-symbolic',
'com.github.manexim.home.lightbulb.lifx-symbolic'
]

foreach icon : symbolic_icons
Expand Down
2 changes: 1 addition & 1 deletion src/pages/LampPage.vala
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ public class LampPage : Granite.SimpleSettingsPage {
public LampPage (Lamp lamp) {
Object (
activatable: true,
icon_name: "com.github.manexim.home.lightbulb.lifx",
icon_name: "com.github.manexim.home.lightbulb.lifx-symbolic",
description: lamp.id,
title: lamp.name != null ? lamp.name : lamp.id
);
Expand Down
2 changes: 1 addition & 1 deletion src/views/WelcomeView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ public class WelcomeView : Gtk.Grid {

construct {
var welcome = new Granite.Widgets.Welcome ("Home", "Control your smart home gadgets");
welcome.append ("com.github.manexim.home.lightbulb.lifx", "LIFX", "Currently only LIFX lights are supported. They must already be connected to your Wi-Fi.");
welcome.append ("com.github.manexim.home.lightbulb.lifx-symbolic", "LIFX", "Currently only LIFX lights are supported. They must already be connected to your Wi-Fi.");
welcome.append ("go-next", "Let's go", "You can control your lamps directly via Wi-Fi.");

welcome.set_item_sensitivity (0, false);
Expand Down

0 comments on commit 8965cc9

Please sign in to comment.