Commit graph

351 commits

Author SHA1 Message Date
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
Bastien Nocera
3983a44d29 wacom: Make button mapping window bigger 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
472317bc10 wacom: Update test-wacom for API change 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
c85f53a801 wacom: Update from gnome-settings-daemon 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
0025f2db63 wacom: Update from gnome-settings-daemon 2012-02-08 17:04:38 +00:00
Bastien Nocera
9b2d709dec wacom: Update from gnome-settings-daemon 2012-02-07 15:27:00 +00:00
Bastien Nocera
d5cda7651c wacom: Remove italics
https://bugzilla.gnome.org/show_bug.cgi?id=669070
2012-01-31 17:34:56 +00:00
Bastien Nocera
ca1e72c9a3 wacom: Ignore puck devices 2012-01-31 15:04:24 +00:00
Bastien Nocera
ef0d463c4e wacom: Update from gnome-settings-daemon 2012-01-31 15:04:24 +00:00
Bastien Nocera
155456d296 wacom: Fix updating common files from gsd 2012-01-31 15:04:24 +00:00
Bastien Nocera
90ef825d60 wacom: Add more padding between sections 2012-01-30 17:02:26 +00:00
Bastien Nocera
81ad779084 wacom: Fix tablet layout problems for "screen" type 2012-01-30 17:02:26 +00:00
Bastien Nocera
fd54ab6e5d wacom: Expand the button box horizontally 2012-01-30 17:02:26 +00:00
Bastien Nocera
9cb225c466 wacom: Only 3 columns for the tablet section 2012-01-30 17:02:25 +00:00
Bastien Nocera
f3bd46f7a5 wacom: Stylus section only has 3 columns 2012-01-30 17:02:25 +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
eb82ee2205 wacom: Make images have a width of 1
So they're the same width as the navigation buttons
2012-01-30 16:11:10 +00:00
Bastien Nocera
485dc70e28 wacom: Have a label even when we have 1 page
To make the layout work even when hidden.
2012-01-30 16:08:44 +00:00
Bastien Nocera
32f0b08c5c wacom: Widen the tablet images
So that they are the same width as the styli, and we avoid
layout problems this way.
2012-01-30 16:05:41 +00:00
Bastien Nocera
7cb5d85595 wacom: Install the new stylus artwork 2012-01-30 16:02:50 +00:00
Bastien Nocera
20308f1c58 wacom: Update from gnome-settings-daemon 2012-01-30 15:59:46 +00:00
Bastien Nocera
87005e3f75 wacom: Fix excessive top padding
https://bugzilla.gnome.org/show_bug.cgi?id=668881
2012-01-30 15:23:28 +00:00
Bastien Nocera
26901fda58 wacom: Fix 1-button stylus' button mapping
Oopsie. We weren't setting the default value for the only
button if you only had that button.
2012-01-27 11:14:06 +00:00
Bastien Nocera
289d1e90c5 wacom: Implement switching to Display settings 2012-01-26 19:10:11 +00:00
Bastien Nocera
304c10d901 wacom: Add link to Display settings 2012-01-26 19:10:10 +00:00
Bastien Nocera
61314e26f7 wacom: Add "Map Buttons..." button 2012-01-26 19:10:10 +00:00
Bastien Nocera
740cd38fa5 wacom: Hide tracking mode for screen tablets 2012-01-26 19:10:10 +00:00
Bastien Nocera
139289c767 wacom: Fix layout problems for some styli
When we just hide items inside a GtkGrid, they still take space
in the layout. So we need to remove those widgets, and change
the location in the grid of those widgets.

Finally, as some widgets are removed. the layout doesn't expand as
it used to, so make the rows homogeneous to line up with the drawings.
2012-01-26 15:48:32 +00:00