Bugs item #1663110, was opened at 2007-02-19 10:52
Message generated for change (Comment added) made by lingforum
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100235&aid=1663110&group_id=235

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: 2.0.0 beta 6
>Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: lingforum (lingforum)
Assigned to: Nobody/Anonymous (nobody)
Summary: GaimNotifyUiOps --> notify_message

Initial Comment:
Is there any specific reason, why "GaimConnection *gc" is not included as one 
of the arguments in the "notify_message" callback function in GaimNotifyUiOps 
structure?

In the same structure, some of the other callback functions have this 
GaimConnection pointer.

If somebody wants to define this "notify_message" in their application 
according to their need, then in that case, it will be useful if you provide 
"GaimConnection" pointer also as one of the parameters.

Thanks.

----------------------------------------------------------------------

>Comment By: lingforum (lingforum)
Date: 2007-02-22 09:55

Message:
Logged In: YES 
user_id=1710963
Originator: YES

The (plugin)callback function can show the message with the specific user
name (from GaimConnection Pointer), in addition with the standard warning
message.

And after that it can clear all the related information for that user
(clean up activities).

The user has to re-enter user name and password again just like a new
signing-in.

Thanks.

----------------------------------------------------------------------

Comment By: Richard Laager (rlaager)
Date: 2007-02-21 19:32

Message:
Logged In: YES 
user_id=156487
Originator: NO

So when this happens, what do you want your plugin to do? It sounds to me
like this is probably going to be a case that can be fixed by improving our
handling of invalid passwords, which is on my TODO list.

----------------------------------------------------------------------

Comment By: lingforum (lingforum)
Date: 2007-02-21 11:05

Message:
Logged In: YES 
user_id=1710963
Originator: YES

The specific example is explained below.

In Invalid password entered for Yahoo, this will call a notification
message with the generic warning message from yahoo protocol.

If this notify_message function has GaimConnection pointer, then the error
message can be notified specifically with the username also.

I hope the above example might be useful for further understanding.

Thanks.

----------------------------------------------------------------------

Comment By: Richard Laager (rlaager)
Date: 2007-02-20 23:16

Message:
Logged In: YES 
user_id=156487
Originator: NO

I still don't understand. Can you provide a *specific example*? What
actual message would this be useful for?

----------------------------------------------------------------------

Comment By: lingforum (lingforum)
Date: 2007-02-20 14:39

Message:
Logged In: YES 
user_id=1710963
Originator: YES

If GaimConnection pointer is there, then we can display for "which user",
the notify message is meant for.

----------------------------------------------------------------------

Comment By: Richard Laager (rlaager)
Date: 2007-02-19 10:59

Message:
Logged In: YES 
user_id=156487
Originator: NO

Do you have a particular case where a GaimConnection pointer there would
help you? That function can be called from any number of places where it
wouldn't have anything to do with a specific connection.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100235&aid=1663110&group_id=235

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Gaim-bugs mailing list
Gaim-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gaim-bugs

Reply via email to