Applied patch #3207 Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/slim/trunk@193 7c53e7cc-98ea-0310-8f1f-a0b24da60408
@@ -622,12 +622,10 @@ void Panel::SlimDrawString8(XftDraw *d, XftColor *color, XftFont *font,
XftDrawString8(d, color, font, x, y, reinterpret_cast<const FcChar8*>(str.c_str()), str.length());
}
-
Panel::ActionType Panel::getAction(void) const{
return action;
};
void Panel::Reset(void){
ResetName();
ResetPasswd();
@@ -644,11 +642,13 @@ void Panel::ResetPasswd(void){
void Panel::SetName(const string& name){
NameBuffer=name;
- return;
+ action = Login;
+
const string& Panel::GetName(void) const{
return NameBuffer;
const string& Panel::GetPasswd(void) const{
return PasswdBuffer;