[gedit/gnome-3-2] quickopen: set placeholder text



commit 7fbf0a32220c5ddccb727cb05cc352e742e224e4
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Tue Nov 1 20:08:07 2011 +0100

    quickopen: set placeholder text

 plugins/quickopen/quickopen/popup.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/quickopen/quickopen/popup.py b/plugins/quickopen/quickopen/popup.py
index 6c828c4..034eca0 100644
--- a/plugins/quickopen/quickopen/popup.py
+++ b/plugins/quickopen/quickopen/popup.py
@@ -69,6 +69,7 @@ class Popup(Gtk.Dialog):
         action_area.set_spacing(6)
 
         self._entry = Gtk.Entry()
+        self._entry.set_placeholder_text(_('Type to search...'))
         self.set_entry_icon(self._entry)
 
         self._entry.connect('changed', self.on_changed)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]