[tasque] Remove static constructor of RemoteControl
- From: Antonius Riha <antoniusri src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tasque] Remove static constructor of RemoteControl
- Date: Sat, 1 Dec 2012 19:58:47 +0000 (UTC)
commit 6b1dbede7ab1a243e203ee0b86a562d86c2a3028
Author: Antonius Riha <antoniusriha gmail com>
Date: Sat Dec 1 20:53:33 2012 +0100
Remove static constructor of RemoteControl
src/Gtk.Tasque/RemoteControl.cs | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/src/Gtk.Tasque/RemoteControl.cs b/src/Gtk.Tasque/RemoteControl.cs
index be8d7c5..d4ffef9 100644
--- a/src/Gtk.Tasque/RemoteControl.cs
+++ b/src/Gtk.Tasque/RemoteControl.cs
@@ -24,12 +24,6 @@ namespace Tasque
const string Namespace = "org.gnome.Tasque";
const string Path = "/org/gnome/Tasque/RemoteControl";
- static Gdk.Pixbuf tasqueIcon;
- static RemoteControl ()
- {
- tasqueIcon = Utilities.GetIcon ("tasque", 48);
- }
-
public static RemoteControl GetInstance ()
{
BusG.Init ();
@@ -181,7 +175,7 @@ namespace Tasque
new Notification (
Catalog.GetString ("New task created."), // summary
Catalog.GetString (taskName), // body
- tasqueIcon);
+ Utilities.GetIcon ("tasque", 48));
Application.ShowAppNotification (notify);
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]