Commit graph

368 commits

Author SHA1 Message Date
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
Bastien Nocera
8cc0b7207b shell: Fix GtkBuilder file for complaining glade 2012-04-30 16:30:20 +01:00
Bastien Nocera
f232788c6c shell: Fix missing sedding 2012-04-30 13:55:31 +01:00
Cosimo Cecchi
5edec8138b shell: don't set a shadow type on the GtkViewport
https://bugzilla.gnome.org/show_bug.cgi?id=672956
2012-04-30 08:49:20 -04:00
Richard Hughes
9eb047baff Always round up the CcStrengthBar rather than down
It's a measure of completeness, not of progress.
2012-04-04 14:37:28 +01:00
Bastien Nocera
74f2949022 shell: Fix cheese related crashers
By initialising threading in X11. It's like Totem 10 years ago
(except that libXi doesn't deadlock).

https://bugzilla.gnome.org/show_bug.cgi?id=669834
2012-02-17 12:48:13 +01:00
Richard Hughes
ae6e4040ac shell: Use the '@borders' CSS style for the CcStrengthBar outline 2012-02-15 10:07:45 +00:00
Richard Hughes
5d1b2d60a4 Add CcStrengthBar to display a smaller and neater progress bar
This will be used in the power and user-accounts panels.
2012-02-14 17:00:24 +00:00
Bastien Nocera
19f6de2ec4 shell: Force a pixel size for the "All Settings" button
Because it looks bad when scaled "slightly".
2012-02-08 16:17:26 +00:00
Robert Ancell
2f6adb1519 shell: Stop using deprecated gtk_vbox_new
https://bugzilla.gnome.org/show_bug.cgi?id=669621
2012-02-08 12:11:02 +00:00
Robert Ancell
64bbbd6999 shell: Fix compile warnings
https://bugzilla.gnome.org/show_bug.cgi?id=669627
2012-02-08 12:11:02 +00:00
Rodrigo Moya
be3c710650 shell: Add some keywords to shell's desktop file
https://bugzilla.gnome.org/show_bug.cgi?id=668823
2012-01-30 11:34:30 +01:00
Bastien Nocera
d3a282b9c3 shell: Unblur the all-settings button icon
https://bugzilla.gnome.org/show_bug.cgi?id=668219
2012-01-23 15:28:02 +00:00
Marco Trevisan
a5d897dae0 shell: Make the WM to be aware of the g-c-c panel content
Window managers such as unity need to know what panel
gnome-control-center is currently showing. Changing the window
role with the current panel ID is the best way to set a
locale-independent value.

https://bugzilla.gnome.org/show_bug.cgi?id=668504
2012-01-23 15:11:52 +00:00
Richard Hughes
dcb88a861d shell: Allow panels to register custom widgets in the shell header
This allows us to add the kill switch in the various different panels to match
the mockups, and also allows us to connect up any custom functionality the
designers want.

For example, in the bluetooth panel we might want to allow the GtkLabel to be
edited to change the bluetooth device name.
2012-01-09 15:24:57 +00:00
Vincent Untz
f4bcd50240 shell: Stop calling deprecated g_thread_init()
https://bugzilla.gnome.org/show_bug.cgi?id=667527
2012-01-09 11:20:49 +00:00
Rui Matos
c812b9ac16 Revert "shell: ensure the background and foreground colours are consistent"
This actually breaks unfocused windows theming and doesn't seem to be needed
otherwise.

This reverts commit aac24399f8.

https://bugzilla.gnome.org/show_bug.cgi?id=666723
2012-01-04 17:07:27 +00:00
Florian Müllner
4cd7b6c6dc .desktop: Drop prefix from X-GNOME-Keywords
The field has now been included in the spec, so use the standardized
name.
2011-12-19 16:26:40 +01:00
Bastien Nocera
27c45abda3 shell: Merge libgnome-control-center into main binary
This fixes problems with the CcEditableEntry type not being
registered and causing the printers and user-accounts panels not to
work. As we do not need to work on Windows, we do not need to split
out the library.
2011-11-07 18:03:14 +00:00