Commit graph

298 commits

Author SHA1 Message Date
Giovanni Campagna
77c72eb8ce wacom: adapt to GnomeRR API changes
GnomeRR now returns the EDID IDs as strings directly, so we don't
need to convert them to compare to the settings. Also, we don't
need to filter disconnected outputs, it's done by mutter now.

https://bugzilla.gnome.org/show_bug.cgi?id=705573
2013-08-19 09:58:05 +02:00
Bastien Nocera
c3c2b23487 wacom: Fix possible use before set 2013-07-30 16:42:23 +02:00
Joaquim Rocha
d83e0ff5c1 wacom: Call the OSD window for assigning the tablets' buttons
It falls back to the listbox view in case the OSD cannot be shown.

https://bugzilla.gnome.org/show_bug.cgi?id=704798
2013-07-26 20:04:35 +02:00
Joaquim Rocha
83fdff79bb wacom: Add missing cc-wacom-button-row 2013-07-24 14:42:20 +02:00
Joaquim Rocha
df161dba18 wacom: Use a GtkListBox for the buttons' mapping instead of a GtkTreeView
https://bugzilla.gnome.org/show_bug.cgi?id=703148
2013-07-24 11:18:24 +02:00
Joaquim Rocha
afea7e93f0 wacom: Update from gnome-settings-daemon 2013-07-24 11:18:24 +02:00
Joaquim Rocha
d125505266 wacom: Add gsd-wacom-key-shortcut-button to be updated from g-s-d 2013-07-24 11:17:06 +02:00
Yosef Or Boczko
cf81bc227f wacom: drop GtkStock
https://bugzilla.gnome.org/show_bug.cgi?id=704178
2013-07-19 15:59:26 +03:00
Joaquim Rocha
35e3697b1d wacom: Expand columns in buttons' assignment treeview
Because the GtkCellRendererAccel can't almost be seen.

https://bugzilla.gnome.org/show_bug.cgi?id=703043
2013-07-17 15:51:47 +02:00
Joaquim Rocha
97648fe80c wacom: Reduce white-space between tablet and styli controls
https://bugzilla.gnome.org/show_bug.cgi?id=698119
2013-07-15 18:41:23 +02:00
Przemo Firszt
3708eab09d wacom: Show hard-coded action names on OLED too
Show hard-coded action names on OLED as well, not just
for custom actions.

https://bugzilla.gnome.org/show_bug.cgi?id=700498
2013-07-15 18:39:02 +02:00
Joaquim Rocha
edc0a9b11f wacom: Fix discrepancy when switching monitors from g-c-c
The rotation was being set directly from g-c-c when switching
monitors but g-s-d already does this when the display is set to
the tablet. This resulted in a discrepancy between setting the
monitor from g-c-c or from g-s-d when the left-handed mode was on.

https://bugzilla.gnome.org/show_bug.cgi?id=700439
2013-06-10 11:06:43 +02:00
Joaquim Rocha
48164b5a3f wacom: Fix segfault when trying to check if the tablet has a monitor
The check method had been changed in order to use the CcWacomPage
instead of its private struct but one of the calls to it wasn't updated.
2013-06-06 15:32:41 +02:00
Joaquim Rocha
366fd4ba94 wacom: Add command line support for calibration
https://bugzilla.gnome.org/show_bug.cgi?id=692816
2013-06-05 18:29:40 +02:00
Joaquim Rocha
ed3c9badff wacom: Add cc_wacom_page_calibrate and cc_wacom_page_can_calibrate functions
https://bugzilla.gnome.org/show_bug.cgi?id=692816
2013-06-05 18:29:40 +02:00
Joaquim Rocha
e45bafaacb wacom: Add command line argument support for choosing the tablet
https://bugzilla.gnome.org/show_bug.cgi?id=692816
2013-06-05 18:29:40 +02:00
Rui Matos
e87c4ad340 wacom: Set button arrow icons according to locale's text direction
https://bugzilla.gnome.org/show_bug.cgi?id=700543
2013-06-05 11:27:34 +02:00
Joaquim Rocha
d78bc9772a wacom: Re-write gui_gtk in Clutter to introduce animations
The name of the file was also changed to calibratorgui.c/h to avoid
it being inconsistent, this way it is no longer dependent on the
the technology.

https://bugzilla.gnome.org/show_bug.cgi?id=667797
2013-05-17 16:36:59 +02:00
Joaquim Rocha
3cf0addbfe wacom: Do not unref variant consumed by GSettings
This avoids a critical warning.

https://bugzilla.gnome.org/show_bug.cgi?id=700511
2013-05-17 16:18:43 +02:00
Bastien Nocera
3968797027 wacom: Update from gnome-settings-daemon 2013-05-17 09:39:18 +02:00
Przemo Firszt
16c0a66acf wacom: Add basic OLED handling for Intuos4
This sets the OLED to the keyboard shortcut when a
custom keyboard shortcut is used.

https://bugzilla.gnome.org/show_bug.cgi?id=671072
2013-05-17 09:38:30 +02:00
Joaquim Rocha
2b34736ea8 wacom: Set the last-calibrated-resolution key after calibrating
So g-s-d will know if calibration is needed when the monitor resolution
changes.

