Mercurial > pidgin
diff src/gtknotify.c @ 6872:dd0eecfbe413
[gaim-migrate @ 7418]
ok, these are some tweaks i've made to core code working on the new jabber
plugin.
- add gaim_find_buddy_in_group() that searches a specific group instead
of the entire list. kinda handy.
- re-did the base64 encoding function. i think it may have been broken,
i'm not sure, but this i know works.
- fix the formatted notify dialog to be more to my liking, and to have
a working Close button.
committer: Tailor Script <tailor@pidgin.im>
| author | Nathan Walp <nwalp@pidgin.im> |
|---|---|
| date | Wed, 17 Sep 2003 03:45:04 +0000 |
| parents | fb64cc87bc96 |
| children | 083d1e4a9c78 |
line wrap: on
line diff
--- a/src/gtknotify.c Wed Sep 17 03:22:44 2003 +0000 +++ b/src/gtknotify.c Wed Sep 17 03:45:04 2003 +0000 @@ -278,7 +278,7 @@ /* Setup the descriptive label */ g_snprintf(label_text, sizeof(label_text), - "<span weight=\"bold\" size=\"larger\">%s</span>\n\n%s", + "<span weight=\"bold\" size=\"larger\">%s</span>\n%s", primary, (secondary ? secondary : "")); label = gtk_label_new(NULL); @@ -311,7 +311,7 @@ gtk_box_pack_start(GTK_BOX(vbox), button, FALSE, FALSE, 0); gtk_widget_show(button); - g_signal_connect(G_OBJECT(button), "clicked", + g_signal_connect_swapped(G_OBJECT(button), "clicked", G_CALLBACK(gtk_widget_destroy), window); /* Add the text to the gtkimhtml */
