aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-07 08:53:43 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-07 08:54:06 +0100
commitf22b7af95e0b6a1d860d1893eced6fcef5319a58 (patch)
tree3707d54da5b2c00c85a2cfa8b0f1c396f764ec99 /src
parentc8550903fa8b2f062d15b405bddf05a770d41e47 (diff)
downloadarctica-greeter-f22b7af95e0b6a1d860d1893eced6fcef5319a58.tar.gz
arctica-greeter-f22b7af95e0b6a1d860d1893eced6fcef5319a58.tar.bz2
arctica-greeter-f22b7af95e0b6a1d860d1893eced6fcef5319a58.zip
White-space cleanup. Removing superfluous EOL white-spaces.
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)