Commit graph

1790 commits

Author SHA1 Message Date
Bastien Nocera
a5f7b09106 wacom: Fix warning with unfinished timer
We need to remove the timeout once we're done, otherwise it
will keep on running.
2012-01-10 20:34:38 +00:00
Bastien Nocera
815635a3c2 wacom: Simplify run_calibration() 2012-01-10 20:16:33 +00:00
Bastien Nocera
7567d678f9 wacom: Simplify object creation 2012-01-10 20:14:50 +00:00
Bastien Nocera
f52a0c8104 wacom: Remove printf() calls 2012-01-10 20:13:20 +00:00
Bastien Nocera
ccdb171723 wacom: Remove dead expose-event code
It's unused, and wasn't called.
2012-01-10 20:00:34 +00:00
Bastien Nocera
b7cf2edd90 wacom: Fix indentation 2012-01-10 19:55:21 +00:00
Bastien Nocera
e70502cc3b wacom: Use updated _get_area() API 2012-01-10 19:55:01 +00:00
Bastien Nocera
82d6b9e809 wacom: _get_area() helper stylistic changes
Including fixing a leak XDevice.
2012-01-10 19:54:41 +00:00
Bastien Nocera
41d73eb43c wacom: Fix gsize warnings 2012-01-10 19:45:02 +00:00
Bastien Nocera
256d57f6ef wacom: Remove unused variable 2012-01-10 19:44:43 +00:00
Bastien Nocera
7533c6876b wacom: Fix out-of-scope usage
The output of g_variant_get_fixed_array() is only valid as long
as the GVariant is valid. Outside the function, anything goes.
2012-01-10 19:43:08 +00:00
Bastien Nocera
0b0cc5bbfd wacom: Remove unused main.h 2012-01-10 19:21:30 +00:00
Bastien Nocera
7b82472645 wacom: s/axys/axis/ 2012-01-10 19:19:24 +00:00
Bastien Nocera
4618d62a48 wacom: Those functions don't need to be public
So don't export them in the .h file
2012-01-10 19:18:33 +00:00
Bastien Nocera
e44a3327f8 wacom: Remove custom MAX() macro 2012-01-10 19:12:18 +00:00
Bastien Nocera
0d98523b7b wacom: Remove M_PI redefinition 2012-01-10 19:12:18 +00:00
Bastien Nocera
8516b6a1f9 wacom: Remove custom boolean type 2012-01-10 19:12:18 +00:00
Bastien Nocera
ff3fd96310 wacom: Remove custom strdup function 2012-01-10 18:32:54 +00:00
Jason Gerecke
39b2b3e469 wacom: Show calibration button for display tablets
https://bugzilla.gnome.org/show_bug.cgi?id=657423
2012-01-10 18:28:27 +00:00
Jason Gerecke
4fecb4c01d wacom: Implement g-c-c calibration functionality
Adds and handles callback from the "Calibrate" button.
When clicked, we get the current calibration and feed
it in to the calibration utility. After it completes
we get back a modified calibration and an indication
of success. If it was successful we apply the changes,
if not, we ignore the modifed calibration.

https://bugzilla.gnome.org/show_bug.cgi?id=657423
2012-01-10 18:28:27 +00:00
Jason Gerecke
e50dbea195 wacom: Bring over files from xinput-calibrator and build utility
Copies over files from a trimmed version of xinput-calibrator and
modifies the Makefile.am to build the program as a seperate utility.
This is just to verify the functionality of the code when built with
gnome-control-center.

https://bugzilla.gnome.org/show_bug.cgi?id=657423
2012-01-10 18:26:55 +00:00
Bastien Nocera
a54c382377 wacom: Make test app fixed width 2012-01-10 14:32:51 +00:00
Bastien Nocera
9caefabf2d wacom: Make closing the test app work 2012-01-10 14:27:43 +00:00
Bastien Nocera
5b277e7728 wacom: Avoid resizing when changing tablet
Or stylus. Otherwise the width of the panel is dependent on the
width of the tablet model label.
2012-01-10 11:07:16 +00:00
Bastien Nocera
ce05ad7281 wacom: Fix nav buttons not appearing correctly
Need to show the innards as well
2012-01-10 11:04:14 +00:00
Bastien Nocera
145079dc1e wacom: Update from g-s-d
Re-adds the fake devices to the test application.
2012-01-10 10:48:34 +00:00
Bastien Nocera
1ecd6575e9 wacom: Fix startup warnings
g_variant_new_array() creates a floating reference and
g_settings_set_value() consumes it, so don't unref the GVariant
ourselves.
2012-01-10 10:28:03 +00:00
Jason Gerecke
fbe03baa43 wacom: Add trailing slash to schema path
Path names must end in a trailing slash. Without it, the varous
g_settings_* functions get confused about where to seperate the
key and value.

