Commit graph

2907 commits

Author SHA1 Message Date
Maxim Ermilov
c2211ffe0b Use accessor functions instead direct access
https://bugzilla.gnome.org/show_bug.cgi?id=597888
2010-04-22 17:38:59 +04:00
Sergey V. Udaltsov
6b449a3a04 use new libgnomekbd function for default group switcher
https://bugzilla.gnome.org/show_bug.cgi?id=603806
2010-04-19 00:42:28 +01:00
Andreas Proschofsky
c13aaa0f63 Use changes-prevent and changes-allow icons from the icon-them instead of
the outdated lock-icons

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=408585
2010-04-16 17:16:45 +02:00
Sergey V. Udaltsov
95657cac93 Added tooltips
https://bugzilla.gnome.org/show_bug.cgi?id=615521
2010-04-15 21:21:55 +01:00
Javier Jardón
825434bbcd Remove GTK+ deprecated symbols
https://bugzilla.gnome.org/show_bug.cgi?id=572325
2010-04-13 19:34:52 +02:00
Javier Jardón
6012559536 Use only single GTK+ includes
https://bugzilla.gnome.org/show_bug.cgi?id=615292
2010-04-13 19:21:08 +02:00
Jens Granseuer
945be99300 [about-me] Minor string updates
Closes bug #615283.
2010-04-09 19:10:21 +02:00
Jens Granseuer
39bad922dd [display] Change icon name to preferences-desktop-display
Use preferences-desktop-display instead of gnome-display-properties.
Closes bug #614912.
2010-04-09 18:55:24 +02:00
Federico Mena Quintero
5180a99017 Merge branch 'randr-set-as-default'
This adds a "Make Default" button in gnome-display-properties, which is used
to set up a systemwide default RANDR configuration.  For users which don't have
a personal ~/.config/monitors.xml, then that systemwide configuration will
be used instead.

There is a PolicyKit helper program, gnome-display-properties-install-systemwide,
which is used to create the file

  /etc/gnome-settings-daemon/xrandr/monitors.xml

in a secure fashion.
2010-04-06 18:31:22 -05:00
Milan Bouchet-Valat
8a31bf892c [about-me] Don't hang when new and old password only differ in case
'passwd' returns an error when the new and the old passwords only differ in case. If we don't handle this (unlikely) case, users-admin hangs. Assimilate this error to "passwords are too similar".
2010-04-04 17:10:40 +02:00
Michal Schmidt
314ab51f6f I noticed that gnome-about-me silently forgets all information I put
into it and on the next run all fields are empty again.

The GTK+ 2.19.2 release notes say:
* Bugs fixed:
  ...
  591085 GtkBuilder object ID bounded to GtkWidget "name" property

Apparently gtk_widget_get_name() was never supposed to return the ID of
the widget, so about_me_focus_out() worked only by mistake until GTK+
fixed the "bug".
2010-03-23 19:28:42 +01:00
Michal Schmidt
41586c16b9 about_me_destroy() frees the whole data structure and it tries to do the
right thing by setting "me = NULL" afterwards, but "me" in this case is
not the global variable, but the local one which shadows it. So the
global "me" remains non-NULL and when later about_me_focus_out() is
called, it cannot know it should return early.

