Commit graph

306 commits

Author SHA1 Message Date
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
Bastien Nocera
c72062ba65 shell: Add a11y label for the All Settings button 2011-10-25 16:31:07 +01:00
Bastien Nocera
f9da94dbae shell: Use icon for "All Settings" button
https://bugzilla.gnome.org/show_bug.cgi?id=657043
2011-10-20 10:36:21 +01:00
Christian Persch
e1dbaef587 shell: Don't crash when loading the icon fails
https://bugzilla.gnome.org/show_bug.cgi?id=660513
2011-10-17 13:57:42 +01:00
Anders G. Jørgensen
7f7f33c853 Give focus to the search entry when showing the overview page.
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/833710
2011-10-13 13:13:23 +02:00
Bastien Nocera
ec739861f0 shell: Make Ctrl+W close panels
Ctrl+W will close the current panel, and go back to the
overview.

https://bugzilla.gnome.org/show_bug.cgi?id=660814
2011-10-13 10:55:24 +01:00
Bastien Nocera
484c08ca81 shell: Make Ctrl+Q work outside the overview
Because we were checking for the presence of the search entry
before acting on key presses, Ctrl+Q failed to work outside
the overview.
2011-10-13 10:53:08 +01:00
Vincent Untz
80bd53ce10 shell: Avoid crash when searching if a .desktop has no comment
The code doing the search assumes the description column is set, which
might not be the case.

https://bugzilla.gnome.org/show_bug.cgi?id=661494
2011-10-12 16:13:46 +01:00
Rodrigo Moya
1865c9ba3d shell: Make sure we gtk_widget_show the search view 2011-09-28 13:34:17 +02:00
Rodrigo Moya
8b96ec6d50 shell: Show the label for the category sections, which was being shown because of the gtk_widget_show_all replaced in previous commit 2011-09-20 15:44:58 +02:00
Rodrigo Moya
90e25402f3 shell: Use gtk_widget_show instead of _show_all in gnome_control_center_show
Using gtk_widget_show_all will make all invisible widgets show up when a
second instance of the shell is run from the command line.

https://bugs.launchpad.net/gnome-control-center/+bug/854544
2011-09-20 13:34:57 +02:00
Cosimo Cecchi
855bb77981 shell: set the follow-state property to TRUE for pixbuf renderers
So that the icon is correctly highlighted when hovered. In order to do
this, we have to stop using gtk_icon_view_set_pixbuf_column() and pack a
cell renderer manually instead.

https://bugzilla.gnome.org/show_bug.cgi?id=658910
2011-09-15 21:07:18 -04:00
Bastien Nocera
a7fc3352c6 shell: Replace window sizing code
We want a sensible minimum height and a maximum height, as
mentioned in the design pages.

This simplifies the code greatly, and will hopefully make
the window positioning work better as well.

https://bugzilla.gnome.org/show_bug.cgi?id=658068
2011-09-08 17:00:59 +01:00