Commit graph

60 commits

Author SHA1 Message Date
Bastien Nocera
5b7132bacf display: Use new GtkSwitch for display switching
Instead of 2 radio buttons.

https://bugzilla.gnome.org/show_bug.cgi?id=636065
2010-12-01 14:45:41 +00:00
Bastien Nocera
affc2ca923 display: Fix run-time warning
If the viewport changed before we're realised, don't care too much.
2010-11-29 14:43:07 +00:00
Matthias Clasen
d1b93565d8 Use a different cursor for bar dragging 2010-11-23 10:59:31 -05:00
William Jon McCann
29c7dd38a8 display: add a save/restore to ensure the labels don't mess up top bar
By setting a scale...
2010-11-23 09:44:30 -05:00
William Jon McCann
f490da1cb5 display: use a better color shading
So the displays don't look black when off.  We should avoid using
black since that is used for the top bar.
2010-11-23 08:29:59 -05:00
William Jon McCann
49e0499e3b display: update primary when turning displays off 2010-11-23 08:02:19 -05:00
William Jon McCann
17a7b0d404 display: only set primary when dragging top bar 2010-11-22 22:01:30 -05:00
William Jon McCann
3f054a856e display: don't allow setting primary on off displays 2010-11-22 21:54:51 -05:00
William Jon McCann
9cd6ecac9f display: ensure primary display is set in config
https://bugzilla.gnome.org/show_bug.cgi?id=635455
2010-11-22 21:40:34 -05:00
William Jon McCann
e658b6341b display: add some border padding 2010-11-21 18:48:10 -05:00
William Jon McCann
e2c486f979 display: use a smaller top bar size 2010-11-20 21:29:12 -05:00
William Jon McCann
7e5aecdf98 display: allow dragging top bar to set primary display 2010-11-20 20:38:04 -05:00
William Jon McCann
3337e01c00 display: identify primary display with a black top bar and clock 2010-11-20 19:38:20 -05:00
William Jon McCann
a4ac7717da display: clean up declarations 2010-11-20 18:36:44 -05:00
William Jon McCann
88df7df3a9 display: use consistent indentation and spacing 2010-11-20 18:30:40 -05:00
William Jon McCann
e9804b5adc display: Just say no to tabs and trailing whitespace 2010-11-20 18:28:55 -05:00
William Jon McCann
e3367c92f0 Don't assume that get_preferred_* arguments can't be NULL
Fixes a crash introduced by f5f5aac5c0
2010-11-20 13:33:19 -05:00
Bastien Nocera
032d6326d5 panels: Add keywords to all the panels we ship
https://bugzilla.gnome.org/show_bug.cgi?id=399754
2010-11-17 16:02:47 +00:00
Bastien Nocera
ad98fd751b display: Fix keywords
And add a translator comment.
2010-11-17 15:42:37 +00:00
Matthias Clasen
07543ce008 display: Add some keywords to the desktop file
This is mainly to demonstrate how keyword search operates. After
this patch, typing "xrandr" in the search entry will find the
display panel.
2010-11-15 18:17:00 -05:00
Rodrigo Moya
d14cc5c0b0 Fix conflicts 2010-11-15 11:28:01 +01:00
Rodrigo Moya
7c87dce1dc Fix conflicts 2010-11-15 10:35:25 +01:00
Andreas Proschofsky
32f59e6df5 all: Fix build for latest gnome-desktop changes
https://bugzilla.gnome.org/show_bug.cgi?id=634859
2010-11-14 22:12:59 +00:00
William Jon McCann
16f45eb8a7 display: remove the primary display checkbox
We'll add a graphical representation instead.
2010-11-14 15:44:36 -05:00
William Jon McCann
ad13352fbc display: make layout not jump around when selecting monitors
Add a bit of spacing for breathing room as well.
2010-11-14 15:38:17 -05:00
William Jon McCann
25b198a814 display: remove unhelpful Monitor: label
It is somewhat redundant, misleading for projectors, and adds
noise.  Remove it.
2010-11-14 15:15:54 -05:00
William Jon McCann
ebf1ced0ae display: indicate the selected display using an outside stroke
And use the selection color from the widget style.  This helps
uncrowd the inner part of the box and will allow more room to
fit a primary display selector.
2010-11-14 14:56:07 -05:00
William Jon McCann
3cc5c70546 display: don't list the resolution in the arrangement box
It doesn't directly relate to the monitor arrangement and significantly
clutters the view.  We have designs to add a primary display arrangement
and this unnecessarily complicates things.
2010-11-14 14:10:15 -05:00
William Jon McCann
368849afe5 display: remove refresh rate setting
This setting isn't really something that the user has enough information
to set appropriately.  And something the system should be able to figure
out on its own.
2010-11-14 13:22:04 -05:00
Rodrigo Moya
8f7274baa3 display: Use C comments, not C++ 2010-11-09 18:20:50 +01:00
Kees Cook
520598e762 display: Show aspect ratios with resolutions 2010-11-09 14:02:57 +01:00
Matthias Clasen
f5f5aac5c0 Prepare for size_request removal in GTK3
https://bugzilla.gnome.org/show_bug.cgi?id=633321
2010-11-08 14:07:47 +01:00
William Jon McCann
e8b5261049 [displays] Change panel name to Displays
Monitors aren't the only use of this panel.  Projectors and tablet screens
don't involve monitors at all.
2010-11-04 17:30:08 -04:00
Bastien Nocera
a5f8ef0dc8 display: Port FooScrollArea to GtkScrollable iface 2010-10-22 14:42:23 +01:00
Richard Hughes
f80b6b2862 Fix 'make distcheck' by correcting 54ef13e76e 2010-10-13 10:20:10 +01:00
Rodrigo Moya
5ca286593a [display] Remove last GConf leftovers 2010-10-11 11:48:40 +02:00
William Jon McCann
cb052e13b9 display: make the canvas background color a bit more neutral (tasteful) 2010-10-07 20:28:26 -04:00
William Jon McCann
54ef13e76e display: also remove the system-wide setting helper 2010-10-07 20:20:02 -04:00
William Jon McCann
75a7dbfed0 Readd the checkbox to set primary display
It doesn't currently seem to do anything however.
2010-10-07 20:18:09 -04:00
William Jon McCann
c06d1fa19a display: Simplify the layout of the display panel
Move the detect displays button to the left.
Remove make default.
Remove the show in panel item because it doesn't work in GNOME 3.
2010-10-07 19:44:17 -04:00
Benjamin Otte
ab3c66ecdd display: Remove excess cairo_save() call 2010-10-08 00:01:14 +02:00
Bastien Nocera
e22c847f19 display: Show the resolution in the canvas area 2010-10-06 17:57:58 +01:00
Bastien Nocera
a77dfb1c3c display: Reorganise according to mockups
Reorganise the widgets in the display panel to be a little bit
less of a mess of widgets. Global options are now separate from
per-monitor ones.
2010-10-06 17:57:58 +01:00
William Jon McCann
81065b9b74 Update for new GTK3 drawing APIs
https://bugzilla.gnome.org/show_bug.cgi?id=631051
2010-10-01 11:04:43 -04:00
William Jon McCann
5117d2b2cb Wait until the toplevel is realized before using it
https://bugzilla.gnome.org/show_bug.cgi?id=631051
2010-10-01 11:04:43 -04:00
Bastien Nocera
4ec7801cbb shell: Show settings without a panel in Other
Add the X-GNOME-Settings-Panel category. You need a control-center
panel to add this to your desktop file. Desktop entries with this
category but that aren't actually panels will be ignored (no cheating).

If the desktop file for your settings isn't a panel, it will show in the
"Other" section of the control-center shell

https://bugzilla.gnome.org/show_bug.cgi?id=630998
2010-09-30 13:48:29 +01:00
Bastien Nocera
6e7b3774c0 Only link the panels that require it to gnome-desktop
Only the display and background panels use gnome-desktop,
the shell shouldn't need to require it.
2010-09-20 17:56:23 +01:00
Vincent Untz
d54d9de857 display: Add missing include to fix build 2010-09-18 12:25:06 +02:00
Kalev Lember
bfb92ffe9b bgo#627861 - [randr] Don't silengly ignore errors when pkexec(1) fails
Now we present a proper error dialog if the 'Make Default' configuration
cannot be set due to a pkexec error.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-09-10 14:46:29 -05:00
Bastien Nocera
eb1e75ec6e display: Generate marshal files properly
Instead of having generated files in the repo.
2010-09-10 11:56:09 +01:00