Mercurial > pidgin
comparison src/dialogs.c @ 3040:910fbed99c2e
[gaim-migrate @ 3053]
I cant code for shit.
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Wed, 13 Mar 2002 04:25:32 +0000 |
parents | 0f1766887ddd |
children | 9fa577253b56 |
comparison
equal
deleted
inserted
replaced
3039:186279d1be2d | 3040:910fbed99c2e |
---|---|
3370 toolbar_add_smiley(c, smiley_box, yell_xpm, win, ">:o"); | 3370 toolbar_add_smiley(c, smiley_box, yell_xpm, win, ">:o"); |
3371 } else { | 3371 } else { |
3372 | 3372 |
3373 smilies = c->gc->prpl->smiley_list(); | 3373 smilies = c->gc->prpl->smiley_list(); |
3374 | 3374 |
3375 smiley_box = gtk_toolbar_new(GTK_ORIENTATION_HORIZONTAL, GTK_TOOLBAR_ICONS); | |
3376 gtk_box_pack_start(GTK_BOX(vbox), smiley_box, TRUE, TRUE, 0); | |
3377 | |
3375 while (smilies) { | 3378 while (smilies) { |
3376 struct _prpl_smiley *smile = | 3379 struct _prpl_smiley *smile = |
3377 (struct _prpl_smiley *)smilies->data; | 3380 (struct _prpl_smiley *)smilies->data; |
3378 | 3381 |
3379 if ((!(smiley_count % 4)) && (smiley_count > 0)) { | 3382 if (smile->show) { |
3380 smiley_box = gtk_toolbar_new(GTK_ORIENTATION_HORIZONTAL, GTK_TOOLBAR_ICONS); | 3383 |
3381 gtk_box_pack_start(GTK_BOX(vbox), smiley_box, TRUE, TRUE, 0); | 3384 if ((!(smiley_count % 4)) && (smiley_count > 0)) { |
3382 } | 3385 smiley_box = gtk_toolbar_new(GTK_ORIENTATION_HORIZONTAL, GTK_TOOLBAR_ICONS); |
3386 gtk_box_pack_start(GTK_BOX(vbox), smiley_box, TRUE, TRUE, 0); | |
3387 } | |
3383 | 3388 |
3384 if (smile->show) { | |
3385 toolbar_add_smiley(c, smiley_box, smile->xpm, win, smile->key); | 3389 toolbar_add_smiley(c, smiley_box, smile->xpm, win, smile->key); |
3386 smiley_count++; | 3390 smiley_count++; |
3387 } | 3391 } |
3388 | 3392 |
3389 smilies = g_slist_next(smilies); | 3393 smilies = g_slist_next(smilies); |