Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Schampijer <simon@laptop.org>2012-10-18 11:45:51 (GMT)
committer Simon Schampijer <simon@laptop.org>2012-10-18 11:49:24 (GMT)
commitfcd748939996fa1f970244f8ef8680677ec128c0 (patch)
treed065a6c424dbea4972763c5c72eb5a9bd488809f
parentc2389709db1c87aa9f5984af37c4127710d2dfd1 (diff)
Control Panel: set placeholder text for search entry, SL #3998
Signed-off-by: Simon Schampijer <simon@laptop.org> Acked-by: Manuel QuiƱones <manuq@laptop.org>
-rw-r--r--src/jarabe/controlpanel/toolbar.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jarabe/controlpanel/toolbar.py b/src/jarabe/controlpanel/toolbar.py
index 2094d3b..1423e94 100644
--- a/src/jarabe/controlpanel/toolbar.py
+++ b/src/jarabe/controlpanel/toolbar.py
@@ -53,6 +53,8 @@ class MainToolbar(Gtk.Toolbar):
'system-search')
self._search_entry.add_clear_button()
self._search_entry.set_width_chars(25)
+ text = _('Search in %s') % _('Settings')
+ self._search_entry.set_placeholder_text(text)
self._search_entry.connect('changed', self.__search_entry_changed_cb)
tool_item.add(self._search_entry)
self._search_entry.show()