diff options
author | Stefano Karapetsas <[email protected]> | 2012-10-19 14:31:30 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2012-10-19 14:31:30 +0200 |
commit | e73116a9ea9bafa856a38601cfe90a1bf12e3628 (patch) | |
tree | f251b61095de3c0bda197a248b28514e585a2b53 | |
parent | 2c90f2b9d59544411a1f95f5f623ea6e75184c57 (diff) | |
download | mate-panel-e73116a9ea9bafa856a38601cfe90a1bf12e3628.tar.bz2 mate-panel-e73116a9ea9bafa856a38601cfe90a1bf12e3628.tar.xz |
fix load background type at panel start
close https://github.com/mate-desktop/mate-panel/issues/49
-rw-r--r-- | mate-panel/panel-profile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mate-panel/panel-profile.c b/mate-panel/panel-profile.c index 60d47465..e7c0f002 100644 --- a/mate-panel/panel-profile.c +++ b/mate-panel/panel-profile.c @@ -222,8 +222,8 @@ panel_profile_set_background_type (PanelToplevel *toplevel, PanelBackgroundType panel_profile_get_background_type (PanelToplevel *toplevel) { - PanelBackgroundType background_type = PANEL_BACK_NONE; - g_settings_get_enum (toplevel->background_settings, + PanelBackgroundType background_type; + background_type = g_settings_get_enum (toplevel->background_settings, "type"); return background_type; } |