changed it back, things work now
* app/interface.c: changed it back, things work now * plug-ins/gfli/gfli.c: fixed gccism * plug-ins/MapObject/mapobject_main.c: update display when we're done (from seth) -Yosh
This commit is contained in:
@ -1,3 +1,12 @@
|
|||||||
|
Sat Jun 6 14:22:19 PDT 1998 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* app/interface.c: changed it back, things work now
|
||||||
|
|
||||||
|
* plug-ins/gfli/gfli.c: fixed gccism
|
||||||
|
|
||||||
|
* plug-ins/MapObject/mapobject_main.c: update display when
|
||||||
|
we're done (from seth)
|
||||||
|
|
||||||
Sat Jun 6 04:00:04 PDT 1998 Manish Singh <yosh@gimp.org>
|
Sat Jun 6 04:00:04 PDT 1998 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* app/interface.c: changed GDK_IMAGE_NORMAL to GDK_IMAGE_SHARED
|
* app/interface.c: changed GDK_IMAGE_NORMAL to GDK_IMAGE_SHARED
|
||||||
|
@ -446,7 +446,7 @@ create_pixmap (GdkWindow *parent, GdkBitmap **mask,
|
|||||||
|
|
||||||
visual = gdk_window_get_visual (parent);
|
visual = gdk_window_get_visual (parent);
|
||||||
cmap = gdk_window_get_colormap (parent);
|
cmap = gdk_window_get_colormap (parent);
|
||||||
image = gdk_image_new (GDK_IMAGE_SHARED, visual, width, height);
|
image = gdk_image_new (GDK_IMAGE_NORMAL, visual, width, height);
|
||||||
pixmap = gdk_pixmap_new (parent, width, height, -1);
|
pixmap = gdk_pixmap_new (parent, width, height, -1);
|
||||||
gc = NULL;
|
gc = NULL;
|
||||||
|
|
||||||
|
@ -446,7 +446,7 @@ create_pixmap (GdkWindow *parent, GdkBitmap **mask,
|
|||||||
|
|
||||||
visual = gdk_window_get_visual (parent);
|
visual = gdk_window_get_visual (parent);
|
||||||
cmap = gdk_window_get_colormap (parent);
|
cmap = gdk_window_get_colormap (parent);
|
||||||
image = gdk_image_new (GDK_IMAGE_SHARED, visual, width, height);
|
image = gdk_image_new (GDK_IMAGE_NORMAL, visual, width, height);
|
||||||
pixmap = gdk_pixmap_new (parent, width, height, -1);
|
pixmap = gdk_pixmap_new (parent, width, height, -1);
|
||||||
gc = NULL;
|
gc = NULL;
|
||||||
|
|
||||||
|
@ -446,7 +446,7 @@ create_pixmap (GdkWindow *parent, GdkBitmap **mask,
|
|||||||
|
|
||||||
visual = gdk_window_get_visual (parent);
|
visual = gdk_window_get_visual (parent);
|
||||||
cmap = gdk_window_get_colormap (parent);
|
cmap = gdk_window_get_colormap (parent);
|
||||||
image = gdk_image_new (GDK_IMAGE_SHARED, visual, width, height);
|
image = gdk_image_new (GDK_IMAGE_NORMAL, visual, width, height);
|
||||||
pixmap = gdk_pixmap_new (parent, width, height, -1);
|
pixmap = gdk_pixmap_new (parent, width, height, -1);
|
||||||
gc = NULL;
|
gc = NULL;
|
||||||
|
|
||||||
|
@ -234,8 +234,13 @@ static void run(gchar *name,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (run_mode != RUN_NONINTERACTIVE)
|
||||||
|
gimp_displays_flush();
|
||||||
|
|
||||||
|
|
||||||
values[0].data.d_status = status;
|
values[0].data.d_status = status;
|
||||||
gimp_drawable_detach(drawable);
|
gimp_drawable_detach(drawable);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
GPlugInInfo PLUG_IN_INFO =
|
GPlugInInfo PLUG_IN_INFO =
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* ScreenShot plug-in v0.8
|
* ScreenShot plug-in v0.9
|
||||||
* Sven Neumann, neumanns@uni-duesseldorf.de
|
* Sven Neumann, neumanns@uni-duesseldorf.de
|
||||||
* 1998/06/04
|
* 1998/06/06
|
||||||
*
|
*
|
||||||
* Any suggestions, bug-reports or patches are very welcome.
|
* Any suggestions, bug-reports or patches are very welcome.
|
||||||
*
|
*
|
||||||
@ -39,6 +39,7 @@
|
|||||||
* (98/04/18) v0.6 cosmetic change to the dialog
|
* (98/04/18) v0.6 cosmetic change to the dialog
|
||||||
* (98/05/28) v0.7 use g_message for error output
|
* (98/05/28) v0.7 use g_message for error output
|
||||||
* (98/06/04) v0.8 added delay-time for root window shot
|
* (98/06/04) v0.8 added delay-time for root window shot
|
||||||
|
* (98/06/06) v0.9 fixed a stupid bug in the dialog
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@ -51,7 +52,7 @@
|
|||||||
/* Defines */
|
/* Defines */
|
||||||
#define PLUG_IN_NAME "extension_screenshot"
|
#define PLUG_IN_NAME "extension_screenshot"
|
||||||
#define PLUG_IN_PRINT_NAME "Screen Shot"
|
#define PLUG_IN_PRINT_NAME "Screen Shot"
|
||||||
#define PLUG_IN_VERSION "v0.8 (98/06/04)"
|
#define PLUG_IN_VERSION "v0.9 (98/06/06)"
|
||||||
#define PLUG_IN_MENU_PATH "<Toolbox>/Xtns/Screen Shot"
|
#define PLUG_IN_MENU_PATH "<Toolbox>/Xtns/Screen Shot"
|
||||||
#define PLUG_IN_AUTHOR "Sven Neumann (neumanns@uni-duesseldorf.de)"
|
#define PLUG_IN_AUTHOR "Sven Neumann (neumanns@uni-duesseldorf.de)"
|
||||||
#define PLUG_IN_COPYRIGHT "Sven Neumann"
|
#define PLUG_IN_COPYRIGHT "Sven Neumann"
|
||||||
@ -524,7 +525,7 @@ shoot_toggle_update (GtkWidget *widget,
|
|||||||
gtk_widget_set_sensitive (shootint.decor_button, *toggle_val);
|
gtk_widget_set_sensitive (shootint.decor_button, *toggle_val);
|
||||||
gtk_widget_set_sensitive (shootint.delay_box, !*toggle_val);
|
gtk_widget_set_sensitive (shootint.delay_box, !*toggle_val);
|
||||||
}
|
}
|
||||||
else
|
if (widget == shootint.root_button)
|
||||||
{
|
{
|
||||||
gtk_widget_set_sensitive (shootint.decor_button, !*toggle_val);
|
gtk_widget_set_sensitive (shootint.decor_button, !*toggle_val);
|
||||||
gtk_widget_set_sensitive (shootint.delay_box, *toggle_val);
|
gtk_widget_set_sensitive (shootint.delay_box, *toggle_val);
|
||||||
|
@ -81,10 +81,7 @@ GParamDef save_args[] = {
|
|||||||
{ PARAM_STRING, "filename", "The name of the file to save" },
|
{ PARAM_STRING, "filename", "The name of the file to save" },
|
||||||
{ PARAM_STRING, "raw_filename", "The name entered" },
|
{ PARAM_STRING, "raw_filename", "The name entered" },
|
||||||
};
|
};
|
||||||
GParamDef save_return_vals[] = {
|
|
||||||
};
|
|
||||||
gint nsave_args = sizeof (save_args) / sizeof (save_args[0]);
|
gint nsave_args = sizeof (save_args) / sizeof (save_args[0]);
|
||||||
gint nsave_return_vals = sizeof (save_return_vals) / sizeof (save_return_vals[0]);
|
|
||||||
|
|
||||||
MAIN ()
|
MAIN ()
|
||||||
|
|
||||||
@ -114,8 +111,8 @@ static void query ()
|
|||||||
"<Save>/FLI",
|
"<Save>/FLI",
|
||||||
"INDEXED,GRAY",
|
"INDEXED,GRAY",
|
||||||
PROC_PLUG_IN,
|
PROC_PLUG_IN,
|
||||||
nsave_args, nsave_return_vals,
|
nsave_args, 0,
|
||||||
save_args, save_return_vals);
|
save_args, NULL);
|
||||||
gimp_register_save_handler ("file_fli_save", "fli", "");
|
gimp_register_save_handler ("file_fli_save", "fli", "");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* ScreenShot plug-in v0.8
|
* ScreenShot plug-in v0.9
|
||||||
* Sven Neumann, neumanns@uni-duesseldorf.de
|
* Sven Neumann, neumanns@uni-duesseldorf.de
|
||||||
* 1998/06/04
|
* 1998/06/06
|
||||||
*
|
*
|
||||||
* Any suggestions, bug-reports or patches are very welcome.
|
* Any suggestions, bug-reports or patches are very welcome.
|
||||||
*
|
*
|
||||||
@ -39,6 +39,7 @@
|
|||||||
* (98/04/18) v0.6 cosmetic change to the dialog
|
* (98/04/18) v0.6 cosmetic change to the dialog
|
||||||
* (98/05/28) v0.7 use g_message for error output
|
* (98/05/28) v0.7 use g_message for error output
|
||||||
* (98/06/04) v0.8 added delay-time for root window shot
|
* (98/06/04) v0.8 added delay-time for root window shot
|
||||||
|
* (98/06/06) v0.9 fixed a stupid bug in the dialog
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@ -51,7 +52,7 @@
|
|||||||
/* Defines */
|
/* Defines */
|
||||||
#define PLUG_IN_NAME "extension_screenshot"
|
#define PLUG_IN_NAME "extension_screenshot"
|
||||||
#define PLUG_IN_PRINT_NAME "Screen Shot"
|
#define PLUG_IN_PRINT_NAME "Screen Shot"
|
||||||
#define PLUG_IN_VERSION "v0.8 (98/06/04)"
|
#define PLUG_IN_VERSION "v0.9 (98/06/06)"
|
||||||
#define PLUG_IN_MENU_PATH "<Toolbox>/Xtns/Screen Shot"
|
#define PLUG_IN_MENU_PATH "<Toolbox>/Xtns/Screen Shot"
|
||||||
#define PLUG_IN_AUTHOR "Sven Neumann (neumanns@uni-duesseldorf.de)"
|
#define PLUG_IN_AUTHOR "Sven Neumann (neumanns@uni-duesseldorf.de)"
|
||||||
#define PLUG_IN_COPYRIGHT "Sven Neumann"
|
#define PLUG_IN_COPYRIGHT "Sven Neumann"
|
||||||
@ -524,7 +525,7 @@ shoot_toggle_update (GtkWidget *widget,
|
|||||||
gtk_widget_set_sensitive (shootint.decor_button, *toggle_val);
|
gtk_widget_set_sensitive (shootint.decor_button, *toggle_val);
|
||||||
gtk_widget_set_sensitive (shootint.delay_box, !*toggle_val);
|
gtk_widget_set_sensitive (shootint.delay_box, !*toggle_val);
|
||||||
}
|
}
|
||||||
else
|
if (widget == shootint.root_button)
|
||||||
{
|
{
|
||||||
gtk_widget_set_sensitive (shootint.decor_button, !*toggle_val);
|
gtk_widget_set_sensitive (shootint.decor_button, !*toggle_val);
|
||||||
gtk_widget_set_sensitive (shootint.delay_box, *toggle_val);
|
gtk_widget_set_sensitive (shootint.delay_box, *toggle_val);
|
||||||
|
Reference in New Issue
Block a user