From a84a8ef51ca7676daf0c4ccf0fa9e4a6835850ea Mon Sep 17 00:00:00 2001 From: Sebastian Kaspari Date: Mon, 8 Mar 2010 19:55:32 +0100 Subject: [PATCH] imports --- src/org/yaaic/adapter/DeckAdapter.java | 4 ---- src/org/yaaic/irc/IRCConnection.java | 2 ++ src/org/yaaic/view/ServerActivity.java | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/org/yaaic/adapter/DeckAdapter.java b/src/org/yaaic/adapter/DeckAdapter.java index 2aecdd2..5276a02 100644 --- a/src/org/yaaic/adapter/DeckAdapter.java +++ b/src/org/yaaic/adapter/DeckAdapter.java @@ -23,19 +23,15 @@ package org.yaaic.adapter; import java.util.HashMap; import java.util.LinkedList; -import org.yaaic.R; import org.yaaic.model.Channel; import org.yaaic.model.Message; -import android.content.Context; import android.graphics.Typeface; import android.text.SpannableString; -import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.Gallery; -import android.widget.ScrollView; import android.widget.TextView; /** diff --git a/src/org/yaaic/irc/IRCConnection.java b/src/org/yaaic/irc/IRCConnection.java index 3a06985..a934309 100644 --- a/src/org/yaaic/irc/IRCConnection.java +++ b/src/org/yaaic/irc/IRCConnection.java @@ -349,6 +349,8 @@ public class IRCConnection extends PircBot protected void onQuit(String sourceNick, String sourceLogin, String sourceHostname, String reason) { debug("Quit", sourceNick); + + // XXX: Add message to all channels where this user has been } /** diff --git a/src/org/yaaic/view/ServerActivity.java b/src/org/yaaic/view/ServerActivity.java index 399d010..964bc97 100644 --- a/src/org/yaaic/view/ServerActivity.java +++ b/src/org/yaaic/view/ServerActivity.java @@ -201,7 +201,7 @@ public class ServerActivity extends Activity implements ServiceConnection, Chann if (canvas != null) { canvas.append(message.render(canvas.getContext())); int y = (canvas.getLineCount() * canvas.getLineHeight()) - canvas.getHeight() + 20; - Log.d(TAG, "Scrolling to: " + y); + //Log.d(TAG, "Scrolling to: " + y); canvas.scrollTo(0, y); deckAdapter.notifyDataSetChanged();