Commit graph

232 commits

Author SHA1 Message Date
Piotr Drąg
5f124d6008 all: fix up tooltips
Idea from commit d5088b2eb1.
2012-05-18 18:39:31 +02: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
Bastien Nocera
928e921d8d wacom: Update from gnome-settings-daemon 2012-05-18 10:34:20 +01:00
Bastien Nocera
fb6051401c wacom: Update from gnome-settings-daemon 2012-05-17 18:31:18 +01:00
Bastien Nocera
a760238a67 wacom: Update from gnome-settings-daemon 2012-04-25 20:00:44 +01:00
Bastien Nocera
69b5afd9fe wacom: Move update-from-gsd.sh to root 2012-04-19 12:01:14 +01:00
Cosimo Cecchi
fa3c858502 wacom: fix "Map to Monitor..." button alignment
It should use the same align of the button next to it, i.e. 'center', or
it will look bigger.

https://bugzilla.gnome.org/show_bug.cgi?id=672873
2012-04-12 16:38: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
0463ba8622 wacom: Rename to "Wacom Tablet"
The name of the panel is currently Wacom Graphics Tablet. This is really
long and redundant. The name is also currently wrapped onto three lines.

https://bugzilla.gnome.org/show_bug.cgi?id=673864
2012-04-12 11:05:26 +01:00
Sebastien Bacher
5a2daec0a3 wacom: Mark extra strings as translatable
https://bugzilla.gnome.org/show_bug.cgi?id=673854
2012-04-12 10:37:18 +01:00
Bastien Nocera
13717dce8d wacom: Update from gnome-settings-daemon 2012-03-05 18:32:52 +00:00
Bastien Nocera
3844923a4b wacom: Fix crasher when XRandR isn't available
Spotted by Olivier Fourdan <ofourdan@redhat.com>
2012-03-01 10:26:18 +00: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
ee1fc0744d wacom: Update from gnome-settings-daemon 2012-02-28 10:35:19 +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
de46b91e48 wacom: Make display-link right aligned
https://bugzilla.gnome.org/show_bug.cgi?id=668881
2012-02-27 16:51:35 +00:00
Bastien Nocera
f6d645af82 wacom: Make tablet button box right aligned
https://bugzilla.gnome.org/show_bug.cgi?id=668881
2012-02-27 16:51:34 +00:00
Bastien Nocera
606fee32ff wacom: Swap nav button and label for stylus
https://bugzilla.gnome.org/show_bug.cgi?id=668881
2012-02-27 16:51:34 +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
485ea263c5 wacom: Update from gnome-settings-daemon 2012-02-27 16:48:26 +00:00
Olivier Fourdan
f1e3f0fea5 wacom: Pass -1 as monitor to reset the mapping to the entire screen 2012-02-27 15:27:38 +00:00
Bastien Nocera
b0275d53e9 wacom: Update from gnome-settings-daemon 2012-02-22 13:13:21 +01:00
Bastien Nocera
3824ad8a50 wacom: Update from gnome-settings-daemon 2012-02-20 18:47:44 +01: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
Bastien Nocera
544af5214a wacom: Export stylus from CcWacomStylusPage 2012-02-20 17:58:14 +01:00
Bastien Nocera
21ab18a70f wacom: Change label for display mapping button 2012-02-20 16:50:28 +01:00
Cosimo Cecchi
371fef61c0 wacom: split the styli controls into a separate GtkGrid
Like we did for the tablet page.

https://bugzilla.gnome.org/show_bug.cgi?id=668881
2012-02-20 11:23:49 +01:00
Cosimo Cecchi
790bbbdeb3 wacom: realign the lines on the styli images to the controls
We want them to line up with a 10px padding between the controls.

https://bugzilla.gnome.org/show_bug.cgi?id=668881
2012-02-20 11:23:48 +01:00
Cosimo Cecchi
4ba77224bd wacom: redo spacings in the tablet UI page
Use column and row spacing on the containing GtkGrid instead of setting
margins on each widget.

https://bugzilla.gnome.org/show_bug.cgi?id=668881
2012-02-20 11:23:47 +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
4738872e04 wacom: Style fixes for signal handlers 2012-02-16 19:32:18 +01:00
Bastien Nocera
05ba7514ba wacom: Invert the meaning of the checkbox
So that we can disable the combobox if the checkbutton is disabled,
rather than having inverted meaning, which can be very confusing.

Also make sure that the combobox has the correct state if we
have an unconfigured tablet.
2012-02-16 19:32:18 +01:00
Bastien Nocera
6c5276b061 wacom: Put the whole desktop checkbox first 2012-02-16 19:32:18 +01:00
Bastien Nocera
784b1faf7e wacom: Make the label sensitive (or not) too
When making the combo box unsensitive, disable the label too.
Also make sure that both widgets are correctly made
sensitive again when we have monitors in the drop-down.
2012-02-16 19:32:18 +01:00
Bastien Nocera
15384a1ab8 wacom: Avoid warnings with default settings
By default, the tablets are mapped to the first monitor (unless
they're screen tablets). I think. Maybe. Let me know if I'm wrong.
2012-02-16 19:32:18 +01:00
Bastien Nocera
f167307efe wacom: Fix memleak
The list store was leaked as the combobox is supposed
to be the only one holding a reference.
2012-02-16 19:32:18 +01:00
Bastien Nocera
fda8864aa6 wacom: Fix declaration of functions with no args 2012-02-16 19:32:18 +01:00
Bastien Nocera
69584d5b17 wacom: Use symbolic names for columns 2012-02-16 18:50:49 +01:00
Bastien Nocera
5743f2098c wacom: Implement basic display mapping dialogue 2012-02-16 17:40:09 +01:00
Jason Gerecke
2d0bf044e5 wacom: Barebones mapping panel implementation
Provides a barebones implementation of a panel for selecting the
display to map a tablet to. This implementation uses a combo box
instead of the Display-panel-like UI specified by the mockup since
my Cairo and GTK-fu are weak.

https://bugzilla.gnome.org/show_bug.cgi?id=668546
2012-02-16 17:36:33 +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
030513fbe1 wacom: Update from gnome-settings-daemon 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