From 88040b5329b2707a8e1aaf29b9727b77687d2a78 Mon Sep 17 00:00:00 2001 From: Rodney Dawes Date: Thu, 26 Feb 2004 22:20:15 +0000 Subject: Create the arrows in these widgets as GTK_SHADOW_NONE, since the default 2004-02-26 Rodney Dawes * e-cell-renderer-combo.c (ecrc_get_size): * e-dateedit.c (create_children): * e-dropdown-button.c (e_dropdown_button_construct): Create the arrows in these widgets as GTK_SHADOW_NONE, since the default arrow type in GTK+ 2.x is flat triangle arrows, and shadow types are generally ignored for arrows anyway, and so we don't look ugly with themes that handle shadow types on arrows correctly svn path=/trunk/; revision=24900 --- widgets/misc/ChangeLog | 10 ++++++++++ widgets/misc/e-cell-renderer-combo.c | 2 +- widgets/misc/e-dateedit.c | 2 +- widgets/misc/e-dropdown-button.c | 2 +- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index e1a1c49a69..a50f0a13a1 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -1,3 +1,13 @@ +2004-02-26 Rodney Dawes + + * e-cell-renderer-combo.c (ecrc_get_size): + * e-dateedit.c (create_children): + * e-dropdown-button.c (e_dropdown_button_construct): Create the + arrows in these widgets as GTK_SHADOW_NONE, since the default arrow + type in GTK+ 2.x is flat triangle arrows, and shadow types are + generally ignored for arrows anyway, and so we don't look ugly with + themes that handle shadow types on arrows correctly + 2004-02-26 Bill Zhu * e-search-bar.c (setup_bonobo_menus): Before Update the bonobo ui diff --git a/widgets/misc/e-cell-renderer-combo.c b/widgets/misc/e-cell-renderer-combo.c index 8b4134fdce..8ead96c4e8 100644 --- a/widgets/misc/e-cell-renderer-combo.c +++ b/widgets/misc/e-cell-renderer-combo.c @@ -92,7 +92,7 @@ ecrc_get_size (GtkCellRenderer *cell, GtkWidget *widget, GdkRectangle *cell_area GTK_CELL_RENDERER_CLASS (parent_class)->get_size (cell, widget, cell_area, x_offset, y_offset, width, height); btn = gtk_button_new (); - gtk_container_add (GTK_CONTAINER (btn), gtk_arrow_new (GTK_ARROW_DOWN, GTK_SHADOW_OUT)); + gtk_container_add (GTK_CONTAINER (btn), gtk_arrow_new (GTK_ARROW_DOWN, GTK_SHADOW_NONE)); gtk_widget_size_request (btn, &req); *width += req.width; gtk_widget_destroy (btn); diff --git a/widgets/misc/e-dateedit.c b/widgets/misc/e-dateedit.c index 94cd4a2874..5a0091bbc8 100644 --- a/widgets/misc/e-dateedit.c +++ b/widgets/misc/e-dateedit.c @@ -339,7 +339,7 @@ create_children (EDateEdit *dedit) gtk_box_pack_start (GTK_BOX (dedit), priv->date_button, FALSE, FALSE, 0); - arrow = gtk_arrow_new (GTK_ARROW_DOWN, GTK_SHADOW_OUT); + arrow = gtk_arrow_new (GTK_ARROW_DOWN, GTK_SHADOW_NONE); gtk_container_add (GTK_CONTAINER (priv->date_button), arrow); gtk_widget_show (arrow); diff --git a/widgets/misc/e-dropdown-button.c b/widgets/misc/e-dropdown-button.c index 119aba8363..4a0327e7be 100644 --- a/widgets/misc/e-dropdown-button.c +++ b/widgets/misc/e-dropdown-button.c @@ -208,7 +208,7 @@ e_dropdown_button_construct (EDropdownButton *dropdown_button, gtk_widget_add_accelerator (GTK_WIDGET (dropdown_button), "clicked", priv->accel_group, accel_key, GDK_MOD1_MASK, 0); - arrow = gtk_arrow_new (GTK_ARROW_DOWN, GTK_SHADOW_OUT); + arrow = gtk_arrow_new (GTK_ARROW_DOWN, GTK_SHADOW_NONE); gtk_box_pack_start (GTK_BOX (hbox), arrow, FALSE, FALSE, 2); gtk_widget_show (arrow); -- cgit