summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2013-02-20 19:17:08 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2013-02-20 19:17:08 +0000
commit6feb984156f7e504a00ad8edfef84993ad1b3e74 (patch)
treea66d80c8e0f77def2b7e7d4002c090ef81866c48 /src
parent2ebc0a5cd92b753271316e0e00a5fddc51d0cbf0 (diff)
update year in copyright headers, fix the jumbled file lists (caused by unsorted files)
Diffstat (limited to 'src')
-rw-r--r--src/json.c2
-rw-r--r--src/json.h2
-rw-r--r--src/main.c2
-rw-r--r--src/protocol-constants.h2
-rw-r--r--src/remote-exec.c2
-rw-r--r--src/remote-exec.h2
-rw-r--r--src/requests.c2
-rw-r--r--src/requests.h2
-rw-r--r--src/session-get.c2
-rw-r--r--src/session-get.h2
-rw-r--r--src/torrent.c2
-rw-r--r--src/torrent.h2
-rw-r--r--src/trg-about-window.c4
-rw-r--r--src/trg-about-window.h2
-rw-r--r--src/trg-cell-renderer-counter.c2
-rw-r--r--src/trg-cell-renderer-counter.h2
-rw-r--r--src/trg-cell-renderer-epoch.c2
-rw-r--r--src/trg-cell-renderer-epoch.h2
-rw-r--r--src/trg-cell-renderer-eta.c2
-rw-r--r--src/trg-cell-renderer-eta.h2
-rw-r--r--src/trg-cell-renderer-file-icon.c2
-rw-r--r--src/trg-cell-renderer-file-icon.h2
-rw-r--r--src/trg-cell-renderer-numgteqthan.c2
-rw-r--r--src/trg-cell-renderer-numgteqthan.h2
-rw-r--r--src/trg-cell-renderer-priority.c2
-rw-r--r--src/trg-cell-renderer-priority.h2
-rw-r--r--src/trg-cell-renderer-ratio.c2
-rw-r--r--src/trg-cell-renderer-ratio.h2
-rw-r--r--src/trg-cell-renderer-size.c2
-rw-r--r--src/trg-cell-renderer-size.h2
-rw-r--r--src/trg-cell-renderer-speed.c2
-rw-r--r--src/trg-cell-renderer-speed.h2
-rw-r--r--src/trg-cell-renderer-wanted.c2
-rw-r--r--src/trg-cell-renderer-wanted.h2
-rw-r--r--src/trg-client.c2
-rw-r--r--src/trg-client.h2
-rw-r--r--src/trg-destination-combo.c2
-rw-r--r--src/trg-destination-combo.h2
-rw-r--r--src/trg-file-parser.c13
-rw-r--r--src/trg-file-parser.h2
-rw-r--r--src/trg-files-model-common.c2
-rw-r--r--src/trg-files-model-common.h2
-rw-r--r--src/trg-files-model.c10
-rw-r--r--src/trg-files-model.h2
-rw-r--r--src/trg-files-tree-view-common.c2
-rw-r--r--src/trg-files-tree-view-common.h2
-rw-r--r--src/trg-files-tree-view.c2
-rw-r--r--src/trg-files-tree-view.h2
-rw-r--r--src/trg-files-tree.c14
-rw-r--r--src/trg-files-tree.h6
-rw-r--r--src/trg-general-panel.c2
-rw-r--r--src/trg-general-panel.h2
-rw-r--r--src/trg-gtk-app.c2
-rw-r--r--src/trg-gtk-app.h2
-rw-r--r--src/trg-icons.c2
-rw-r--r--src/trg-icons.h2
-rw-r--r--src/trg-json-widgets.c2
-rw-r--r--src/trg-json-widgets.h2
-rw-r--r--src/trg-main-window.c2
-rw-r--r--src/trg-main-window.h2
-rw-r--r--src/trg-menu-bar.c2
-rw-r--r--src/trg-menu-bar.h2
-rw-r--r--src/trg-model.c2
-rw-r--r--src/trg-model.h2
-rw-r--r--src/trg-peers-model.c2
-rw-r--r--src/trg-peers-model.h2
-rw-r--r--src/trg-peers-tree-view.c2
-rw-r--r--src/trg-peers-tree-view.h2
-rw-r--r--src/trg-persistent-tree-view.c2
-rw-r--r--src/trg-persistent-tree-view.h2
-rw-r--r--src/trg-preferences-dialog.c2
-rw-r--r--src/trg-preferences-dialog.h2
-rw-r--r--src/trg-prefs.c2
-rw-r--r--src/trg-prefs.h2
-rw-r--r--src/trg-remote-prefs-dialog.c2
-rw-r--r--src/trg-remote-prefs-dialog.h2
-rw-r--r--src/trg-sortable-filtered-model.c2
-rw-r--r--src/trg-sortable-filtered-model.h2
-rw-r--r--src/trg-state-selector.c2
-rw-r--r--src/trg-state-selector.h2
-rw-r--r--src/trg-stats-dialog.c2
-rw-r--r--src/trg-stats-dialog.h2
-rw-r--r--src/trg-status-bar.c2
-rw-r--r--src/trg-status-bar.h2
-rw-r--r--src/trg-toolbar.c2
-rw-r--r--src/trg-toolbar.h2
-rw-r--r--src/trg-torrent-add-dialog.h2
-rw-r--r--src/trg-torrent-add-url-dialog.c2
-rw-r--r--src/trg-torrent-add-url-dialog.h2
-rw-r--r--src/trg-torrent-graph.c2
-rw-r--r--src/trg-torrent-model.c2
-rw-r--r--src/trg-torrent-model.h2
-rw-r--r--src/trg-torrent-move-dialog.c2
-rw-r--r--src/trg-torrent-move-dialog.h2
-rw-r--r--src/trg-torrent-props-dialog.c2
-rw-r--r--src/trg-torrent-props-dialog.h2
-rw-r--r--src/trg-torrent-tree-view.c2
-rw-r--r--src/trg-torrent-tree-view.h2
-rw-r--r--src/trg-trackers-model.c2
-rw-r--r--src/trg-trackers-model.h2
-rw-r--r--src/trg-trackers-tree-view.c2
-rw-r--r--src/trg-trackers-tree-view.h2
-rw-r--r--src/trg-tree-view.c2
-rw-r--r--src/trg-tree-view.h2
-rw-r--r--src/util.c2
-rw-r--r--src/util.h2
-rw-r--r--src/win32-mailslot.c2
-rw-r--r--src/win32-mailslot.h2
108 files changed, 136 insertions, 117 deletions
diff --git a/src/json.c b/src/json.c
index 38bcf76..fdce0b6 100644
--- a/src/json.c
+++ b/src/json.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/json.h b/src/json.h
index c321de9..860f73a 100644
--- a/src/json.h
+++ b/src/json.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/main.c b/src/main.c
index 2558e1b..f7570ce 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/protocol-constants.h b/src/protocol-constants.h
index 77ab71a..061a10e 100644
--- a/src/protocol-constants.h
+++ b/src/protocol-constants.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/remote-exec.c b/src/remote-exec.c
index 17f7c41..edf75f2 100644
--- a/src/remote-exec.c
+++ b/src/remote-exec.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/remote-exec.h b/src/remote-exec.h
index 4468a3a..07ffa57 100644
--- a/src/remote-exec.h
+++ b/src/remote-exec.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/requests.c b/src/requests.c
index edd39ba..95be1d7 100644
--- a/src/requests.c
+++ b/src/requests.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/requests.h b/src/requests.h
index 4d08a88..5ea9b2a 100644
--- a/src/requests.h
+++ b/src/requests.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/session-get.c b/src/session-get.c
index 0b85b22..98c466c 100644
--- a/src/session-get.c
+++ b/src/session-get.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/session-get.h b/src/session-get.h
index c18163a..9d26c99 100644
--- a/src/session-get.h
+++ b/src/session-get.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/torrent.c b/src/torrent.c
index 10a556c..ed595dd 100644
--- a/src/torrent.c
+++ b/src/torrent.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/torrent.h b/src/torrent.h
index 99f023c..cebdd76 100644
--- a/src/torrent.h
+++ b/src/torrent.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-about-window.c b/src/trg-about-window.c
index b2eac86..8dbf7a8 100644
--- a/src/trg-about-window.c
+++ b/src/trg-about-window.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -68,7 +68,7 @@ GtkWidget *trg_about_window_new(GtkWindow * parent)
gtk_about_dialog_set_version(GTK_ABOUT_DIALOG(dialog),
PACKAGE_VERSION);
gtk_about_dialog_set_copyright(GTK_ABOUT_DIALOG(dialog),
- "(C) 2011 Alan Fitton");
+ "(C) 2011-2013 Alan Fitton");
gtk_about_dialog_set_comments(GTK_ABOUT_DIALOG(dialog),
_
("A remote client to transmission-daemon."));
diff --git a/src/trg-about-window.h b/src/trg-about-window.h
index 8fbd132..fbd1569 100644
--- a/src/trg-about-window.h
+++ b/src/trg-about-window.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-cell-renderer-counter.c b/src/trg-cell-renderer-counter.c
index 1308039..9a4049c 100644
--- a/src/trg-cell-renderer-counter.c
+++ b/src/trg-cell-renderer-counter.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-cell-renderer-counter.h b/src/trg-cell-renderer-counter.h
index 5ecaba8..7e70c4b 100644
--- a/src/trg-cell-renderer-counter.h
+++ b/src/trg-cell-renderer-counter.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-cell-renderer-epoch.c b/src/trg-cell-renderer-epoch.c
index 64a400a..8e38949 100644
--- a/src/trg-cell-renderer-epoch.c
+++ b/src/trg-cell-renderer-epoch.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-cell-renderer-epoch.h b/src/trg-cell-renderer-epoch.h
index 0620726..918fb9b 100644
--- a/src/trg-cell-renderer-epoch.h
+++ b/src/trg-cell-renderer-epoch.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-cell-renderer-eta.c b/src/trg-cell-renderer-eta.c
index cdae864..90e8886 100644
--- a/src/trg-cell-renderer-eta.c
+++ b/src/trg-cell-renderer-eta.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-cell-renderer-eta.h b/src/trg-cell-renderer-eta.h
index f9bad66..90ca95b 100644
--- a/src/trg-cell-renderer-eta.h
+++ b/src/trg-cell-renderer-eta.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-cell-renderer-file-icon.c b/src/trg-cell-renderer-file-icon.c
index 0ef272b..e116d90 100644
--- a/src/trg-cell-renderer-file-icon.c
+++ b/src/trg-cell-renderer-file-icon.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-cell-renderer-file-icon.h b/src/trg-cell-renderer-file-icon.h
index 314d52f..504bd59 100644
--- a/src/trg-cell-renderer-file-icon.h
+++ b/src/trg-cell-renderer-file-icon.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-cell-renderer-numgteqthan.c b/src/trg-cell-renderer-numgteqthan.c
index 0351b71..3be1cd6 100644
--- a/src/trg-cell-renderer-numgteqthan.c
+++ b/src/trg-cell-renderer-numgteqthan.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-cell-renderer-numgteqthan.h b/src/trg-cell-renderer-numgteqthan.h
index d63d9e3..e71ed55 100644
--- a/src/trg-cell-renderer-numgteqthan.h
+++ b/src/trg-cell-renderer-numgteqthan.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-cell-renderer-priority.c b/src/trg-cell-renderer-priority.c
index 84181b1..d52129a 100644
--- a/src/trg-cell-renderer-priority.c
+++ b/src/trg-cell-renderer-priority.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-cell-renderer-priority.h b/src/trg-cell-renderer-priority.h
index 7813053..58a07a2 100644
--- a/src/trg-cell-renderer-priority.h
+++ b/src/trg-cell-renderer-priority.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-cell-renderer-ratio.c b/src/trg-cell-renderer-ratio.c
index 1999fb7..ed0a453 100644
--- a/src/trg-cell-renderer-ratio.c
+++ b/src/trg-cell-renderer-ratio.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-cell-renderer-ratio.h b/src/trg-cell-renderer-ratio.h
index 123f1ed..6b7e95b 100644
--- a/src/trg-cell-renderer-ratio.h
+++ b/src/trg-cell-renderer-ratio.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-cell-renderer-size.c b/src/trg-cell-renderer-size.c
index f6b25cc..ebe6b25 100644
--- a/src/trg-cell-renderer-size.c
+++ b/src/trg-cell-renderer-size.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-cell-renderer-size.h b/src/trg-cell-renderer-size.h
index e73184f..a5d547b 100644
--- a/src/trg-cell-renderer-size.h
+++ b/src/trg-cell-renderer-size.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-cell-renderer-speed.c b/src/trg-cell-renderer-speed.c
index 38dd3cb..a527b59 100644
--- a/src/trg-cell-renderer-speed.c
+++ b/src/trg-cell-renderer-speed.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-cell-renderer-speed.h b/src/trg-cell-renderer-speed.h
index f00effc..e74265a 100644
--- a/src/trg-cell-renderer-speed.h
+++ b/src/trg-cell-renderer-speed.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-cell-renderer-wanted.c b/src/trg-cell-renderer-wanted.c
index 5a31a06..c23aae1 100644
--- a/src/trg-cell-renderer-wanted.c
+++ b/src/trg-cell-renderer-wanted.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-cell-renderer-wanted.h b/src/trg-cell-renderer-wanted.h
index 6a48f4c..4a8720b 100644
--- a/src/trg-cell-renderer-wanted.h
+++ b/src/trg-cell-renderer-wanted.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-client.c b/src/trg-client.c
index ad18921..f20677a 100644
--- a/src/trg-client.c
+++ b/src/trg-client.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-client.h b/src/trg-client.h
index 803579e..3b7d916 100644
--- a/src/trg-client.h
+++ b/src/trg-client.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-destination-combo.c b/src/trg-destination-combo.c
index 000d371..d2e3eb0 100644
--- a/src/trg-destination-combo.c
+++ b/src/trg-destination-combo.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-destination-combo.h b/src/trg-destination-combo.h
index 46700b4..9ab5076 100644
--- a/src/trg-destination-combo.h
+++ b/src/trg-destination-combo.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-file-parser.c b/src/trg-file-parser.c
index d59cabc..03c4f8d 100644
--- a/src/trg-file-parser.c
+++ b/src/trg-file-parser.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -60,8 +60,7 @@ static trg_files_tree_node *trg_file_parser_node_insert(trg_files_tree_node
trg_files_tree_node *target_node = NULL;
if (li && !isFile) {
- trg_files_tree_node *lastPathNode =
- (trg_files_tree_node *) li->data;
+ trg_files_tree_node *lastPathNode = (trg_files_tree_node *) li->data;
if (!g_strcmp0(lastPathNode->name, path_el_node->val.s)) {
target_node = lastPathNode;
@@ -71,16 +70,18 @@ static trg_files_tree_node *trg_file_parser_node_insert(trg_files_tree_node
}
}
+ if (!target_node && lastIter && lastIter->childrenHash)
+ target_node = g_hash_table_lookup(lastIter->childrenHash, path_el_node->val.s);
+
if (!target_node) {
target_node = g_new0(trg_files_tree_node, 1);
target_node->name = g_strdup(path_el_node->val.s);
target_node->parent = lastIter;
if (lastIter)
- lastIter->children =
- g_list_append(lastIter->children, target_node);
+ trg_files_tree_node_add_child(lastIter, target_node);
else
- top->children = g_list_append(top->children, target_node);
+ trg_files_tree_node_add_child(top, target_node);
}
if (isFile) {
diff --git a/src/trg-file-parser.h b/src/trg-file-parser.h
index f2d6fb7..1344be2 100644
--- a/src/trg-file-parser.h
+++ b/src/trg-file-parser.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-files-model-common.c b/src/trg-files-model-common.c
index 6e72907..b435069 100644
--- a/src/trg-files-model-common.c
+++ b/src/trg-files-model-common.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-files-model-common.h b/src/trg-files-model-common.h
index e8f52f2..ad151e1 100644
--- a/src/trg-files-model-common.h
+++ b/src/trg-files-model-common.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-files-model.c b/src/trg-files-model.c
index f082bd8..a0a2a37 100644
--- a/src/trg-files-model.c
+++ b/src/trg-files-model.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -192,6 +192,9 @@ static trg_files_tree_node *trg_file_parser_node_insert(trg_files_tree_node
}
}
+ if (!target_node && lastIter && lastIter->childrenHash)
+ target_node = g_hash_table_lookup(lastIter->childrenHash, path_el);
+
/* Node needs creating */
if (!target_node) {
@@ -201,11 +204,10 @@ static trg_files_tree_node *trg_file_parser_node_insert(trg_files_tree_node
/* Under the parent of the last iteration. */
if (lastIter)
- lastIter->children =
- g_list_append(lastIter->children, target_node);
+ trg_files_tree_node_add_child(lastIter, target_node);
/* None set, so under the top node. */
else
- top->children = g_list_append(top->children, target_node);
+ trg_files_tree_node_add_child(top, target_node);
}
lastIter = target_node;
diff --git a/src/trg-files-model.h b/src/trg-files-model.h
index b76b456..3b23f9c 100644
--- a/src/trg-files-model.h
+++ b/src/trg-files-model.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-files-tree-view-common.c b/src/trg-files-tree-view-common.c
index a9e0fcd..4680d5f 100644
--- a/src/trg-files-tree-view-common.c
+++ b/src/trg-files-tree-view-common.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-files-tree-view-common.h b/src/trg-files-tree-view-common.h
index 7929c67..3826182 100644
--- a/src/trg-files-tree-view-common.h
+++ b/src/trg-files-tree-view-common.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-files-tree-view.c b/src/trg-files-tree-view.c
index 1ff3f05..1c93ad6 100644
--- a/src/trg-files-tree-view.c
+++ b/src/trg-files-tree-view.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-files-tree-view.h b/src/trg-files-tree-view.h
index 04a38bb..dedcb3d 100644
--- a/src/trg-files-tree-view.h
+++ b/src/trg-files-tree-view.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-files-tree.c b/src/trg-files-tree.c
index cadef12..b3a3df9 100644
--- a/src/trg-files-tree.c
+++ b/src/trg-files-tree.c
@@ -27,11 +27,25 @@
#include "trg-files-tree.h"
+void trg_files_tree_node_add_child(trg_files_tree_node* node, trg_files_tree_node* child)
+{
+ if (!node->childrenHash) {
+ node->childrenHash = g_hash_table_new(g_str_hash, g_str_equal);
+ }
+ g_hash_table_insert(node->childrenHash, child->name, child);
+ node->children = g_list_append(node->children, child);
+}
+
void trg_files_tree_node_free(trg_files_tree_node * node)
{
GList *li;
+
for (li = node->children; li; li = g_list_next(li))
trg_files_tree_node_free((trg_files_tree_node *) li->data);
+
+ if (node->childrenHash)
+ g_hash_table_destroy(node->childrenHash);
+
g_list_free(node->children);
g_free(node->name);
g_free(node);
diff --git a/src/trg-files-tree.h b/src/trg-files-tree.h
index bfd9189..c5072b6 100644
--- a/src/trg-files-tree.h
+++ b/src/trg-files-tree.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -20,7 +20,7 @@
#ifndef TRG_FILES_TREE_H_
#define TRG_FILES_TREE_H_
-#include <glib-object.h>
+#include <glib.h>
#include <json-glib/json-glib.h>
#include "trg-files-tree.h"
@@ -30,12 +30,14 @@ typedef struct {
gint64 length;
gint64 bytesCompleted;
GList *children;
+ GHashTable *childrenHash;
gint index;
gpointer parent;
gint priority;
gint enabled;
} trg_files_tree_node;
+void trg_files_tree_node_add_child(trg_files_tree_node* node, trg_files_tree_node* child);
void trg_files_tree_node_free(trg_files_tree_node * node);
#endif /* TRG_FILES_MODEL_H_ */
diff --git a/src/trg-general-panel.c b/src/trg-general-panel.c
index aa7c29c..2e74d9d 100644
--- a/src/trg-general-panel.c
+++ b/src/trg-general-panel.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-general-panel.h b/src/trg-general-panel.h
index 686bffb..e1a75bb 100644
--- a/src/trg-general-panel.h
+++ b/src/trg-general-panel.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-gtk-app.c b/src/trg-gtk-app.c
index 46ae43d..a0c9ac4 100644
--- a/src/trg-gtk-app.c
+++ b/src/trg-gtk-app.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-gtk-app.h b/src/trg-gtk-app.h
index 0374321..b60425a 100644
--- a/src/trg-gtk-app.h
+++ b/src/trg-gtk-app.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-icons.c b/src/trg-icons.c
index b507ce9..efa45a7 100644
--- a/src/trg-icons.c
+++ b/src/trg-icons.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-icons.h b/src/trg-icons.h
index 56a01ff..e3555d5 100644
--- a/src/trg-icons.h
+++ b/src/trg-icons.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-json-widgets.c b/src/trg-json-widgets.c
index 5f6fb1e..abca7e1 100644
--- a/src/trg-json-widgets.c
+++ b/src/trg-json-widgets.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-json-widgets.h b/src/trg-json-widgets.h
index 7eefe58..a7dde5b 100644
--- a/src/trg-json-widgets.h
+++ b/src/trg-json-widgets.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-main-window.c b/src/trg-main-window.c
index 6f1a608..975e68f 100644
--- a/src/trg-main-window.c
+++ b/src/trg-main-window.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-main-window.h b/src/trg-main-window.h
index 59dddc8..3c6ace5 100644
--- a/src/trg-main-window.h
+++ b/src/trg-main-window.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-menu-bar.c b/src/trg-menu-bar.c
index c701cbc..4fcd06c 100644
--- a/src/trg-menu-bar.c
+++ b/src/trg-menu-bar.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-menu-bar.h b/src/trg-menu-bar.h
index 3774bb6..601ea13 100644
--- a/src/trg-menu-bar.h
+++ b/src/trg-menu-bar.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-model.c b/src/trg-model.c
index 96b5472..fa67d08 100644
--- a/src/trg-model.c
+++ b/src/trg-model.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-model.h b/src/trg-model.h
index 88e7a85..4f5f8ae 100644
--- a/src/trg-model.h
+++ b/src/trg-model.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-peers-model.c b/src/trg-peers-model.c
index a231666..0d15753 100644
--- a/src/trg-peers-model.c
+++ b/src/trg-peers-model.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-peers-model.h b/src/trg-peers-model.h
index 50ce6c1..6ae941a 100644
--- a/src/trg-peers-model.h
+++ b/src/trg-peers-model.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-peers-tree-view.c b/src/trg-peers-tree-view.c
index 4364842..f7fbd7c 100644
--- a/src/trg-peers-tree-view.c
+++ b/src/trg-peers-tree-view.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-peers-tree-view.h b/src/trg-peers-tree-view.h
index c7b254f..57a09c1 100644
--- a/src/trg-peers-tree-view.h
+++ b/src/trg-peers-tree-view.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-persistent-tree-view.c b/src/trg-persistent-tree-view.c
index 650bdeb..e116fdf 100644
--- a/src/trg-persistent-tree-view.c
+++ b/src/trg-persistent-tree-view.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-persistent-tree-view.h b/src/trg-persistent-tree-view.h
index d56f502..a5a7c8f 100644
--- a/src/trg-persistent-tree-view.h
+++ b/src/trg-persistent-tree-view.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-preferences-dialog.c b/src/trg-preferences-dialog.c
index d0c8508..6e98f25 100644
--- a/src/trg-preferences-dialog.c
+++ b/src/trg-preferences-dialog.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-preferences-dialog.h b/src/trg-preferences-dialog.h
index 8860ff6..f5e9825 100644
--- a/src/trg-preferences-dialog.h
+++ b/src/trg-preferences-dialog.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-prefs.c b/src/trg-prefs.c
index 9b573a6..b559479 100644
--- a/src/trg-prefs.c
+++ b/src/trg-prefs.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-prefs.h b/src/trg-prefs.h
index 1bf43c5..e7a7f48 100644
--- a/src/trg-prefs.h
+++ b/src/trg-prefs.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-remote-prefs-dialog.c b/src/trg-remote-prefs-dialog.c
index 22b29af..f8bd43b 100644
--- a/src/trg-remote-prefs-dialog.c
+++ b/src/trg-remote-prefs-dialog.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-remote-prefs-dialog.h b/src/trg-remote-prefs-dialog.h
index b96dda0..45d0a97 100644
--- a/src/trg-remote-prefs-dialog.h
+++ b/src/trg-remote-prefs-dialog.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-sortable-filtered-model.c b/src/trg-sortable-filtered-model.c
index 0c84b77..9db1827 100644
--- a/src/trg-sortable-filtered-model.c
+++ b/src/trg-sortable-filtered-model.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-sortable-filtered-model.h b/src/trg-sortable-filtered-model.h
index 55e525c..3523d09 100644
--- a/src/trg-sortable-filtered-model.h
+++ b/src/trg-sortable-filtered-model.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-state-selector.c b/src/trg-state-selector.c
index 1fabf44..cee0c56 100644
--- a/src/trg-state-selector.c
+++ b/src/trg-state-selector.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-state-selector.h b/src/trg-state-selector.h
index a00251c..5107505 100644
--- a/src/trg-state-selector.h
+++ b/src/trg-state-selector.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-stats-dialog.c b/src/trg-stats-dialog.c
index b4b215a..3ae0336 100644
--- a/src/trg-stats-dialog.c
+++ b/src/trg-stats-dialog.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-stats-dialog.h b/src/trg-stats-dialog.h
index 1b1fefb..58a192a 100644
--- a/src/trg-stats-dialog.h
+++ b/src/trg-stats-dialog.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-status-bar.c b/src/trg-status-bar.c
index 8f80711..34454df 100644
--- a/src/trg-status-bar.c
+++ b/src/trg-status-bar.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-status-bar.h b/src/trg-status-bar.h
index c1ee82a..b4942ee 100644
--- a/src/trg-status-bar.h
+++ b/src/trg-status-bar.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-toolbar.c b/src/trg-toolbar.c
index fb81364..96dd95d 100644
--- a/src/trg-toolbar.c
+++ b/src/trg-toolbar.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-toolbar.h b/src/trg-toolbar.h
index bc6432c..7d12b2d 100644
--- a/src/trg-toolbar.h
+++ b/src/trg-toolbar.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-torrent-add-dialog.h b/src/trg-torrent-add-dialog.h
index 210e036..0f45e2c 100644
--- a/src/trg-torrent-add-dialog.h
+++ b/src/trg-torrent-add-dialog.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-torrent-add-url-dialog.c b/src/trg-torrent-add-url-dialog.c
index ef97725..7f6335e 100644
--- a/src/trg-torrent-add-url-dialog.c
+++ b/src/trg-torrent-add-url-dialog.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-torrent-add-url-dialog.h b/src/trg-torrent-add-url-dialog.h
index 3b2c9d2..ea446ed 100644
--- a/src/trg-torrent-add-url-dialog.h
+++ b/src/trg-torrent-add-url-dialog.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-torrent-graph.c b/src/trg-torrent-graph.c
index 6cd9216..40d3b4a 100644
--- a/src/trg-torrent-graph.c
+++ b/src/trg-torrent-graph.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-torrent-model.c b/src/trg-torrent-model.c
index d5b640f..b1e98e5 100644
--- a/src/trg-torrent-model.c
+++ b/src/trg-torrent-model.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-torrent-model.h b/src/trg-torrent-model.h
index aed9717..078afe8 100644
--- a/src/trg-torrent-model.h
+++ b/src/trg-torrent-model.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-torrent-move-dialog.c b/src/trg-torrent-move-dialog.c
index 381ed86..7669545 100644
--- a/src/trg-torrent-move-dialog.c
+++ b/src/trg-torrent-move-dialog.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-torrent-move-dialog.h b/src/trg-torrent-move-dialog.h
index 76b832b..5f58979 100644
--- a/src/trg-torrent-move-dialog.h
+++ b/src/trg-torrent-move-dialog.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-torrent-props-dialog.c b/src/trg-torrent-props-dialog.c
index 2060b6b..90ef4e3 100644
--- a/src/trg-torrent-props-dialog.c
+++ b/src/trg-torrent-props-dialog.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-torrent-props-dialog.h b/src/trg-torrent-props-dialog.h
index 504f172..9829127 100644
--- a/src/trg-torrent-props-dialog.h
+++ b/src/trg-torrent-props-dialog.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-torrent-tree-view.c b/src/trg-torrent-tree-view.c
index 4f1d165..207bef7 100644
--- a/src/trg-torrent-tree-view.c
+++ b/src/trg-torrent-tree-view.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-torrent-tree-view.h b/src/trg-torrent-tree-view.h
index 394bebe..d308de9 100644
--- a/src/trg-torrent-tree-view.h
+++ b/src/trg-torrent-tree-view.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-trackers-model.c b/src/trg-trackers-model.c
index a8a411e..c998c93 100644
--- a/src/trg-trackers-model.c
+++ b/src/trg-trackers-model.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-trackers-model.h b/src/trg-trackers-model.h
index 67025ea..3e699f7 100644
--- a/src/trg-trackers-model.h
+++ b/src/trg-trackers-model.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-trackers-tree-view.c b/src/trg-trackers-tree-view.c
index d1d3634..0dfd4f9 100644
--- a/src/trg-trackers-tree-view.c
+++ b/src/trg-trackers-tree-view.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-trackers-tree-view.h b/src/trg-trackers-tree-view.h
index a7684d8..39c5f46 100644
--- a/src/trg-trackers-tree-view.h
+++ b/src/trg-trackers-tree-view.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-tree-view.c b/src/trg-tree-view.c
index 3f7a289..3f7b95e 100644
--- a/src/trg-tree-view.c
+++ b/src/trg-tree-view.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/trg-tree-view.h b/src/trg-tree-view.h
index f2b4965..5a17073 100644
--- a/src/trg-tree-view.h
+++ b/src/trg-tree-view.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/util.c b/src/util.c
index a118025..55db4dc 100644
--- a/src/util.c
+++ b/src/util.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/util.h b/src/util.h
index f55b736..351f565 100644
--- a/src/util.h
+++ b/src/util.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/win32-mailslot.c b/src/win32-mailslot.c
index 6878b9c..0ca52a9 100644
--- a/src/win32-mailslot.c
+++ b/src/win32-mailslot.c
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
diff --git a/src/win32-mailslot.h b/src/win32-mailslot.h
index c0dc71b..1d60fef 100644
--- a/src/win32-mailslot.h
+++ b/src/win32-mailslot.h
@@ -1,6 +1,6 @@
/*
* transmission-remote-gtk - A GTK RPC client to Transmission
- * Copyright (C) 2011 Alan Fitton
+ * Copyright (C) 2011-2013 Alan Fitton
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by