diff options
author | Rodney Dawes <dobey@ximian.com> | 2004-02-27 06:20:15 +0800 |
---|---|---|
committer | Rodney Dawes <dobey@src.gnome.org> | 2004-02-27 06:20:15 +0800 |
commit | 88040b5329b2707a8e1aaf29b9727b77687d2a78 (patch) | |
tree | dae52e4aacf9caffecf5b29a48a126aec96e227e | |
parent | f3e42519bb7b9aace13ac10a2f592cc330c1033a (diff) | |
download | gsoc2013-evolution-88040b5329b2707a8e1aaf29b9727b77687d2a78.tar gsoc2013-evolution-88040b5329b2707a8e1aaf29b9727b77687d2a78.tar.gz gsoc2013-evolution-88040b5329b2707a8e1aaf29b9727b77687d2a78.tar.bz2 gsoc2013-evolution-88040b5329b2707a8e1aaf29b9727b77687d2a78.tar.lz gsoc2013-evolution-88040b5329b2707a8e1aaf29b9727b77687d2a78.tar.xz gsoc2013-evolution-88040b5329b2707a8e1aaf29b9727b77687d2a78.tar.zst gsoc2013-evolution-88040b5329b2707a8e1aaf29b9727b77687d2a78.zip |
Create the arrows in these widgets as GTK_SHADOW_NONE, since the default
2004-02-26 Rodney Dawes <dobey@ximian.com>
* 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
-rw-r--r-- | widgets/misc/ChangeLog | 10 | ||||
-rw-r--r-- | widgets/misc/e-cell-renderer-combo.c | 2 | ||||
-rw-r--r-- | widgets/misc/e-dateedit.c | 2 | ||||
-rw-r--r-- | 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 <dobey@ximian.com> + + * 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 <bill.zhu@sun.com> * 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); |