~artem-anufrij/scratch/dont-force-to-save-unsaved

« back to all changes in this revision

Viewing changes to src/Widgets/SearchManager.vala

  • Committer: artem-anufrij
  • Date: 2014-10-11 21:07:51 UTC
  • mfrom: (1387.1.4 scratch)
  • Revision ID: artem-anufrij-20141011210751-8zw8opki4akvwhlv
get_user_cache_dir() for termporary files; changed the text.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
        private Gtk.ToolItem tool_arrow_up;
33
33
        private Gtk.ToolItem tool_arrow_down;
34
34
 
35
 
        public Granite.Widgets.SearchBar search_entry;
36
 
        public Granite.Widgets.SearchBar replace_entry;
 
35
        public Gtk.SearchEntry search_entry;
 
36
        public Gtk.SearchEntry replace_entry;
37
37
        public Gtk.SpinButton go_to_entry;
38
38
        private Gtk.Adjustment go_to_adj;
39
39
        
68
68
            // Main entries
69
69
            // Search entry
70
70
            this.window = window;
71
 
            search_entry = new Granite.Widgets.SearchBar (_("Find"));
 
71
            search_entry = new Gtk.SearchEntry ();
 
72
            search_entry.placeholder_text = _("Find");
72
73
            search_entry.width_request = 250;
73
74
            
74
75
            // Back and Next buttons
87
88
            previous.image = i;
88
89
            
89
90
            // Replace entry
90
 
            replace_entry = new Granite.Widgets.SearchBar (_("Replace With"));
 
91
            replace_entry = new Gtk.SearchEntry ();
 
92
            replace_entry.placeholder_text = _("Replace With");
91
93
            replace_entry.set_icon_from_icon_name (Gtk.EntryIconPosition.PRIMARY, "edit-symbolic");
92
94
            replace_entry.width_request = 250;
93
95