Commit graph

123 commits

Author SHA1 Message Date
Benjamin Berg
a61f0654b9 display: Fix coordinate calculations
https://bugzilla.gnome.org/show_bug.cgi?id=681475
2012-09-16 17:09:45 -04:00
Benjamin Berg
c1857b0f9c display: Fix mouse events not working in preview
We need to save event areas with the correct transformation.

The following things need to be take into account:
 * Current cairo matrix (translations)
 * Widget allocation because it is painting on the parents widgets window
 * Cairo device offset, which GTK+ sets (but not for a full window redraw)

https://bugzilla.gnome.org/show_bug.cgi?id=681475
2012-09-06 14:16:27 +01:00
Federico Mena Quintero
f0be9146d4 displays: bgo#592412 - Make 'Mirrored Displays' string consistent with GnomeRRLabeler
We had 'Mirror displays' as a command in the control center, but 'Mirror screens' as a description in
GnomeRRLabeler.  Now we have 'Mirrored Displays' as a description of the current state.

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
2012-09-03 14:07:29 -05:00
Bastien Nocera
f4c3d190bc display: Avoid possible warning on exit
(gnome-control-center:8728): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(gnome-control-center:8728): GLib-GObject-CRITICAL **: g_signal_handler_disconnect: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
2012-08-23 14:22:19 +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
Cyrus Lien
15bcc03b40 display: Do not add preferred mode to drop down in clone mode.
Use preferred resolution to switch to mirror mode will popup error
messages if preferred resolution is not a common resolution.

https://bugzilla.gnome.org/show_bug.cgi?id=680969
2012-08-07 15:37:23 +01:00
Florian Müllner
4e374a27f0 display: Add get_help_uri() implementation
https://bugzilla.gnome.org/show_bug.cgi?id=675471
2012-05-18 18:48:37 +02:00
William Jon McCann
cd867b1158 Adapt to gnome-desktop API change for display labels
GdkColor -> GdkRGBA
2012-05-08 16:28:43 -04:00
Gabor Kelemen
80fdb0bee2 display: Translate the rotation drop-down again
The rotation combo box items on the Displays panel do not appear
translated.  This is because the items got translation context support
in 5a5a037d09, but to get the localized
strings, one needs to use g_dpgettext2()[1], not gettext().

https://bugzilla.gnome.org/show_bug.cgi?id=673766
2012-04-10 16:03:26 +01:00
Bastien Nocera
048a9bc85e display: Sort resolutions by width first
https://bugzilla.gnome.org/show_bug.cgi?id=671465
2012-03-08 10:44:37 +01:00
Bastien Nocera
f75c06b979 display: Use symbolic name 2012-03-07 17:15:41 +01:00
Bastien Nocera
6b6e17788e display: Simplify add_key() calls and function 2012-03-07 17:15:41 +01:00
Michael Terry
49f9de6182 display: Fix crash when the screen setup changes
after the Display panel has been closed.

https://bugzilla.gnome.org/show_bug.cgi?id=670570
2012-03-01 16:00:09 +00:00
Javier Jardón
1070762478 configure.ac: Do not use GNOME_MAINTAINER_MODE_DEFINES
We have compilation warnings now for deprecated api
2012-01-23 14:35:16 +00:00
Robert Ancell
89bbb0a73a display: Use GDBus instead of dbus-glib
https://bugzilla.gnome.org/show_bug.cgi?id=667685
2012-01-12 15:41:47 +00:00
Florian Müllner
4cd7b6c6dc .desktop: Drop prefix from X-GNOME-Keywords
The field has now been included in the spec, so use the standardized
name.
2011-12-19 16:26:40 +01:00
Cosimo Cecchi
33747351a8 display: use dim-label style and right align for description labels
gnome-control-center (inconsistently) uses right-aligned dim-label
widgets for description labels (for example, in the System Info, User
Accounts and Printer panels)
Use them in the Display panel here as well.

https://bugzilla.gnome.org/show_bug.cgi?id=665057
2011-11-28 10:23:50 -05:00
Bastien Nocera
6665b60422 panels: Update for Shell API changes 2011-11-07 18:03:14 +00:00
Alberto Ruiz
3630015d94 Update icon cache only on MAINTAINER_MODE 2011-10-05 16:45:13 +01:00
Bastien Nocera
5a5a037d09 display: Add context for the rotation labels 2011-09-12 12:05:33 +01:00
Bastien Nocera
71d01174d5 display: Remove duplicate/unused translations
"Normal" was translated 3 times when it only needed one,
and the translation in the .ui file weren't used at all.
2011-09-12 12:05:29 +01:00
Bastien Nocera
f33080ac1b display: Clean up signal handling when finalized
Otherwise we might crash if the display panel was opened
and the window focus changes.

https://bugzilla.gnome.org/show_bug.cgi?id=657919
2011-09-01 13:54:44 +01:00
Bastien Nocera
dceae5f79a display: Prefer higher frequency modes
And prefer the preferred mode to other modes with the
same resolution (even if they have a lower resolution).

