Commit d2406fd4 authored by Michael Natterer's avatar Michael Natterer 😴

plug-ins: move the UI file to datadir/ui/plug-ins/plug-in-file-png.ui

parent 9317bb45
......@@ -69,7 +69,6 @@ SUBDIRS = \
flame \
fractal-explorer \
gfig \
ui \
gimpressionist \
gradient-flare \
help \
......@@ -84,5 +83,6 @@ SUBDIRS = \
$(print) \
selection-to-path \
$(twain) \
ui \
$(win_snap) \
common
......@@ -1808,7 +1808,7 @@ save_dialog (gint32 image_ID,
/* GtkBuilder init */
builder = gtk_builder_new ();
ui_file = g_build_filename (gimp_data_directory (),
"ui/file-png.ui",
"ui/plug-ins/plug-in-file-png.ui",
NULL);
if (! gtk_builder_add_from_file (builder, ui_file, &error))
{
......@@ -1884,8 +1884,11 @@ save_dialog (gint32 image_ID,
/* Show dialog and run */
gtk_widget_show (dialog);
pg.run = FALSE;
gtk_main ();
return pg.run;
}
......
uidatadir = $(gimpdatadir)/ui
uidatadir = $(gimpdatadir)/ui/plug-ins
uidata_DATA = \
file-png.ui
plug-in-file-png.ui
EXTRA_DIST = $(uidata_DATA)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment