Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2007-05-31 09:27:00 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2007-05-31 09:27:00 (GMT)
commitf5ef8a13656196c912e94e36679abaafaa9385fe (patch)
tree1ec4942dd6e228949e9f53c03fa95cdd8c1b4dc4
parent92957d6e4cd557e4d37fe7c913a521873c2ecfda (diff)
Adapt to sugar API changes
-rwxr-xr-xsetup.py2
-rwxr-xr-xwebtoolbar.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/setup.py b/setup.py
index 876cd3f..fae74b8 100755
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# Copyright (C) 2006, Red Hat, Inc.
#
diff --git a/webtoolbar.py b/webtoolbar.py
index adb9e73..b6cd094 100755
--- a/webtoolbar.py
+++ b/webtoolbar.py
@@ -125,10 +125,10 @@ class WebToolbar(gtk.Toolbar):
self._entry.props.address = address
def _show_stop_icon(self):
- self._stop_and_reload.set_named_icon('stop')
+ self._stop_and_reload.set_icon('stop')
def _show_reload_icon(self):
- self._stop_and_reload.set_named_icon('view-refresh')
+ self._stop_and_reload.set_icon('view-refresh')
def _update_navigation_buttons(self):
can_go_back = self._browser.web_navigation.canGoBack