Zeeshan Ali (Khattak)
3113bac8e6
location: React to changes in available accuracy level
...
GPS could be plugged in and out, network can go up and down and
therefore available accuracy level can also change.
https://bugzilla.gnome.org/show_bug.cgi?id=723684
2014-02-15 17:41:26 +00:00
Zeeshan Ali (Khattak)
9217f2c916
location: Don't show menu if geoclue is totally incapable
...
If geoclue can't provide location at all (no GPS or network), don't
bother to show controls that don't serve any purpose.
https://bugzilla.gnome.org/show_bug.cgi?id=723684
2014-02-15 17:41:26 +00:00
Zeeshan Ali (Khattak)
32a49b7846
location: Provide a way to disable geolocation
...
Now that we are indicating 'geolocation in use' to user, we better also
provide at least a way to disable geolocation. Once this is in place, we
can provide slightly better controls rather than simply on/off switch.
https://bugzilla.gnome.org/show_bug.cgi?id=723684
2014-02-15 17:41:26 +00:00
Zeeshan Ali (Khattak)
12ef034b7b
location: Make _connectToGeoclue() reentrent
...
https://bugzilla.gnome.org/show_bug.cgi?id=723684
2014-02-15 17:41:26 +00:00
Zeeshan Ali (Khattak)
e70e4a21f2
location: Rename _onGeoclueAppeared to _connectToGeoclue
...
Rename _onGeoclueAppeared to _connectToGeoclue as in the following patch
we'll call it from other contexts then geoclue appearing.
https://bugzilla.gnome.org/show_bug.cgi?id=723684
2014-02-15 17:41:26 +00:00
Zeeshan Ali (Khattak)
7826fb4f04
location: Create Geoclue proxy asynchronously
...
https://bugzilla.gnome.org/show_bug.cgi?id=723684
2014-02-15 17:41:26 +00:00
Giovanni Campagna
a4adcba405
Revert "network: Use NMDevice.get_available_connections(); for NMWirelessDialog"
...
This reverts commit a36bfced47
.
get_available_connections() returns the connections that are
available right now, ie, with the currently visible APs, but
that might change while the dialog is open, so we can't use it.
https://bugzilla.gnome.org/show_bug.cgi?id=709128
2014-02-06 19:45:24 +01:00
Giovanni Campagna
aa426842f2
BluetoothMenu: show the submenu when active but not connected
...
Following the updated designs for system status, show the submenu
but not the indicator when bluetooth radio is on but no device
is connected.
https://bugzilla.gnome.org/show_bug.cgi?id=709353
2014-02-06 19:07:48 +01:00
Giovanni Campagna
ed53a45228
NetworkMenu: show the device name instead of Bluetooth
...
To distinguish the bluetooth network menu from the bluetooth
menu proper, use the device name as the label.
Also, replace Connect with "Use as Internet connection"
https://bugzilla.gnome.org/show_bug.cgi?id=709353
2014-02-06 19:07:47 +01:00
Giovanni Campagna
c4aeaf7fe8
NetworkMenu: use the carrier state to the decide if wired should be shown
...
The design says "when a network cable is connected", not
"When a network cable is connected and the link is up and we
have an IP etc. etc." (which is what ACTIVATED would imply).
https://bugzilla.gnome.org/show_bug.cgi?id=723570
2014-02-04 22:25:11 +01:00
Giovanni Campagna
ea1f5a8fc6
NMWirelessDialog: show an informative message when airplane mode is on
...
Rather than just showing "No networks", inform the user if airplane
mode is on or if wifi is off, and allow the user to change that
from the dialog (if possible).
https://bugzilla.gnome.org/show_bug.cgi?id=709128
2014-02-04 22:25:06 +01:00
Giovanni Campagna
7f1e420a0a
NMWirelessDialog: request a scan when there are no visible access points
...
Ideally, we should keep scanning while the dialog is open, and
stop (or reduce the frequency) when it's closed. Forcing a new
scan when the dialog is opened empty is a close approximation
and increases the probability that the user will find the AP
he needs.
https://bugzilla.gnome.org/show_bug.cgi?id=709128
2014-02-04 22:24:01 +01:00
Giovanni Campagna
1272eaf07f
NMWirelessDialog: fix removing access points
...
We must destroy the actor, not the item, because the latter doesn't
have a destroy() method.
https://bugzilla.gnome.org/show_bug.cgi?id=709128
2014-02-04 22:24:00 +01:00
Giovanni Campagna
2fe760cc4b
rfkill: split out the dbus handling parts from the indicator
...
status.network wants to watch for airplane mode too, we can
share the code with a manager singleton.
https://bugzilla.gnome.org/show_bug.cgi?id=709128
2014-02-04 22:24:00 +01:00
Giovanni Campagna
df3a50bae8
AirplaneMode: don't show a "Turn off" item if HW enabled
...
If airplane mode is enabled with an HW switch, we can't turn it
off from the menu, so make the menu item insensitive and
replace it with a helpful tip.
https://bugzilla.gnome.org/show_bug.cgi?id=709685
2014-02-04 22:24:00 +01:00
Jasper St. Pierre
7051411be7
network: Add a Wired device
...
This isn't quite like the design, as we don't show icons for other
devices when wired is in an error state.
https://bugzilla.gnome.org/show_bug.cgi?id=708966
2014-01-29 15:02:52 -05:00
Zeeshan Ali (Khattak)
d163b92e0b
Add indicator for location service being used
...
If an application is accessing location through geoclue, show an
indicator in the panel for that so that user knows.
https://bugzilla.gnome.org/show_bug.cgi?id=709372
2014-01-28 18:39:12 +00:00
Jasper St. Pierre
e6be483755
network: Fix copy-paste typo
2014-01-23 16:11:11 -05:00
Jasper St. Pierre
a36bfced47
network: Use NMDevice.get_available_connections(); for NMWirelessDialog
...
It's a lot simpler and doesn't require us routing the NMRemoteSettings
all the way through. It's still a bit complicated to do this for the
usual connections, so let's drop it for now.
2014-01-23 16:02:19 -05:00
Jasper St. Pierre
4faf421d5a
network: Let NetworkManager figure out the best AP for the connection
...
According to dcbw, this can be handled by NetworkManager now.
2014-01-23 14:38:40 -05:00
Giovanni Campagna
bfb0235fc6
Remove our custom hashmap implementation
...
gjs uses Spidermonkey 24, which implements Map from the ES6
specification, so we can use that instead.
https://bugzilla.gnome.org/show_bug.cgi?id=722210
2014-01-15 00:55:00 +01:00
Florian Müllner
deb2f30b37
js: Use EVENT_PROPAGATE/EVENT_STOP constants in event handlers
...
Just as SOURCE_CONTINUE/SOURCE_REMOVE in source functions, these
constants increase code clarity over plain true/false.
https://bugzilla.gnome.org/show_bug.cgi?id=719567
2013-12-16 18:27:19 +01:00
Florian Müllner
751a3f0e94
js: Use SOURCE_CONTINUE/SOURCE_REMOVE constants in source functions
...
With support for boolean constants in g-i, we can finally use the
more readable constants instead of true/false.
https://bugzilla.gnome.org/show_bug.cgi?id=719567
2013-12-16 18:27:19 +01:00
Jasper St. Pierre
ec62e49001
bluetooth: Remove unused import
2013-12-03 18:36:46 -05:00
Bastien Nocera
ebc15e60a8
bluetooth: Remove GnomeBluetoothApplet hacks
...
https://bugzilla.gnome.org/show_bug.cgi?id=719341
2013-11-26 18:53:18 +01:00
Bastien Nocera
85f2d94253
bluetooth: Use BluetoothClient to detect connected devices
...
Instead of the GnomeBluetoothApplet helper.
https://bugzilla.gnome.org/show_bug.cgi?id=719341
2013-11-26 18:53:18 +01:00
Bastien Nocera
981a536cb5
bluetooth: Use g-s-d to turn off Bluetooth
...
https://bugzilla.gnome.org/show_bug.cgi?id=719341
2013-11-26 18:53:18 +01:00
Bastien Nocera
abf7c333b1
bluetooth: Remove pairing agent
...
We'll only have it in the Bluetooth settings panel.
https://bugzilla.gnome.org/show_bug.cgi?id=719341
2013-11-26 18:53:18 +01:00
Jasper St. Pierre
8bd7003ea7
bluetooth: Parse pins starting with 0 correctly
...
If we have a numeric PIN that starts with 0, it will be treated
as an octal number rather than a number that just starts with 0.
2013-11-02 17:55:54 -04:00
Florian Müllner
d456c3f62e
system: Restore support for 'disable-restart-buttons'
...
The org.gnome.login-screen schema contains a key to disable the
power/restart buttons; our support for this fell victim to the
new combined status menu, add it back.
https://bugzilla.gnome.org/show_bug.cgi?id=711244
2013-11-01 13:08:02 +01:00
Tim Lunn
b908a3d70a
Stringify the xml definitions for E4X removal
...
https://bugzilla.gnome.org/show_bug.cgi?id=691409
2013-10-25 08:57:27 +11:00
Jasper St. Pierre
43f4682ec4
messageTray: Make addButton/addAction take a callback
...
This is a much simpler API for consumers to manage.
https://bugzilla.gnome.org/show_bug.cgi?id=710137
2013-10-21 12:30:25 -04:00
Jasper St. Pierre
5023542882
messageTray: Split out addButton to allow consumers to pass a pre-made button
...
Some consumers may want to construct their buttons specially, so allow them
to do that by adding a new API that takes a button instead of a label.
https://bugzilla.gnome.org/show_bug.cgi?id=710137
2013-10-21 12:30:25 -04:00
Jasper St. Pierre
88d0731d80
messageTray: Replace setButtonSensitive by simply returning the button
...
We want to remove 'id's from buttons, and simply returning the button actor
is more powerful anyway.
https://bugzilla.gnome.org/show_bug.cgi?id=710137
2013-10-21 12:30:25 -04:00
Bastien Nocera
0cfa7c1c56
power: Fix undefined variables
...
A couple of variables that should have been gathered from the proxy
and weren't.
2013-10-19 18:00:08 +02:00
Florian Müllner
af1f9cd76d
network: Don't use StButtons for items in selector
...
Their use blocks activation of the default button by keyboard, which
is important for accessibility. Use a Clutter.ClickAction instead,
which doesn't have this problem as it only considers mouse events.
https://bugzilla.gnome.org/show_bug.cgi?id=710144
2013-10-17 19:46:30 +02:00
Florian Müllner
2f39f3d146
Revert "network: being able to use keyboard to connect to a Wireless"
...
This reverts commit d175a588f7
.
https://bugzilla.gnome.org/show_bug.cgi?id=710144
2013-10-17 19:46:29 +02:00
Bastien Nocera
2659ba6bb4
power: Fix typo
...
JS ERROR: ReferenceError: this_proxy is not defined
Indicator<._getStatus@/usr/share/gnome-shell/js/ui/status/power.js:66
2013-10-17 18:12:02 +02:00
Bastien Nocera
0b8c0c202e
power: Use UPower directly instead of gnome-settings-daemon
...
UPower master exports a display device that can be used to
compute whether to show a status icon, and what we should show.
https://bugzilla.gnome.org/show_bug.cgi?id=710273
2013-10-17 17:36:27 +02:00
Alejandro Piñeiro
d175a588f7
network: being able to use keyboard to connect to a Wireless
...
https://bugzilla.gnome.org/show_bug.cgi?id=710144
2013-10-15 20:27:05 +02:00
Florian Müllner
4bb41f2f66
Revert "network: being able to use keyboard to connect to a Wireless"
...
This reverts commit d581d29198
.
2013-10-15 20:14:02 +02:00
Alejandro Piñeiro
d581d29198
network: being able to use keyboard to connect to a Wireless
...
https://bugzilla.gnome.org/show_bug.cgi?id=710144
2013-10-15 19:10:38 +02:00
Jasper St. Pierre
66a4cb5875
messageTray: Move the notification policy classes here
...
The NotificationDaemon really should be for the hookup of remote
notifications, rather than policies.
https://bugzilla.gnome.org/show_bug.cgi?id=710115
2013-10-14 15:24:53 -04:00
Giovanni Campagna
d084770cea
NetworkMenu: fix regression for VPN connections
...
Fix regression from e898e29910
,
the code was moved from a method to a global function, but one
call site was not updated.
https://bugzilla.gnome.org/show_bug.cgi?id=710019
2013-10-13 02:11:14 +02:00
Jasper St. Pierre
575b373cd5
power: Use the icon from the primary device for status
...
https://bugzilla.gnome.org/show_bug.cgi?id=709925
2013-10-11 13:37:10 -04:00
Carlos Soriano
63593e45a6
Make dropdown arrows consistent size
...
Since the agregate menu does 120% of font-size, make this
for all dropdown arrows in gnome-shell and rename the css
class to make clear that it is used in overall gnome-shell
https://bugzilla.gnome.org/show_bug.cgi?id=709564
2013-10-11 17:32:55 +02:00
Giovanni Campagna
6a7d184b7b
NetworkMenu: make the settings launcher point to the right devices
...
Tell gnome-control-center to focus on the associated device when
launching it from one of the submenus.
https://bugzilla.gnome.org/show_bug.cgi?id=709246
2013-10-09 18:39:44 +02:00
Giovanni Campagna
bde5cfc8bb
NetworkMenu/NMDeviceModem: use the operator name when we have it
...
Instead of the connection name, as the operator name is usually
shorter and more useful.
https://bugzilla.gnome.org/show_bug.cgi?id=709043
2013-10-09 18:39:44 +02:00
Giovanni Campagna
777c7a952b
NetworkMenu/NMDeviceModem: fix status texts for airplane mode
...
Show "Hardware Disabled" when disabled by HW switch, and
generically "Disabled" when airplane mode is active, as
indicated by v4 mockups.
Note that bluetooth is not affected by NM handling of airplane
mode (and generally the firmware makes the USB bluetooth
adapter disappear when rfkilled), so this is in NMDeviceModem
instead of NMConnectionDevice.
https://bugzilla.gnome.org/show_bug.cgi?id=709043
2013-10-09 18:39:44 +02:00
Giovanni Campagna
c79bdd9029
NetworkMenu/NMConnectionDevice: fix status text
...
Be consistent with v4 mockups
https://bugzilla.gnome.org/show_bug.cgi?id=709043
2013-10-09 18:39:44 +02:00