Commit graph

345 commits

Author SHA1 Message Date
Javier Jardón
1091c88e8a power: reference to "Brightness and Lock" panel, not "Screen"
The "Screen" panel has been renamed to "Brightness and Lock"

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=670567

Signed-off-by: Richard Hughes <richard@hughsie.com>
2012-03-04 10:57:47 +00:00
Javier Jardón
bac76fa387 power: register for "g-properties-changed" rather than "g-signal"
This is due this change in gnome-settings-daemon:
http://git.gnome.org/browse/gnome-settings-daemon/commit/?id=07b1ed63016f1725be251fa6ce8c15e0498539b5

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=670285
2012-02-20 11:18:35 +01:00
Allan Day
24af6576da power - fix text flow
The labels on the left should be more prominent so they lead
users into the dialog. Make them dark and the upper labels smaller.

https://bugzilla.gnome.org/show_bug.cgi?id=670269
2012-02-17 11:01:21 +01:00
Richard Hughes
603341a984 power: Re-fix the right hand side combobox alignment 2012-02-15 18:51:46 +00:00
Richard Hughes
9ee9ad0b31 power: Unbold the link to 'Screen Settings' 2012-02-15 18:51:46 +00:00
Cosimo Cecchi
240faca3e0 power: hide "When power is critical" elements when there's no batteries
As for the mockups

https://bugzilla.gnome.org/show_bug.cgi?id=670107
2012-02-15 11:12:51 -05:00
Cosimo Cecchi
02e5cb7f70 power: port main box to GtkGrid
Instead of a box of boxes; this way we can easily align labels without
an additional GtkSizeGroup using halign.

https://bugzilla.gnome.org/show_bug.cgi?id=670107
2012-02-15 11:12:51 -05:00
Cosimo Cecchi
4093f9eae4 power: set dim-label style classes on left labels
To be consistent with other panels.

https://bugzilla.gnome.org/show_bug.cgi?id=670107
2012-02-15 11:12:23 -05:00
Richard Hughes
a0e2935376 power: Fix up the header labels to be aligned with the comboboxes
Resolves: https://bugzilla.gnome.org/show_bug.cgi?id=670121
2012-02-15 09:59:49 +00:00
Richard Hughes
31c9d27b51 power: Expand out the combo-boxes to align to the progress bar
This makes the UI match the latest mockup.
2012-02-14 17:00:24 +00:00
Richard Hughes
cef4e593bb power: Use CcStrengthBar for battery level to get closer to the new design 2012-02-14 17:00:24 +00:00
Richard Hughes
0ea3d7dd3c power: Fix up the power glade file to minimize merge conflicts 2012-02-14 17:00:24 +00:00
Richard Hughes
ee36b0df91 power: Make the panel match the new mockups 2012-02-14 17:00:24 +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
6665b60422 panels: Update for Shell API changes 2011-11-07 18:03:14 +00:00
Matthias Clasen
b5acac3bf5 power: Add some labelled-by relations for a11y 2011-11-03 14:06:08 -04:00
Bastien Nocera
ada3a05386 power: Use "Power off" instead of "Shutdown"
(1) The correct verb is "Shut down". (2) It doesn't matter
because the preferred term is "Power off", verified with the
design team.

Spotted by Shaun McCance <shaunm@gnome.org>

https://bugzilla.gnome.org/show_bug.cgi?id=661559
2011-10-13 10:19:43 +01:00
Bastien Nocera
c703944fc5 power: Remove unused ListStore definitions 2011-10-13 10:18:55 +01:00
Alberto Ruiz
3630015d94 Update icon cache only on MAINTAINER_MODE 2011-10-05 16:45:13 +01:00
Richard Hughes
3e20a577a4 power: Don't set the sleep-inactive-x GSettings keys that have been removed 2011-09-29 14:58:19 +01:00
Rodrigo Moya
147dfcbb45 power: Use the correct item in the combo boxes when sleep-when-inactive is disabled 2011-09-27 16:10:06 +02:00
Bastien Nocera
c051fbf76f power: Removed unused variable 2011-09-09 10:07:39 +01:00
Richard Hughes
a735193250 power: Update the UI to reflect the new mockup 2011-09-02 17:23:45 +01:00
Jakub Steiner
f209ca3717 power: Use a proper icon for the panel
Rather than repurposing a status icon. We have too
much blue in System Settings

