Commit c32efe8c authored by Jürg Billeter's avatar Jürg Billeter Committed by Jürg Billeter

fix glade file path dist and install glade file Bump version to 0.0.2

2005-08-28  Jürg Billeter  <j@bitron.ch>

	* src/nautilus-image-resizer.c: fix glade file path
	* src/Makefile.am: dist and install glade file
	* configure.ac: Bump version to 0.0.2

svn path=/trunk/; revision=3
parent d4b142f9
2005-08-28 Jürg Billeter <j@bitron.ch>
* src/nautilus-image-resizer.c: fix glade file path
* src/Makefile.am: dist and install glade file
* configure.ac: Bump version to 0.0.2
AC_INIT([nautilus-image-converter], [0.0.1], [j@bitron.ch], [nautilus-image-converter])
AC_INIT([nautilus-image-converter], [0.0.2], [j@bitron.ch], [nautilus-image-converter])
AC_CONFIG_SRCDIR([Makefile.am])
AC_CONFIG_HEADERS(config.h)
AM_INIT_AUTOMAKE([dist-bzip2])
......
......@@ -26,3 +26,7 @@ libnautilus_image_converter_la_SOURCES = \
libnautilus_image_converter_la_LDFLAGS = -module -avoid-version
libnautilus_image_converter_la_LIBADD = $(NAUTILUS_LIBS)
dist_pkgdata_DATA = \
nautilus-image-resize.glade \
$(NULL)
......@@ -37,6 +37,8 @@
#include <libnautilus-extension/nautilus-file-info.h>
#define PKGDATADIR DATADIR "/" PACKAGE
typedef struct _NautilusImageResizerPrivate NautilusImageResizerPrivate;
struct _NautilusImageResizerPrivate {
......@@ -377,8 +379,6 @@ nautilus_image_resizer_response_cb (GtkDialog *dialog, gint response_id, gpointe
gtk_widget_destroy (GTK_WIDGET (dialog));
}
#define GLADEDIR "."
static void
nautilus_image_resizer_init(NautilusImageResizer *resizer)
{
......@@ -386,7 +386,7 @@ nautilus_image_resizer_init(NautilusImageResizer *resizer)
GladeXML *xml_dialog;
xml_dialog = glade_xml_new (GLADEDIR "/nautilus-image-resize.glade",
xml_dialog = glade_xml_new (PKGDATADIR "/nautilus-image-resize.glade",
NULL, NULL);
priv->resize_dialog = GTK_DIALOG (glade_xml_get_widget (xml_dialog, "resize_dialog"));
priv->default_size_radiobutton = GTK_RADIO_BUTTON (glade_xml_get_widget (xml_dialog, "default_size_radiobutton"));
......
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