Commit graph

165 commits

Author SHA1 Message Date
Daniel Mustieles
2c5951819d Updated FSF's address 2014-01-29 11:27:38 +01:00
Jonh Wendell
f6d5e84d7f power: if battery is fully charged but 99%, just round it up
https://bugzilla.gnome.org/show_bug.cgi?id=701993
2014-01-21 09:41:33 -02:00
Bastien Nocera
f020b73fb1 power: Use g-s-d's rfkill for Bluetooth
https://bugzilla.gnome.org/show_bug.cgi?id=691151
2013-12-06 11:59:03 +01:00
Yosef Or Boczko
e7efdbc7ff power: Use margin-start/end instead of margin-left/right
https://bugzilla.gnome.org/show_bug.cgi?id=712661
2013-11-19 22:28:13 +02:00
Matthias Clasen
fc60c1ae0d Fix automatic suspend popup sizing issues
There was a stray resize-mode setting which broke things,
and the combo boxes had unnecessary extra margins.

https://bugzilla.gnome.org/show_bug.cgi?id=711856
2013-11-16 17:10:47 -05:00
Jasper St. Pierre
dd52ac9417 Add NoDisplay to all gnome-control-center panel .desktop files
These aren't apps -- they're simply launchers for gnome-control-center.
They should not be shown as apps in the UI at all.

https://bugzilla.gnome.org/show_bug.cgi?id=712246
2013-11-15 08:44:53 -05:00
Bastien Nocera
93997f5ee8 power: Use the new display device
From UPower 0.99. Removes all the code creating the composite device.

https://bugzilla.gnome.org/show_bug.cgi?id=710393
2013-10-21 22:56:39 +02:00
Bastien Nocera
a8ee1931f5 power: Add better metadata for fake devices
So that libupower-glib doesn't complain about unset but read
properties, we show the correct icons, and have proper names
for the fake keyboard and mouse.
2013-10-21 22:56:39 +02:00
Bastien Nocera
71b5643d91 power: Prevent UpDevice being kept alive
If a UpDevice was removed while the panel was opened, it was
removed from the list of devices, and never unref'ed, still receiving
signals.
2013-10-18 00:42:01 +02:00
Bastien Nocera
6f78b2ab0f power: Fix run-time for DeviceChanged signal removal
The DeviceChanged signal was removed, instead, each interesting
device should be monitored individually. This means we need to keep
our own device list locally.

https://bugzilla.gnome.org/show_bug.cgi?id=710393
2013-10-17 17:44:03 +02:00
Bastien Nocera
ceafe6f4c5 power: Fix build
up_client_enumerate_devices_sync() was removed.

https://bugzilla.gnome.org/show_bug.cgi?id=710393
2013-10-17 17:44:03 +02:00
Bastien Nocera
63bf77196e power: Use icons from UPower
https://bugzilla.gnome.org/show_bug.cgi?id=710393
2013-10-17 17:44:03 +02:00
Bastien Nocera
76e342ea9d power: Use device models as names
And only fallback to the generic "Wireless Mouse" (eg.) when
there's no valid name for it.

https://bugzilla.gnome.org/show_bug.cgi?id=709654
2013-10-09 14:57:23 +02:00
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
Yosef Or Boczko
56aa021341 power: Adding more padding to top of panel
adding 12px of padding

https://bugzilla.gnome.org/show_bug.cgi?id=698202
2013-07-30 21:17:18 +03: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
Kalev Lember
1b653e6b46 power: Add missing semicolons to desktop files
https://bugzilla.gnome.org/show_bug.cgi?id=696806
2013-04-16 11:15:12 +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
Allan Day
73d4f51ff2 power: Update panel comments
Very few of the panel comments provide information that is very
useful. Update them to supplement the panel descriptions - this
will make the search results more helpful.

https://bugzilla.gnome.org/show_bug.cgi?id=694110
2013-02-19 10:41:43 +01:00
Bastien Nocera
431b89f176 power: Expand the "Automatic suspend" dialogue's layout
The dialog looks rather squashed along the horizontal. The spacing
should make the connection between the switches and the delay comboboxes
a bit clearer.

Also make sure that the "Delay" labels don't intersect the labels above.

https://bugzilla.gnome.org/show_bug.cgi?id=694042
2013-02-18 14:54:05 +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
Bastien Nocera
4300935968 power: Split lines in auto-suspend dialogue 2013-02-12 14:51:29 +01:00
Bastien Nocera
89c3863a7c power: Make 15 mins < suspend idle time < 2h
So that the suspend idle time is always higher than the blank
idle time, from a minimum of 15 minutes up to 2 hours.
2013-02-12 14:38:08 +01:00
Bastien Nocera
a1848fb70a power: Make 0 < idle-time < 15 minutes 2013-02-12 14:34:11 +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
Jeremy Bicha
b7b8cd056a power: Add missing mnemonic_widget relations
Works better in Orca

https://bugzilla.gnome.org/show_bug.cgi?id=693436
2013-02-08 12:36:53 -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
4a5484ba6d power: Add brightness-related keywords
Copy the keywords that used to belong to the screen panel.
For the geeks, add 'DPMS' and 'Idle', too.
The lock-related keywords are already in the privacy panel
desktop file.

https://bugzilla.gnome.org/show_bug.cgi?id=692351
2013-01-23 08:13:14 -05: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
8d5f2908b5 panels: add --sourcedir=$(srcdir) when generating resource list
Like b8e93fb333 but for all panels.
2013-01-07 16:23:57 -05:00