~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to app/tools/gimprectangleselectoptions.c

  • Committer: Bazaar Package Importer
  • Author(s): Pedro Fragoso
  • Date: 2008-08-22 11:50:05 UTC
  • mfrom: (0.1.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 34.
  • Revision ID: james.westby@ubuntu.com-20080822115005-yxj5svf3v9x1mkr7
Tags: upstream-2.4.7
ImportĀ upstreamĀ versionĀ 2.4.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
  object_class->set_property = gimp_rect_select_options_set_property;
69
69
  object_class->get_property = gimp_rect_select_options_get_property;
70
70
 
 
71
  /* The 'highlight' property is defined here because we want different
 
72
   * default values for the Crop and the Rectangle Select tools.
 
73
   */
 
74
  GIMP_CONFIG_INSTALL_PROP_BOOLEAN (object_class,
 
75
                                    GIMP_RECTANGLE_OPTIONS_PROP_HIGHLIGHT,
 
76
                                    "highlight", NULL,
 
77
                                    FALSE,
 
78
                                    GIMP_PARAM_STATIC_STRINGS);
 
79
 
71
80
  GIMP_CONFIG_INSTALL_PROP_BOOLEAN (object_class, PROP_ROUND_CORNERS,
72
81
                                    "round-corners", NULL,
73
82
                                    FALSE,
175
184
    vbox_rectangle = gimp_rectangle_options_gui (tool_options);
176
185
    gtk_box_pack_start (GTK_BOX (vbox), vbox_rectangle, FALSE, FALSE, 0);
177
186
    gtk_widget_show (vbox_rectangle);
178
 
 
179
 
    g_object_set (GIMP_RECTANGLE_OPTIONS (tool_options),
180
 
                  "highlight", FALSE,
181
 
                  NULL);
182
187
  }
183
188
 
184
189
  return vbox;