Skip to content
This repository has been archived by the owner on Apr 24, 2022. It is now read-only.

Commit

Permalink
Fix the issue that show "Computer Icon" and rename will crash in 14.04
Browse files Browse the repository at this point in the history
  • Loading branch information
tualatrix committed May 28, 2014
1 parent 080e453 commit abb81be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ubuntutweak/tweaks/icons.py
Expand Up @@ -51,7 +51,7 @@
"icon_name": "network-workgroup"
}

if system.CODENAME == 'saucy':
if system.CODENAME != 'precise':
desktop_icons = (home_icon, trash_icon, network_icon)
else:
desktop_icons = (computer_icon, home_icon, trash_icon, network_icon)
Expand Down Expand Up @@ -138,7 +138,7 @@ def __init__(self):
backend="gsettings")
setting_list.append(volumes_button)

if system.CODENAME != 'saucy':
if system.CODENAME == 'precise':
home_contents_button = WidgetFactory.create("CheckButton",
label=self.utext_home_folder,
key="org.gnome.nautilus.preferences.desktop-is-home-dir",
Expand Down

0 comments on commit abb81be

Please sign in to comment.