Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/settingsitem.py
diff options
context:
space:
mode:
Diffstat (limited to 'settingsitem.py')
-rw-r--r--settingsitem.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/settingsitem.py b/settingsitem.py
index a690597..f4016ac 100644
--- a/settingsitem.py
+++ b/settingsitem.py
@@ -1,7 +1,4 @@
-#!/usr/bin/env python
-# -*- coding: utf-8 -*-
-#
-# Copyright (C) 2012 S. Daniel Francis <francis@sugarlabs.org>
+# Copyright (C) 2012-2013 S. Daniel Francis <francis@sugarlabs.org>
#
# 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
@@ -43,7 +40,7 @@ class SettingsItem(Item):
if self.tooltip:
title = self.tooltip
else:
- title = gtk.stock_lookup(self.stock_id)[1]
+ title = stock.get_title(self.stock_id)
dialog = gtk.Dialog(title, self.parent)
dialog.vbox.pack_start(self.content, True, True)
self.content.show()