Commit graph

18 commits

Author SHA1 Message Date
Cosimo Cecchi
ddf9d29f66 bluetooth: use a GResource for GtkBuilder UI definition
https://bugzilla.gnome.org/show_bug.cgi?id=691132
2013-01-07 10:57:05 +01:00
Bastien Nocera
63af1169b5 bluetooth: Move killswitch to the header 2012-12-17 10:52:49 +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
2e0ab4ef09 bluetooth: Correct debug output 2012-12-10 08:28:39 +01:00
Bastien Nocera
6b95bb27d8 bluetooth: Remove ObexFTP file browsing from the UI
https://bugzilla.gnome.org/show_bug.cgi?id=685038
2012-12-03 08:54:18 +01:00
Bastien Nocera
c148fb2836 bluetooth: Use spinner when connecting
Rather than having an unusable switch (which wouldn't represent
the real state of the connection), show a spinner until the
connection is finished doing.
2012-11-08 18:52:28 +01:00
Bastien Nocera
77d134c4df bluetooth: Simplify ->finalize 2012-11-08 18:37:48 +01:00
Bastien Nocera
9818f3b256 bluetooth: Fix main switch acting bizarrely
The only time we were looking at the powered state of the adapter
is when the killswitch state was changing. Except that we're fast enough
that bluetoothd didn't have time to power up the adapter, so its
state was unpowered, which we would set the switch to.

The switch was off, the adapter was on.

We fix that problem by tracking the powered state of the adapter
separately.

https://bugzilla.redhat.com/show_bug.cgi?id=841881
2012-11-08 18:37:48 +01:00
Bastien Nocera
f1e20c395d bluetooth: Remove unused variable 2012-11-08 18:37:48 +01:00
Bastien Nocera
876e4d4559 bluetooth: Avoid possible loops when Connection fails
If we switch "Connection" on via the switch, the disabling on failure
will create a loop where it always tries to connect again. Break that
loop.
2012-11-08 18:37:47 +01:00
Bastien Nocera
12a319875a bluetooth: Don't break the custom widgets on connect
We used to destroy and recreate the custom widgets whenever any of
the properties changed. Now we make sure that the custom widgets are
only destroyed and recreated when the device selected is a different one.

This fixes NetworkManager's Bluetooth plugins getting destroyed
because the Connected property changed, as it was trying to connect to
the device.

https://bugzilla.gnome.org/show_bug.cgi?id=681456
2012-09-07 13:32:06 +01: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
Bastien Nocera
8776700a73 bluetooth: Update for killswitch API change 2012-07-26 17:56:08 +02:00
Florian Müllner
bc18595051 bluetooth: Add get_help_uri() implementation
https://bugzilla.gnome.org/show_bug.cgi?id=675471
2012-05-18 18:48:37 +02:00
Bastien Nocera
e3565989e0 bluetooth: Fix wrong panel name in warning 2012-01-26 19:10:10 +00:00
Bastien Nocera
0f79fbc785 bluetooth: Update for changed BluetoothChooser API 2012-01-18 17:00:25 +00:00
Bastien Nocera
6665b60422 panels: Update for Shell API changes 2011-11-07 18:03:14 +00:00
Bastien Nocera
844dd9e321 bluetooth: Move Bluetooth panel from gnome-bluetooth 2011-10-18 18:46:15 +01:00