Browse Source

Use message_shadow settings for messages (bug \#10731)

git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/slim/trunk@120 7c53e7cc-98ea-0310-8f1f-a0b24da60408
sip 17 years ago
parent
commit
2b1c342126
1 changed files with 2 additions and 2 deletions
  1. 2 2
      panel.cpp

+ 2 - 2
panel.cpp

@@ -541,9 +541,9 @@ void Panel::ShowSession() {
     int msg_x = Cfg::absolutepos("50%", XWidthOfScreen(ScreenOfDisplay(Dpy, Scr)), extents.width);
     int msg_y = XHeightOfScreen(ScreenOfDisplay(Dpy, Scr)) - extents.height -100;
     int shadowXOffset =
-        Cfg::string2int(cfg->getOption("welcome_shadow_xoffset").c_str());
+        Cfg::string2int(cfg->getOption("msg_shadow_xoffset").c_str());
     int shadowYOffset =
-        Cfg::string2int(cfg->getOption("welcome_shadow_yoffset").c_str());
+        Cfg::string2int(cfg->getOption("msg_shadow_yoffset").c_str());
 
     SlimDrawString8(draw, &msgcolor, msgfont, msg_x, msg_y,
                     (XftChar8*)text, strlen(text),