Commit 859b208f authored by Andrew Walton's avatar Andrew Walton Committed by Andrew Walton

Fix another crasher when attempting to get properties on a damaged Desktop

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.


svn path=/trunk/; revision=14860
parent 3b7bbbef
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.
2009-01-13 A. Walton <awalton@gnome.org>
* src/file-manager/fm-empty-view.c (fm_empty_view_end_loading),
......
......@@ -395,7 +395,7 @@ create_page (GKeyFile *key_file, GtkWidget *box)
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 @@ create_page (GKeyFile *key_file, GtkWidget *box)
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));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment