aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/user-list.vala2
-rw-r--r--src/user-prompt-box.vala6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/user-list.vala b/src/user-list.vala
index 48957c3..6ce5efe 100644
--- a/src/user-list.vala
+++ b/src/user-list.vala
@@ -865,7 +865,7 @@ public class UserList : GreeterList
e.label = label;
e.set_show_message_icon (has_messages);
e.set_is_active (is_active);
- debug("Adding user to list. User: %s, background: %s, is_active: %b, has_messages: %b, session: %s", e.label, e.background, is_active, has_messages, session);
+ debug ("Adding user to list. User: %s, background: %s, is_active: %s, has_messages: %s, session: %s", e.label, e.background, is_active.to_string(), has_messages.to_string(), session);
/* Remove manual option when have users */
if (have_entries () && !always_show_manual)
diff --git a/src/user-prompt-box.vala b/src/user-prompt-box.vala
index 4483eec..6254d97 100644
--- a/src/user-prompt-box.vala
+++ b/src/user-prompt-box.vala
@@ -22,13 +22,13 @@
public class UserPromptBox : PromptBox
{
/* Background for this user */
- public string background;
+ public string background = "";
/* Default session for this user */
- public string session;
+ public string session = "";
/* True if should be marked as active */
- public bool is_active;
+ public bool is_active = false;
public UserPromptBox (string name)
{