Uses Granite.SearchBar which is deprecated

Bug #1337291 reported by Sergey "Shnatsel" Davidoff on 2014-07-03
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Euclide
Undecided
Unassigned
Noise
Fix Released
Medium
Sergey "Shnatsel" Davidoff
Scratch
Fix Released
Medium
Fabio Zaramella

Bug Description

Several elementary apps use Granite.SearchBar which is deprecated in favor of Gtk.SearchEntry as of GTK 3.12

Applications that are already migrated to GTK 3.12 should use Gtk.SearchEntry. However, if the app does not require 3.12 for something else yet, this is probably not a good idea.

Example of migration from Granite.SearchBar to Gtk.SearchEntry can be found at https://code.launchpad.net/~elementary-apps/noise/Gtk.SearchEntry/+merge/225408

List of remaining occurrences of Granite.SearchBar in our applications:

appcenter/src/Widgets/Toolbar.vala: public SearchBar searchbar;
appcenter/src/Widgets/Toolbar.vala: searchbar = new SearchBar(_("Search Apps"));

euclide/src/main.vala: SearchBar search_bar;

granite/demo/GraniteDemo.vala: var search_entry = new Granite.Widgets.SearchBar ("Search");

scratch/src/Widgets/SearchManager.vala: public Granite.Widgets.SearchBar search_entry;
scratch/src/Widgets/SearchManager.vala: public Granite.Widgets.SearchBar replace_entry;
scratch/src/Widgets/SearchManager.vala: search_entry = new Granite.Widgets.SearchBar (_("Find"));
scratch/src/Widgets/SearchManager.vala: replace_entry = new Granite.Widgets.SearchBar (_("Replace With")

Related branches

description: updated
tags: added: deprecation
Changed in noise:
status: New → In Progress
assignee: nobody → Sergey "Shnatsel" Davidoff (shnatsel)
Changed in noise:
status: In Progress → Fix Committed
description: updated
Cody Garver (codygarver) on 2014-07-03
Changed in noise:
importance: Undecided → Medium
milestone: none → freya-beta2
Changed in scratch:
status: New → Confirmed
Changed in scratch:
status: Confirmed → In Progress
assignee: nobody → Fabio Zaramella (ffabio-96-x)
Cody Garver (codygarver) on 2014-09-01
Changed in scratch:
importance: Undecided → Medium
milestone: none → freya-beta2
Cody Garver (codygarver) on 2014-10-05
Changed in scratch:
status: In Progress → Fix Committed
Daniel Fore (danrabbit) on 2015-02-09
Changed in noise:
status: Fix Committed → Fix Released
Changed in scratch:
status: Fix Committed → Fix Released
Cody Garver (codygarver) on 2015-04-11
Changed in scratch:
milestone: freya-beta2 → 2.1
Daniel Fore (danrabbit) on 2015-06-30
no longer affects: appcenter
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers