aboutsummaryrefslogtreecommitdiff
path: root/lib/main.vala
diff options
context:
space:
mode:
authorWilliam Hua <william.hua@canonical.com>2013-09-21 00:21:06 -0400
committerWilliam Hua <william.hua@canonical.com>2013-09-21 00:21:06 -0400
commit04f6c6c8a443bd58d95be15b6860f3b0e98e18a7 (patch)
tree4a70aef45c88e3e402d5ff06630340cf38753c50 /lib/main.vala
parentb4546f5c93ecfd844621942388f526c82a8c10bd (diff)
downloadayatana-indicator-keyboard-04f6c6c8a443bd58d95be15b6860f3b0e98e18a7.tar.gz
ayatana-indicator-keyboard-04f6c6c8a443bd58d95be15b6860f3b0e98e18a7.tar.bz2
ayatana-indicator-keyboard-04f6c6c8a443bd58d95be15b6860f3b0e98e18a7.zip
Don't waste space.
Diffstat (limited to 'lib/main.vala')
-rw-r--r--lib/main.vala4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/main.vala b/lib/main.vala
index df962c98..026be597 100644
--- a/lib/main.vala
+++ b/lib/main.vala
@@ -153,7 +153,9 @@ public class Indicator.Keyboard.Service : Object {
user_list.user_added.connect ((user) => { migrate_input_sources (); });
user_list.user_changed.connect ((user) => { migrate_input_sources (); });
user_list.user_removed.connect ((user) => { migrate_input_sources (); });
- user_list.get_user_by_name ("this line force loads the users");
+
+ /* Force the loading of the user list. */
+ user_list.get_user_by_name ("");
} else {
if (!indicator_settings.get_boolean ("migrated")) {
var builder = new VariantBuilder (new VariantType ("a(ss)"));