gnome-shell/js
Carlos Soriano 9970671bb1 Search: Don't use IconGrid width for maxDisplayedResults
Currently to know how many results we could show for GridResults
we use the width of the bin containing those results. Since it's
expanding it shouldn't be a problem. But it becomes a problem when
no results are displayed, thus the container becomes hidden and
it losts its allocation.
In the next introduction of terms in search we call again
maxDisplayedResults but it doesn't have allocation yet, and therefore no
results are displayed (currently a bug on IconGrid makes the min size =
one icon, so actually we show one and only one icon in this case).

To solve that use the parent container which contains the search results
of all providers or the text label with not displayed results, so it
always have the real available width to calculate maxDisplayedResults.

Thanks Alban Browaeys for the debugging footwork.

https://bugzilla.gnome.org/show_bug.cgi?id=732416
2014-07-19 18:12:43 +02:00
..
extensionPrefs extensionPrefs: Respect 'disable-extension-version-validation' setting 2014-07-18 10:47:02 +02:00
gdm js: Adapt to GSettings API change 2014-06-24 15:17:09 -04:00
misc util: Don't pass too many arguments to child_watch_add 2014-04-28 10:22:51 -04:00
perf hwtest.js: Don't parse JSON with regexps 2014-07-16 13:22:13 -04:00
portalHelper portalHelper: fix typo 2014-06-26 20:10:18 +02:00
ui Search: Don't use IconGrid width for maxDisplayedResults 2014-07-19 18:12:43 +02:00
js-resources.gresource.xml Add a new hwtest script 2014-07-16 10:37:48 -04:00
Makefile.am js/Makefile.am: Fix dependency generation with srcdir != builddir 2014-06-29 18:27:53 -04:00