diff options
author | Marco 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) |
commit | f5ef8a13656196c912e94e36679abaafaa9385fe (patch) | |
tree | 1ec4942dd6e228949e9f53c03fa95cdd8c1b4dc4 | |
parent | 92957d6e4cd557e4d37fe7c913a521873c2ecfda (diff) |
Adapt to sugar API changes
-rwxr-xr-x | setup.py | 2 | ||||
-rwxr-xr-x | webtoolbar.py | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -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 |