PATCH: little layout patch for gcalc



Hi, this is just a little patch to make gcalc look a little more
constant... it does two things (which may or may not have been features
instead of bugs):

1) makes INV act like the rest of the buttons (previously it was larger
and resized differently.

2) makes all buttons resize both horizontally and vertically.


Hope this helps, Oliver.


generated from gnome-libs-1.0.40 ...

[opg@localhost opg]$ diff old/gnome-calculator.c new/gnome-calculator.c
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
1180,1182c1180,1182
<                                                GTK_FILL | GTK_EXPAND |
<                                                       GTK_SHRINK,
<                                                0, 2, 2);
---
>                                                GTK_FILL | GTK_EXPAND | GTK_SHRINK,
>                                                GTK_FILL | GTK_EXPAND | GTK_SHRINK,
>                                                2, 2);
1192c1192,1195
<      
gtk_table_attach_defaults(GTK_TABLE(table),gc->invert_button,0,1,1,2);
---
>       gtk_table_attach(GTK_TABLE(table),gc->invert_button,0,1,1,2,
>                        GTK_FILL | GTK_EXPAND | GTK_SHRINK,
>                        GTK_FILL | GTK_EXPAND | GTK_SHRINK,
>                        2, 2);
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]