Commit graph

2921 commits

Author SHA1 Message Date
Thomas Wood
8836316161 display: convert display capplet to a settings panel
Add CcPanel and module implmenetation for the display settings.
2010-06-07 17:05:02 +01:00
Thomas Wood
b6e436acda Remove accessibility capplet from the build
The accessibility capplet is now superseded by the unviversal-access panel.
2010-06-04 17:59:03 +01:00
Bin Li
b754e8f657 Catch yet another new error message from passwd
Also deal with "it is too simplistic/systematic". Closes bug
2010-05-31 21:28:20 +02:00
Bin Li
0c30e68837 Catch "password too recent" error message
Closes bug #620135.
2010-05-31 21:25:56 +02:00
Andre Klapper
186a999d6e Replace deprecated GTK+ symbols. See bug 572325. 2010-05-27 20:57:18 +02:00
Thomas Wood
8aedeff4ca Disable Window settings from the build
Window settings are not planned to be included in the next release, so
remove the window settings capplet from the build.
2010-05-24 21:51:28 +01:00
Thomas Wood
19b7502f5e keybindings: convert capplet to a settings panel
Add a module and CcPanel implementation for keyboard shortcuts settings.
2010-05-24 21:51:28 +01:00
Thomas Wood
f112fc3a8e default-applications: convert capplet to a settings panel
Add a module and CcPanel implementation for default applications settings.
2010-05-24 21:51:28 +01:00
Thomas Wood
5e24f0464d network: convert network capplet to a settings panel
Add a module and CcPanel implementation for network proxy settings
2010-05-22 14:52:24 +01:00
Milan Bouchet-Valat
538670298e [about-me] Don't hang when new and old password are too similar
If new password is really close to the old one, 'passwd' says: "Bad: new password must be different than the old one". Handle this case too, instead of hanging.

https://bugzilla.gnome.org/show_bug.cgi?id=619354
2010-05-22 13:27:08 +02:00
Sergey V. Udaltsov
7840afd7a1 Converted keyboard capplet to panel 2010-05-21 23:23:23 +01:00
Thomas Wood
f249835040 Remove capplets/localization directory
The localization capplet was never implemented and is not planned for the
next release of gnome-control-center.
2010-05-21 17:48:57 +01:00
Thomas Wood
8bb88eb18b mouse: convert the mouse capplet into a settings panel
Add a module and CcPanel implementation for the mouse settings.
2010-05-20 17:50:56 +01:00
Sergey V. Udaltsov
05c1f574d5 Proper response id for the help button
https://bugzilla.gnome.org/show_bug.cgi?id=616917
2010-04-27 21:12:58 +01:00
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