It only makes sense for about_me_destroy() to operate on the global
"me", so there's no point in passing it as a parameter.
2010-03-23 19:28:37 +01:00
Federico Mena Quintero
c30ff27d1f Show a success dialog when the configuration is saved
Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-03-19 16:44:01 -06:00
Federico Mena Quintero
54391e5713 Oops, open the temp file for writing
Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-03-19 16:03:03 -06:00
Federico Mena Quintero
95089f7762 Fix missing newlines in error messages
Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-03-19 16:03:03 -06:00
Federico Mena Quintero
518b887937 Actually call pkexec(1) to set the systemwide configuration
Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-03-19 16:02:58 -06:00
Federico Mena Quintero
1665cdbed5 RANDR - Don't show a tooltip while a monitor is being dragged
Otherwise the tooltip obscures what you are dragging.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-03-17 18:44:30 -06:00
Federico Mena Quintero
19f2644522 Add a policy file for RANDR settings
This is based on gnome-color-manager/policy/

Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-03-11 14:57:36 -06:00
Federico Mena Quintero
5ed6785261 Install the PolicyKit helper in $(sbindir), not $(bindir)
Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-03-11 14:18:08 -06:00
Federico Mena Quintero
feeb3d5731 Compilation fixes
Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-03-11 12:43:42 -06:00
Federico Mena Quintero
da0112c818 PolicyKit helper to copy a RANDR profile to a systemwide location
Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-03-10 17:01:40 -06:00
Federico Mena Quintero
eaa7342a04 Factor out function to sanitize and save the RANDR configuration
Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-03-10 12:33:51 -06:00
Federico Mena Quintero
8c7020b832 Add a 'Make Default' button
This button will use a PolicyKit helper to save the display configuration
to a systemwide file.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-03-10 12:29:09 -06:00
Matthias Clasen
e34e6b4eeb Calls gdk_threads_enter/leave without gdk_threads_init
Fix GTK+ multi-threading.

https://bugzilla.gnome.org/show_bug.cgi?id=610003
2010-03-10 12:24:25 +00:00
Gabor Kelemen
f57c370917 Mark a string for translation. Fixes #612015 2010-03-08 21:44:33 +01:00
Federico Mena Quintero
4b224e4927 bgo#554263 - Allow compiling without the RANDR libraries
Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-02-22 21:01:49 -06:00
Matthias Clasen
e5896d700e Add a option to span background images across monitors
This feature was lost in 2.28, and people miss it. See bug 609809.
Note that this adds one new string, 'Span', which appears in the 'Style'
combobox in the background tab of the appearance capplet.
2010-02-22 18:55:41 -05:00
Federico Mena Quintero
09485b4e6b Make display-properties.desktop consistent with the 'monitors' terminology
We now just use 'monitor' instead of a combination of monitor/screen/display/etc.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-02-22 17:22:47 -06:00
Federico Mena Quintero
38bd064505 Use just "monitors", not displays/screens/monitors for wording.
Also, clarify the label of the "mirror screens" checkbox.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-02-17 17:35:46 -06:00
Federico Mena Quintero
bbb7a64c2a Add a tooltip about how to select/drag the monitors
Now that the label with instructions is gone, let's have
a tooltip with better instructions.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-02-17 17:17:17 -06:00
Federico Mena Quintero
188d5bfefb Use a cross-with-arrows instead of a hand for the cursor
Cross-with-arrows means 'you can move me', while hand means 'you can click me'
in this day and age.  Pointed out by Ka-Hing Cheung <kahing@gmail.com>

Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-02-16 17:22:07 -06:00
Federico Mena Quintero
b06684e157 Remove hack to shrink the FooScrollArea if the screen is too small
The new window fits in 640x480 without any adjustments to the size of the
FooScrollArea, so we don't need to adjust that size anymore.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-02-12 13:55:19 -06:00
Federico Mena Quintero
49e441ce7c Remove the label with instructions for how to drag the monitors
The changing mouse cursor now makes the label superfluous.  Hopefully.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-02-12 13:29:55 -06:00
Federico Mena Quintero
d43cb0cd8c Set the mouse cursor to a hand when an output is draggable
This should make it more obvious that outputs are in fact draggable
in the FooScrollArea, and it will let us remove the ugly label
with instructions for how to drag the monitors.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-02-12 13:28:39 -06:00
Federico Mena Quintero
1492fe3458 Relayout the display capplet's window
We move the per-monitor's widgets to the right of the FooScrollArea.
This makes the dialog fit even in 640x480 displays, and makes it more
obvious that the monitor's controls actually refer to the selected
monitor.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-02-12 13:15:57 -06:00
Federico Mena Quintero
d271671798 Make the display capplet's window fit in 800x600 displays
We simply hack the FooScrollArea for the monitor display to be shorter.
We can get fancier in the future by really computing the size based
on the monitor into which the window eventually gets mapped.

Patch by Takashi Iwai <tiwai@novell.com> - https://bugzilla.novell.com/show_bug.cgi?id=564579

