diff options
author | Yves-Alexis Perez <corsac@debian.org> | 2011-04-21 16:50:16 +0200 |
---|---|---|
committer | Nick Schermer <nick@xfce.org> | 2011-04-21 16:50:55 +0200 |
commit | 3603b4f159e3b2ef8f9c31efd8eb5bd3e895991f (patch) | |
tree | 41cc3fb735c0f204802e967a560bf7ef765229d5 /migrate | |
parent | b35df1d313cc593f5b1acb63670bc6e9a9d4802a (diff) |
Migrate: Fix 4.6 transparency migration (bug #7523).
Diffstat (limited to 'migrate')
-rw-r--r-- | migrate/migrate-46.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/migrate/migrate-46.c b/migrate/migrate-46.c index 2f9ebcc1..467b5546 100644 --- a/migrate/migrate-46.c +++ b/migrate/migrate-46.c @@ -844,11 +844,11 @@ migrate_46_end_element_handler (GMarkupParseContext *context, /* set transparency */ g_snprintf (prop, sizeof (prop), "/panels/panel-%u/leave-opacity", parser->panel_id_counter); - xfconf_channel_set_uint (parser->channel, prop, parser->panel_transparency); + xfconf_channel_set_uint (parser->channel, prop, 100 - parser->panel_transparency); g_snprintf (prop, sizeof (prop), "/panels/panel-%u/enter-opacity", parser->panel_id_counter); xfconf_channel_set_uint (parser->channel, prop, parser->panel_activetrans ? - parser->panel_transparency : 100); + 100 - parser->panel_transparency : 100); /* prepare for the next panel */ parser->panel_id_counter++; |