Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suffix symbolic icon names with -symbolic #5

Merged
merged 1 commit into from
Jun 14, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
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