[goocanvas] 2010-05-10 Damon Chaplin <damon gnome org>



commit 1ec76c2bf39df0e00bcb0a7277199c471c7129b8
Author: Damon Chaplin <damon gnome org>
Date:   Mon May 10 10:31:36 2010 +0100

    2010-05-10  Damon Chaplin  <damon gnome org>
    
            * src/goocanvastext.c: improve docs for "width" and "height" properties.
            #595164.

 ChangeLog           |    5 +++++
 src/goocanvastext.c |    4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 8623f21..168b0ee 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2010-05-10  Damon Chaplin  <damon gnome org>
 
+	* src/goocanvastext.c: improve docs for "width" and "height" properties.
+	#595164.
+
+2010-05-10  Damon Chaplin  <damon gnome org>
+
 	* src/goocanvaspolyline.c: don't use the reconfigure_arrows flag
 	any more - always reconfigure the arrows during an update. This
 	avoids a bug where the line width changes but the arrows don't get
diff --git a/src/goocanvastext.c b/src/goocanvastext.c
index 5b100ae..10508fe 100644
--- a/src/goocanvastext.c
+++ b/src/goocanvastext.c
@@ -139,7 +139,7 @@ goo_canvas_text_install_common_properties (GObjectClass *gobject_class)
   g_object_class_install_property (gobject_class, PROP_WIDTH,
 				   g_param_spec_double ("width",
 							_("Width"),
-							_("The width to use to layout the text"),
+							_("The width to use to layout the text, or -1 to let the text use as much horizontal space as needed"),
 							-G_MAXDOUBLE,
 							G_MAXDOUBLE, -1.0,
 							G_PARAM_READWRITE));
@@ -147,7 +147,7 @@ goo_canvas_text_install_common_properties (GObjectClass *gobject_class)
   g_object_class_install_property (gobject_class, PROP_HEIGHT,
 				   g_param_spec_double ("height",
 							_("Height"),
-							_("The height to use to layout the text, or -1 to use the natural height"),
+							_("The height to use to layout the text, or -1 to let the text use as much vertical space as needed"),
 							-G_MAXDOUBLE,
 							G_MAXDOUBLE, -1.0,
 							G_PARAM_READWRITE));



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]