|
@@ -66,12 +66,9 @@ def get_desktop_icons(user=None): |
|
|
for standard_icon in standard_icons: |
|
|
for standard_icon in standard_icons: |
|
|
if standard_icon.module_name not in user_icon_names: |
|
|
if standard_icon.module_name not in user_icon_names: |
|
|
|
|
|
|
|
|
# flag for modules_setup page |
|
|
|
|
|
standard_icon.hidden_in_standard = standard_icon.hidden |
|
|
|
|
|
|
|
|
|
|
|
# if blocked, hidden too! |
|
|
# if blocked, hidden too! |
|
|
if standard_icon.blocked: |
|
|
if standard_icon.blocked: |
|
|
standard_icon.hidden = 1 |
|
|
|
|
|
|
|
|
standard_icon.hidden_in_standard = 1 |
|
|
|
|
|
|
|
|
user_icons.append(standard_icon) |
|
|
user_icons.append(standard_icon) |
|
|
|
|
|
|
|
|