Commit graph

17 commits

Author SHA1 Message Date
Matthias Clasen
8c9a1eec33 Be robust against extraneous signal emissions
It seems that we are occasionally get duplicate ClutterTimeline::completed
emissions. Make the code robust against that.

https://bugzilla.gnome.org/show_bug.cgi?id=677946
2012-06-20 19:14:04 +01:00
Jasper St. Pierre
f8da96e425 shell: Make CcNotebook buildable 2012-06-12 13:58:17 -04:00
Jasper St. Pierre
5d228b707a shell: Fix wrong function being used to get width
get width better than get height...
2012-06-12 18:28:01 +01:00
Bastien Nocera
7d7fc2e124 shell: Fix possible crashers when there are no pages
Wouldn't happen in gnome-control-center. Spotted by Jasper St. Pierre
2012-06-12 18:17:38 +01:00
Bastien Nocera
56bd29ebf3 shell: Make it possible to not animate transitions
In CcNotebook.
2012-06-11 14:29:38 +01:00
Bastien Nocera
a2d338b2d8 shell: Add debug to CcNotebook scrolling 2012-05-23 18:07:08 +01:00
Bastien Nocera
95d5e61100 shell: Fix first selection not working
We weren't saving the last_width early enough.
2012-05-23 17:08:28 +01:00
Bastien Nocera
359f029419 shell: Fix keyboard focus in animated notebook
But just for panels, the main overview is still sub-par.
2012-05-22 18:21:37 +01:00
Bastien Nocera
b82141038e shell: CcNotebook can focus indeed 2012-05-22 18:21:37 +01:00
Bastien Nocera
948867b6d3 shell: Fix resetting page selection
When the page selection happens when another page selection hasn't
started yet, we need to cancel the previous animation, or only one
of them might be effectively acted upon.

This fixes the page from being selected if the search term is changed
quickly (you'd end up at the overview page instead of staying on the
search results page).

Requires the clutter patch from:
https://bugzilla.gnome.org/show_bug.cgi?id=676334

https://bugzilla.gnome.org/show_bug.cgi?id=676328
2012-05-18 17:43:08 +01:00
Bastien Nocera
835a09e1f8 shell: Destroy the page instead of removing it
Because we don't actually need the child simply removed.
Works-around run-time warnings with clutter-gtk.
2012-05-16 13:17:12 +01:00
Bastien Nocera
dbfd9ecb59 shell: Fix another memleak in CcNotebook 2012-05-11 12:21:37 +01:00
Bastien Nocera
2ea396cee3 shell: Chain up CcNotebook's finalize function 2012-05-11 12:18:34 +01:00
Bastien Nocera
b96c440da9 shell: Remove left-over FIXME 2012-05-11 11:57:01 +01:00
Bastien Nocera
bec2efb36a shell: Try to always use delayed removal 2012-05-10 19:20:58 +01:00
Bastien Nocera
62d2bcf0b8 shell: Fix xrefs not working
We were scrolling to parts of the stage where we wouldn't have
a page anymore. Don't do that, and only remove pages when we're
done with animations.
2012-05-10 18:36:21 +01:00
Bastien Nocera
74aa98b7c8 shell: Add animated notebook
Powered by gtk-clutter.
2012-05-09 16:50:21 +01:00