Commit 7d065360 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

configure.in added new directory app/dialogs and link libappdialogs.c into

2004-09-13  Michael Natterer  <mitch@gimp.org>

	* configure.in
	* app/Makefile.am: added new directory app/dialogs and link
	libappdialogs.c into the gimp binary.

	* app/gui/Makefile.am
	* app/gui/gui-types.h
	* app/gui/gui-vtable.c
	* app/gui/gui.c

	* app/gui/about-dialog.[ch]
	* app/gui/authors.h
	* app/gui/color-notebook.[ch]
	* app/gui/convert-dialog.[ch]
	* app/gui/dialogs-constructors.[ch]
	* app/gui/dialogs.[ch]
	* app/gui/file-dialog-utils.[ch]
	* app/gui/file-new-dialog.[ch]
	* app/gui/file-open-dialog.[ch]
	* app/gui/file-open-location-dialog.[ch]
	* app/gui/file-save-dialog.[ch]
	* app/gui/grid-dialog.[ch]
	* app/gui/info-dialog.[ch]
	* app/gui/info-window.[ch]
	* app/gui/module-browser.[ch]
	* app/gui/offset-dialog.[ch]
	* app/gui/palette-import-dialog.[ch]
	* app/gui/preferences-dialog.[ch]
	* app/gui/quit-dialog.[ch]
	* app/gui/resize-dialog.[ch]
	* app/gui/resolution-calibrate-dialog.[ch]
	* app/gui/stroke-dialog.[ch]
	* app/gui/tips-dialog.[ch]
	* app/gui/tips-parser.[ch]
	* app/gui/user-install-dialog.[ch]: removed these files...

	* app/dialogs/Makefile.am
	* app/dialogs/dialogs-types.h

	* app/dialogs/*.[ch]: ...and added them here. Changed some
	filenames like module-browser -> module-dialog.

	* app/app_procs.c
	* app/actions/actions-types.h
	* app/actions/actions.c
	* app/actions/dialogs-actions.c
	* app/actions/dialogs-commands.c
	* app/actions/dockable-commands.c
	* app/actions/drawable-commands.c
	* app/actions/edit-commands.c
	* app/actions/file-commands.c
	* app/actions/gradient-editor-commands.c
	* app/actions/image-commands.c
	* app/actions/layers-commands.c
	* app/actions/palettes-commands.c
	* app/actions/select-commands.c
	* app/actions/templates-commands.c
	* app/actions/templates-commands.h
	* app/actions/vectors-commands.c
	* app/actions/view-commands.c
	* app/display/gimpdisplayshell-cursor.c
	* app/display/gimpdisplayshell-title.c
	* app/display/gimpdisplayshell.[ch]
	* app/tools/gimpcroptool.c
	* app/tools/gimpperspectivetool.c
	* app/tools/gimprotatetool.c
	* app/tools/gimpscaletool.c
	* app/tools/gimpsheartool.c
	* app/tools/gimptransformtool.[ch]
	* app/tools/gimpvectortool.c
	* app/widgets/gimpcolormapeditor.[ch]
	* app/widgets/gimpcolorpanel.c
	* app/widgets/gimpgradienteditor.[ch]
	* app/widgets/gimppaletteeditor.[ch]
	* app/widgets/gimptoolbox-color-area.c
	* menus/toolbox-menu.xml.in
	* tools/authorsgen/authorsgen.pl: changed accordingly.
parent 95da4fd6
2004-09-13 Michael Natterer <mitch@gimp.org>
* configure.in
* app/Makefile.am: added new directory app/dialogs and link
libappdialogs.c into the gimp binary.
* app/gui/Makefile.am
* app/gui/gui-types.h
* app/gui/gui-vtable.c
* app/gui/gui.c
* app/gui/about-dialog.[ch]
* app/gui/authors.h
* app/gui/color-notebook.[ch]
* app/gui/convert-dialog.[ch]
* app/gui/dialogs-constructors.[ch]
* app/gui/dialogs.[ch]
* app/gui/file-dialog-utils.[ch]
* app/gui/file-new-dialog.[ch]
* app/gui/file-open-dialog.[ch]
* app/gui/file-open-location-dialog.[ch]
* app/gui/file-save-dialog.[ch]
* app/gui/grid-dialog.[ch]
* app/gui/info-dialog.[ch]
* app/gui/info-window.[ch]
* app/gui/module-browser.[ch]
* app/gui/offset-dialog.[ch]
* app/gui/palette-import-dialog.[ch]
* app/gui/preferences-dialog.[ch]
* app/gui/quit-dialog.[ch]
* app/gui/resize-dialog.[ch]
* app/gui/resolution-calibrate-dialog.[ch]
* app/gui/stroke-dialog.[ch]
* app/gui/tips-dialog.[ch]
* app/gui/tips-parser.[ch]
* app/gui/user-install-dialog.[ch]: removed these files...
* app/dialogs/Makefile.am
* app/dialogs/dialogs-types.h
* app/dialogs/*.[ch]: ...and added them here. Changed some
filenames like module-browser -> module-dialog.
* app/app_procs.c
* app/actions/actions-types.h
* app/actions/actions.c
* app/actions/dialogs-actions.c
* app/actions/dialogs-commands.c
* app/actions/dockable-commands.c
* app/actions/drawable-commands.c
* app/actions/edit-commands.c
* app/actions/file-commands.c
* app/actions/gradient-editor-commands.c
* app/actions/image-commands.c
* app/actions/layers-commands.c
* app/actions/palettes-commands.c
* app/actions/select-commands.c
* app/actions/templates-commands.c
* app/actions/templates-commands.h
* app/actions/vectors-commands.c
* app/actions/view-commands.c
* app/display/gimpdisplayshell-cursor.c
* app/display/gimpdisplayshell-title.c
* app/display/gimpdisplayshell.[ch]
* app/tools/gimpcroptool.c
* app/tools/gimpperspectivetool.c
* app/tools/gimprotatetool.c
* app/tools/gimpscaletool.c
* app/tools/gimpsheartool.c
* app/tools/gimptransformtool.[ch]
* app/tools/gimpvectortool.c
* app/widgets/gimpcolormapeditor.[ch]
* app/widgets/gimpcolorpanel.c
* app/widgets/gimpgradienteditor.[ch]
* app/widgets/gimppaletteeditor.[ch]
* app/widgets/gimptoolbox-color-area.c
* menus/toolbox-menu.xml.in
* tools/authorsgen/authorsgen.pl: changed accordingly.
2004-09-13 Michael Natterer <mitch@gimp.org>
Restore binary compatibility of the wire protocol that was
......
......@@ -22,6 +22,7 @@ SUBDIRS = \
tools \
widgets \
display \
dialogs \
actions \
menus \
gui \
......@@ -103,11 +104,12 @@ gimp_2_1_LDFLAGS = \
-u $(SYMPREFIX)file_open_dialog_show \
-u $(SYMPREFIX)file_open_location_dialog_show \
-u $(SYMPREFIX)file_save_dialog_show \
-u $(SYMPREFIX)color_notebook_new
-u $(SYMPREFIX)color_dialog_new
gimp_2_1_LDADD = \
config/libappconfig.a \
gui/libappgui.a \
dialogs/libappdialogs.a \
menus/libappmenus.a \
actions/libappactions.a \
display/libappdisplay.a \
......
......@@ -20,7 +20,7 @@
#define __ACTIONS_TYPES_H__
#include "gui/gui-types.h"
#include "tools/tools-types.h"
typedef enum
......
......@@ -42,7 +42,7 @@
#include "display/gimpdisplay.h"
#include "display/gimpdisplayshell.h"
#include "gui/dialogs.h"
#include "dialogs/dialogs.h"
#include "brushes-actions.h"
#include "buffers-actions.h"
......
......@@ -181,9 +181,9 @@ static GimpStringActionEntry dialogs_toplevel_actions[] =
"gimp-preferences-dialog",
GIMP_HELP_PREFS_DIALOG },
{ "dialogs-module-manager", GTK_STOCK_EXECUTE,
{ "dialogs-module-dialog", GTK_STOCK_EXECUTE,
N_("_Module Manager"), NULL, NULL,
"gimp-module-manager-dialog",
"gimp-module-dialog",
GIMP_HELP_MODULE_DIALOG },
{ "dialogs-tips", GIMP_STOCK_INFO,
......
......@@ -33,7 +33,7 @@
#include "widgets/gimpdockbook.h"
#include "widgets/gimpimagedock.h"
#include "gui/dialogs.h"
#include "dialogs/dialogs.h"
#include "actions.h"
#include "dialogs-commands.h"
......
......@@ -34,7 +34,8 @@
#include "widgets/gimpimagedock.h"
#include "widgets/gimpsessioninfo.h"
#include "gui/dialogs.h"
#include "dialogs/dialogs.h"
#include "dockable-commands.h"
......
......@@ -33,7 +33,7 @@
#include "core/gimpimage-undo.h"
#include "core/gimpitem-linked.h"
#include "gui/offset-dialog.h"
#include "dialogs/offset-dialog.h"
#include "actions.h"
#include "drawable-commands.h"
......
......@@ -42,7 +42,7 @@
#include "widgets/gimphelp-ids.h"
#include "widgets/gimpdialogfactory.h"
#include "gui/dialogs.h"
#include "dialogs/dialogs.h"
#include "actions.h"
#include "edit-commands.h"
......
......@@ -47,9 +47,9 @@
#include "menus/menus.h"
#include "gui/dialogs.h"
#include "gui/file-open-dialog.h"
#include "gui/file-save-dialog.h"
#include "dialogs/dialogs.h"
#include "dialogs/file-open-dialog.h"
#include "dialogs/file-save-dialog.h"
#include "actions.h"
#include "file-commands.h"
......
......@@ -33,8 +33,8 @@
#include "widgets/gimphelp-ids.h"
#include "widgets/gimpviewabledialog.h"
#include "gui/color-notebook.h"
#include "gui/dialogs.h"
#include "dialogs/dialogs.h"
#include "dialogs/color-dialog.h"
#include "gradient-editor-commands.h"
......@@ -43,13 +43,13 @@
/* local function prototypes */
static void gradient_editor_left_color_changed (ColorNotebook *cnb,
static void gradient_editor_left_color_changed (ColorDialog *cnb,
const GimpRGB *color,
ColorNotebookState state,
ColorDialogState state,
gpointer data);
static void gradient_editor_right_color_changed (ColorNotebook *cnb,
static void gradient_editor_right_color_changed (ColorDialog *cnb,
const GimpRGB *color,
ColorNotebookState state,
ColorDialogState state,
gpointer data);
static GimpGradientSegment *
......@@ -79,17 +79,17 @@ gradient_editor_left_color_cmd_callback (GtkAction *action,
editor->left_saved_dirty = GIMP_DATA (gradient)->dirty;
editor->left_saved_segments = gradient_editor_save_selection (editor);
editor->color_notebook =
color_notebook_new (GIMP_VIEWABLE (gradient),
_("Left Endpoint Color"),
GIMP_STOCK_GRADIENT,
_("Gradient Segment's Left Endpoint Color"),
GTK_WIDGET (editor),
global_dialog_factory,
"gimp-gradient-editor-color-dialog",
&editor->control_sel_l->left_color,
gradient_editor_left_color_changed, editor,
editor->instant_update, TRUE);
editor->color_dialog =
color_dialog_new (GIMP_VIEWABLE (gradient),
_("Left Endpoint Color"),
GIMP_STOCK_GRADIENT,
_("Gradient Segment's Left Endpoint Color"),
GTK_WIDGET (editor),
global_dialog_factory,
"gimp-gradient-editor-color-dialog",
&editor->control_sel_l->left_color,
gradient_editor_left_color_changed, editor,
editor->instant_update, TRUE);
gtk_widget_set_sensitive (GTK_WIDGET (editor), FALSE);
}
......@@ -172,17 +172,17 @@ gradient_editor_right_color_cmd_callback (GtkAction *action,
editor->right_saved_dirty = GIMP_DATA (gradient)->dirty;
editor->right_saved_segments = gradient_editor_save_selection (editor);
editor->color_notebook =
color_notebook_new (GIMP_VIEWABLE (gradient),
_("Right Endpoint Color"),
GIMP_STOCK_GRADIENT,
_("Gradient Segment's Right Endpoint Color"),
GTK_WIDGET (editor),
global_dialog_factory,
"gimp-gradient-editor-color-dialog",
&editor->control_sel_l->right_color,
gradient_editor_right_color_changed, editor,
editor->instant_update, TRUE);
editor->color_dialog =
color_dialog_new (GIMP_VIEWABLE (gradient),
_("Right Endpoint Color"),
GIMP_STOCK_GRADIENT,
_("Gradient Segment's Right Endpoint Color"),
GTK_WIDGET (editor),
global_dialog_factory,
"gimp-gradient-editor-color-dialog",
&editor->control_sel_l->right_color,
gradient_editor_right_color_changed, editor,
editor->instant_update, TRUE);
gtk_widget_set_sensitive (GTK_WIDGET (editor), FALSE);
}
......@@ -559,10 +559,10 @@ gradient_editor_blend_opacity_cmd_callback (GtkAction *action,
/* private functions */
static void
gradient_editor_left_color_changed (ColorNotebook *cnb,
const GimpRGB *color,
ColorNotebookState state,
gpointer data)
gradient_editor_left_color_changed (ColorDialog *cnb,
const GimpRGB *color,
ColorDialogState state,
gpointer data)
{
GimpGradientEditor *editor = GIMP_GRADIENT_EDITOR (data);
GimpGradient *gradient;
......@@ -571,7 +571,7 @@ gradient_editor_left_color_changed (ColorNotebook *cnb,
switch (state)
{
case COLOR_NOTEBOOK_UPDATE:
case COLOR_DIALOG_UPDATE:
gimp_gradient_segment_range_blend (gradient,
editor->control_sel_l,
editor->control_sel_r,
......@@ -580,7 +580,7 @@ gradient_editor_left_color_changed (ColorNotebook *cnb,
TRUE, TRUE);
break;
case COLOR_NOTEBOOK_OK:
case COLOR_DIALOG_OK:
gimp_gradient_segment_range_blend (gradient,
editor->control_sel_l,
editor->control_sel_r,
......@@ -588,27 +588,27 @@ gradient_editor_left_color_changed (ColorNotebook *cnb,
&editor->control_sel_r->right_color,
TRUE, TRUE);
gimp_gradient_segments_free (editor->left_saved_segments);
color_notebook_free (cnb);
editor->color_notebook = NULL;
color_dialog_free (cnb);
editor->color_dialog = NULL;
gtk_widget_set_sensitive (GTK_WIDGET (editor), TRUE);
break;
case COLOR_NOTEBOOK_CANCEL:
case COLOR_DIALOG_CANCEL:
gradient_editor_replace_selection (editor, editor->left_saved_segments);
GIMP_DATA (gradient)->dirty = editor->left_saved_dirty;
gimp_viewable_invalidate_preview (GIMP_VIEWABLE (gradient));
color_notebook_free (cnb);
editor->color_notebook = NULL;
color_dialog_free (cnb);
editor->color_dialog = NULL;
gtk_widget_set_sensitive (GTK_WIDGET (editor), TRUE);
break;
}
}
static void
gradient_editor_right_color_changed (ColorNotebook *cnb,
const GimpRGB *color,
ColorNotebookState state,
gpointer data)
gradient_editor_right_color_changed (ColorDialog *cnb,
const GimpRGB *color,
ColorDialogState state,
gpointer data)
{
GimpGradientEditor *editor = GIMP_GRADIENT_EDITOR (data);
GimpGradient *gradient;
......@@ -617,7 +617,7 @@ gradient_editor_right_color_changed (ColorNotebook *cnb,
switch (state)
{
case COLOR_NOTEBOOK_UPDATE:
case COLOR_DIALOG_UPDATE:
gimp_gradient_segment_range_blend (gradient,
editor->control_sel_l,
editor->control_sel_r,
......@@ -626,7 +626,7 @@ gradient_editor_right_color_changed (ColorNotebook *cnb,
TRUE, TRUE);
break;
case COLOR_NOTEBOOK_OK:
case COLOR_DIALOG_OK:
gimp_gradient_segment_range_blend (gradient,
editor->control_sel_l,
editor->control_sel_r,
......@@ -634,17 +634,17 @@ gradient_editor_right_color_changed (ColorNotebook *cnb,
color,
TRUE, TRUE);
gimp_gradient_segments_free (editor->right_saved_segments);
color_notebook_free (cnb);
editor->color_notebook = NULL;
color_dialog_free (cnb);
editor->color_dialog = NULL;
gtk_widget_set_sensitive (GTK_WIDGET (editor), TRUE);
break;
case COLOR_NOTEBOOK_CANCEL:
case COLOR_DIALOG_CANCEL:
gradient_editor_replace_selection (editor, editor->right_saved_segments);
GIMP_DATA (gradient)->dirty = editor->right_saved_dirty;
gimp_viewable_invalidate_preview (GIMP_VIEWABLE (gradient));
color_notebook_free (cnb);
editor->color_notebook = NULL;
color_dialog_free (cnb);
editor->color_dialog = NULL;
gtk_widget_set_sensitive (GTK_WIDGET (editor), TRUE);
break;
}
......
......@@ -51,11 +51,11 @@
#include "display/gimpdisplay.h"
#include "display/gimpdisplayshell.h"
#include "gui/convert-dialog.h"
#include "gui/dialogs.h"
#include "gui/file-new-dialog.h"
#include "gui/grid-dialog.h"
#include "gui/resize-dialog.h"
#include "dialogs/convert-dialog.h"
#include "dialogs/dialogs.h"
#include "dialogs/grid-dialog.h"
#include "dialogs/image-new-dialog.h"
#include "dialogs/resize-dialog.h"
#include "actions.h"
#include "image-commands.h"
......@@ -117,11 +117,11 @@ image_new_cmd_callback (GtkAction *action,
dialog = gimp_dialog_factory_dialog_new (global_dialog_factory,
gtk_widget_get_screen (widget),
"gimp-file-new-dialog", -1, FALSE);
"gimp-image-new-dialog", -1, FALSE);
if (dialog)
{
file_new_dialog_set (dialog, NULL, NULL);
image_new_dialog_set (dialog, NULL, NULL);
gtk_window_present (GTK_WINDOW (dialog));
}
......@@ -137,14 +137,14 @@ image_new_from_image_cmd_callback (GtkAction *action,
dialog = gimp_dialog_factory_dialog_new (global_dialog_factory,
gtk_widget_get_screen (widget),
"gimp-file-new-dialog", -1, FALSE);
"gimp-image-new-dialog", -1, FALSE);
if (dialog)
{
GimpImage *gimage = action_data_get_image (data);
if (gimage)
file_new_dialog_set (dialog, gimage, NULL);
image_new_dialog_set (dialog, gimage, NULL);
gtk_window_present (GTK_WINDOW (dialog));
}
......
......@@ -61,7 +61,7 @@
#include "tools/gimptexttool.h"
#include "tools/tool_manager.h"
#include "gui/resize-dialog.h"
#include "dialogs/resize-dialog.h"
#include "actions.h"
#include "layers-commands.h"
......
......@@ -34,7 +34,7 @@
#include "widgets/gimphelp-ids.h"
#include "widgets/gimpview.h"
#include "gui/palette-import-dialog.h"
#include "dialogs/palette-import-dialog.h"
#include "palettes-commands.h"
......
......@@ -36,8 +36,8 @@
#include "display/gimpdisplay.h"
#include "display/gimpdisplayshell.h"
#include "gui/dialogs.h"
#include "gui/stroke-dialog.h"
#include "dialogs/dialogs.h"
#include "dialogs/stroke-dialog.h"
#include "actions.h"
#include "select-commands.h"
......
......@@ -40,8 +40,8 @@
#include "widgets/gimptemplateview.h"
#include "widgets/gimpviewabledialog.h"
#include "gui/dialogs.h"
#include "gui/file-new-dialog.h"
#include "dialogs/dialogs.h"
#include "dialogs/image-new-dialog.h"
#include "templates-commands.h"
......@@ -66,7 +66,7 @@ templates_create_image_cmd_callback (GtkAction *action,
if (template && gimp_container_have (container, GIMP_OBJECT (template)))
{
templates_file_new_dialog (context->gimp, template, GTK_WIDGET (editor));
templates_image_new_dialog (context->gimp, template, GTK_WIDGET (editor));
}
}
......@@ -359,19 +359,19 @@ templates_edit_template_dialog (Gimp *gimp,
}
void
templates_file_new_dialog (Gimp *gimp,
GimpTemplate *template,
GtkWidget *parent)
templates_image_new_dialog (Gimp *gimp,
GimpTemplate *template,
GtkWidget *parent)
{
GtkWidget *dialog;
dialog = gimp_dialog_factory_dialog_new (global_dialog_factory,
gtk_widget_get_screen (parent),
"gimp-file-new-dialog", -1, FALSE);
"gimp-image-new-dialog", -1, FALSE);
if (dialog)
{
file_new_dialog_set (dialog, NULL, template);
image_new_dialog_set (dialog, NULL, template);
gtk_window_present (GTK_WINDOW (dialog));
}
......
......@@ -37,8 +37,9 @@ void templates_new_template_dialog (Gimp *gimp,
void templates_edit_template_dialog (Gimp *gimp,
GimpTemplate *template,
GtkWidget *parent);
void templates_file_new_dialog (Gimp *gimp,
void templates_image_new_dialog (Gimp *gimp,
GimpTemplate *template,
GtkWidget *parent);
#endif /* __TEMPLATES_COMMANDS_H__ */
......@@ -54,7 +54,7 @@
#include "tools/gimpvectortool.h"
#include "tools/tool_manager.h"
#include "gui/stroke-dialog.h"
#include "dialogs/stroke-dialog.h"
#include "actions.h"
#include "vectors-commands.h"
......
......@@ -44,10 +44,10 @@
#include "widgets/gimpdialogfactory.h"
#include "widgets/gimpuimanager.h"
#include "gui/color-notebook.h"
#include "gui/dialogs.h"
#include "gui/info-dialog.h"
#include "gui/info-window.h"
#include "dialogs/color-dialog.h"
#include "dialogs/dialogs.h"
#include "dialogs/info-dialog.h"
#include "dialogs/info-window.h"
#include "actions.h"
#include "view-commands.h"
......@@ -474,10 +474,10 @@ view_snap_to_grid_cmd_callback (GtkAction *action,
}
static void
view_padding_color_callback (ColorNotebook *cnb,
const GimpRGB *color,
ColorNotebookState state,
gpointer data)
view_padding_color_callback (ColorDialog *cnb,
const GimpRGB *color,
ColorDialogState state,
gpointer data)
{
GimpDisplayShell *shell = GIMP_DISPLAY_SHELL (data);
GimpDisplayOptions *options;
......@@ -492,15 +492,15 @@ view_padding_color_callback (ColorNotebook *cnb,
switch (state)
{
case COLOR_NOTEBOOK_OK:
case COLOR_DIALOG_OK:
options->padding_mode_set = TRUE;
gimp_display_shell_set_padding (shell, GIMP_CANVAS_PADDING_MODE_CUSTOM,
color);
/* fallthru */
case COLOR_NOTEBOOK_CANCEL:
g_object_set_data (G_OBJECT (shell), "padding-color-notebook", NULL);
case COLOR_DIALOG_CANCEL:
g_object_set_data (G_OBJECT (shell), "padding-color-dialog", NULL);
break;
default:
......@@ -533,7 +533,7 @@ view_padding_color_cmd_callback (GtkAction *action,
case GIMP_CANVAS_PADDING_MODE_DEFAULT:
case GIMP_CANVAS_PADDING_MODE_LIGHT_CHECK:
case GIMP_CANVAS_PADDING_MODE_DARK_CHECK:
g_object_set_data (G_OBJECT (shell), "padding-color-notebook", NULL);
g_object_set_data (G_OBJECT (shell), "padding-color-dialog", NULL);
options->padding_mode_set = TRUE;
......@@ -543,34 +543,34 @@ view_padding_color_cmd_callback (GtkAction *action,
case GIMP_CANVAS_PADDING_MODE_CUSTOM:
{
ColorNotebook *color_notebook;
ColorDialog *color_dialog;
color_notebook = g_object_get_data (G_OBJECT (shell),
"padding-color-notebook");
color_dialog = g_object_get_data (G_OBJECT (shell),
"padding-color-dialog");
if (! color_notebook)
if (! color_dialog)
{
color_notebook = color_notebook_new (GIMP_VIEWABLE (gdisp->gimage),
_("Set Canvas Padding Color"),
GTK_STOCK_SELECT_COLOR,
NULL,
gdisp->shell,
NULL, NULL,
&options->padding_color,
view_padding_color_callback,
shell,
FALSE, FALSE);
g_object_set_data_full (G_OBJECT (shell), "padding-color-notebook",
color_notebook,
(GDestroyNotify) color_notebook_free);
color_dialog = color_dialog_new (GIMP_VIEWABLE (gdisp->gimage),
_("Set Canvas Padding Color"),
GTK_STOCK_SELECT_COLOR,
NULL,
gdisp->shell,
NULL, NULL,
&options->padding_color,
view_padding_color_callback,
shell,
FALSE, FALSE);
g_object_set_data_full (G_OBJECT (shell), "padding-color-dialog",
color_dialog,
(GDestroyNotify) color_dialog_free);
}
color_notebook_show (color_notebook);
color_dialog_show (color_dialog);
}
break;
case GIMP_CANVAS_PADDING_MODE_RESET:
g_object_set_data (G_OBJECT (shell), "padding-color-notebook", NULL);
g_object_set_data (G_OBJECT (shell), "padding-color-dialog", NULL);
{
GimpDisplayConfig *config;
......
......@@ -46,8 +46,9 @@
#include "file/file-utils.h"
#ifndef GIMP_CONSOLE_COMPILATION
#include "dialogs/user-install-dialog.h"
#include "gui/gui.h"
#include "gui/user-install-dialog.h"
#endif
#include "app_procs.h"
......
Makefile
Makefile.in
.deps
.libs
*.lo
libappdialogs.la
## Process this file with automake to produce Makefile.in
noinst_LIBRARIES = libappdialogs.a
libappdialogs_a_SOURCES = \
dialogs-types.h \
dialogs.c \
dialogs.h \
dialogs-constructors.c \
dialogs-constructors.h \
\
about-dialog.c \
about-dialog.h \
color-dialog.c \
color-dialog.h \
convert-dialog.c \
convert-dialog.h \
file-dialog-utils.c \
file-dialog-utils.h \
file-open-dialog.c \
file-open-dialog.h \
file-open-location-dialog.c \
file-open-location-dialog.h \
file-save-dialog.c \
file-save-dialog.h \
grid-dialog.h \
grid-dialog.c \
image-new-dialog.c \
image-new-dialog.h \
info-dialog.c \
info-dialog.h \
info-window.c \
info-window.h \
module-dialog.c \
module-dialog.h \
offset-dialog.c \
offset-dialog.h \