aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/arctica-greeter.vala2
-rw-r--r--src/idle-monitor.vala2
-rw-r--r--src/logo-generator.vala4
-rw-r--r--src/settings-daemon.vala6
-rw-r--r--src/user-list.vala12
5 files changed, 13 insertions, 13 deletions
diff --git a/src/arctica-greeter.vala b/src/arctica-greeter.vala
index 2def301..76b2279 100644
--- a/src/arctica-greeter.vala
+++ b/src/arctica-greeter.vala
@@ -92,7 +92,7 @@ public class ArcticaGreeter
var state_dir = Path.build_filename (Environment.get_user_cache_dir (), "arctica-greeter");
DirUtils.create_with_parents (state_dir, 0775);
-
+
var xdg_seat = GLib.Environment.get_variable("XDG_SEAT");
var state_file_name = xdg_seat != null && xdg_seat != "seat0" ? xdg_seat + "-state" : "state";
diff --git a/src/idle-monitor.vala b/src/idle-monitor.vala
index ee841b3..374e924 100644
--- a/src/idle-monitor.vala
+++ b/src/idle-monitor.vala
@@ -2,7 +2,7 @@
*
* Copyright (C) 2014 Canonical Ltd
* Copyright (C) 2017 Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
- *
+ *
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3 as
* published by the Free Software Foundation.
diff --git a/src/logo-generator.vala b/src/logo-generator.vala
index 0556466..1cea95f 100644
--- a/src/logo-generator.vala
+++ b/src/logo-generator.vala
@@ -6,7 +6,7 @@ public class Main : Object
private static string? result = null;
private static int width = 245;
private static int height = 44;
- private const OptionEntry[] options = {
+ private const OptionEntry[] options = {
{"logo", 0, 0, OptionArg.FILENAME, ref file, "Path to logo", "LOGO"},
{"text", 0, 0, OptionArg.STRING, ref text, "Sublogo text", "TEXT"},
{"width", 0, 0, OptionArg.INT, ref width, "Logo width", "WIDTH"},
@@ -21,7 +21,7 @@ public class Main : Object
opt_context.set_help_enabled (true);
opt_context.add_main_entries (options, null);
opt_context.parse (ref args);
- } catch (OptionError e) {
+ } catch (OptionError e) {
stdout.printf ("error: %s\n", e.message);
stdout.printf ("Run '%s --help' to see a full list of available command line options.\n", args[0]);
return 0;
diff --git a/src/settings-daemon.vala b/src/settings-daemon.vala
index 5230b0a..e0371ec 100644
--- a/src/settings-daemon.vala
+++ b/src/settings-daemon.vala
@@ -97,7 +97,7 @@ public class SettingsDaemon : Object
{
debug ("Acquired org.gnome.ScreenSaver");
start_settings_daemon ();
- },
+ },
() => debug ("Failed to acquire name org.gnome.ScreenSaver"));
/* The media-keys plugin inhibits the power key, but we don't want
@@ -207,7 +207,7 @@ public class ScreenSaverInterface : Object
public ScreenSaverInterface ()
{
idle_monitor = new IdleMonitor ();
- _set_active (false);
+ _set_active (false);
}
private void _set_active (bool value)
@@ -244,7 +244,7 @@ public class ScreenSaverInterface : Object
{
return _active;
}
-
+
public uint32 get_active_time () { return 0; }
public void lock () {}
public void show_message (string summary, string body, string icon) {}
diff --git a/src/user-list.vala b/src/user-list.vala
index 65feaa2..48957c3 100644
--- a/src/user-list.vala
+++ b/src/user-list.vala
@@ -237,7 +237,7 @@ public class UserList : GreeterList
{
return remote_server_list_name.split ("*")[2];
}
-
+
private string username_from_remote_loding_server_list_name (string remote_server_list_name)
{
return remote_server_list_name.split ("*")[3];
@@ -474,7 +474,7 @@ public class UserList : GreeterList
else if (password_field.text == "duplicate")
{
test_fill_remote_login_servers_duplicate_entries (out server_list);
- login_success = true;
+ login_success = true;
}
}
else
@@ -668,7 +668,7 @@ public class UserList : GreeterList
current_remote_fields = new HashTable<string, Gtk.Widget> (str_hash, str_equal);
var url = url_from_remote_loding_server_list_name (selected_entry.id);
var username = username_from_remote_loding_server_list_name (selected_entry.id);
-
+
foreach (var remote_server in server_list)
{
var remote_username = username_from_remote_server_fields (remote_server);
@@ -1233,10 +1233,10 @@ public class UserList : GreeterList
RemoteServerField field2 = RemoteServerField ();
field2.type = "password";
remote_server.fields = {field1, field2};
-
+
test_server_list += remote_server;
set_remote_directory_servers (test_server_list);
-
+
return false;
});
@@ -1422,7 +1422,7 @@ public class UserList : GreeterList
server_list[0] = remote_server2;
server_list[1] = remote_server5;
}
-
+
private bool test_key_press_cb (Gdk.EventKey event)
{
if ((event.state & Gdk.ModifierType.CONTROL_MASK) == 0)