diff options
Diffstat (limited to 'src/jarabe/desktop/myicon.py')
-rw-r--r-- | src/jarabe/desktop/myicon.py | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/jarabe/desktop/myicon.py b/src/jarabe/desktop/myicon.py deleted file mode 100644 index 4a4ad95..0000000 --- a/src/jarabe/desktop/myicon.py +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright (C) 2006-2007 Red Hat, Inc. -# -# This program 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 2 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. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -import gconf - -from sugar.graphics.icon import CanvasIcon -from sugar.graphics.xocolor import XoColor - -class MyIcon(CanvasIcon): - def __init__(self, size): - client = gconf.client_get_default() - color = XoColor(client.get_string("/desktop/sugar/user/color")) - CanvasIcon.__init__(self, size=size, - icon_name='computer-xo', - xo_color=color) |