[gnome-menus] libmenu: Correctly look up at NoDisplay for .desktop files
- From: Vincent Untz <vuntz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-menus] libmenu: Correctly look up at NoDisplay for .desktop files
- Date: Mon, 1 Aug 2011 17:44:52 +0000 (UTC)
commit b8b2471e8a3bd0f2d469dea41067721919359c22
Author: Vincent Untz <vuntz gnome org>
Date: Tue Jun 14 09:04:31 2011 +0200
libmenu: Correctly look up at NoDisplay for .desktop files
We were using Hidden instead. This requires glib 2.29.9.
configure.ac | 2 +-
libmenu/desktop-entries.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index ae47a37..fcc348b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -38,7 +38,7 @@ AC_ARG_PROGRAM
AC_LIBTOOL_WIN32_DLL
AM_PROG_LIBTOOL
-PKG_CHECK_MODULES(GIO_UNIX, gio-unix-2.0 >= 2.28.5)
+PKG_CHECK_MODULES(GIO_UNIX, gio-unix-2.0 >= 2.29.9)
AC_SUBST(GIO_UNIX_CFLAGS)
AC_SUBST(GIO_UNIX_LIBS)
diff --git a/libmenu/desktop-entries.c b/libmenu/desktop-entries.c
index fc918bf..da09455 100644
--- a/libmenu/desktop-entries.c
+++ b/libmenu/desktop-entries.c
@@ -491,7 +491,7 @@ gboolean
desktop_entry_get_no_display (DesktopEntry *entry)
{
if (entry->type == DESKTOP_ENTRY_DESKTOP)
- return g_desktop_app_info_get_is_hidden (((DesktopEntryDesktop*)entry)->appinfo);
+ return g_desktop_app_info_get_nodisplay (((DesktopEntryDesktop*)entry)->appinfo);
return ((DesktopEntryDirectory*)entry)->nodisplay;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]