We used to sort the outputs by their X coordinate, maybe to display a list of them in a
reasonable order. However, we don't display such a list at all, so it doesn't make
sense to sort the outputs. This also makes the capplet use the same ordering for outputs
as gnome-settings-daemon for GnomeRRLabeler's purposes, so that the colors for the outputs
match in both the capplet and g-s-d.
Signed-off-by: Federico Mena Quintero <federico@novell.com>
When a custom browser command was set we would clear that command
when the capplet was restarted. As a side effect of no longer
doing that, we now use the last used browser command as the
starting point instead of an empty commmand (bug #590316).
The theme thumbnail rendering code gets the rendering of folder icons somewhat
wrong, ie it frequently shows a gnome-fs-directory icon from gnome even if the
actual theme has a folder icon. Improve things by using modern GtkIconTheme
api in a better way.
Previously we were picking the output's highest-supported resolution, which is not
always the same as its preferred resolution. We also do this while actually turning
the output on, not as a side effect of rebuilding the resolution combo.
Signed-off-by: Federico Mena Quintero <federico@novell.com>
This patch is based on Ubuntu's touchpad configuration.
It adds a new tab to gnome-mouse-properties that allows to enable/disable the
touchpad, tapping and select between edge scrolling and two-finger scrolling.
It adds the following gconf keys:
/desktop/gnome/peripherals/touchpad/disable_while_typing (boolean)
/desktop/gnome/peripherals/touchpad/tap_to_click (boolean)
/desktop/gnome/peripherals/touchpad/horiz_scroll_enabled (boolean)
/desktop/gnome/peripherals/touchpad/scroll_method (integer)
[0,1,2 for disabled, edge and two-finger scrolling, respectively]
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
The custom cell renderers were required to draw the selection inidicator
around the entire item, not just the text. This has now been fixed in GTK+ as the
as the resolution of bug 382544.
In case the RANDR configuration cannot be applied, gnome-settings-daemon already
pops up an error message. So, don't pop up another error of our own.
Signed-off-by: Federico Mena Quintero <federico@novell.com>
There is no timestamp available when the dialog returns from gtk_dialog_run().
So, we save the timestamp at the time the Apply button is clicked.
Signed-off-by: Federico Mena Quintero <federico@novell.com>
The horizontal coordinate was not always being updated.
Also, ensure that outputs are at y=0.
Signed-off-by: Federico Mena Quintero <federico@novell.com>