Ticket #3569: 0001-Adapt-to-changes-in-icons-SL-3569.patch

File 0001-Adapt-to-changes-in-icons-SL-3569.patch, 4.1 KB (added by manuq, 11 years ago)

Shell patch: adapt to icon changes.

  • extensions/cpsection/datetime/view.py

    From 21785a2cf1141f667fb7d89e48dd3ca5c6c70313 Mon Sep 17 00:00:00 2001
    From: =?UTF-8?q?Manuel=20Qui=C3=B1ones?= <manuq@laptop.org>
    Date: Mon, 14 Jan 2013 18:29:00 -0300
    Subject: [PATCH shell] Adapt to changes in icons - SL #3569
    MIME-Version: 1.0
    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    Mail-Followup-To: <sugar-devel@lists.sugarlabs.org>
    
    - 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>
    ---
     extensions/cpsection/datetime/view.py | 2 +-
     src/jarabe/controlpanel/toolbar.py    | 2 +-
     src/jarabe/desktop/activitieslist.py  | 4 ++--
     src/jarabe/desktop/viewtoolbar.py     | 2 +-
     src/jarabe/journal/journaltoolbox.py  | 2 +-
     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 b class TimeZone(SectionView): 
    4141
    4242        self._entry = iconentry.IconEntry()
    4343        self._entry.set_icon_from_name(iconentry.ICON_ENTRY_PRIMARY,
    44                                  'system-search')
     44                                 'entry-search')
    4545        self._entry.add_clear_button()
    4646        self.pack_start(self._entry, False, False, 0)
    4747        self._entry.show()
  • src/jarabe/controlpanel/toolbar.py

    diff --git a/src/jarabe/controlpanel/toolbar.py b/src/jarabe/controlpanel/toolbar.py
    index 1423e94..5f298b9 100644
    a b class MainToolbar(Gtk.Toolbar): 
    5050        tool_item.show()
    5151        self._search_entry = iconentry.IconEntry()
    5252        self._search_entry.set_icon_from_name(iconentry.ICON_ENTRY_PRIMARY,
    53                                               'system-search')
     53                                              'entry-search')
    5454        self._search_entry.add_clear_button()
    5555        self._search_entry.set_width_chars(25)
    5656        text = _('Search in %s') % _('Settings')
  • src/jarabe/desktop/activitieslist.py

    diff --git a/src/jarabe/desktop/activitieslist.py b/src/jarabe/desktop/activitieslist.py
    index 7d7ae6f..1cf67ab 100644
    a b class ClearMessageBox(Gtk.EventBox): 
    333333
    334334        icon = Icon(pixel_size=style.LARGE_ICON_SIZE,
    335335                    icon_name='system-search',
    336                     stroke_color=style.COLOR_TRANSPARENT.get_svg(),
    337                     fill_color=style.COLOR_BUTTON_GREY.get_svg())
     336                    stroke_color=style.COLOR_BUTTON_GREY.get_svg(),
     337                    fill_color=style.COLOR_TRANSPARENT.get_svg())
    338338        box.pack_start(icon, expand=True, fill=False, padding=0)
    339339        icon.show()
    340340
  • src/jarabe/desktop/viewtoolbar.py

    diff --git a/src/jarabe/desktop/viewtoolbar.py b/src/jarabe/desktop/viewtoolbar.py
    index 5cb0186..850ccbc 100644
    a b class ViewToolbar(Gtk.Toolbar): 
    5858
    5959        self.search_entry = iconentry.IconEntry()
    6060        self.search_entry.set_icon_from_name(iconentry.ICON_ENTRY_PRIMARY,
    61                                              'system-search')
     61                                             'entry-search')
    6262        self.set_placeholder_text_for_view(_('Home'))
    6363        self.search_entry.add_clear_button()
    6464        self.search_entry.set_width_chars(25)
  • src/jarabe/journal/journaltoolbox.py

    diff --git a/src/jarabe/journal/journaltoolbox.py b/src/jarabe/journal/journaltoolbox.py
    index e87da2d..f794dd7 100644
    a b class MainToolbox(ToolbarBox): 
    7979
    8080        self.search_entry = iconentry.IconEntry()
    8181        self.search_entry.set_icon_from_name(iconentry.ICON_ENTRY_PRIMARY,
    82                                              'system-search')
     82                                             'entry-search')
    8383        text = _('Search in %s') % _('Journal')
    8484        self.search_entry.set_placeholder_text(text)
    8585        self.search_entry.connect('activate', self._search_entry_activated_cb)