diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-03-10 02:19:01 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-03-10 02:19:01 +0800 |
commit | 94bdeda939c809e0e34ab833be1cffd0dfbf7d1f (patch) | |
tree | f7647a677b0007d66fcce32b1ad200bbefba1c97 /configure.ac | |
parent | 433932652576ebb6e68d76cc2e74ac08bd9a84ff (diff) | |
download | gsoc2013-epiphany-94bdeda939c809e0e34ab833be1cffd0dfbf7d1f.tar gsoc2013-epiphany-94bdeda939c809e0e34ab833be1cffd0dfbf7d1f.tar.gz gsoc2013-epiphany-94bdeda939c809e0e34ab833be1cffd0dfbf7d1f.tar.bz2 gsoc2013-epiphany-94bdeda939c809e0e34ab833be1cffd0dfbf7d1f.tar.lz gsoc2013-epiphany-94bdeda939c809e0e34ab833be1cffd0dfbf7d1f.tar.xz gsoc2013-epiphany-94bdeda939c809e0e34ab833be1cffd0dfbf7d1f.tar.zst gsoc2013-epiphany-94bdeda939c809e0e34ab833be1cffd0dfbf7d1f.zip |
Use libstartup-notification, not gnome-desktop to launch apps. Fixes bug
2005-03-09 Christian Persch <chpe@cvs.gnome.org>
* configure.ac:
* lib/ephy-file-helpers.c:
(my_gdk_spawn_make_environment_for_screen), (sn_error_trap_push),
(sn_error_trap_pop), (make_spawn_environment_for_sn_context),
(free_startup_timeout), (startup_timeout), (add_startup_timeout),
(ephy_file_launch_application), (ephy_file_launch_desktop_file):
Use libstartup-notification, not gnome-desktop to launch apps.
Fixes bug #169039.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index d6e3d679c..626a99714 100644 --- a/configure.ac +++ b/configure.ac @@ -52,6 +52,7 @@ LIBGLADE_REQUIRED=2.3.1 LIBGNOMEVFS_REQUIRED=2.9.2 LIBGNOMEUI_REQUIRED=2.6.0 GNOME_DESKTOP_REQUIRED=2.9.91 +LIBSTARTUP_NOTIFICATION_REQUIRED=0.5 AC_ENABLE_SHARED([yes]) AC_ENABLE_STATIC([no]) @@ -71,6 +72,16 @@ GNOME_DEBUG_CHECK GNOME_COMPILE_WARNINGS([maximum]) dnl GNOME_CXX_WARNINGS +AC_PATH_PROG([PKG_CONFIG], [pkg-config], [no]) +if $PKG_CONFIG --atleast-version $LIBSTARTUP_NOTIFICATION_REQUIRED libstartup-notification-1.0; then + echo "Building with libstartup-notification" + AC_DEFINE([HAVE_STARTUP_NOTIFICATION],[1],[Define to enable startup notification support]) + STARTUP_NOTIFICATION_PACKAGE=libstartup-notification-1.0 +else + echo "***** WARNING: Building without libstartup-notification" + STARTUP_NOTIFICATION_PACKAGE= +fi + PKG_CHECK_MODULES([EPIPHANY_DEPENDENCY], [\ glib-2.0 >= $GLIB_REQUIRED \ pango >= $PANGO_REQUIRED \ @@ -86,6 +97,7 @@ PKG_CHECK_MODULES([EPIPHANY_DEPENDENCY], [\ gnome-vfs-module-2.0 \ gconf-2.0 \ gnome-desktop-2.0 >= $GNOME_DESKTOP_REQUIRED \ + $STARTUP_NOTIFICATION_PACKAGE \ ]) AC_SUBST([EPIPHANY_DEPENDENCY_CFLAGS]) AC_SUBST([EPIPHANY_DEPENDENCY_LIBS]) |