app/widgets/Makefile.am app/widgets/widgets-types.h new dialog widget
2002-08-30 Michael Natterer <mitch@gimp.org> * app/widgets/Makefile.am * app/widgets/widgets-types.h * app/widgets/gimpviewabledialog.[ch]: new dialog widget featuring a title bar containing a stock icon, a description, the viewable's name and a preview. Will be used for all viewable related dialogs and serves as a common place to control their look & feel. * app/tools/gimpimagemaptool.[ch]: removed the code which did almost the same and use GimpViewableDialog. * app/gui/info-dialog.[ch]: extended the API so it has enough information to create a GimpViewableDialog. * app/gui/channels-commands.c * app/gui/convert-dialog.c * app/gui/gradient-editor-commands.c * app/gui/image-commands.c * app/gui/info-window.c * app/gui/layers-commands.c * app/gui/offset-dialog.c * app/gui/qmask-commands.c * app/gui/resize-dialog.c * app/gui/vectors-commands.c * app/tools/gimpcolorpickertool.c * app/tools/gimpcroptool.c * app/tools/gimphistogramtool.c * app/tools/gimpmeasuretool.c * app/tools/gimpperspectivetool.c * app/tools/gimprotatetool.c * app/tools/gimpscaletool.c * app/tools/gimpsheartool.c: use GimpViewableDialogs * themes/Default/gtkrc: apply the dialog style to "*Gimp*Dialog*", not only "*GimpDialog*" so it covers GimpViewableDialog.
This commit is contained in:

committed by
Michael Natterer

parent
77934d6804
commit
cc3bdec2c9
@ -535,7 +535,6 @@ gradient_editor_replicate_cmd_callback (GtkWidget *widget,
|
||||
if (! editor)
|
||||
return;
|
||||
|
||||
/* Create dialog window */
|
||||
dialog =
|
||||
gimp_dialog_new ((editor->control_sel_l == editor->control_sel_r) ?
|
||||
_("Replicate segment") :
|
||||
@ -584,7 +583,6 @@ gradient_editor_replicate_cmd_callback (GtkWidget *widget,
|
||||
G_CALLBACK (gimp_int_adjustment_update),
|
||||
&editor->replicate_times);
|
||||
|
||||
/* Show! */
|
||||
gtk_widget_show (dialog);
|
||||
gtk_widget_set_sensitive (GTK_WIDGET (editor), FALSE);
|
||||
}
|
||||
|
Reference in New Issue
Block a user