nautilus r14860 - in trunk: . src/file-manager
- From: awalton svn gnome org
- To: svn-commits-list gnome org
- Subject: nautilus r14860 - in trunk: . src/file-manager
- Date: Wed, 14 Jan 2009 14:25:28 +0000 (UTC)
Author: awalton
Date: Wed Jan 14 14:25:27 2009
New Revision: 14860
URL: http://svn.gnome.org/viewvc/nautilus?rev=14860&view=rev
Log:
2009-01-14 A. Walton <awalton gnome org>
* src/file-manager/fm-ditem-page.c (create_page):
Fix another crasher when attempting to get properties
on a damaged Desktop Entry file.
Modified:
trunk/ChangeLog
trunk/src/file-manager/fm-ditem-page.c
Modified: trunk/src/file-manager/fm-ditem-page.c
==============================================================================
--- trunk/src/file-manager/fm-ditem-page.c (original)
+++ trunk/src/file-manager/fm-ditem-page.c Wed Jan 14 14:25:27 2009
@@ -395,7 +395,7 @@
type = g_key_file_get_string (key_file, MAIN_GROUP, "Type", NULL);
- if (strcmp (type, "Link") == 0) {
+ if (g_strcmp0 (type, "Link") == 0) {
entries = g_list_prepend (entries,
item_entry_new ("Comment",
_("Comment"), TRUE, FALSE));
@@ -405,7 +405,7 @@
entries = g_list_prepend (entries,
item_entry_new ("GenericName",
_("Description"), TRUE, FALSE));
- } else if (strcmp (type, "Application") == 0) {
+ } else if (g_strcmp0 (type, "Application") == 0) {
entries = g_list_prepend (entries,
item_entry_new ("Comment",
_("Comment"), TRUE, FALSE));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]