Commit graph

64 commits

Author SHA1 Message Date
Jiro Matsuzawa
ce53dc7fd9 wacom: add translation context for Wacom action type
https://bugzilla.gnome.org/show_bug.cgi?id=682876
2012-08-28 16:51:46 +01:00
Olivier Fourdan
a2e515ea39 wacom: add different action types to mapping dialog
https://bugzilla.gnome.org/show_bug.cgi?id=679067
2012-08-21 18:00:22 +02:00
Olivier Fourdan
06554439b7 wacom: Do calibration for the selected tool only
As different tools may have different resolutions (e.g.
touch vs. stylus on tablets which support both).

https://bugzilla.gnome.org/show_bug.cgi?id=680114
2012-07-19 16:39:36 +01:00
Olivier Fourdan
f004ecb17d wacom: Fix critical warning after calibration
g_variant_new_array() creates a floating reference and
g_settings_set_value() consumes it, so don't unref the GVariant
ourselves.

https://bugzilla.gnome.org/show_bug.cgi?id=680171
2012-07-19 16:37:02 +01:00
Olivier Fourdan
3083fda606 wacom: Destroy display mapping dialogue on unplug
https://bugzilla.gnome.org/show_bug.cgi?id=679159
2012-07-04 14:48:54 +02:00
Olivier Fourdan
1612735104 wacom: apply display rotation to device
When an output is mapped to a device, match the device rotation
with the output (bug #676170)
2012-07-03 11:50:36 +02:00
Bastien Nocera
5a2b411255 wacom: Fix crasher using link to display panel
->panel was never set within the page object.
2012-05-25 12:16:24 +01:00
Bastien Nocera
aa161bacc9 wacom: Destroy button mapping dialogue on unplug
https://bugzilla.gnome.org/show_bug.cgi?id=676790
2012-05-25 11:19:37 +01:00
Peter Hutterer
17c2e2c257 wacom: Make "Calibrate" button insensitive if there is no screen match
If no match is found for the screen tablet, calibration will fail anyway.

https://bugzilla.gnome.org/show_bug.cgi?id=673892
2012-05-18 10:35:45 +01:00
Peter Hutterer
ff31b771bb wacom: update the UI if a new tool comes in
The device_added_cb is called once for each tool added. The wacom driver
hotplugs tools in the order stylus, eraser, cursor, pad.

update_current_page will add a new page once a tablet has stylus and
eraser, before cursor and pad exist. priv->pad is thus always NULL,
causing, cc_wacom_page's update_tablet_ui to remove the "Map Buttons..."
button for any device.

Change the code to update the tool list for every new tool we get,
merely triggering the visibility of the button instead of destroying it
completely.

https://bugzilla.gnome.org/show_bug.cgi?id=672691
2012-04-12 14:43:34 +01:00
Bastien Nocera
865d322865 wacom: Add FIXME 2012-02-28 11:38:03 +00:00
Bastien Nocera
c8a24f514e wacom: Add elevator buttons to the list 2012-02-28 11:37:52 +00:00
Bastien Nocera
dbef08e360 wacom: Remove right-hand margin from nav button
https://bugzilla.gnome.org/show_bug.cgi?id=668881
2012-02-27 16:51:36 +00:00
Bastien Nocera
88f743cf45 wacom: Reorder the widgets as per mockup
https://bugzilla.gnome.org/show_bug.cgi?id=668881
2012-02-27 16:51:35 +00:00
Bastien Nocera
338fd409ee wacom: Swap nav button and label for tablet
https://bugzilla.gnome.org/show_bug.cgi?id=668881
2012-02-27 16:51:33 +00:00
Bastien Nocera
8a8492ea26 wacom: Monitor the last used stylus
And switch to its page on startup, or when drawn near the device
2012-02-20 17:58:14 +01:00
Cosimo Cecchi
d451559391 wacom: align the navigation button box to the end of their row
https://bugzilla.gnome.org/show_bug.cgi?id=668881
2012-02-20 11:23:46 +01:00
Cosimo Cecchi
41e55372a9 wacom: split the main page controls in a separate GtkGrid
The effect we want to achieve is to have the model name and button box
padded 16px to the left of the tablet controls below.
Pack all the tablet controls in a separate GtkGrid, so we can just set a
margin on that and offset its contents from the model above.

https://bugzilla.gnome.org/show_bug.cgi?id=668881
2012-02-20 11:23:44 +01:00
Bastien Nocera
a13a85b7bb wacom: Coding style fixes 2012-02-19 16:06:39 +01:00
Bastien Nocera
e0a55d2216 wacom: Make edition match that in the keyboard panel 2012-02-18 16:27:29 +01:00
Bastien Nocera
a3a96fa0f0 wacom: Fix label for hard-coded and disabled buttons 2012-02-18 14:43:04 +01:00
Bastien Nocera
5743f2098c wacom: Implement basic display mapping dialogue 2012-02-16 17:40:09 +01:00
Bastien Nocera
2bb25a7cd9 wacom: Add "Display Mapping" button
Non-operational
2012-02-16 17:36:33 +01:00
Bastien Nocera
d7bf7f8ed9 wacom: Remove extraneous linefeed 2012-02-16 17:36:33 +01:00
Bastien Nocera
55c1a44dae wacom: Implement closing the mapping dialogue 2012-02-14 19:37:53 +00:00
Bastien Nocera
27ea364ea7 wacom: Hide elevator buttons until we can handle them 2012-02-14 19:37:53 +00:00
Bastien Nocera
f100c98488 wacom: Implement saving keyboard shortcuts 2012-02-14 19:37:53 +00:00
Bastien Nocera
9df8c7cf62 wacom: Add "pad" argument to cc_wacom_page_new() 2012-02-14 19:37:53 +00:00
Bastien Nocera
16b872c8dd wacom: Add stub button mapping dialogue 2012-02-14 15:51:54 +00:00
Bastien Nocera
ca1e72c9a3 wacom: Ignore puck devices 2012-01-31 15:04:24 +00:00
Bastien Nocera
81ad779084 wacom: Fix tablet layout problems for "screen" type 2012-01-30 17:02:26 +00:00
Bastien Nocera
decc5cf668 wacom: Make .ui files load the images properly
So it's easier to see what it looks like in glade.
2012-01-30 17:02:25 +00:00
Bastien Nocera
289d1e90c5 wacom: Implement switching to Display settings 2012-01-26 19:10:11 +00:00
Bastien Nocera
740cd38fa5 wacom: Hide tracking mode for screen tablets 2012-01-26 19:10:10 +00:00
Jason Gerecke
af2c94ced5 wacom: Specify monitor to use when calling run_calibration
Changes the signature of run_calibration to require the monitor
that calibration should take place on.

https://bugzilla.gnome.org/show_bug.cgi?id=657423
2012-01-18 23:42:23 +00:00
Jason Gerecke
611a91b91f wacom: Get monitor tablet has ben mapped to before calibrating
More precisely, this patch checks if the tablet *could* be mapped.
gsd_wacom_device_get_display_monitor has a side-effect of
automatically mapping the tablet if it is necessary and possible
to ensure that it *is* mapped.

If the tablet isn't and can't be mapped, calibration is pointless.

https://bugzilla.gnome.org/show_bug.cgi?id=657423
2012-01-18 23:41:18 +00:00
Bastien Nocera
b732da14d8 wacom: Split off the stylus page creation
Show configuration for multiple styli in the configuration UI.
2012-01-16 17:30:33 +00:00
Bastien Nocera
a771f350d6 wacom: Remove unused definitions 2012-01-16 17:30:33 +00:00
Bastien Nocera
425b5040ea wacom: Use symbolic name for click threshold 2012-01-13 17:48:08 +00:00
Bastien Nocera
0905cb347a wacom: Add FIXME for monitor placement 2012-01-12 19:00:08 +00:00
Bastien Nocera
9ba2c986e7 wacom: Update for new calibrator API 2012-01-12 18:57:55 +00:00
Bastien Nocera
6c304370eb wacom: Remove unnecessary duplication 2012-01-12 15:26:16 +00:00
Bastien Nocera
f256fe0096 wacom: Identation fixes 2012-01-12 15:23:53 +00:00
Bastien Nocera
13af3b18a2 wacom: Small coding style fixes 2012-01-12 15:22:04 +00:00
Bastien Nocera
1638319802 wacom: Fix wrong gsize print format 2012-01-12 13:53:45 +00:00
Bastien Nocera
d099ded276 wacom: Update for calibration API change 2012-01-12 13:53:45 +00:00
Bastien Nocera
815635a3c2 wacom: Simplify run_calibration() 2012-01-10 20:16:33 +00:00
Bastien Nocera
e70502cc3b wacom: Use updated _get_area() API 2012-01-10 19:55:01 +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