# HG changeset patch # User Eric Warmenhoven # Date 978899943 0 # Node ID dc6ba774bfc55488e895e9400c62d97e5ffa4e4f # Parent d606da211acb27c0b30fcc2f13f4141dc22a745e [gaim-migrate @ 1402] erg committer: Tailor Script diff -r d606da211acb -r dc6ba774bfc5 ChangeLog --- a/ChangeLog Sun Jan 07 19:55:08 2001 +0000 +++ b/ChangeLog Sun Jan 07 20:39:03 2001 +0000 @@ -5,6 +5,7 @@ * ICQ Alias problem fixed * Negative times fixed * Cannot create blank away messages/messages with blank titles + * Can right-click Edit Buddies list to alias/add pounce/etc. version 0.11.0-pre4: * ICQ upgraded to use icqlib 1.1.0 diff -r d606da211acb -r dc6ba774bfc5 plugins/SIGNALS --- a/plugins/SIGNALS Sun Jan 07 19:55:08 2001 +0000 +++ b/plugins/SIGNALS Sun Jan 07 20:39:03 2001 +0000 @@ -97,8 +97,11 @@ 'text' is the actual strict text (with HTML tags and all) of the message you're sending. - Note that you can modify outgoing text. (You are _not_ encouraged to - do so ;-) .) + Note that you can modify outgoing text. The **text points to a g_malloc'd + data chunk that contains the text. If your plugin changes it, it should + either not add length to the string, or g_free *text and g_malloc a new + segment. Since plugins can modify this, you should not try and remember it + in your plugin. event_buddy_signon: struct gaim_connection *gc, char *who @@ -198,6 +201,8 @@ Be aware that you receive messages you send (as noted above). This event will be called before you actually send the message though. + The **text pointer behaves the same as the **text pointer for the + event_im_send event above; so read the note about it there. event_warned: char *who, int level diff -r d606da211acb -r dc6ba774bfc5 src/buddy.c --- a/src/buddy.c Sun Jan 07 19:55:08 2001 +0000 +++ b/src/buddy.c Sun Jan 07 20:39:03 2001 +0000 @@ -484,7 +484,7 @@ GtkWidget *menu; GtkWidget *button; - if (event->button != 3) + if (event->button != 3 || event->type != GDK_BUTTON_PRESS) return TRUE; if (!gtk_clist_get_selection_info(GTK_CLIST(edittree), event->x, event->y, &row, &column)) @@ -510,6 +510,12 @@ struct buddy *b = (struct buddy *)type; menu = gtk_menu_new(); + button = gtk_menu_item_new_with_label(_("Alias")); + gtk_signal_connect(GTK_OBJECT(button), "activate", + GTK_SIGNAL_FUNC(pressed_alias), b); + gtk_menu_append(GTK_MENU(menu), button); + gtk_widget_show(button); + button = gtk_menu_item_new_with_label(_("Add Buddy Pounce")); gtk_signal_connect(GTK_OBJECT(button), "activate", GTK_SIGNAL_FUNC(new_bp_callback), b->name);