https://bugzilla.gnome.org/show_bug.cgi?id=667609
2012-01-10 09:59:14 +00:00
Robert Ancell
0974b9f34a universal-access: Fix incorrect include path
We were using a prefixed path even though gsettings-desktop-schemas
already prefixes the include path.

https://bugzilla.gnome.org/show_bug.cgi?id=667616
2012-01-10 09:58:02 +00:00
Richard Hughes
1b74ddb8c5 network: Move the 'Airplane Mode' switch up into the shell header
This closer matches the mockups done by Lapo.
2012-01-09 15:24:57 +00:00
Bastien Nocera
7c08e54d03 bluetooth: Remove omnipresent scrollbar
Which we should need most of the time.

https://bugzilla.gnome.org/show_bug.cgi?id=664344
2012-01-09 11:16:43 +00:00
Guillaume Desmottes
d0db3c96e2 gvc-level-bar: fix shadow global declaration warnings
Those variables are already defined in some headers (like bits/math-finite.h)
making gcc unhappy.

https://bugzilla.gnome.org/show_bug.cgi?id=666240
2012-01-09 10:57:17 +00:00
Guillaume Desmottes
5568917080 gvc-level-bar: define priv->scale as a GvcLevelScale
That's cleaner and fix a sign-compare warning in gcc.

https://bugzilla.gnome.org/show_bug.cgi?id=666240
2012-01-09 10:57:17 +00:00
Richard Hughes
7923b995b7 network: Move the device speed up to the device header
This makes the panel closer match the new mockup provided by the design team.
2012-01-09 10:20:45 +00:00
Marek Kasik
07c7ffaf0c Printers: Show correct hostnames for printers
Show correct hostname for each remote printer. G-c-c gets
it from printer-uri-supported or from device-uri CUPS options now.
It also set 'printer-network' icon for remote printers to have them
easily recognizable from local printers.
2012-01-06 13:08:25 +01:00
Sergey V. Udaltsov
ca2186e7a7 region: Fix rendering of the layout list in the "add layout" popup
When enabled, "extra" layouts are rendered as italic.
It was broken, the markup was visible literally - now it is real italic text

Signed-off-by: Sergey V. Udaltsov <svu@gnome.org>
2011-12-25 03:00:02 +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
1ffb3ffdc1 wacom: Update from gnome-settings-daemon 2011-12-14 18:55:43 +00:00
Bastien Nocera
eab81355a0 wacom: Update gsd-wacom-device.[ch] from g-s-d
Bringing us per-tablet and per-styli settings and support for multiple
styli.
2011-12-12 18:20:04 +00:00
Bastien Nocera
6296a0f522 wacom: Add gsd-input-helper.[ch] from g-s-d 2011-12-12 18:20:04 +00:00
Bastien Nocera
d5623b731e wacom: Don't crash if created devices don't exist 2011-12-12 18:20:03 +00:00
Marek Kasik
5421c92eb6 Printers: Don't crash because of external panel switch
Don't crash when exiting from new printer dialog due to external change
of panel (e.g. clicking "Network Settings" during run of the new printer
dialog). (rhbz #760587)
2011-12-12 12:56:00 +01:00
Rodrigo Moya
d708660eb0 Rename 'System info' panel to Details
https://bugzilla.gnome.org/show_bug.cgi?id=661696
2011-11-29 10:04:37 +01:00
Cosimo Cecchi
b39356f69c wacom: add some spacing between the panel sections
https://bugzilla.gnome.org/show_bug.cgi?id=665079
2011-11-28 15:07:36 -05:00
Cosimo Cecchi
87297edb39 wacom: fix packing for the left handed switch section
https://bugzilla.gnome.org/show_bug.cgi?id=665079
2011-11-28 15:07:36 -05:00
Cosimo Cecchi
62e670963e wacom: make sure description labels are right-aligned and dim
As in the mockups.

https://bugzilla.gnome.org/show_bug.cgi?id=665079
2011-11-28 15:07:36 -05:00
Cosimo Cecchi
5b86a93dfd wacom: add the LINKED style class to the navigation widget
GTK+ defines a LINKED style class for linked containers now; set it on
the navigation widget so that the theme can render the buttons
connected.

https://bugzilla.gnome.org/show_bug.cgi?id=665079
2011-11-28 15:07:36 -05:00
Bastien Nocera
ce8186dba1 wacom: Add navigation button to navigate between styli
Looks a bit rough, but functionality is present.
2011-11-28 18:24:15 +00:00
Bastien Nocera
46a3b9697b wacom: Add navigation button 2011-11-28 18:24:15 +00:00
Bastien Nocera
6255fccc8c wacom: Remove unused finalize function 2011-11-28 18:24:15 +00:00