pidgin: 412a518a: It just don't makes sense to set a statu...

masca at cpw.pidgin.im masca at cpw.pidgin.im
Sat Jan 8 01:45:41 EST 2011


----------------------------------------------------------------------
Revision: 412a518af798eaeeea99651705fd9d549596b966
Parent:   7d1d85421a7221e67b586df32625c65c1434f195
Author:   masca at cpw.pidgin.im
Date:     01/08/11 01:39:45
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/412a518af798eaeeea99651705fd9d549596b966

Changelog: 

It just don't makes sense to set a status message when changing to Offline. This was bugging me since long time ago.

Changes against parent 7d1d85421a7221e67b586df32625c65c1434f195

  patched  ChangeLog
  patched  pidgin/gtkstatusbox.c

-------------- next part --------------
============================================================
--- ChangeLog	74c287c2f4a01560d969ef5be42937acff581d84
+++ ChangeLog	59ac3f9d4a84ca572ec7719a64b156400f14b8f2
@@ -22,6 +22,7 @@ version 2.7.10 (??/??/????):
 	  the conversation window.  (Ryan Flegel) (#13127)
 	* Fix a few memory leaks. (Nader Morshed) (#13162)
 	* Support rendering strikethrough when received as in-line CSS. (#13168)
+	* Don't show the message entry when changing to Offline Status.
 
 	Plugins:
 	* The Voice/Video Settings plugin no longer resets selected devices to
============================================================
--- pidgin/gtkstatusbox.c	f13b3aa1c8ca925ee8ab22d6b374c1f5565ef2d1
+++ pidgin/gtkstatusbox.c	06ee25230f1871778790d2c59bbd21497657f077
@@ -2659,7 +2659,8 @@ static void pidgin_status_box_changed(Pi
 		account = node->data;
 		status_type = purple_account_get_status_type_with_primitive(account, GPOINTER_TO_INT(data));
 		if ((status_type != NULL) &&
-			(purple_status_type_get_attr(status_type, "message") != NULL))
+			(purple_status_type_get_attr(status_type, "message") != NULL) &&
+			(purple_status_type_get_primitive(status_type) != PURPLE_STATUS_OFFLINE))
 		{
 			status_box->imhtml_visible = TRUE;
 			break;


More information about the Commits mailing list