From 170f0bed00aa67a4f2c6d2a17979e8f87704159e Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Sat, 12 Jun 2010 23:49:55 +0200 Subject: [PATCH] app: use a GimpOverlayFrame for the text style editor so it gets round corners and doesn't look so old school. --- app/tools/gimptexttool-editor.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/tools/gimptexttool-editor.c b/app/tools/gimptexttool-editor.c index 950b73a680..8d7aa559db 100644 --- a/app/tools/gimptexttool-editor.c +++ b/app/tools/gimptexttool-editor.c @@ -38,6 +38,7 @@ #include "widgets/gimpdialogfactory.h" #include "widgets/gimpoverlaybox.h" +#include "widgets/gimpoverlayframe.h" #include "widgets/gimptextbuffer.h" #include "widgets/gimptexteditor.h" #include "widgets/gimptextproxy.h" @@ -167,9 +168,9 @@ gimp_text_tool_editor_start (GimpTextTool *text_tool) gdouble xres = 1.0; gdouble yres = 1.0; - text_tool->style_overlay = gtk_frame_new (NULL); - gtk_frame_set_shadow_type (GTK_FRAME (text_tool->style_overlay), - GTK_SHADOW_OUT); + text_tool->style_overlay = gimp_overlay_frame_new (); + gtk_container_set_border_width (GTK_CONTAINER (text_tool->style_overlay), + 4); gimp_display_shell_add_overlay (shell, text_tool->style_overlay, 0, 0,