diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/background.vala | 2 | ||||
-rw-r--r-- | src/settings.vala | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/background.vala b/src/background.vala index c523eb5..70813ea 100644 --- a/src/background.vala +++ b/src/background.vala @@ -208,7 +208,7 @@ class BackgroundLoader : Object var y = (int) (image.height / grid_size - 2) * grid_size + grid_y_offset; bc.translate (x, y); bc.set_source_surface (logo, 0, 0); - bc.paint_with_alpha (0.5); + bc.paint_with_alpha (AGSettings.get_double (AGSettings.KEY_LOGO_ALPHA)); bc.restore (); } diff --git a/src/settings.vala b/src/settings.vala index 30f25ed..7e49894 100644 --- a/src/settings.vala +++ b/src/settings.vala @@ -33,6 +33,7 @@ public class AGSettings : Object public const string KEY_DRAW_GRID = "draw-grid"; public const string KEY_SHOW_HOSTNAME = "show-hostname"; public const string KEY_LOGO = "logo"; + public const string KEY_LOGO_ALPHA = "logo-alpha"; public const string KEY_THEME_NAME = "theme-name"; public const string KEY_HIGH_CONTRAST_THEME_NAME = "high-contrast-theme-name"; public const string KEY_ICON_THEME_NAME = "icon-theme-name"; |