[gimp/mypaint-brush: 5/5] app: let gimppaintoptions-gui.c know about the MyPaint brush tool
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/mypaint-brush: 5/5] app: let gimppaintoptions-gui.c know about the MyPaint brush tool
- Date: Tue, 29 Apr 2014 23:56:01 +0000 (UTC)
commit 116d81c4c1b5b2dae7d239c7d367e08af694753f
Author: Michael Natterer <mitch gimp org>
Date: Wed Apr 16 01:13:27 2014 +0200
app: let gimppaintoptions-gui.c know about the MyPaint brush tool
and disable stuff accordingly.
app/tools/gimppaintoptions-gui.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/app/tools/gimppaintoptions-gui.c b/app/tools/gimppaintoptions-gui.c
index 3c04763..6b87cf7 100644
--- a/app/tools/gimppaintoptions-gui.c
+++ b/app/tools/gimppaintoptions-gui.c
@@ -41,6 +41,7 @@
#include "gimperasertool.h"
#include "gimphealtool.h"
#include "gimpinktool.h"
+#include "gimpmybrushtool.h"
#include "gimppaintoptions-gui.h"
#include "gimppenciltool.h"
#include "gimpperspectiveclonetool.h"
@@ -91,6 +92,7 @@ gimp_paint_options_gui (GimpToolOptions *tool_options)
tool_type == GIMP_TYPE_CONVOLVE_TOOL ||
tool_type == GIMP_TYPE_DODGE_BURN_TOOL ||
tool_type == GIMP_TYPE_HEAL_TOOL ||
+ tool_type == GIMP_TYPE_MYBRUSH_TOOL ||
tool_type == GIMP_TYPE_SMUDGE_TOOL)
{
gtk_widget_set_sensitive (menu, FALSE);
@@ -105,7 +107,8 @@ gimp_paint_options_gui (GimpToolOptions *tool_options)
gtk_widget_show (scale);
/* temp debug foo */
- if (g_type_is_a (tool_type, GIMP_TYPE_PAINT_TOOL))
+ if (g_type_is_a (tool_type, GIMP_TYPE_PAINT_TOOL) &&
+ tool_type != GIMP_TYPE_MYBRUSH_TOOL)
{
GtkWidget *button;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]