pidgin: a6a5be72: The Offline Message Emulation plugin now...

markdoliner at pidgin.im markdoliner at pidgin.im
Sat Mar 31 17:30:49 EDT 2012


----------------------------------------------------------------------
Revision: a6a5be7291d88240cd7a6b7034ac9942d5bfba4b
Parent:   a94299d1b48c77ebb3799a75fcc6a9a3480310ac
Author:   markdoliner at pidgin.im
Date:     03/31/12 17:28:53
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/a6a5be7291d88240cd7a6b7034ac9942d5bfba4b

Changelog: 

The Offline Message Emulation plugin now adds a note that the message
was an offline message. (Flavius Anton) (fixes #2497)

Changes against parent a94299d1b48c77ebb3799a75fcc6a9a3480310ac

  patched  COPYRIGHT
  patched  ChangeLog
  patched  libpurple/plugins/offlinemsg.c

-------------- next part --------------
============================================================
--- ChangeLog	73ea060fb067e482d1f1b3534842ba2c1645ea80
+++ ChangeLog	da3b6ed80364a5472f794eaedff1b096349a925b
@@ -42,7 +42,9 @@ version 3.0.0 (??/??/????):
 
 	Plugins:
 	* The Voice/Video Settings plugin supports using the sndio GStreamer
-	 backends. (Brad Smith) (#14414)
+	  backends. (Brad Smith) (#14414)
+	* The Offline Message Emulation plugin now adds a note that the message
+	  was an offline message. (Flavius Anton) (#2497)
 
 version 2.10.2 (02/22/2012):
 	General:
============================================================
--- COPYRIGHT	9365e9f27d791f96def355c73ff0ff8b050e3271
+++ COPYRIGHT	ef5e57505a0d573b0d520e4f3cdb108332412ec0
@@ -24,6 +24,7 @@ Josef Andrysek
 Manuel Amador
 Matt Amato
 Josef Andrysek
+Flavius Anton
 Geoffrey Antos
 Daniel Atallah
 Paul Aurich
============================================================
--- libpurple/plugins/offlinemsg.c	dc95c3930a80ddab7f9aa3c410fc3d9e95d922f2
+++ libpurple/plugins/offlinemsg.c	5ff85a36171c7f7d41290124b20f31f12d6e5b32
@@ -80,6 +80,7 @@ record_pounce(OfflineMsg *offline)
 	PurplePounceEvent event;
 	PurplePounceOption option;
 	PurpleConversation *conv;
+	char *temp;
 
 	event = PURPLE_POUNCE_SIGNON;
 	option = PURPLE_POUNCE_OPTION_NONE;
@@ -88,8 +89,13 @@ record_pounce(OfflineMsg *offline)
 					event, option);
 
 	purple_pounce_action_set_enabled(pounce, "send-message", TRUE);
-	purple_pounce_action_set_attribute(pounce, "send-message", "message", offline->message);
 
+	temp = g_strdup_printf("(%s) %s", _("Offline message"),
+			offline->message);
+	purple_pounce_action_set_attribute(pounce, "send-message", "message",
+			temp);
+	g_free(temp);
+
 	conv = offline->conv;
 	if (!purple_conversation_get_data(conv, "plugin_pack:offlinemsg"))
 		purple_conversation_write(conv, NULL, _("The rest of the messages will be saved "


More information about the Commits mailing list