Update of /cvsroot/gaim/gaim/src
In directory usw-pr-cvs1:/tmp/cvs-serv27673
Modified Files:
dialogs.c
Log Message:
I cant code for shit.
Index: dialogs.c
===================================================================
RCS file: /cvsroot/gaim/gaim/src/dialogs.c,v
retrieving revision 1.305
retrieving revision 1.306
diff -u -d -r1.305 -r1.306
--- dialogs.c 13 Mar 2002 04:06:23 -0000 1.305
+++ dialogs.c 13 Mar 2002 04:25:32 -0000 1.306
@@ -3372,16 +3372,20 @@
smilies = c->gc->prpl->smiley_list();
+ smiley_box = gtk_toolbar_new(GTK_ORIENTATION_HORIZONTAL, GTK_TOOLBAR_ICONS);
+ gtk_box_pack_start(GTK_BOX(vbox), smiley_box, TRUE, TRUE, 0);
+
while (smilies) {
struct _prpl_smiley *smile =
(struct _prpl_smiley *)smilies->data;
- if ((!(smiley_count % 4)) && (smiley_count > 0)) {
- smiley_box = gtk_toolbar_new(GTK_ORIENTATION_HORIZONTAL, GTK_TOOLBAR_ICONS);
- gtk_box_pack_start(GTK_BOX(vbox), smiley_box, TRUE, TRUE, 0);
- }
-
if (smile->show) {
+
+ if ((!(smiley_count % 4)) && (smiley_count > 0)) {
+ smiley_box = gtk_toolbar_new(GTK_ORIENTATION_HORIZONTAL, GTK_TOOLBAR_ICONS);
+ gtk_box_pack_start(GTK_BOX(vbox), smiley_box, TRUE, TRUE, 0);
+ }
+
toolbar_add_smiley(c, smiley_box, smile->xpm, win, smile->key);
smiley_count++;
}
|