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
Bastien Nocera
e01e33e76e
shell: Remove prior panel at the last minute
...
Once we've already switch to a new panel.
2012-05-09 16:07:47 +01:00
Bastien Nocera
cdbd37fa47
shell: Add return value to activate_panel()
2012-05-09 16:07:23 +01:00
Bastien Nocera
d25563f5c4
shell: Flatten activate_panel()
...
And exit as soon as we fail.
2012-05-09 16:07:00 +01:00
Bastien Nocera
ec7f8c9b51
shell: Use widgets rather than page numbers
...
To differentiate children of a GtkNotebook.
2012-05-09 16:04:24 +01:00
Bastien Nocera
22ed5a9fd5
shell: Check for small screen before showing window
...
Map the window before displaying it, so we can maximise it straight
away and avoid visible resizing.
2012-05-08 19:15:19 +01:00
Bastien Nocera
ecda0ad5c0
shell: Lower the small screen fixed height
...
As this is the minimum size of the content view, not the whole window.
2012-05-08 19:12:46 +01:00
Bastien Nocera
3bd227a905
shell: Maximise window on monitor size change
...
When the monitor changes size, and we have a small screen, reset
small_screen_set so that we maximise the window.
2012-05-08 18:54:28 +01:00
Bastien Nocera
c3fa222461
Revert "shell: Reset "small_screen_set" when we use a big screen"
...
This reverts commit 3e5f488160
.
2012-05-08 18:53:04 +01:00
William Jon McCann
3bc75764c6
Use menubar style class for toolbar
...
https://bugzilla.gnome.org/show_bug.cgi?id=673869
2012-05-08 18:51:21 +01:00
Bastien Nocera
f264ebea0b
shell: Set the minimum content height
...
Instead of using gtk_widget_size_request() on the parent scrolled
window, to make sure that border are taken into account when sizing
the icon views.
2012-05-08 18:51:21 +01:00
Bastien Nocera
3e5f488160
shell: Reset "small_screen_set" when we use a big screen
...
Otherwise we wouldn't maximise the screen again.
2012-05-08 18:46:22 +01:00
Jon McCann
9c2e8c28f5
Hide window titlebar when maximized
...
https://bugzilla.gnome.org/show_bug.cgi?id=673869
2012-05-08 17:04:04 +01:00
Jon McCann
796d4ebafa
Fit three columns of search results
...
And center labels vertically that have no search matching text.
https://bugzilla.gnome.org/show_bug.cgi?id=673869
2012-05-08 17:04:03 +01:00
Jon McCann
620e70113c
Add horizontal separators between sections
...
Based on patch from Ubuntu
https://bugzilla.gnome.org/show_bug.cgi?id=673869
2012-05-08 17:03:58 +01:00
Jon McCann
599f19a595
Increase icon size to 48px
...
https://bugzilla.gnome.org/show_bug.cgi?id=673869
2012-05-08 17:03:55 +01:00
Jon McCann
ad0e02f100
shell: Be smarter about smaller screen sizes
...
Make the minimum window size smaller, and the window resizable when
using small screens.
Based on patch from Ubuntu
https://bugzilla.gnome.org/show_bug.cgi?id=673869
2012-05-08 17:02:01 +01:00
Jon McCann
d955d484da
shell: Increase default window size
...
https://bugzilla.gnome.org/show_bug.cgi?id=673869
2012-05-08 17:02:01 +01:00
Bastien Nocera
b393ca6d02
shell: Move all sizing hacks in one location
...
And make sure that the overview has no scrollbars to start with.
Add a FIXME to handle smaller sized screens later on.
2012-05-08 17:02:01 +01:00
William Jon McCann
d009a3fc35
Revert "Increase icon size to 48px"
...
This reverts commit c8c8720d72
.
2012-05-01 14:55:43 -04:00
William Jon McCann
9d55273c14
Revert "Increase default window size"
...
This reverts commit f36d42b9d1
.
2012-05-01 14:55:42 -04:00
William Jon McCann
523a85f704
Revert "Add horizontal separators between sections"
...
This reverts commit e924ea03fa
.
2012-05-01 14:55:41 -04:00
William Jon McCann
29792b41e5
Revert "Fit three columns of search results"
...
This reverts commit 2d145a6fa4
.
2012-05-01 14:55:40 -04:00
William Jon McCann
b796b4c376
Revert "Hide window titlebar when maximized"
...
This reverts commit 700ea6a1aa
.
2012-05-01 14:55:38 -04:00
William Jon McCann
d8e10a566c
Revert "Use menubar style class for toolbar"
...
This reverts commit b1431c00e0
.
2012-05-01 14:55:28 -04:00
William Jon McCann
b1431c00e0
Use menubar style class for toolbar
2012-05-01 14:09:09 -04:00
Jon McCann
700ea6a1aa
Hide window titlebar when maximized
...
https://bugzilla.gnome.org/show_bug.cgi?id=673869
2012-05-01 14:09:09 -04:00
Jon McCann
2d145a6fa4
Fit three columns of search results
...
And center labels vertically that have no search matching text.
https://bugzilla.gnome.org/show_bug.cgi?id=673869
2012-05-01 14:09:09 -04:00
Jon McCann
e924ea03fa
Add horizontal separators between sections
...
Based on patch from Ubuntu
https://bugzilla.gnome.org/show_bug.cgi?id=673869
2012-05-01 14:09:09 -04:00
Jon McCann
f36d42b9d1
Increase default window size
...
And be smarter about small screen sizes.
Based on patch from Ubuntu
https://bugzilla.gnome.org/show_bug.cgi?id=673869
2012-05-01 14:09:09 -04:00
Jon McCann
c8c8720d72
Increase icon size to 48px
...
https://bugzilla.gnome.org/show_bug.cgi?id=673869
2012-04-30 15:35:28 -04:00