disable monk easter egg in order to remove gnome-canvas dependency (Fixes
2009-03-08 Lucas Rocha <lucasr@gnome.org> * configure.in, src/about.c: disable monk easter egg in order to remove gnome-canvas dependency (Fixes #571741). svn path=/trunk/; revision=1489
This commit is contained in:
parent
6dd1d4b5e6
commit
278a669eaf
@ -1,3 +1,8 @@
|
|||||||
|
2009-03-08 Lucas Rocha <lucasr@gnome.org>
|
||||||
|
|
||||||
|
* configure.in, src/about.c: disable monk easter egg in order to
|
||||||
|
remove gnome-canvas dependency (Fixes #571741).
|
||||||
|
|
||||||
2009-03-08 Lucas Rocha <lucasr@gnome.org>
|
2009-03-08 Lucas Rocha <lucasr@gnome.org>
|
||||||
|
|
||||||
* configure.in, src/notification.c: replace deprecated
|
* configure.in, src/notification.c: replace deprecated
|
||||||
|
@ -18,7 +18,7 @@ AC_PROG_CC
|
|||||||
|
|
||||||
GTK_REQUIRED=2.15.1
|
GTK_REQUIRED=2.15.1
|
||||||
|
|
||||||
PKG_CHECK_MODULES([ZENITY],[gtk+-2.0 >= $GTK_REQUIRED libglade-2.0 libgnomecanvas-2.0 glib-2.0])
|
PKG_CHECK_MODULES([ZENITY],[gtk+-2.0 >= $GTK_REQUIRED libglade-2.0 glib-2.0])
|
||||||
AC_SUBST([ZENITY_CFLAGS])
|
AC_SUBST([ZENITY_CFLAGS])
|
||||||
AC_SUBST([ZENITY_LIBS])
|
AC_SUBST([ZENITY_LIBS])
|
||||||
|
|
||||||
|
@ -29,7 +29,6 @@
|
|||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <gdk/gdkkeysyms.h>
|
#include <gdk/gdkkeysyms.h>
|
||||||
#include <libgnomecanvas/libgnomecanvas.h>
|
|
||||||
|
|
||||||
#define GTK_RESPONSE_CREDITS 0
|
#define GTK_RESPONSE_CREDITS 0
|
||||||
#define ZENITY_HELP_PATH ZENITY_DATADIR "/help/"
|
#define ZENITY_HELP_PATH ZENITY_DATADIR "/help/"
|
||||||
@ -75,6 +74,7 @@ static const char *license[] = {
|
|||||||
"Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.")
|
"Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.")
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if 0
|
||||||
static gint
|
static gint
|
||||||
zenity_move_clothes_event (GnomeCanvasItem *item,
|
zenity_move_clothes_event (GnomeCanvasItem *item,
|
||||||
GdkEvent *event,
|
GdkEvent *event,
|
||||||
@ -252,6 +252,7 @@ zenity_zen_wisdom (GtkDialog *dialog, GdkEventKey *event, gpointer user_data)
|
|||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void
|
void
|
||||||
zenity_about (ZenityData *data)
|
zenity_about (ZenityData *data)
|
||||||
@ -301,8 +302,11 @@ zenity_about (ZenityData *data)
|
|||||||
|
|
||||||
g_signal_connect (G_OBJECT (dialog), "response",
|
g_signal_connect (G_OBJECT (dialog), "response",
|
||||||
G_CALLBACK (zenity_about_dialog_response), data);
|
G_CALLBACK (zenity_about_dialog_response), data);
|
||||||
|
|
||||||
|
#if 0
|
||||||
g_signal_connect (G_OBJECT (dialog), "key_press_event",
|
g_signal_connect (G_OBJECT (dialog), "key_press_event",
|
||||||
G_CALLBACK (zenity_zen_wisdom), NULL);
|
G_CALLBACK (zenity_zen_wisdom), NULL);
|
||||||
|
#endif
|
||||||
|
|
||||||
zenity_util_show_dialog (dialog);
|
zenity_util_show_dialog (dialog);
|
||||||
gtk_main ();
|
gtk_main ();
|
||||||
|
Reference in New Issue
Block a user