[spinner] Remove SparkleLib reference
This commit is contained in:
parent
2b274c6140
commit
fdb836f829
|
@ -47,10 +47,9 @@ namespace SparkleShare {
|
||||||
// Use translations
|
// Use translations
|
||||||
Catalog.Init (Defines.GETTEXT_PACKAGE, Defines.LOCALE_DIR);
|
Catalog.Init (Defines.GETTEXT_PACKAGE, Defines.LOCALE_DIR);
|
||||||
|
|
||||||
UnixUserInfo user_info = new UnixUserInfo (UnixEnvironment.UserName);
|
|
||||||
|
|
||||||
// Don't allow running as root
|
// Don't allow running as root
|
||||||
if (user_info.UserId == 0) {
|
if (new UnixUserInfo (UnixEnvironment.UserName).UserId == 0) {
|
||||||
|
|
||||||
Console.WriteLine (_("Sorry, you can't run SparkleShare with these permissions."));
|
Console.WriteLine (_("Sorry, you can't run SparkleShare with these permissions."));
|
||||||
Console.WriteLine (_("Things would go utterly wrong."));
|
Console.WriteLine (_("Things would go utterly wrong."));
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
|
|
||||||
using Gtk;
|
using Gtk;
|
||||||
using System.Timers;
|
using System.Timers;
|
||||||
using SparkleLib;
|
|
||||||
|
|
||||||
namespace SparkleShare {
|
namespace SparkleShare {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue