aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--widgets/misc/gal-combo-box.c2
-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
4 files changed, 5 insertions, 5 deletions
diff --git a/widgets/misc/gal-combo-box.c b/widgets/misc/gal-combo-box.c
index 5f407eba9b..ad941a7133 100644
--- a/widgets/misc/gal-combo-box.c
+++ b/widgets/misc/gal-combo-box.c
@@ -403,7 +403,7 @@ gal_combo_box_init (GalComboBox *combo_box)
gtk_button_set_relief (GTK_BUTTON (combo_box->priv->arrow_button), GTK_RELIEF_NONE);
GTK_WIDGET_UNSET_FLAGS (combo_box->priv->arrow_button, GTK_CAN_FOCUS);
- arrow = gtk_arrow_new (GTK_ARROW_DOWN, GTK_SHADOW_IN);
+ arrow = gtk_arrow_new (GTK_ARROW_DOWN, GTK_SHADOW_NONE);
gtk_container_add (GTK_CONTAINER (combo_box->priv->arrow_button), arrow);
gtk_box_pack_end (GTK_BOX (combo_box), combo_box->priv->arrow_button, FALSE, FALSE, 0);
g_signal_connect (combo_box->priv->arrow_button, "toggled",
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,