Rui Matos
7c58167899
power: Remove unused toplevel window from .ui file
...
https://bugzilla.gnome.org/show_bug.cgi?id=708286
2013-10-01 10:05:03 +02:00
Rui Matos
4494045c6d
power: Don't leak a dialog
...
https://bugzilla.gnome.org/show_bug.cgi?id=708286
2013-10-01 10:05:03 +02:00
Rui Matos
4b16aad36c
power: Fix getting the keyboard brightness value
...
https://bugzilla.gnome.org/show_bug.cgi?id=706040
2013-09-17 21:18:03 +02:00
Rui Matos
c804369526
power: Don't show the estimated battery capacity
...
Since we don't currently have the data to present a good estimation.
https://bugzilla.gnome.org/show_bug.cgi?id=691187
2013-09-17 18:27:27 +02:00
Bastien Nocera
eb4ee20920
power: Avoid warning with no screen backlight
...
Similar patch to f7c5225288
but for the screen backlight.
2013-08-20 04:34:46 +02:00
Bastien Nocera
f7c5225288
power: Avoid warning with no keyboard backlight
...
If there's no keyboard backlight interface in gnome-settings-daemon,
hide the slider as well, rather than throw a warning.
https://bugzilla.gnome.org/show_bug.cgi?id=706040
2013-08-20 04:34:32 +02:00
Jan Alexander Steffens (heftig)
364eee3909
power: Use logind to discover CanHibernate
...
The upower functionality is deprecated and will return an
error unless upower is built with --enable-deprecated.
The function is also not defined unless the application defines
UPOWER_ENABLE_DEPRECATED, which g-c-c does not do, and the build
system currently does not enable the warning (or error) about this.
https://bugzilla.gnome.org/show_bug.cgi?id=705275
2013-08-02 18:11:14 +02:00
Cosimo Cecchi
6be06c4119
power: Add keyboard brightness support
...
Add a slider to the Power panel to control keyboard brightness.
https://bugzilla.gnome.org/show_bug.cgi?id=705272
2013-08-02 10:58:18 +02:00
Bastien Nocera
2e53456bc6
power: Fix crash with no batteries
...
https://bugzilla.gnome.org/show_bug.cgi?id=704486
2013-07-19 09:40:02 +02:00
Alexander Larsson
7a07b22dc4
power: Convert to GtkListBox
...
https://bugzilla.gnome.org/show_bug.cgi?id=702164
2013-07-02 16:19:09 +01:00
Thomas Wood
1a085fe68c
power: remove the primary battery from the battery label size group
...
The primary battery box has a different layout from other battery items
and therefore shouldn't be included in the same size group. Including it
in the size group was causing the other items to be resized when the
battery status changed.
https://bugzilla.gnome.org/show_bug.cgi?id=702098
2013-06-25 15:42:01 +01:00
Jasper St. Pierre
e5c0be9d55
power: Adapt to new DBus interface for setting screen brightness
...
https://bugzilla.gnome.org/show_bug.cgi?id=698757
2013-06-22 20:15:01 -04:00
Ekaterina Gerasimova
413a1634c7
power: Update UI strings to follow the HIG
...
Update the list items to use only sentence capitalisation to comply with
the Human Interface Guidelines instead of a selection of three different
types of capilatisation.
https://bugzilla.gnome.org/show_bug.cgi?id=696811
2013-06-04 18:08:10 +02:00
Frédéric Péters
86cd774d92
power: Mark some strings as translatable
...
Those strings should have been marked as translatable, but were not.
2013-03-26 17:04:17 +01:00
Ángel Guzmán Maeso
a187aa51dd
power: Fix deprecated functions
...
From gtk_scrolled_window_add_with_viewport to gtk_container_add
http://www.mail-archive.com/crash-catcher@lists.fedorahosted.org/msg03480.html
https://bugzilla.gnome.org/show_bug.cgi?id=694362
2013-02-21 17:08:25 +01:00
Bastien Nocera
56bc9c1d65
power: Use WID() macro to simplify getting widgets
2013-02-18 14:54:05 +01:00
Bastien Nocera
3cfb948f05
power: Simplify "Mark As Inactive After" string
...
"Blank Screen" as that's what we're going to do.
2013-02-12 14:54:50 +01:00
Matthias Clasen
3644a72e59
power: Improve accessibility
...
The battery levelbars should have a labelled-by relation to the
percentage labels, so orca knows that these two belong together.
https://bugzilla.gnome.org/show_bug.cgi?id=693564
2013-02-11 18:25:04 -05:00
Matthias Clasen
f3b8b5f932
power: Fix mnemonic activation
...
There were some stupid mistakes, where we didn't set up the
right mnemonic widgets due to variable reuse. For the automatic
suspend row, we have to work a little harder to make mnemonic
activation work, by connecting directly to ::mnemonic-activate.
https://bugzilla.gnome.org/show_bug.cgi?id=692754
2013-01-29 06:56:31 -05:00
Matthias Clasen
cf7530b234
power: Improve keyboard navigation
...
This commit 'links' the arrow navigation between the list boxes
in the power page, so that it becomes possible to arrow down all
the way from the battery section to automatic suspend. We also
set up the focus adjustment so that the focus row gets scrolled
into view.
This requires the egg-list-box module to have
commit 98b0a39efe7b1892570ece53748ab153a91b9cbc.
https://bugzilla.gnome.org/show_bug.cgi?id=692171
2013-01-28 10:50:12 +01:00
Matthias Clasen
94a5cfd695
Revert "power: Improve keyboard navigation"
...
This reverts commit 501056eb01
.
Pushed by accident.
2013-01-22 23:04:16 -05:00
Matthias Clasen
501056eb01
power: Improve keyboard navigation
...
This commit 'links' the arrow navigation between the list boxes
in the power page, so that it becomes possible to arrow down all
the way from the battery section to automatic suspend. We also
set up the focus adjustment so that the focus row gets scrolled
into view.
This requires the egg-list-box module to have
commit 98b0a39efe7b1892570ece53748ab153a91b9cbc.
https://bugzilla.gnome.org/show_bug.cgi?id=692171
2013-01-22 22:16:53 -05:00
Cosimo Cecchi
073fc07712
power: don't set content-view style class
...
It's not needed, and it gives the panel a different background color.
https://bugzilla.gnome.org/show_bug.cgi?id=692093
2013-01-21 08:40:05 +01:00
Bastien Nocera
cca93d0fc5
power: Add idle-delay configuration
...
https://bugzilla.gnome.org/show_bug.cgi?id=691582
2013-01-17 11:06:03 +01:00
Bastien Nocera
e959951c7d
power: Update idle-dim setting for g-s-d changes
2013-01-17 11:06:02 +01:00
Matthias Clasen
18bac6db7c
power: Add a dim screen switch
...
This switch controls whether we dim the screen when on battery.
https://bugzilla.gnome.org/show_bug.cgi?id=691582
2013-01-17 11:06:02 +01:00
Bastien Nocera
70d0eba50c
power: Disable Bluetooth switch for now
...
It's broken right now.
2013-01-15 15:49:56 +01:00
Cosimo Cecchi
645778eaee
power: use a GResource for GtkBuilder UI definition
...
https://bugzilla.gnome.org/show_bug.cgi?id=691132
2013-01-07 11:10:14 +01:00
Matthias Clasen
5fb7b67ab6
power: Construct the gsd proxies properly
...
The code was not using the correct bus name for the screen proxy.
https://bugzilla.gnome.org/show_bug.cgi?id=691177
2013-01-05 17:47:15 -05:00
Matthias Clasen
4f7e573d2d
Round percentage properly
...
We don't want to display 'fully charged - 99%'.
https://bugzilla.gnome.org/show_bug.cgi?id=691188
2013-01-05 11:07:21 -05:00
Matthias Clasen
10a1e5fe7d
Remove a leftover debug
...
During development, I was forcing the mobile broadband line
to appear, regardless of hw. Stop doing that now.
https://bugzilla.gnome.org/show_bug.cgi?id=691178
2013-01-05 10:47:50 -05:00
Matthias Clasen
1d68105e0d
Try to fix bluetooth handling
...
We need to ensure that bluetoothd is activated, otherwise the
default adapter might not be present. Unfortunately, this is
not enough to make the switch actually have the same effect
as the shell menuitem.
https://bugzilla.gnome.org/show_bug.cgi?id=691151
2013-01-04 23:14:05 -05:00
Bastien Nocera
b43da3f5f3
power: Remove left-over debug statement
2013-01-04 18:26:14 +01:00
Bastien Nocera
068182846b
power: Fix WWAN switch label
2013-01-04 18:23:56 +01:00
Bastien Nocera
91f1d45db4
power: Disable "Screen Power Saving" section for now
2013-01-04 15:32:29 +01:00
Matthias Clasen
b40734beb4
Power: Implement the new power panel design
...
The design can be found here:
https://live.gnome.org/Design/SystemSettings/Power
https://bugzilla.gnome.org/show_bug.cgi?id=689614
2013-01-04 15:17:35 +01:00
Bastien Nocera
28ea296f09
Revert "Power: Implement the new power panel design"
...
This reverts commit a9683772d9
.
2012-12-20 09:36:06 +01:00
Matthias Clasen
a9683772d9
Power: Implement the new power panel design
...
The design can be found here:
https://live.gnome.org/Design/SystemSettings/Power
https://bugzilla.gnome.org/show_bug.cgi?id=689614
2012-12-20 09:20:48 +01:00
Bastien Nocera
3686cf7eb8
shell: Make all control-center plugins static
...
This makes loading faster, with less I/O, avoids unnecessary
code duplication (around 1k lines shaved), and ensures that
all the panels link and work appropriately.
By the same token, it will stop external panels from being
created, and loaded.
https://bugzilla.gnome.org/show_bug.cgi?id=690036
2012-12-11 17:07:39 +01:00
Bastien Nocera
5f27eb0cec
power: Make Tip translatable
...
https://bugzilla.gnome.org/show_bug.cgi?id=684309
2012-09-19 00:52:24 +02:00
Michael Terry
5f353fa2b6
power: Use GCancellable better, to avoid a crash
...
https://bugzilla.gnome.org/show_bug.cgi?id=683533
2012-09-07 15:37:42 -04:00
Ray Strode
b0e7a5efa8
panels: add register macro
...
Bastien says he doesn't like the blank class_finalize
functions in every panel and he would like a wrapper
macro to hide them.
This commit does that.
2012-08-21 14:32:33 -04:00
Cosimo Cecchi
b05591b165
power: port to GtkLevelBar
...
https://bugzilla.gnome.org/show_bug.cgi?id=679984
2012-07-16 11:29:25 +01:00
Bastien Nocera
b9e356412f
power: Fix reference to "Screen" settings
...
This also fixes the use of a split string, as mentioned in
bug #675929 .
https://bugzilla.gnome.org/show_bug.cgi?id=670567
2012-06-12 14:12:44 +01:00
Florian Müllner
e38491ed0d
power: Add get_help_uri() implementation
...
https://bugzilla.gnome.org/show_bug.cgi?id=675471
2012-05-18 18:48:37 +02:00
Bastien Nocera
42aa44c68e
power: Add context for the battery levels
...
https://bugzilla.gnome.org/show_bug.cgi?id=672738
2012-04-22 12:57:24 +01:00
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
9ee9ad0b31
power: Unbold the link to 'Screen Settings'
2012-02-15 18:51:46 +00:00