diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-06-07 16:57:49 -0400 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-06-07 16:57:49 -0400 |
commit | 438516dce0eb6638a867b549fa1381280310d369 (patch) | |
tree | 52e2b12c0d27cfcded29de5710316ae7a9cc1147 | |
parent | 36272c5bdb7b66e1a8c6c6e96d4b9d45c5e6e600 (diff) | |
download | ayatana-indicator-sound-438516dce0eb6638a867b549fa1381280310d369.tar.gz ayatana-indicator-sound-438516dce0eb6638a867b549fa1381280310d369.tar.bz2 ayatana-indicator-sound-438516dce0eb6638a867b549fa1381280310d369.zip |
Use {min,max}-icon instead of {primary,secondary}-icon
-rw-r--r-- | src/service.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/service.vala b/src/service.vala index 468c80f..af718f9 100644 --- a/src/service.vala +++ b/src/service.vala @@ -99,8 +99,8 @@ public class IndicatorSound.Service { var slider = new MenuItem (null, "indicator.volume"); slider.set_attribute ("x-canonical-type", "s", "com.canonical.unity.slider"); - slider.set_attribute_value ("primary-icon", g_icon_serialize (new ThemedIcon ("audio-volume-low-zero-panel"))); - slider.set_attribute_value ("secondary-icon", g_icon_serialize (new ThemedIcon ("audio-volume-high-panel"))); + slider.set_attribute_value ("min-icon", g_icon_serialize (new ThemedIcon ("audio-volume-low-zero-panel"))); + slider.set_attribute_value ("max-icon", g_icon_serialize (new ThemedIcon ("audio-volume-high-panel"))); slider.set_attribute ("min-value", "d", 0.0); slider.set_attribute ("max-value", "d", 1.0); slider.set_attribute ("step", "d", 0.01); |