|
|
|
@ -609,8 +609,9 @@ draw_box(GtkStyle * style,
|
|
|
|
|
gint width,
|
|
|
|
|
gint height)
|
|
|
|
|
{
|
|
|
|
|
GList *child1;
|
|
|
|
|
GList *child_list;
|
|
|
|
|
GtkWidget *child;
|
|
|
|
|
|
|
|
|
|
GtkNotebook *nb;
|
|
|
|
|
int nbpages;
|
|
|
|
|
sanitize_size(window, &width, &height);
|
|
|
|
@ -746,16 +747,16 @@ draw_box(GtkStyle * style,
|
|
|
|
|
|
|
|
|
|
if (isBaghira && GTK_IS_BOX(parent) && (g_list_length(GTK_BOX(parent)->children) == 2))
|
|
|
|
|
{
|
|
|
|
|
child1 = g_list_first((GTK_BOX(parent)->children));
|
|
|
|
|
child = ((GtkBoxChild *)child1->data)->widget;
|
|
|
|
|
child_list = g_list_first((GTK_BOX(parent)->children));
|
|
|
|
|
child = (GtkWidget *)child_list->data;
|
|
|
|
|
if (GTK_IS_ENTRY(child))
|
|
|
|
|
{
|
|
|
|
|
drawSquareButton(window,style,state_type,x,y,width,height);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
child1 = g_list_last((GTK_BOX(parent)->children));
|
|
|
|
|
child = ((GtkBoxChild *)child1->data)->widget;
|
|
|
|
|
child_list = g_list_last((GTK_BOX(parent)->children));
|
|
|
|
|
child = ((GtkBoxChild *)child_list->data)->widget;
|
|
|
|
|
if (GTK_IS_ENTRY(child))
|
|
|
|
|
{
|
|
|
|
|
drawSquareButton(window,style,state_type,x,y,width,height);
|
|
|
|
|