https://bugzilla.gnome.org/show_bug.cgi?id=645536
2011-09-01 15:35:02 +01:00
Richard Hughes
d9222bd5b5 power: Don't print a message to .xsession-errors if it's not an error 2011-09-01 14:24:12 +01:00
Bastien Nocera
4a7190004a power: Don't shrink the panel on desktops
During a split second we see some garbage on the screen on
desktop systems that don't have UPSes. Better to grow than to
shrink (though we shouldn't do either), so start with the battery
information hidden.
2011-08-27 13:06:19 +01:00
Bastien Nocera
6ed654694d power: Remove power and suspend buttons config
As mentioned in the discussion in:
https://bugzilla.gnome.org/show_bug.cgi?id=652183
https://bugzilla.gnome.org/show_bug.cgi?id=657068

And implemented in the future for the power panel:
https://live.gnome.org/Design/SystemSettings/Power/
2011-08-27 12:54:58 +01:00
Javier Jardón
36cdc969b3 power: Make insensitive any sleep actions the hardware cannot do (and 2) 2011-07-25 16:10:42 +02:00
Richard Hughes
4f08a32570 power: Make insensitive any sleep actions the hardware cannot do 2011-07-19 14:32:09 +01:00
Richard Hughes
b5aa23b5ca Use the new gnome-settings-daemon DBus names now the power plugin has moved there 2011-07-04 17:56:02 +01:00
Michael Terry
0a8669a5b5 Add Unity to OnlyShowIn fields
https://bugzilla.gnome.org/show_bug.cgi?id=653661
2011-06-30 12:44:52 +01:00
Matthias Clasen
b7f82e98ff Fix a11y/keynav issues in power panel
Add mnemonics to all items. We may need to revisit this and set
labeled-by relations for the combo boxes where the labels are
checkboxes (in that case, the mnemonic automatism doesn't really
work, I think).

Part of bug 650132
2011-05-15 14:50:17 -04:00
Richard Hughes
e51ff4001b power: Only show the 'When power is critically low' when there is a laptop battery or UPS attached.
This fixes https://bugzilla.gnome.org/show_bug.cgi?id=646053
2011-04-28 11:33:14 +01:00
Cosimo Cecchi
902be24cd2 power: use a better icon for the power panel
https://bugzilla.gnome.org/show_bug.cgi?id=645535
2011-03-24 10:39:50 -04:00
Kjartan Maraas
3e689ac25f #include <config.h> to make translations work 2011-03-02 20:06:20 +01:00
Thomas Wood
e2f944a66a configure: Group pkg-config checks based on how they are used
Group the pkg-config checks so that pkg-config can remove duplicated CFLAGS
and LIBS.

https://bugzilla.gnome.org/show_bug.cgi?id=636593
2011-02-19 16:46:26 +00:00
Richard Hughes
e0f0cee9a2 power: Fix up some of the wording to actually be translatable. Fixes #640119 2011-02-01 13:51:08 +00:00
Matthias Clasen
2e701f158f power: add Battery as a keyword 2011-01-27 01:23:45 -05:00
Bastien Nocera
d2ceab7be1 panels: Add capplet names
So that debug logs are useful, for those panels.
2011-01-19 15:43:18 +00:00
Thomas Wood
d50dadc8ac shell: only include items identified as settings panels in the list
Simplify the category requirements and do not include items that are not
settings panels.
2010-12-20 21:04:49 +00:00
Rodrigo Moya
0a396a872b Add missing libraries for linking 2010-11-29 17:08:35 +01:00
Matthias Clasen
f61bf9fa91 power: Fix sizing issues in the power panel 2010-11-19 11:34:03 -05:00
Richard Hughes
06a5844bab --amend 2010-11-18 19:41:44 +00:00
Richard Hughes
0ce60e84cb Add a 'Power' panel that matches the mockups 2010-11-18 19:20:35 +00:00
Richard Hughes
1444735b6e Add the first cut of the UI of the power panel, based on a mockup by Alan Day 2010-11-18 14:46:33 +00:00