nautilus r14837 - trunk/libnautilus-private
- From: awalton svn gnome org
- To: svn-commits-list gnome org
- Subject: nautilus r14837 - trunk/libnautilus-private
- Date: Mon, 12 Jan 2009 11:53:21 +0000 (UTC)
Author: awalton
Date: Mon Jan 12 11:53:21 2009
New Revision: 14837
URL: http://svn.gnome.org/viewvc/nautilus?rev=14837&view=rev
Log:
2009-01-12 A. Walton <awalton gnome org>
* libnautilus-private/nautilus-link.c
(nautilus_link_get_link_icon_from_desktop):
Fix last commit to actually patch the right part of the file.
Modified:
trunk/libnautilus-private/nautilus-link.c
Modified: trunk/libnautilus-private/nautilus-link.c
==============================================================================
--- trunk/libnautilus-private/nautilus-link.c (original)
+++ trunk/libnautilus-private/nautilus-link.c Mon Jan 12 11:53:21 2009
@@ -464,14 +464,14 @@
type = g_key_file_get_string (key_file, MAIN_GROUP, "Type", NULL);
if (g_strcmp0 (type, "Application") == 0) {
icon = g_strdup ("gnome-fs-executable");
- } else if (strcmp (type, "Link") == 0) {
+ } else if (g_strcmp0 (type, "Link") == 0) {
icon = g_strdup ("gnome-dev-symlink");
- } else if (strcmp (type, "FSDevice") == 0) {
+ } else if (g_strcmp0 (type, "FSDevice") == 0) {
icon = g_strdup ("gnome-dev-harddisk");
- } else if (strcmp (type, "Directory") == 0) {
+ } else if (g_strcmp0 (type, "Directory") == 0) {
icon = g_strdup (NAUTILUS_ICON_FOLDER);
- } else if (strcmp (type, "Service") == 0 ||
- strcmp (type, "ServiceType") == 0) {
+ } else if (g_strcmp0 (type, "Service") == 0 ||
+ g_strcmp0 (type, "ServiceType") == 0) {
icon = g_strdup ("gnome-fs-web");
} else {
icon = g_strdup ("gnome-fs-regular");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]