From 4720ad36fadc7680cb62cb309627d28511555ef2 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Tue, 23 Oct 2001 06:30:54 +0000 Subject: Bumped version to 0.15.99.3 for EText's "draw_button" argument. 2001-10-23 Christopher James Lahey * configure.in: Bumped version to 0.15.99.3 for EText's "draw_button" argument. * gal/e-text/e-entry.c: Forward the "draw_button" argument to the contained EText. * gal/e-text/e-text.c, gal/e-text/e-text.h (e_text_draw): Added new "draw_button" argument. If this is turned on and the first widget that's a parent of the containing canvas with GTK_NO_WINDOW turned off above the current one is a button, EText draws a button underneath itself to match the containing button. From gal/shortcut-bar/ChangeLog: 2001-10-23 Christopher James Lahey * e-shortcut-bar.c (e_shortcut_bar_add_group): Turn on "draw_button" argument to EEntry. svn path=/trunk/; revision=13934 --- widgets/text/e-text.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'widgets/text/e-text.h') diff --git a/widgets/text/e-text.h b/widgets/text/e-text.h index 9a5b997bba..573a2d9b70 100644 --- a/widgets/text/e-text.h +++ b/widgets/text/e-text.h @@ -75,6 +75,7 @@ BEGIN_GNOME_DECLS * max_lines int RW Number of lines possible when doing line wrap. * draw_borders boolean RW Whether to draw borders. * draw_background boolean RW Whether to draw the background. + * draw_button boolean RW This makes EText handle being the child of a button properly and highlighting as it should. */ #define E_TYPE_TEXT (e_text_get_type ()) @@ -190,6 +191,7 @@ struct _EText { guint default_cursor_shown : 1; /* Is the default cursor currently shown? */ guint draw_borders : 1; /* Draw borders? */ guint draw_background : 1; /* Draw background? */ + guint draw_button : 1; /* Draw button? */ guint line_wrap : 1; /* Do line wrap */ -- cgit