glib r6853 - trunk/gio
- From: michael svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r6853 - trunk/gio
- Date: Wed, 16 Apr 2008 17:48:23 +0100 (BST)
Author: michael
Date: Wed Apr 16 17:48:23 2008
New Revision: 6853
URL: http://svn.gnome.org/viewvc/glib?rev=6853&view=rev
Log:
2008-04-16 Michael Meeks <michael meeks novell com>
* gdesktopappinfo.c (g_desktop_app_info_new_from_filename):
tolerate an empty TryExec= line without failing; nautilus used
to create launchers with these in previous versions. Fixes #528433
Modified:
trunk/gio/ChangeLog
trunk/gio/gdesktopappinfo.c
Modified: trunk/gio/gdesktopappinfo.c
==============================================================================
--- trunk/gio/gdesktopappinfo.c (original)
+++ trunk/gio/gdesktopappinfo.c Wed Apr 16 17:48:23 2008
@@ -236,7 +236,7 @@
G_KEY_FILE_DESKTOP_GROUP,
G_KEY_FILE_DESKTOP_KEY_TRY_EXEC,
NULL);
- if (try_exec)
+ if (try_exec && try_exec[0] != '\0')
{
char *t;
t = g_find_program_in_path (try_exec);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]