https://bugzilla.gnome.org/show_bug.cgi?id=655041
2011-08-26 21:15:21 +01:00
Bastien Nocera
2baf442366 display: Remove use of idle_free()
It's just bizarre, and error-prone.
2011-08-26 21:15:21 +01:00
Bastien Nocera
886801c97c display: Use symbolic names for columns
Eeek...
2011-08-26 21:15:21 +01:00
Bastien Nocera
ecc7b5c83e display: Fix the labeller not disappearing
The "panel" container isn't a top-level container, so we can't
rely on it being focused/unfocused.

https://bugzilla.gnome.org/show_bug.cgi?id=625476
2011-08-25 19:39:48 +01:00
Bastien Nocera
558325f6a4 display: Simplify panel code
By merging the "capplet" code back into the main panel code.
2011-08-25 19:10:28 +01:00
Bastien Nocera
662f7b1bf4 display: Remove FIXME
It was fixed!
2011-08-25 18:53:23 +01:00
Bastien Nocera
e763a4dded display: Clean up ifdef's 2011-08-25 18:53:23 +01:00
Michael Terry
0a8669a5b5 Add Unity to OnlyShowIn fields
https://bugzilla.gnome.org/show_bug.cgi?id=653661
2011-06-30 12:44:52 +01:00
Dan Winship
864e9b9cdc xrandr-capplet: Change "Anti-Clockwise" to "Counterclockwise"
and then change it back in en_GB.po

https://bugzilla.gnome.org/show_bug.cgi?id=652569
2011-06-14 10:54:51 -04:00
Matthias Clasen
d29d6a395e Fix a11y/keynav issues in display panel
The Rotation label had a mnemonic, but no suitable mnemonic
widget set up.

Part of bug 650132
2011-05-15 14:03:26 -04:00
Robert Ancell
3d91e4baaf Only show monitor labels when display applet has focus
https://bugzilla.gnome.org/show_bug.cgi?id=589562
2011-05-07 17:50:35 +01:00
Bastien Nocera
df77dc1ee5 Revert "display: Only show monitor labels when display applet has focus"
This reverts commit 201714d99a.

This isn't the unstable branch you're looking for.
2011-05-03 14:36:09 +01:00
Robert Ancell
201714d99a display: Only show monitor labels when display applet has focus
https://bugzilla.gnome.org/show_bug.cgi?id=589562
2011-05-02 15:59:50 +10:00
Bastien Nocera
f3e41a5ec3 display: Add vscroll/hscroll policy properties
To kill the startup critical warnings.

https://bugzilla.gnome.org/show_bug.cgi?id=648620
2011-04-26 13:17:31 +01:00
Alexander Larsson
189a24c280 Fix dragging rotated monitors
Need to take rotation into account when handling the snapping.

https://bugzilla.gnome.org/show_bug.cgi?id=641345
2011-03-18 16:38:35 +01:00
Alexander Larsson
7c3011c352 Fix include not found for gsettings-desktop-schemas/gdesktop-enums.h
pkg-config --cflags gsettings-desktop-schemas lists:
 $incdir/gsettings-desktop-schemas
and that directory contains a gdesktop-enums.h file, so including
<gsettings-desktop-schemas/gdesktop-enums.h> will fail unless
the parent directory also accidentally got added as -I.
2011-03-18 15:50:05 +01:00
Bastien Nocera
5fdc90cc8b 2.91.91
Fix wrong include lines, so distcheck works
2011-03-08 11:59:16 +00:00
Kjartan Maraas
81191add11 Remove unused code 2011-03-02 20:06:20 +01:00
Kjartan Maraas
e24394daff Remove unused variables 2011-03-02 20:06:19 +01:00
Kjartan Maraas
1ca3755aec display: GCC 4.6 warning fixes
https://bugzilla.gnome.org/show_bug.cgi?id=642810
2011-03-02 18:06:07 +00:00
Thomas Wood
e2f944a66a configure: Group pkg-config checks based on how they are used
Group the pkg-config checks so that pkg-config can remove duplicated CFLAGS
and LIBS.

https://bugzilla.gnome.org/show_bug.cgi?id=636593
2011-02-19 16:46:26 +00:00
Bastien Nocera
ec075f58f0 display: Remove unused "apply_button" member 2011-02-04 16:41:56 +00:00
Bastien Nocera
cda9d34f94 display: Remove unused computation 2011-02-04 16:41:56 +00:00
Bastien Nocera
8f614133ea display: Remove old radio-timey code
There's no radio button to switch to off now.
2011-02-04 16:41:56 +00:00
Bastien Nocera
19f5c35da8 display: Simplify some old GNOME 2.x code
There's no need to wait for gtk_dialog_run() now...
2011-02-04 16:41:56 +00:00
Bastien Nocera
91faba68b2 display: Remove support for old D-Bus interface
version 1 support for the protocol is gone. All the
gnome-settings-daemon for the past 2 years have supported the new
interface.
2011-02-04 16:41:56 +00:00
Bastien Nocera
c322a42ea2 display: Rename rotation options
So it's easier to preview in one's head.

https://bugzilla.gnome.org/show_bug.cgi?id=563144
2011-02-01 13:11:54 +00:00
Bastien Nocera
1b97a789e8 display: Hide unsupported sizes
Sizes smaller than 675x530 aren't supported in the design, so
avoid them, unless they're bigger than the current output size
(so you could go up from them).

https://bugzilla.gnome.org/show_bug.cgi?id=626822
2011-02-01 02:35:33 +00:00