[blam] ChannelCollection: Remove two unused functions
- From: Carlos Martín Nieto <cmartin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [blam] ChannelCollection: Remove two unused functions
- Date: Sun, 10 Oct 2010 17:59:09 +0000 (UTC)
commit 4a9abd92f828f0b02bc8a6c0e50641d417caed09
Author: Carlos MartÃn Nieto <carlos cmartin tk>
Date: Sun Oct 10 16:26:36 2010 +0100
ChannelCollection: Remove two unused functions
src/ChannelCollection.cs | 28 ----------------------------
1 files changed, 0 insertions(+), 28 deletions(-)
---
diff --git a/src/ChannelCollection.cs b/src/ChannelCollection.cs
index b1e5ee0..b4dede1 100644
--- a/src/ChannelCollection.cs
+++ b/src/ChannelCollection.cs
@@ -283,34 +283,6 @@ namespace Imendio.Blam {
StartRefreshThreads (nrOfChannels);
}
-
- /* Used to cross-mark as read */
- public void MarkItemIdAsReadInAllChannels (Channel channel, string id)
- {
- foreach (Channel ch in mChannels) {
- if (ch != channel) {
- ch.MarkItemIdAsRead (id);
- }
- }
- foreach (ChannelGroup gr in Groups) {
- foreach(Channel chan in gr.Channels){
- if(chan != channel){
- chan.MarkItemIdAsRead(id);
- }
- }
- }
- }
-
- public bool CheckItemIdReadInAllChannels(string id)
- {
- foreach(IChannel ch in mChannels){
- Item item = ch.GetItem(id);
- if(item != null){
- return true;
- }
- }
- return false;
- }
private void UpdateThread ()
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]