On Thu, 26 Jan 2006 16:54:54 -0500, Tom Jenkins <[EMAIL PROTECTED]> wrote:

Youness Alaoui wrote:

proc displayUser { user } {
....
foreach tab [::abook::getContactData $user tags] {
$c tag add  $tag $x1 $y1 $x2 $y2
}
}

proc search_field_content_modified {w} {
    set s [$w get ]
    if {$s == "" } {
      foreach tag [$c tags] { $c tag configure $tag -elide false }
    } else {
      foreach tag [$c tags] { $c tag configure $tag -elide false }
      set matching_tags [lsearch [$c tags] $s]
      foreach tag $matching_tags { $c tag configure $tag -elide true }
    }
}


how is my pseudo-code? I think it's great, easy also, do you think it's easy to do it this way ? I suggest when we type Ctrl-F, an entry pops up and as you type, it filters the users... we should have a tag with email adress mandatory on each user, + nick + psm + group_name... and optionally a user can add new tags on any user..

The psuedo-code is good ;) Shouldn't the trues and falses be the other way around though?
thx..
-elide false -> text appears, so no, true/false seem good

Do you mean for the current contactlist? I was talking about the new one, but if you or someone else want to code that on the current contactlist, that'd be great (yes, I know I'm a gui man but I'm not going anywhere near the current contactlist code...it scares me).

new or old, same thing.. ($c meant $canvas) new,you know best.. on old, there is a simple "showUser" proc.. that may help (beware of unique ids for tags, in case user appears on multiple groups)


I think the ctrl+f thing is good, but on windows live messenger it has a text entry above the contactlist to filter (I think) - I think this would be a good way to do it too, people will know where to look instantly :) The mandatory tags is a good idea, I'll have a play on the new cl anyways... thanks!
cool, search field.. too bloated.. we have hybrid mode, fixes things.. option to show/remove search field ? on Opera, "/" or "." brings inline search in a nice "tooltip-looking" field in the bottom (try it you'll understand) I like that very much, when I said ctrl-F, entry pops up, I though about having the entry field ON the contact list, but kind of collapsed, ctrl-F mading it 'animatedly' appear inside the CL , I'd choose opera-like, bottom left, subtle..




KKRT

On Thu, 26 Jan 2006 15:15:24 -0500, GrdScarabe <[EMAIL PROTECTED]> wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tom Jenkins wrote:

Hi all,
Karel and I were chatting the other day and Karel mentioned something
hed wanted for ages -  a little search box on the CL so you can type
text in and Amsn will just show contacts with that text in their
nick/psm. This led to talking about creating filters (as with Nautilus, thoigh I've never tried, Karel can tell you more...) so you can add tags to contacts and create filters that search for certain tags/combinations of tags. When you have a big contaclist, this could be very useful and I think it's a great idea. Do other people agree, if so I will be sure to
add it to the new cl!

Tom


I think it's wonderfull ... I wanted to develop a plugin to do something
like that ... and especially to hode messages from some contacts
depending on groups (but tags are even better).

Sometime I just connect to see some people and don't want to talk to
others ... but don't want to block them neither.

So ... I think it's a good beginning.. you have my vote :)

GrdScarabe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD2S3cPmfsnt4Id3wRAmp0AJ4gWclLBBkwfL1BaanmLVd0oHawKgCg1jdr
Mo2SP5fodbGEk4vIXQlQBNk=
=emjY
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel






                
___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel



--
KaKaRoTo


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel

Reply via email to