gimp r25945 - in trunk: . app/tools
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r25945 - in trunk: . app/tools
- Date: Fri, 13 Jun 2008 13:44:00 +0000 (UTC)
Author: neo
Date: Fri Jun 13 13:44:00 2008
New Revision: 25945
URL: http://svn.gnome.org/viewvc/gimp?rev=25945&view=rev
Log:
2008-06-13 Sven Neumann <sven gimp org>
* app/tools/gimptextoptions.c (gimp_text_options_class_init):
we need to define the 'highlight' property here as well.
Modified:
trunk/ChangeLog
trunk/app/tools/gimptextoptions.c
Modified: trunk/app/tools/gimptextoptions.c
==============================================================================
--- trunk/app/tools/gimptextoptions.c (original)
+++ trunk/app/tools/gimptextoptions.c Fri Jun 13 13:44:00 2008
@@ -91,7 +91,8 @@
GimpContext *context);
-G_DEFINE_TYPE_WITH_CODE (GimpTextOptions, gimp_text_options, GIMP_TYPE_TOOL_OPTIONS,
+G_DEFINE_TYPE_WITH_CODE (GimpTextOptions, gimp_text_options,
+ GIMP_TYPE_TOOL_OPTIONS,
G_IMPLEMENT_INTERFACE (GIMP_TYPE_RECTANGLE_OPTIONS,
NULL))
@@ -104,6 +105,15 @@
object_class->set_property = gimp_text_options_set_property;
object_class->get_property = gimp_text_options_get_property;
+ /* The 'highlight' property is defined here because we want different
+ * default values for the Crop, Text and the Rectangle Select tools.
+ */
+ GIMP_CONFIG_INSTALL_PROP_BOOLEAN (object_class,
+ GIMP_RECTANGLE_OPTIONS_PROP_HIGHLIGHT,
+ "highlight", NULL,
+ FALSE,
+ GIMP_PARAM_STATIC_STRINGS);
+
GIMP_CONFIG_INSTALL_PROP_UNIT (object_class, PROP_UNIT,
"font-size-unit", NULL,
TRUE, FALSE, GIMP_UNIT_PIXEL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]