Uses Granite.SearchBar which is deprecated

Bug #1337291 reported by Sergey "Shnatsel" Davidoff
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Euclide
New
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")

Tags: deprecation

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)
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)
Changed in scratch:
importance: Undecided → Medium
milestone: none → freya-beta2
Cody Garver (codygarver)
Changed in scratch:
status: In Progress → Fix Committed
Changed in noise:
status: Fix Committed → Fix Released
Changed in scratch:
status: Fix Committed → Fix Released
Cody Garver (codygarver)
Changed in scratch:
milestone: freya-beta2 → 2.1
no longer affects: appcenter
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.