added checks to recreate the active tool if need be.

Wed Mar 11 18:03:38 CST 1998 Larry Ewing  <lewing@gimp.org>

	* app/disp_callbacks.c: added checks to recreate the active tool
	if need be.
This commit is contained in:
CST 1998 Larry Ewing 1998-03-12 00:09:22 +00:00 committed by Larry Ewing
parent ff31d1abc1
commit f37f8167f2
4 changed files with 23 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Wed Mar 11 18:03:38 CST 1998 Larry Ewing <lewing@gimp.org>
* app/disp_callbacks.c: added checks to recreate the active tool
if need be.
Wed Mar 11 02:49:14 PST 1998 Manish Singh <yosh@gimp.org>
* app/fileops.c: no need to hide the help button for fileops,

View File

@ -340,6 +340,9 @@ gdisplay_hruler_button_press (GtkWidget *widget,
{
GDisplay *gdisp;
if (!active_tool)
active_tool_control (RECREATE, gdisp);
if (event->button == 1)
{
gdisp = data;
@ -358,6 +361,9 @@ gdisplay_vruler_button_press (GtkWidget *widget,
{
GDisplay *gdisp;
if (!active_tool)
active_tool_control (RECREATE, gdisp);
if (event->button == 1)
{
gdisp = data;

View File

@ -340,6 +340,9 @@ gdisplay_hruler_button_press (GtkWidget *widget,
{
GDisplay *gdisp;
if (!active_tool)
active_tool_control (RECREATE, gdisp);
if (event->button == 1)
{
gdisp = data;
@ -358,6 +361,9 @@ gdisplay_vruler_button_press (GtkWidget *widget,
{
GDisplay *gdisp;
if (!active_tool)
active_tool_control (RECREATE, gdisp);
if (event->button == 1)
{
gdisp = data;

View File

@ -340,6 +340,9 @@ gdisplay_hruler_button_press (GtkWidget *widget,
{
GDisplay *gdisp;
if (!active_tool)
active_tool_control (RECREATE, gdisp);
if (event->button == 1)
{
gdisp = data;
@ -358,6 +361,9 @@ gdisplay_vruler_button_press (GtkWidget *widget,
{
GDisplay *gdisp;
if (!active_tool)
active_tool_control (RECREATE, gdisp);
if (event->button == 1)
{
gdisp = data;