# Path: backends/globals.py
# WORK_DIRECTORY = "/usr/share/samsung-tools"


from os.path import join, exists
from backends.globals import WORK_DIRECTORY
# Copyleft (C) 2010 by
# Fortunato Ventre - <vorione@gmail.com> - <http://www.voria.org>
#
# 'Samsung-Tools' is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU General Public License for more details.
# <http://www.gnu.org/licenses/gpl.txt>


SAMSUNG_TOOLS_ICON = join(WORK_DIRECTORY, "gui/icons/samsung-tools.png")

FAN_NORMAL_ICON = join(WORK_DIRECTORY, "gui/icons/fan-normal.png")
FAN_SILENT_ICON = join(WORK_DIRECTORY, "gui/icons/fan-silent.png")
FAN_OVERCLOCK_ICON = join(WORK_DIRECTORY, "gui/icons/fan-overclock.png")
WEBCAM_ICON = "camera-web"

# If notify-osd icons are not available, use the default ones
if exists("/usr/share/notify-osd/icons/"):
    BLUETOOTH_ICON = "bluetooth"
    WIRELESS_ENABLED_ICON = "notification-network-wireless-none"
    WIRELESS_DISABLED_ICON = "notification-network-wireless-disconnected"
    ERROR_ICON = "error"
    STOP_ICON = "stop"
else:

# Path: backends/globals.py
# WORK_DIRECTORY = "/usr/share/samsung-tools"


# Path: backends/session/util/icons.py
from os.path import join, exists
from backends.globals import WORK_DIRECTORY

# Copyleft (C) 2010 by
# Fortunato Ventre - <vorione@gmail.com> - <http://www.voria.org>
#
# 'Samsung-Tools' is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU General Public License for more details.
# <http://www.gnu.org/licenses/gpl.txt>


SAMSUNG_TOOLS_ICON = join(WORK_DIRECTORY, "gui/icons/samsung-tools.png")

FAN_NORMAL_ICON = join(WORK_DIRECTORY, "gui/icons/fan-normal.png")
FAN_SILENT_ICON = join(WORK_DIRECTORY, "gui/icons/fan-silent.png")
FAN_OVERCLOCK_ICON = join(WORK_DIRECTORY, "gui/icons/fan-overclock.png")
WEBCAM_ICON = "camera-web"

# If notify-osd icons are not available, use the default ones
if exists("/usr/share/notify-osd/icons/"):
    BLUETOOTH_ICON = "bluetooth"
    WIRELESS_ENABLED_ICON = "notification-network-wireless-none"
    WIRELESS_DISABLED_ICON = "notification-network-wireless-disconnected"
    ERROR_ICON = "error"
    STOP_ICON = "stop"
else:

    BLUETOOTH_ICON = join(WORK_DIRECTORY, "gui/icons/bluetooth.png")