From f95ed83c3eea358383ffe6052d6bb74422937c7e Mon Sep 17 00:00:00 2001 From: Manuel QuiƱones Date: Tue, 15 Jan 2013 11:22:36 +0000 Subject: Adapt to icon changes - SL #3569 - The stop and refresh icons were moved to Sugar Artwork, so can be removed. They have also been renamed, so change the code accordingly. - The system-search has been renamed to entry-search in Sugar Artwork. Signed-off-by: Manuel QuiƱones Acked-by: Simon Schampijer --- diff --git a/edittoolbar.py b/edittoolbar.py index f77cbbe..a407226 100644 --- a/edittoolbar.py +++ b/edittoolbar.py @@ -47,7 +47,7 @@ class EditToolbar(BaseEditToolbar): search_item = Gtk.ToolItem() self.search_entry = iconentry.IconEntry() self.search_entry.set_icon_from_name(iconentry.ICON_ENTRY_PRIMARY, - 'system-search') + 'entry-search') self.search_entry.add_clear_button() self.search_entry.connect('activate', self.__search_entry_activate_cb) self.search_entry.connect('changed', self.__search_entry_changed_cb) diff --git a/icons/browse-dialog-cancel.svg b/icons/browse-dialog-cancel.svg deleted file mode 100644 index 76e2703..0000000 --- a/icons/browse-dialog-cancel.svg +++ /dev/null @@ -1,17 +0,0 @@ - - - -]> - - - - - - diff --git a/icons/browse-view-refresh.svg b/icons/browse-view-refresh.svg deleted file mode 100644 index 0682978..0000000 --- a/icons/browse-view-refresh.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - -]> - - - - diff --git a/webtoolbar.py b/webtoolbar.py index dc0b3de..19f2b21 100644 --- a/webtoolbar.py +++ b/webtoolbar.py @@ -278,7 +278,7 @@ class PrimaryToolbar(ToolbarBase): self.entry = WebEntry() self.entry.set_icon_from_name(iconentry.ICON_ENTRY_SECONDARY, - 'browse-dialog-cancel') + 'entry-stop') self.entry.connect('icon-press', self._stop_and_reload_cb) self.entry.connect('activate', self._entry_activate_cb) self.entry.connect('focus-in-event', self.__focus_in_event_cb) @@ -436,11 +436,11 @@ class PrimaryToolbar(ToolbarBase): def _show_stop_icon(self): self.entry.set_icon_from_name(iconentry.ICON_ENTRY_SECONDARY, - 'browse-dialog-cancel') + 'entry-stop') def _show_reload_icon(self): self.entry.set_icon_from_name(iconentry.ICON_ENTRY_SECONDARY, - 'browse-view-refresh') + 'entry-refresh') def _update_navigation_buttons(self): can_go_back = self._browser.can_go_back() -- cgit v0.9.1