Mercurial > pidgin.yaz
comparison src/aim.c @ 3652:239981ebcb05
[gaim-migrate @ 3776]
This looks better.
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Sat, 12 Oct 2002 04:54:31 +0000 |
parents | f09193608fd3 |
children | d7e83b4db191 |
comparison
equal
deleted
inserted
replaced
3651:35f755563487 | 3652:239981ebcb05 |
---|---|
230 GtkWidget *image; | 230 GtkWidget *image; |
231 GtkWidget *vbox; | 231 GtkWidget *vbox; |
232 GtkWidget *button; | 232 GtkWidget *button; |
233 GtkWidget *hbox; | 233 GtkWidget *hbox; |
234 GtkWidget *label; | 234 GtkWidget *label; |
235 GtkWidget *vbox2; | |
235 GList *tmp; | 236 GList *tmp; |
236 | 237 |
237 /* Do we already have a main window opened? If so, bring it back, baby... ribs... yeah */ | 238 /* Do we already have a main window opened? If so, bring it back, baby... ribs... yeah */ |
238 if (mainwindow) { | 239 if (mainwindow) { |
239 gtk_window_present(GTK_WINDOW(mainwindow)); | 240 gtk_window_present(GTK_WINDOW(mainwindow)); |
262 gtk_container_add(GTK_CONTAINER(mainwindow), vbox); | 263 gtk_container_add(GTK_CONTAINER(mainwindow), vbox); |
263 | 264 |
264 image = gaim_pixmap(NULL, "logo.png"); | 265 image = gaim_pixmap(NULL, "logo.png"); |
265 gtk_box_pack_start(GTK_BOX(vbox), image, FALSE, FALSE, 0); | 266 gtk_box_pack_start(GTK_BOX(vbox), image, FALSE, FALSE, 0); |
266 | 267 |
268 vbox2 = gtk_vbox_new(FALSE, 0); | |
269 gtk_container_set_border_width(GTK_CONTAINER(vbox2), 5); | |
270 | |
267 label = gtk_label_new(_("Screen Name:")); | 271 label = gtk_label_new(_("Screen Name:")); |
268 gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); | 272 gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); |
269 gtk_box_pack_start(GTK_BOX(vbox), label, FALSE, FALSE, 0); | 273 gtk_box_pack_start(GTK_BOX(vbox2), label, FALSE, FALSE, 0); |
270 | 274 |
271 name = gtk_combo_new(); | 275 name = gtk_combo_new(); |
272 tmp = combo_user_names(); | 276 tmp = combo_user_names(); |
273 gtk_combo_set_popdown_strings(GTK_COMBO(name), tmp); | 277 gtk_combo_set_popdown_strings(GTK_COMBO(name), tmp); |
274 g_list_free(tmp); | 278 g_list_free(tmp); |
275 gtk_signal_connect(GTK_OBJECT(GTK_COMBO(name)->entry), "activate", | 279 gtk_signal_connect(GTK_OBJECT(GTK_COMBO(name)->entry), "activate", |
276 GTK_SIGNAL_FUNC(doenter), mainwindow); | 280 GTK_SIGNAL_FUNC(doenter), mainwindow); |
277 gtk_signal_connect(GTK_OBJECT(GTK_COMBO(name)->entry), "changed", | 281 gtk_signal_connect(GTK_OBJECT(GTK_COMBO(name)->entry), "changed", |
278 GTK_SIGNAL_FUNC(combo_changed), name); | 282 GTK_SIGNAL_FUNC(combo_changed), name); |
279 gtk_box_pack_start(GTK_BOX(vbox), name, FALSE, TRUE, 0); | 283 gtk_box_pack_start(GTK_BOX(vbox2), name, FALSE, TRUE, 0); |
284 gtk_box_pack_start(GTK_BOX(vbox), vbox2, FALSE, TRUE, 0); | |
285 | |
286 vbox2 = gtk_vbox_new(FALSE, 0); | |
287 gtk_container_set_border_width(GTK_CONTAINER(vbox2), 5); | |
280 | 288 |
281 label = gtk_label_new(_("Password:")); | 289 label = gtk_label_new(_("Password:")); |
282 gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); | 290 gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); |
283 gtk_box_pack_start(GTK_BOX(vbox), label, FALSE, FALSE, 0); | 291 gtk_box_pack_start(GTK_BOX(vbox2), label, FALSE, FALSE, 0); |
284 | 292 |
285 pass = gtk_entry_new(); | 293 pass = gtk_entry_new(); |
286 gtk_entry_set_visibility(GTK_ENTRY(pass), FALSE); | 294 gtk_entry_set_visibility(GTK_ENTRY(pass), FALSE); |
287 gtk_signal_connect(GTK_OBJECT(pass), "activate", GTK_SIGNAL_FUNC(doenter), mainwindow); | 295 gtk_signal_connect(GTK_OBJECT(pass), "activate", GTK_SIGNAL_FUNC(doenter), mainwindow); |
288 gtk_box_pack_start(GTK_BOX(vbox), pass, FALSE, TRUE, 0); | 296 gtk_box_pack_start(GTK_BOX(vbox2), pass, FALSE, TRUE, 0); |
297 gtk_box_pack_start(GTK_BOX(vbox), vbox2, FALSE, TRUE, 0); | |
289 | 298 |
290 /* Now for the button box */ | 299 /* Now for the button box */ |
291 hbox = gtk_hbox_new(TRUE, 0); | 300 hbox = gtk_hbox_new(TRUE, 0); |
292 gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, TRUE, 5); | 301 gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, TRUE, 5); |
293 | 302 |