AC_PREREQ(2.59)
-AC_INIT([GtkDateEntry], [0.0.2], [azagli@inwind.it])
+AC_INIT([GtkDateEntry], [0.0.3], [azagli@libero.it])
AC_CONFIG_SRCDIR([src/gtkdateentry.c])
AC_CONFIG_HEADER([config.h])
PKG_CHECK_MODULES(GTKDATEENTRY, [gtk+-2.0 >= 2.6.8
libgtkmaskedentry >= 0.0.1])
+PKG_CHECK_EXISTS(gladeui-1.0 >= 3.2.0, [GLADEUI_FOUND=yes], [GLADEUI_FOUND=no])
AC_SUBST(GTKDATEENTRY_CFLAGS)
AC_SUBST(GTKDATEENTRY_LIBS)
docs/reference/Makefile
docs/reference/version.xml
])
+
+if test $GLADEUI_FOUND = yes; then
+AC_CONFIG_FILES([
+ glade/Makefile
+ glade/icons/Makefile
+ glade/icons/16x16/Makefile
+ glade/icons/22x22/Makefile
+])
+fi
+
AC_OUTPUT
/*
* GtkDateEntry widget for GTK+
*
- * Copyright (C) 2005-2006 Andrea Zagli <azagli@libero.it>
+ * Copyright (C) 2005-2010 Andrea Zagli <azagli@libero.it>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
gdate = gtk_date_entry_get_gdate (date);
- priv->format = g_strdup (format);
+ priv->format = g_strdup (format);
gtk_date_entry_change_mask (date);
gtk_date_entry_set_date_gdate (date, gdate);
{
GtkDateEntryPrivate *priv = GTK_DATE_ENTRY_GET_PRIVATE (date);
- return gtk_entry_get_text (GTK_ENTRY (priv->day));
+ return gtk_entry_get_text (GTK_ENTRY (priv->day));
}
/**
gtk_grab_add (wCalendar);
gtk_window_move (GTK_WINDOW (wCalendar), x, y);
- gtk_widget_show (wCalendar);
+ gtk_widget_show (wCalendar);
gtk_widget_grab_focus (priv->calendar);
popup_grab_on_window (wCalendar->window, gtk_get_current_event_time ());
}
/*
* GtkDateEntry widget for GTK+
*
- * Copyright (C) 2005-2006 Andrea Zagli <azagli@libero.it>
+ * Copyright (C) 2005-2010 Andrea Zagli <azagli@libero.it>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public