This is related to https://bugzilla.gnome.org/show_bug.cgi?id=677095
2013-05-16 11:26:29 +02:00
Joaquim Rocha
3702a56793 wacom: Show the cursor in the calibrator UI when used from test_wacom
This functionality is dictated by the definition of FAKE_AREA in the
CPPFLAGS.
2013-04-16 14:44:08 +02:00
Joaquim Rocha
19876f84d9 wacom: Create a similar calibrator library for testing purposes
This is so we can e.g. add different parameters when creating it
2013-04-16 14:44:08 +02:00
Joaquim Rocha
c74a65acb5 wacom: Prevent failure when device's area cannot be retrieved
It also uses fake data from the screen's area. This functionality is
dictated by the definition of FAKE_AREA in CPPFLAGS.

https://bugzilla.gnome.org/show_bug.cgi?id=689686
2013-04-16 14:44:08 +02:00
Joaquim Rocha
9031c41784 wacom: add a link to the mouse settings panel
Based on previous work by Olivier Fourdan.
2013-04-16 12:33:16 +02:00
Bastien Nocera
176990945e wacom: Update from gnome-settings-daemon 2013-03-04 12:53:22 +01:00
Ángel Guzmán Maeso
1f57add30f wacom: Fix deprecated functions in gui_gtk.c
From gtk_icon_info_free() to g_object_unref()
gtk_window_set_opacity() to gtk_widget_set_opacity()

https://mail.gnome.org/archives/commits-list/2013-February/msg02049.html

https://bugzilla.gnome.org/show_bug.cgi?id=694362
2013-02-21 17:08:26 +01:00
Allan Day
1f7c292122 wacom: 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
Olivier Fourdan
1f42956437 wacom: small code clean-up
we already set a local variable so better use it, it helps with
code readability.

https://bugzilla.gnome.org/show_bug.cgi?id=689684
2013-01-17 11:06:02 +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
Cosimo Cecchi
3d36924e68 wacom: remove unused directory export
I had this squashed locally, and it was missing from the patch that was
committed.
2013-01-07 16:23:08 -05:00
Cosimo Cecchi
82f8c136c0 wacom: use a GResource for GtkBuilder UI definition and icons
https://bugzilla.gnome.org/show_bug.cgi?id=691132
2013-01-07 10:57:17 +01:00
Matthias Clasen
3d27d8caaf shell: Fittsify panels
Make it possible for panels to go all the way to the edge of the
shell. This is particularly important for panels that scroll, such
as the new power panel. All other panels are changed to compensate
for the loss of external padding.

https://bugzilla.gnome.org/show_bug.cgi?id=691229
2013-01-07 10:51:29 +01:00
Bastien Nocera
8a0f14b969 wacom: Remove extraneous semi-colon 2012-12-20 16:22:01 +01:00
Bastien Nocera
7d147e06a6 wacom: Clean up action type sanity check 2012-12-20 12:07:00 +01:00
Olivier Fourdan
f5e8101dbd wacom: check for the action type value
Action type comes from GSettings and may have been changed
to some invalid value, causing a segmentation fault in
control-center if the value is larger than the known action
types. This can also occur when downgrading from a version
with more possible actions.

Adds a sanity check to verify the given action type value
is within the bounds of the known action types.

https://bugzilla.gnome.org/show_bug.cgi?id=689265
2012-12-20 11:47:47 +01:00
Bastien Nocera
3ecbd9b3e1 wacom: Better strings for the touchring/touchstrips
Use ↺ and ↻ for the touchring buttons, and add context to the
touchstrip labels.
2012-12-20 11:29:33 +01:00
Bastien Nocera
7cac7eeb75 wacom: Update from gnome-settings-daemon 2012-12-20 10:38:59 +01:00
Olivier Fourdan
45d1ca8439 wacom: Use CW and CCW for ring circular motion
Using "up" and "down" on a ring is ambiguous, better
use "CW" or "CCW" to indicate the circular motion on
touch rings.

https://bugzilla.gnome.org/show_bug.cgi?id=689264
2012-12-20 10:38:59 +01:00
Olivier Fourdan
bae5488909 wacom: Add show help window to the list of actions
for pad buttons, once the OSD window patch is
merged in gnome-settings-daemon.

https://bugzilla.gnome.org/show_bug.cgi?id=683567
2012-12-20 10:38:59 +01:00
Bastien Nocera
e419ee7d4e panels: Remove unused X-GNOME-Settings-Panel key 2012-12-11 17:09:04 +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
Jeremy Bicha
e449901b59 wacom: Use the proper Unicode ellipsis (…) instead of three dots
https://bugzilla.gnome.org/show_bug.cgi?id=689497
2012-12-03 09:17:15 -05:00
Olivier Fourdan
a37720f11f wacom: Update from gnome-settings-daemon 2012-10-19 15:42:56 +02:00
Bastien Nocera
2a88736cf6 wacom: Add link to wacom docs
And not the generic control-center docs.

https://bugzilla.gnome.org/show_bug.cgi?id=675471#c40
2012-09-12 10:24:19 +01:00
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
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
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
8d8cf75352 wacom: Update from gnome-settings-daemon 2012-08-21 17:59:36 +02:00