[tasque/transition: 35/213] Clean up
- From: Antonius Riha <antoniusri src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tasque/transition: 35/213] Clean up
- Date: Wed, 29 Aug 2012 18:36:58 +0000 (UTC)
commit 6ff74e538138da851e7e720f3064ad9f81d65eaf
Author: Antonius Riha <antoniusriha gmail com>
Date: Fri May 25 01:58:17 2012 +0200
Clean up
src/tasque/Application.cs | 8 +-------
src/tasque/Backends/Hiveminder/service/Task.cs | 2 --
src/tasque/TaskGroup.cs | 4 ----
3 files changed, 1 insertions(+), 13 deletions(-)
---
diff --git a/src/tasque/Application.cs b/src/tasque/Application.cs
index f5aee20..484617f 100644
--- a/src/tasque/Application.cs
+++ b/src/tasque/Application.cs
@@ -55,11 +55,8 @@ namespace Tasque
#if !WIN32 && !OSX
private RemoteControl remoteControl;
#endif
- private Gdk.Pixbuf normalPixBuf;
- private Gtk.Image trayImage;
private Gtk.StatusIcon trayIcon;
private Preferences preferences;
- private EventBox eb;
private IBackend backend;
private TaskGroupModel overdue_tasks, today_tasks, tomorrow_tasks;
private PreferencesDialog preferencesDialog;
@@ -142,10 +139,7 @@ namespace Tasque
get { return Application.Instance.preferences; }
}
- private Application ()
- {
- Init(null);
- }
+ private Application () : this (null) {}
private Application (string[] args)
{
diff --git a/src/tasque/Backends/Hiveminder/service/Task.cs b/src/tasque/Backends/Hiveminder/service/Task.cs
index 76cd57b..d8c1a80 100644
--- a/src/tasque/Backends/Hiveminder/service/Task.cs
+++ b/src/tasque/Backends/Hiveminder/service/Task.cs
@@ -34,8 +34,6 @@ namespace Hiveminder
[Serializable]
public class Task
{
- private string description;
-
#region PublicProperties
[XmlElement("id", Form=XmlSchemaForm.Unqualified)]
diff --git a/src/tasque/TaskGroup.cs b/src/tasque/TaskGroup.cs
index 7b0ac6e..73f143a 100644
--- a/src/tasque/TaskGroup.cs
+++ b/src/tasque/TaskGroup.cs
@@ -242,10 +242,6 @@ namespace Tasque
// Find the index within the tree
public int GetIterIndex (Gtk.TreeIter iter)
{
- Gtk.TreePath path = treeView.Model.GetPath (iter);
- Gdk.Rectangle rect =
- treeView.GetBackgroundArea (path, treeView.GetColumn (0));
-
int pos = 0;
Gtk.TreeIter tempIter;
Gtk.TreeModel model = treeView.Model;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]