Commit graph

266 commits

Author SHA1 Message Date
Bastien Nocera
e7d6514a11 shell: Only link to clutter-gtk with cheese support 2012-08-18 16:09:24 +01:00
Bastien Nocera
69b2a05b25 shell: Remove CcNotebook
https://bugzilla.gnome.org/show_bug.cgi?id=682127
2012-08-18 16:09:01 +01:00
Bastien Nocera
10c00125f4 shell: Drop panel transitions
They're not finished and don't match what the designers would want.

https://bugzilla.gnome.org/show_bug.cgi?id=682127
2012-08-18 16:03:19 +01:00
Bastien Nocera
72fd5636e5 shell: Add GtkNotebook helper functions
https://bugzilla.gnome.org/show_bug.cgi?id=682127
2012-08-18 16:02:39 +01:00
Bastien Nocera
ee32c358f1 shell: Don't handle shortcuts with excess modifiers
Ctrl+Alt+W shouldn't be handled the same way as Ctrl+W.

https://bugzilla.gnome.org/show_bug.cgi?id=675475
2012-07-16 18:05:04 +01:00
Bastien Nocera
3b4f577652 shell: Fix not being able to assign Ctrl+Q to a shortcut
Because the shell window was capturing it before the key editing
cell had a change to get to it.

s/g_signal_connect/g_signal_connect_after/

https://bugzilla.gnome.org/show_bug.cgi?id=671448
2012-07-16 17:05:48 +01:00
Cosimo Cecchi
1b3e877ef2 shell: remove CcStrengthBar
Panels are all ported to GtkLevelBar instead.

https://bugzilla.gnome.org/show_bug.cgi?id=679984
2012-07-16 11:29:26 +01:00
Bastien Nocera
4db7021513 shell: Fix search results not appearing
Introduced in commit d382c42e5c by
some overeager code removal.

https://bugzilla.gnome.org/show_bug.cgi?id=678514
2012-06-21 10:36:08 +01:00
Jasper St. Pierre
fd3afa8d4f shell: Handle non-existant panels more gracefully
If we're at the overview screen and try to launch a non-existant panel,
we shouldn't remove the scroll view.

https://bugzilla.gnome.org/show_bug.cgi?id=677980
2012-06-20 19:17:36 +01:00
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
d382c42e5c shell: Remove reparenting hacks
Now that CcNotebook is buildable, we don't need to do these ugly hacks.
2012-06-12 13:58:17 -04:00
Jasper St. Pierre
f8da96e425 shell: Make CcNotebook buildable 2012-06-12 13:58:17 -04:00
Jasper St. Pierre
54d24f0574 shell: Remove unnecessary tabs 2012-06-12 13:58:15 -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
42c65b5c5f shell: Use GtkSearchEntry
And require GTK+ 3.3.5 for it.
2012-06-11 19:07:01 +01:00
Bastien Nocera
94a46524b5 shell: Don't animate between overview and search pages 2012-06-11 14:29:39 +01:00
Bastien Nocera
0fdecb67c3 shell: Update test-notebook for API change 2012-06-11 14:29:39 +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
f2a9d3a478 shell: Fix crash when using keynav in overview
get_item_views() was expecting all the children of the overview
to be of type "CcShellCategoryView".

It's not the case since 620e70113c
added GtkSeparators as children.

We now just skip them non-views in get_item_views().

https://bugzilla.gnome.org/show_bug.cgi?id=677314
2012-06-06 16:13:35 +01:00
Bastien Nocera
93bc61e0b4 shell: Fix --verbose not working anymore 2012-05-23 18:07:08 +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
William Jon McCann
e18742c90e Implement a new search results design
Search results aren't laid out evenly and they are packed together too tightly.
Also, panel descriptions are truncated. There is plenty of space available, we
might as well use it.

https://bugzilla.gnome.org/show_bug.cgi?id=654977
2012-05-22 11:43:13 -04:00
Bastien Nocera
0b93e7c80f shell: Make all-settings button always square
By wrapping it in an aspect frame.

https://bugzilla.gnome.org/show_bug.cgi?id=670551
2012-05-21 19:16:55 +01:00
Bastien Nocera
9e6ed56939 shell: Fix possible warning on startup
When started with a specific panel listed.
2012-05-21 18:51:18 +01:00
Bastien Nocera
85dbb1d8c5 shell: Update scrolled window height on smallness change
When the small mode changes, make sure to update the scrolled
window's natural height.

https://bugzilla.gnome.org/show_bug.cgi?id=673869#c47
2012-05-21 18:02:35 +01:00
Bastien Nocera
8efba88f4c shell: Use enum for small screen
Instead of 2 variables to track the unset status.
2012-05-21 16:03:00 +01:00
Bastien Nocera
a112361267 shell: Don't use workarea height
Instead of monitor height to check for the available height, as
the workarea height won't have been updated fast enough after
a monitors-changed signal.

https://bugzilla.gnome.org/show_bug.cgi?id=673869#c47
2012-05-21 15:45:19 +01:00
Florian Müllner
7e77b7b7da shell: Fix ctrl-w keybinding 2012-05-18 18:48:38 +02:00
Florian Müllner
c626ba5cdf shell: Add application menu
Add a simple application menu containing just "Help" and "Quit".

https://bugzilla.gnome.org/show_bug.cgi?id=675471
2012-05-18 18:48:38 +02:00
Florian Müllner
ad4da16126 shell: Make the main window a GtkApplicationWindow
This is a prerequisite of using the new GMenu API. Also move the
check for small screen sizes introduced in commit 22ed5a9fd5, as
GtkApplicationWindows cannot be realized unless their application
property has been set.

https://bugzilla.gnome.org/show_bug.cgi?id=675471
2012-05-18 18:48:38 +02:00
Florian Müllner
6827068ade cc-panel: Add get_help_uri() vfunc
We want to allow panels to point to a specific help page, so add
a vfunc for that.

https://bugzilla.gnome.org/show_bug.cgi?id=675471
2012-05-18 18:48:37 +02:00
Florian Müllner
78717031db shell: Make sure the "active-panel" property is updated
The (currently unused) cc_shell_get_active_panel() method is useless
unless "active-panel" is actually updated correctly.

https://bugzilla.gnome.org/show_bug.cgi?id=675471
2012-05-18 18:48:37 +02:00
Florian Müllner
ce8e1208bc shell: Pass the object to show_overview_page(), not its private
We will need it to update the "active-panel" property properly.

https://bugzilla.gnome.org/show_bug.cgi?id=675471
2012-05-18 18:48:37 +02: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
19f2772107 shell: Rename search renderer
And cc- prefix it, like the rest of our widgets.
2012-05-18 11:48:29 +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
9225b11112 shell: Update animated notebook TODO 2012-05-10 11:22:50 +01:00
Bastien Nocera
f8c0eceb80 shell: Use CcNotebook instead of GtkNotebook 2012-05-09 17:42:13 +01:00
Bastien Nocera
74aa98b7c8 shell: Add animated notebook
Powered by gtk-clutter.
2012-05-09 16:50:21 +01:00
Bastien Nocera
8a01c7caf1 shell: Remove another use of page numbers 2012-05-09 16:09:04 +01:00
Bastien Nocera
43b53020ca shell: Move helper functions 2012-05-09 16:08:16 +01:00