Mercurial > pidgin.yaz
comparison console/gntaccount.c @ 13934:ef0d515b9f97
[gaim-migrate @ 16462]
Mark urgent-hinted windows in the window-list.
Make the default size of some of the windows smaller.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 08 Jul 2006 19:06:59 +0000 |
parents | fdf2dbed6faa |
children | 25be562aaca8 |
comparison
equal
deleted
inserted
replaced
13933:ad171112d52c | 13934:ef0d515b9f97 |
---|---|
33 GntWidget *box, *button; | 33 GntWidget *box, *button; |
34 | 34 |
35 accounts.window = gnt_box_new(TRUE, TRUE); | 35 accounts.window = gnt_box_new(TRUE, TRUE); |
36 gnt_box_set_toplevel(GNT_BOX(accounts.window), TRUE); | 36 gnt_box_set_toplevel(GNT_BOX(accounts.window), TRUE); |
37 gnt_box_set_title(GNT_BOX(accounts.window), _("Accounts")); | 37 gnt_box_set_title(GNT_BOX(accounts.window), _("Accounts")); |
38 gnt_box_set_pad(GNT_BOX(accounts.window), 0); | |
38 gnt_widget_set_name(accounts.window, "accounts"); | 39 gnt_widget_set_name(accounts.window, "accounts"); |
39 | 40 |
40 gnt_box_add_widget(GNT_BOX(accounts.window), | 41 gnt_box_add_widget(GNT_BOX(accounts.window), |
41 gnt_label_new(_("You can enable/disable accounts from the following list."))); | 42 gnt_label_new(_("You can enable/disable accounts from the following list."))); |
42 | 43 |
56 g_free(str); | 57 g_free(str); |
57 } | 58 } |
58 | 59 |
59 g_signal_connect(G_OBJECT(accounts.tree), "toggled", G_CALLBACK(account_toggled), NULL); | 60 g_signal_connect(G_OBJECT(accounts.tree), "toggled", G_CALLBACK(account_toggled), NULL); |
60 | 61 |
61 gnt_widget_set_size(accounts.tree, 40, 15); | 62 gnt_widget_set_size(accounts.tree, 40, 10); |
62 gnt_box_add_widget(GNT_BOX(accounts.window), accounts.tree); | 63 gnt_box_add_widget(GNT_BOX(accounts.window), accounts.tree); |
63 | 64 |
64 box = gnt_box_new(FALSE, FALSE); | 65 box = gnt_box_new(FALSE, FALSE); |
65 | 66 |
66 button = gnt_button_new(_("Add")); | 67 button = gnt_button_new(_("Add")); |