comparison console/libgnt/gntbutton.c @ 13943:25be562aaca8

[gaim-migrate @ 16480] New widget GntLine to use as a separator. A partial dialog for add-account callback. Updating the dialog as a result of selection-change in the prpl dropdown is way ickier than I had expected it to be. It 'works' now, but quite a bit quirky. I will try to smooth things up later, perhaps next week. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Mon, 10 Jul 2006 23:55:24 +0000
parents 3dbcbc5e57e1
children a71678d2da16
comparison
equal deleted inserted replaced
13942:b14fdab68eac 13943:25be562aaca8
67 } 67 }
68 68
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 GntWidget *widget = GNT_WIDGET(instance);
72 GntButton *button = GNT_BUTTON(instance); 73 GntButton *button = GNT_BUTTON(instance);
73 button->priv = g_new0(GntButtonPriv, 1); 74 button->priv = g_new0(GntButtonPriv, 1);
74 75
75 GNT_WIDGET_SET_FLAGS(GNT_WIDGET(button), GNT_WIDGET_GROW_X); /* Can be resized sideways */ 76 GNT_WIDGET_SET_FLAGS(widget, GNT_WIDGET_GROW_X);
77
78 widget->priv.minw = 4;
79 widget->priv.minh = 3;
76 DEBUG; 80 DEBUG;
77 } 81 }
78 82
79 /****************************************************************************** 83 /******************************************************************************
80 * GntButton API 84 * GntButton API