diff options
author | James Simmons <nicestep@gmail.com> | 2016-01-24 21:13:35 (GMT) |
---|---|---|
committer | James Simmons <nicestep@gmail.com> | 2016-01-24 21:13:35 (GMT) |
commit | f751482f60b7ca00706ad16b7937662907d7da40 (patch) | |
tree | 95adef70f97df1103aaae2ed3c6bceb7fd64d008 /mybutton.py | |
parent | 13dd3607fc1a01395d67572daa10c7fd4431e512 (diff) |
modified: ReadEtextsActivity.py
modified: mybutton.py
modified: speech.py
modified: speech_gst.py
Change speech code to use Gst instead of gst.
Diffstat (limited to 'mybutton.py')
-rw-r--r-- | mybutton.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mybutton.py b/mybutton.py index 38743ef..513ad1b 100644 --- a/mybutton.py +++ b/mybutton.py @@ -16,8 +16,8 @@ # 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 US -from gi.repository import Gtk -import gconf + +from gi.repository import GConf from sugar3.graphics.toolbarbox import ToolbarButton from sugar3.activity.widgets import ActivityToolbar @@ -29,7 +29,7 @@ def _create_activity_icon(metadata): if metadata.get('icon-color', ''): color = XoColor(metadata['icon-color']) else: - client = gconf.client_get_default() + client = GConf.client_get_default() color = XoColor(client.get_string('/desktop/sugar/user/color')) from sugar3.activity.activity import get_bundle_path |