added dots to all menu entries of interactive plug-ins and did the usual

action area fixes on lots of them



--Sven
This commit is contained in:
Sven Neumann 1999-11-23 23:49:42 +00:00
parent e49920df8f
commit 4a7dc75580
4 changed files with 25 additions and 9 deletions

View File

@ -177,7 +177,7 @@ query ()
"Andy Thomas",
"Andy Thomas",
"1997",
"<Image>/Filters/Distorts/Blinds",
"<Image>/Filters/Distorts/Blinds...",
"RGB*, GRAY*",
PROC_PLUG_IN,
nargs, nreturn_vals,
@ -288,6 +288,7 @@ static gint
blinds_dialog ()
{
GtkWidget *dlg;
GtkWidget *hbbox;
GtkWidget *button;
GtkWidget *frame;
GtkWidget *xframe;
@ -334,12 +335,19 @@ blinds_dialog ()
NULL);
/* Action area */
gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (dlg)->action_area), 2);
gtk_box_set_homogeneous (GTK_BOX (GTK_DIALOG (dlg)->action_area), FALSE);
hbbox = gtk_hbutton_box_new ();
gtk_button_box_set_spacing (GTK_BUTTON_BOX (hbbox), 4);
gtk_box_pack_end (GTK_BOX (GTK_DIALOG (dlg)->action_area), hbbox, FALSE, FALSE, 0);
gtk_widget_show (hbbox);
button = gtk_button_new_with_label ("OK");
GTK_WIDGET_SET_FLAGS (button, GTK_CAN_DEFAULT);
gtk_signal_connect (GTK_OBJECT (button), "clicked",
(GtkSignalFunc) blinds_ok_callback,
dlg);
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dlg)->action_area), button, TRUE, TRUE, 0);
(GtkSignalFunc) blinds_ok_callback,
dlg);
gtk_box_pack_start (GTK_BOX (hbbox), button, FALSE, FALSE, 0);
gtk_widget_grab_default (button);
gtk_widget_show (button);
@ -348,10 +356,9 @@ blinds_dialog ()
gtk_signal_connect_object (GTK_OBJECT (button), "clicked",
(GtkSignalFunc) gtk_widget_destroy,
GTK_OBJECT (dlg));
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dlg)->action_area), button, TRUE, TRUE, 0);
gtk_box_pack_start (GTK_BOX (hbbox), button, FALSE, FALSE, 0);
gtk_widget_show (button);
/* Start building the frame for the preview area */
frame = gtk_frame_new ("preview");

View File

@ -50,7 +50,7 @@
#define PLUG_IN_NAME "plug_in_curve_bend"
#define PLUG_IN_PRINT_NAME "CurveBend"
#define PLUG_IN_VERSION "v1.01 (1999/09/13)"
#define PLUG_IN_MENU_PATH "<Image>/Filters/Distorts/CurveBend"
#define PLUG_IN_MENU_PATH "<Image>/Filters/Distorts/CurveBend..."
#define PLUG_IN_IMAGE_TYPES "RGB*, GRAY*"
#define PLUG_IN_AUTHOR "Wolfgang Hofer (hof@hotbot.com)"
#define PLUG_IN_COPYRIGHT "Wolfgang Hofer"

View File

@ -75,7 +75,7 @@ query ()
"Andrew Kieschnick",
"Andrew Kieschnick",
"1997",
"<Image>/Filters/Enhance/Deinterlace",
"<Image>/Filters/Enhance/Deinterlace...",
"RGB*, GRAY*",
PROC_PLUG_IN,
nargs, nreturn_vals,

View File

@ -43,6 +43,14 @@
* Revision History:
*
* $Log$
* Revision 1.18 1999/11/23 23:49:42 neo
* added dots to all menu entries of interactive plug-ins and did the usual
* action area fixes on lots of them
*
*
*
* --Sven
*
* Revision 1.17 1999/10/24 20:48:58 pcg
* api change #2, fix #1
*
@ -274,7 +282,8 @@ query(void)
"Michael Sweet <mike@easysw.com>",
"Copyright 1997-1998 by Michael Sweet",
PLUG_IN_VERSION,
"<Image>/Filters/Enhance/Despeckle", "RGB*, GRAY*",
"<Image>/Filters/Enhance/Despeckle...",
"RGB*, GRAY*",
PROC_PLUG_IN, nargs, nreturn_vals, args, return_vals);
}