Signed-off-by: Federico Mena Quintero <federico@novell.com>
2010-02-11 17:32:37 -06:00
Bastien Nocera
768d493a13 [about-me] Fix fingerprint name on 2nd page
We were never changing the enrollment page's label to match
the selected fingerprint.
2010-01-29 16:11:22 +00:00
Jens Granseuer
a1ce2446d4 [mouse] Fix mnemonics conflicts on touchpad tab
Closes bug #608057.
2010-01-27 20:04:54 +01:00
Milan Bouchet-Valat
4ad6f3e725 [about-me] Fix list of passwd error strings
Need to add "dictionary" to the first list of known errors for the previous commit to change something. Fix indentation of the whole list too.
2010-01-27 14:37:00 +01:00
Milan Bouchet-Valat
51befc4497 [about-me] Fix hangs when 'passwd' outputs unexpected answers
When current password is wrong, passwd outputs on Ubuntu 9.10
passwd: Authentication token manipulation error
This doesn't correspond to what we're expecting. Add "error" to the list of words we look for to avoid waiting forever.

When pam-cracklib is used, using an existing word prompts 'passwd' to output
WEAK PASSWORD: it's based on a dictionary word
Detect "dictionary" too and consider this as meaning "Password is too simple".
2010-01-27 11:52:39 +01:00
Martin Pitt
8df7aa00ff Add AutostartCondition to gnome-at-session.desktop
The gnome-at-session autostart desktop file launches a shell script, which in
turn calls gconftool-2, just to find out that it's disabled, and exit. This
wastes unnecessary cycles on starting the desktop.

Add an AutostartCondition to the .desktop file which only runs when a11y is
enabled.

https://bugzilla.gnome.org/show_bug.cgi?id=608138
2010-01-26 11:55:28 +01:00
Thomas Wood
54bcf1874d [appearance] use GtkInfoBar rather than a copy of GeditMessageArea
GtkInfoBar (available in Gtk+ 2.18) replaces GeditMessageArea.
2010-01-19 13:03:32 +00:00
Peter Hutterer
2e347d700a Disable tapping only for touchpads without a left mouse button.
Apple touchpads have a single physical button and are thus capable of
working even if tapping is disabled. Don't force it on for these touchpads.

This patch simply changes the check for physical buttons from the previous
"check for LMR be present" to "check only for L".

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-01-16 11:21:22 +01:00
Jens Granseuer
62d02072ef [common] Don't leak file descriptors when checking for colour schemes
Closes bug #606155.
2010-01-06 21:43:29 +01:00
Claude Paroz
396b9a7159 [about-me] Add translator comments to 'Home' string
This change is a part of the resolution of bug #605944.
2010-01-04 09:45:36 +01:00
Vincent Untz
7b201885a7 [release] 2.29.4 2009-12-24 00:45:44 +01:00
Bastien Nocera
945b44fbb2 Remove sleep key entry
https://bugzilla.gnome.org/show_bug.cgi?id=170175
2009-12-15 14:20:12 +00:00
Federico Mena Quintero
a3aa98b49a RANDR - Show 'Mirror Screens' in the monitor label, not a random monitor's name
Signed-off-by: Federico Mena Quintero <federico@novell.com>
2009-12-11 12:49:04 -06:00
Federico Mena Quintero
0f0e35d509 RANDR - Desensitize the on/off radio buttons if we are in Mirror Screens mode
This makes it even more obvious that you don't need to turn on
individual outputs for Mirror Screens to work properly.

It also means that we don't support "combined" setups like two mirrored
screens and one extended screen.  It seems that the majority of people only care about a few cases:

  - Laptop plus projector or monitor showing the same thing.
  - Computer plus secondary monitor(s) with an extended desktop.
  - Laptop plus docking station with external monitor only (built-in LCD turned off).

For more exotic combinations, people can use the xrandr(1) tool.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
2009-12-11 12:49:03 -06:00
Federico Mena Quintero
32cd3a9d39 RANDR - Sensitize 'Mirror Screens' depending on whether mirror mode is actually supported
Previously it was always sensitive, even if there were not enough connected outputs
for mirroring, or if those those outputs didn't support the same resolution for
mirroring.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
2009-12-11 12:49:03 -06:00