Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Quiñones <manuq@laptop.org>2013-01-14 21:29:00 (GMT)
committer Manuel Quiñones <manuq@laptop.org>2013-01-15 13:35:28 (GMT)
commit97178f9d57cb39d5006ae6318b5bd691613f592f (patch)
treea6cc0907b306b7a6e33712e8a2580d93ad9fe7ce
parent2860ab47c3c62c00f77da2f5ff1ee337c11aaec0 (diff)
Adapt to changes in icons - SL #3569
- Use entry-search instead of system-search in entries - Keep using system-search in activity list view, but adjust the colors Signed-off-by: Manuel Quiñones <manuq@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org>
-rw-r--r--extensions/cpsection/datetime/view.py2
-rw-r--r--src/jarabe/controlpanel/toolbar.py2
-rw-r--r--src/jarabe/desktop/activitieslist.py4
-rw-r--r--src/jarabe/desktop/viewtoolbar.py2
-rw-r--r--src/jarabe/journal/journaltoolbox.py2
5 files changed, 6 insertions, 6 deletions
diff --git a/extensions/cpsection/datetime/view.py b/extensions/cpsection/datetime/view.py
index e768e03..734240b 100644
--- a/extensions/cpsection/datetime/view.py
+++ b/extensions/cpsection/datetime/view.py
@@ -41,7 +41,7 @@ class TimeZone(SectionView):
self._entry = iconentry.IconEntry()
self._entry.set_icon_from_name(iconentry.ICON_ENTRY_PRIMARY,
- 'system-search')
+ 'entry-search')
self._entry.add_clear_button()
self.pack_start(self._entry, False, False, 0)
self._entry.show()
diff --git a/src/jarabe/controlpanel/toolbar.py b/src/jarabe/controlpanel/toolbar.py
index 1423e94..5f298b9 100644
--- a/src/jarabe/controlpanel/toolbar.py
+++ b/src/jarabe/controlpanel/toolbar.py
@@ -50,7 +50,7 @@ class MainToolbar(Gtk.Toolbar):
tool_item.show()
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.set_width_chars(25)
text = _('Search in %s') % _('Settings')
diff --git a/src/jarabe/desktop/activitieslist.py b/src/jarabe/desktop/activitieslist.py
index 7d7ae6f..1cf67ab 100644
--- a/src/jarabe/desktop/activitieslist.py
+++ b/src/jarabe/desktop/activitieslist.py
@@ -333,8 +333,8 @@ class ClearMessageBox(Gtk.EventBox):
icon = Icon(pixel_size=style.LARGE_ICON_SIZE,
icon_name='system-search',
- stroke_color=style.COLOR_TRANSPARENT.get_svg(),
- fill_color=style.COLOR_BUTTON_GREY.get_svg())
+ stroke_color=style.COLOR_BUTTON_GREY.get_svg(),
+ fill_color=style.COLOR_TRANSPARENT.get_svg())
box.pack_start(icon, expand=True, fill=False, padding=0)
icon.show()
diff --git a/src/jarabe/desktop/viewtoolbar.py b/src/jarabe/desktop/viewtoolbar.py
index 5cb0186..850ccbc 100644
--- a/src/jarabe/desktop/viewtoolbar.py
+++ b/src/jarabe/desktop/viewtoolbar.py
@@ -58,7 +58,7 @@ class ViewToolbar(Gtk.Toolbar):
self.search_entry = iconentry.IconEntry()
self.search_entry.set_icon_from_name(iconentry.ICON_ENTRY_PRIMARY,
- 'system-search')
+ 'entry-search')
self.set_placeholder_text_for_view(_('Home'))
self.search_entry.add_clear_button()
self.search_entry.set_width_chars(25)
diff --git a/src/jarabe/journal/journaltoolbox.py b/src/jarabe/journal/journaltoolbox.py
index e87da2d..f794dd7 100644
--- a/src/jarabe/journal/journaltoolbox.py
+++ b/src/jarabe/journal/journaltoolbox.py
@@ -79,7 +79,7 @@ class MainToolbox(ToolbarBox):
self.search_entry = iconentry.IconEntry()
self.search_entry.set_icon_from_name(iconentry.ICON_ENTRY_PRIMARY,
- 'system-search')
+ 'entry-search')
text = _('Search in %s') % _('Journal')
self.search_entry.set_placeholder_text(text)
self.search_entry.connect('activate', self._search_entry_activated_cb)