Commit 74345379 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

no antialiasing for the foreground selection tool (yet).

2005-07-29  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpselectionoptions.c (gimp_selection_options_gui): no
	antialiasing for the foreground selection tool (yet).
parent a5abd453
2005-07-29 Sven Neumann <sven@gimp.org>
* app/tools/gimpselectionoptions.c (gimp_selection_options_gui): no
antialiasing for the foreground selection tool (yet).
2005-07-29 Sven Neumann <sven@gimp.org> 2005-07-29 Sven Neumann <sven@gimp.org>
* app/core/gimpscanconvert.[ch]: added * app/core/gimpscanconvert.[ch]: added
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#include "tools-types.h" #include "tools-types.h"
#include "core/gimp.h"
#include "core/gimpchannel.h" #include "core/gimpchannel.h"
#include "core/gimpchannel-select.h" #include "core/gimpchannel-select.h"
#include "core/gimpdrawable-foreground-extract.h" #include "core/gimpdrawable-foreground-extract.h"
......
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
#include "gimpbycolorselecttool.h" #include "gimpbycolorselecttool.h"
#include "gimpellipseselecttool.h" #include "gimpellipseselecttool.h"
#include "gimpforegroundselecttool.h"
#include "gimpnewrectselecttool.h" #include "gimpnewrectselecttool.h"
#include "gimpfuzzyselecttool.h" #include "gimpfuzzyselecttool.h"
#include "gimpiscissorstool.h" #include "gimpiscissorstool.h"
...@@ -377,11 +378,9 @@ gimp_selection_options_gui (GimpToolOptions *tool_options) ...@@ -377,11 +378,9 @@ gimp_selection_options_gui (GimpToolOptions *tool_options)
{ {
GObject *config = G_OBJECT (tool_options); GObject *config = G_OBJECT (tool_options);
GimpSelectionOptions *options = GIMP_SELECTION_OPTIONS (tool_options); GimpSelectionOptions *options = GIMP_SELECTION_OPTIONS (tool_options);
GtkWidget *vbox; GtkWidget *vbox = gimp_tool_options_gui (tool_options);
GtkWidget *button; GtkWidget *button;
vbox = gimp_tool_options_gui (tool_options);
/* the selection operation radio buttons */ /* the selection operation radio buttons */
{ {
GtkWidget *hbox; GtkWidget *hbox;
...@@ -433,14 +432,17 @@ gimp_selection_options_gui (GimpToolOptions *tool_options) ...@@ -433,14 +432,17 @@ gimp_selection_options_gui (GimpToolOptions *tool_options)
} }
/* the antialias toggle button */ /* the antialias toggle button */
button = gimp_prop_check_button_new (config, "antialias", if (! tool_options->tool_info->tool_type == GIMP_TYPE_FOREGROUND_SELECT_TOOL)
_("Antialiasing")); {
gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0); button = gimp_prop_check_button_new (config, "antialias",
gtk_widget_show (button); _("Antialiasing"));
gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
if (tool_options->tool_info->tool_type == GIMP_TYPE_RECT_SELECT_TOOL || gtk_widget_show (button);
tool_options->tool_info->tool_type == GIMP_TYPE_NEW_RECT_SELECT_TOOL)
gtk_widget_set_sensitive (button, FALSE); if (tool_options->tool_info->tool_type == GIMP_TYPE_RECT_SELECT_TOOL ||
tool_options->tool_info->tool_type == GIMP_TYPE_NEW_RECT_SELECT_TOOL)
gtk_widget_set_sensitive (button, FALSE);
}
/* the feather frame */ /* the feather frame */
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment