Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
No build reason found for SLE-Module-Development-Tools-OBS:x86_64
SUSE:SLE-12-SP1:GA
nautilus
nautilus-desktop-icon-name.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nautilus-desktop-icon-name.patch of Package nautilus
diff --git a/libnautilus-private/nautilus-desktop-link.c b/libnautilus-private/nautilus-desktop-link.c index 07300c0..d8e7a32 100644 --- a/libnautilus-private/nautilus-desktop-link.c +++ b/libnautilus-private/nautilus-desktop-link.c @@ -178,6 +178,11 @@ nautilus_desktop_link_new (NautilusDesktopLinkType type) link->details->filename = g_strdup ("home"); link->details->display_name = g_settings_get_string (nautilus_desktop_preferences, NAUTILUS_PREFERENCES_DESKTOP_HOME_NAME); + if (link->details->display_name[0] == 0) { + g_free (link->details->display_name); + link->details->display_name = g_strdup (_("Home")); + } + link->details->activation_location = g_file_new_for_path (g_get_home_dir ()); link->details->icon = g_themed_icon_new (NAUTILUS_DESKTOP_ICON_HOME); @@ -191,6 +196,11 @@ nautilus_desktop_link_new (NautilusDesktopLinkType type) link->details->filename = g_strdup ("trash"); link->details->display_name = g_settings_get_string (nautilus_desktop_preferences, NAUTILUS_PREFERENCES_DESKTOP_TRASH_NAME); + if (g_strcmp0 (link->details->display_name, "Trash") == 0) { + g_free (link->details->display_name); + link->details->display_name = g_strdup (_("Trash")); + } + link->details->activation_location = g_file_new_for_uri (EEL_TRASH_URI); link->details->icon = get_desktop_trash_icon (); @@ -208,6 +218,11 @@ nautilus_desktop_link_new (NautilusDesktopLinkType type) link->details->filename = g_strdup ("network"); link->details->display_name = g_settings_get_string (nautilus_desktop_preferences, NAUTILUS_PREFERENCES_DESKTOP_NETWORK_NAME); + if (g_strcmp0 (link->details->display_name, "Network Servers") == 0) { + g_free (link->details->display_name); + link->details->display_name = g_strdup (_("Network")); + } + link->details->activation_location = g_file_new_for_uri ("network:///"); link->details->icon = g_themed_icon_new (NAUTILUS_DESKTOP_ICON_NETWORK);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor