aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
authorRodney Dawes <dobey@ximian.com>2004-02-13 01:02:31 +0800
committerRodney Dawes <dobey@src.gnome.org>2004-02-13 01:02:31 +0800
commit2f3129618433b5913618a7dea3dcb93e7de1337c (patch)
treecced349b4337330d79d54fa204b2012b4c431a1e /widgets/table
parent678779afb87dad7986eb6fd2130ec1a316ee4201 (diff)
downloadgsoc2013-evolution-2f3129618433b5913618a7dea3dcb93e7de1337c.tar
gsoc2013-evolution-2f3129618433b5913618a7dea3dcb93e7de1337c.tar.gz
gsoc2013-evolution-2f3129618433b5913618a7dea3dcb93e7de1337c.tar.bz2
gsoc2013-evolution-2f3129618433b5913618a7dea3dcb93e7de1337c.tar.lz
gsoc2013-evolution-2f3129618433b5913618a7dea3dcb93e7de1337c.tar.xz
gsoc2013-evolution-2f3129618433b5913618a7dea3dcb93e7de1337c.tar.zst
gsoc2013-evolution-2f3129618433b5913618a7dea3dcb93e7de1337c.zip
Change the shadow type for the arrows here, so that themes that do handle
2004-02-12 Rodney Dawes <dobey@ximian.com> * gal/widgets/gal-combo-box.c (gal_combo_box_init): Change the shadow type for the arrows here, so that themes that do handle the use of shadow types with arrows, draw things correctly, instead of following what the old default gtk+ did in 1.x 2004-02-12 Rodney Dawes <dobey@ximian.com> * e-cell-popup.c (ecp_draw): * e-cell-spin-button.c (ecsb_draw): * e-table-header-utils.c (e_table_header_draw_button): Change the shadow type for the arrows here, so that themes that do handle the use of shadow types with arrows, draw things correctly, instead of following what the old default gtk+ did in 1.x 2004-02-12 Rodney Dawes <dobey@ximian.com> * e-vscrolled-bar.c (e_vscrolled_bar_init): Change the shadow type for the arrows here, so that themes that do handle the use of shadow types with arrows, draw things correctly, instead of following what the old default gtk+ did in 1.x svn path=/trunk/; revision=24720
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/e-cell-popup.c2
-rw-r--r--widgets/table/e-cell-spin-button.c4
-rw-r--r--widgets/table/e-table-header-utils.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/widgets/table/e-cell-popup.c b/widgets/table/e-cell-popup.c
index 010f4263a7..eeeabc7995 100644
--- a/widgets/table/e-cell-popup.c
+++ b/widgets/table/e-cell-popup.c
@@ -302,7 +302,7 @@ ecp_draw (ECellView *ecv, GdkDrawable *drawable,
&rect, canvas, "ecellpopup",
rect.x, rect.y, rect.width, rect.height);
gtk_paint_arrow (canvas->style, drawable,
- GTK_STATE_NORMAL, shadow,
+ GTK_STATE_NORMAL, GTK_SHADOW_NONE,
&rect, canvas, NULL,
GTK_ARROW_DOWN, TRUE,
rect.x + E_CELL_POPUP_ARROW_XPAD,
diff --git a/widgets/table/e-cell-spin-button.c b/widgets/table/e-cell-spin-button.c
index 9a0a9ce331..b2af02c44d 100644
--- a/widgets/table/e-cell-spin-button.c
+++ b/widgets/table/e-cell-spin-button.c
@@ -288,7 +288,7 @@ ecsb_draw (ECellView *ecv,
rect.x, rect.y, rect.width, rect.height);
gtk_paint_arrow (canvas->style, drawable,
- GTK_STATE_NORMAL, shadow,
+ GTK_STATE_NORMAL, GTK_SHADOW_NONE,
&rect, canvas, NULL,
GTK_ARROW_DOWN, TRUE,
rect.x,
@@ -311,7 +311,7 @@ ecsb_draw (ECellView *ecv,
rect.x, rect.y, rect.width, rect.height);
gtk_paint_arrow (canvas->style, drawable,
- GTK_STATE_NORMAL, shadow,
+ GTK_STATE_NORMAL, GTK_SHADOW_NONE,
&rect, canvas, NULL,
GTK_ARROW_UP, TRUE,
rect.x,
diff --git a/widgets/table/e-table-header-utils.c b/widgets/table/e-table-header-utils.c
index b9a0b9b8e5..57a850f91d 100644
--- a/widgets/table/e-table-header-utils.c
+++ b/widgets/table/e-table-header-utils.c
@@ -400,7 +400,7 @@ e_table_header_draw_button (GdkDrawable *drawable, ETableCol *ecol,
arrow_height = MIN (MIN_ARROW_SIZE, inner_height);
gtk_paint_arrow (style, drawable, state,
- GTK_SHADOW_IN, NULL, widget, "header",
+ GTK_SHADOW_NONE, NULL, widget, "header",
(arrow == E_TABLE_COL_ARROW_UP) ? GTK_ARROW_UP : GTK_ARROW_DOWN,
TRUE,
inner_x + inner_width - arrow_width,