Mercurial > pidgin.yaz
comparison src/aim.c @ 2257:eae25a0309c1
[gaim-migrate @ 2267]
eyh luuve to leek you all uuver uur bohdee.
sorry. i had to put "leek" in there and i already used "leek soup". and one of my co-workers is french.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Mon, 10 Sep 2001 17:09:46 +0000 |
parents | 14e8978f86bb |
children | 64dd9e99884c |
comparison
equal
deleted
inserted
replaced
2256:73872bedf07e | 2257:eae25a0309c1 |
---|---|
188 if (!usr) | 188 if (!usr) |
189 return g_list_append(NULL, "<New User>"); | 189 return g_list_append(NULL, "<New User>"); |
190 | 190 |
191 while (usr) { | 191 while (usr) { |
192 u = (struct aim_user *)usr->data; | 192 u = (struct aim_user *)usr->data; |
193 tmp = g_list_append(tmp, g_strdup(u->username)); | 193 tmp = g_list_append(tmp, u->username); |
194 usr = usr->next; | 194 usr = usr->next; |
195 } | 195 } |
196 | 196 |
197 return tmp; | 197 return tmp; |
198 } | 198 } |
218 | 218 |
219 GtkWidget *pmw; | 219 GtkWidget *pmw; |
220 GdkPixmap *pm; | 220 GdkPixmap *pm; |
221 GtkStyle *style; | 221 GtkStyle *style; |
222 GdkBitmap *mask; | 222 GdkBitmap *mask; |
223 | |
224 GList *tmp; | |
223 | 225 |
224 if (mainwindow) { | 226 if (mainwindow) { |
225 gtk_widget_show(mainwindow); | 227 gtk_widget_show(mainwindow); |
226 return; | 228 return; |
227 } | 229 } |
252 label = gtk_label_new(_("Screen Name: ")); | 254 label = gtk_label_new(_("Screen Name: ")); |
253 gtk_table_attach(GTK_TABLE(table), label, 0, 1, 2, 3, 0, 0, 5, 5); | 255 gtk_table_attach(GTK_TABLE(table), label, 0, 1, 2, 3, 0, 0, 5, 5); |
254 gtk_widget_show(label); | 256 gtk_widget_show(label); |
255 | 257 |
256 name = gtk_combo_new(); | 258 name = gtk_combo_new(); |
257 gtk_combo_set_popdown_strings(GTK_COMBO(name), combo_user_names()); | 259 tmp = combo_user_names(); |
260 gtk_combo_set_popdown_strings(GTK_COMBO(name), tmp); | |
261 g_list_free(tmp); | |
258 gtk_signal_connect(GTK_OBJECT(GTK_COMBO(name)->entry), "activate", | 262 gtk_signal_connect(GTK_OBJECT(GTK_COMBO(name)->entry), "activate", |
259 GTK_SIGNAL_FUNC(doenter), mainwindow); | 263 GTK_SIGNAL_FUNC(doenter), mainwindow); |
260 gtk_signal_connect(GTK_OBJECT(GTK_COMBO(name)->entry), "changed", | 264 gtk_signal_connect(GTK_OBJECT(GTK_COMBO(name)->entry), "changed", |
261 GTK_SIGNAL_FUNC(combo_changed), name); | 265 GTK_SIGNAL_FUNC(combo_changed), name); |
262 gtk_widget_set_usize(name, 100, 0); | 266 gtk_widget_set_usize(name, 100, 0); |