diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2010-06-25 04:36:06 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2010-06-25 04:36:06 +0200 |
commit | 3eb7e7688dea39fa83f41c1f9aba79a962ef1a15 (patch) | |
tree | 91d91bfb779f2d502d88af1e5dec53f5fab23905 /src/gui/Roster.vala | |
parent | d5adf274c137bef22d5695d4a280e10068edcb0e (diff) | |
download | ephraim-3eb7e7688dea39fa83f41c1f9aba79a962ef1a15.tar ephraim-3eb7e7688dea39fa83f41c1f9aba79a962ef1a15.zip |
Create conversation tabs for new conversations
Diffstat (limited to 'src/gui/Roster.vala')
-rw-r--r-- | src/gui/Roster.vala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/Roster.vala b/src/gui/Roster.vala index f25584c..72134e6 100644 --- a/src/gui/Roster.vala +++ b/src/gui/Roster.vala @@ -25,7 +25,15 @@ public class Roster : Object, Gtk.TreeModel { else row_changed(path, iter); } + + public Contact get_contact(string jid) { + string bareJID = jid.split("/", 2)[0]; + + stdout.printf("Getting Contact for %s\n", bareJID); + return entries[bareJID]; + } + public Type get_column_type (int index) { switch(index) { case 0: |