Bug 404157 - "Border around <select multiple> is missing since 2007-11-07" (fix treeview borders on gnome 2.20) [p=twanno@lycos.nl (Teune van Steeg) r=Ventron sr=roc a=blocking1.9+]

This commit is contained in:
reed%reedloden.com 2007-11-19 03:10:30 +00:00
Родитель 858685a372
Коммит fc7934406c
1 изменённых файлов: 6 добавлений и 3 удалений

Просмотреть файл

@ -1058,9 +1058,12 @@ moz_gtk_treeview_paint(GdkDrawable* drawable, GdkRectangle* rect,
TSOffsetStyleGCs(style, rect->x, rect->y);
gtk_paint_box(style, drawable, state_type, GTK_SHADOW_IN,
cliprect, gTreeViewWidget, "treeview", rect->x,
rect->y, rect->width, rect->height);
gtk_paint_flat_box(style, drawable, state_type, GTK_SHADOW_NONE,
cliprect, gTreeViewWidget, "treeview", rect->x + 1,
rect->y + 1, rect->width - 1, rect->height - 1);
gdk_draw_rectangle(drawable, style->dark_gc[state_type], FALSE, rect->x,
rect->y, rect->width - 1, rect->height - 1);
return MOZ_GTK_SUCCESS;
}