Mercurial > pidgin
comparison console/libgnt/gntbutton.c @ 13930:3dbcbc5e57e1
[gaim-migrate @ 16457]
Enable resizing (Alt+r, then the arrow keys, then enter/escape to end).
It 'works', but needs fine-tuning. But I am going to put it off for a
later date.
Some other minor decoration tweaks.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 08 Jul 2006 02:11:11 +0000 |
parents | cc60d0861337 |
children | 25be562aaca8 |
comparison
equal
deleted
inserted
replaced
13929:59af3aecf580 | 13930:3dbcbc5e57e1 |
---|---|
69 static void | 69 static void |
70 gnt_button_init(GTypeInstance *instance, gpointer class) | 70 gnt_button_init(GTypeInstance *instance, gpointer class) |
71 { | 71 { |
72 GntButton *button = GNT_BUTTON(instance); | 72 GntButton *button = GNT_BUTTON(instance); |
73 button->priv = g_new0(GntButtonPriv, 1); | 73 button->priv = g_new0(GntButtonPriv, 1); |
74 | |
75 GNT_WIDGET_SET_FLAGS(GNT_WIDGET(button), GNT_WIDGET_GROW_X); /* Can be resized sideways */ | |
74 DEBUG; | 76 DEBUG; |
75 } | 77 } |
76 | 78 |
77 /****************************************************************************** | 79 /****************************************************************************** |
78 * GntButton API | 80 * GntButton API |