Mercurial > pidgin.yaz
comparison src/gtkroomlist.c @ 8425:6d8ec773a485
[gaim-migrate @ 9155]
Slight UI tweak to the room list that sets the correct alignment, padding,
and packing for the Account label.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Thu, 11 Mar 2004 00:29:19 +0000 |
parents | c1ca19c8f749 |
children | 058efd3cb86f |
comparison
equal
deleted
inserted
replaced
8424:2dd70b422372 | 8425:6d8ec773a485 |
---|---|
352 | 352 |
353 if (!account) | 353 if (!account) |
354 dialog->account = first_account; | 354 dialog->account = first_account; |
355 else | 355 else |
356 dialog->account = account; | 356 dialog->account = account; |
357 | |
357 /* accounts dropdown list */ | 358 /* accounts dropdown list */ |
358 account_hbox = gtk_hbox_new(FALSE, 0); | 359 account_hbox = gtk_hbox_new(FALSE, 6); |
359 gtk_box_pack_start(GTK_BOX(vbox2), account_hbox, FALSE, FALSE, 0); | 360 gtk_box_pack_start(GTK_BOX(vbox2), account_hbox, FALSE, FALSE, 0); |
360 gtk_widget_show(account_hbox); | 361 gtk_widget_show(account_hbox); |
361 | 362 |
362 label = gtk_label_new(NULL); | 363 label = gtk_label_new(NULL); |
363 gtk_box_pack_start(GTK_BOX(account_hbox), label, TRUE, TRUE, 0); | 364 gtk_box_pack_start(GTK_BOX(account_hbox), label, FALSE, FALSE, 0); |
364 gtk_label_set_markup_with_mnemonic(GTK_LABEL(label), _("_Account:")); | 365 gtk_label_set_markup_with_mnemonic(GTK_LABEL(label), _("_Account:")); |
365 gtk_misc_set_alignment(GTK_MISC(label), 0, 0); | 366 gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); |
366 gtk_widget_show(label); | 367 gtk_widget_show(label); |
367 | 368 |
368 dialog->account_widget = gaim_gtk_account_option_menu_new(dialog->account, FALSE, | 369 dialog->account_widget = gaim_gtk_account_option_menu_new(dialog->account, FALSE, |
369 G_CALLBACK(dialog_select_account_cb), accounts_filter_func, dialog); | 370 G_CALLBACK(dialog_select_account_cb), accounts_filter_func, dialog); |
370 | 371 |