[gnome-settings-daemon] Don't display the gnome-settings-daemon autostart in the startup applications list
- From: Rodrigo Moya <rodrigo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] Don't display the gnome-settings-daemon autostart in the startup applications list
- Date: Fri, 5 Nov 2010 09:26:34 +0000 (UTC)
commit a7173c965f3edfbcb4abfb833f987d681dc4c227
Author: Rodrigo Moya <rodrigo gnome-db org>
Date: Fri Nov 5 10:26:24 2010 +0100
Don't display the gnome-settings-daemon autostart in the startup applications list
data/gnome-settings-daemon.desktop.in.in | 1 +
plugins/mouse/gsd-mouse-manager.c | 3 +--
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/gnome-settings-daemon.desktop.in.in b/data/gnome-settings-daemon.desktop.in.in
index 4e3ca99..1e18860 100644
--- a/data/gnome-settings-daemon.desktop.in.in
+++ b/data/gnome-settings-daemon.desktop.in.in
@@ -3,6 +3,7 @@ Type=Application
_Name=GNOME Settings Daemon
Exec= LIBEXECDIR@/gnome-settings-daemon
OnlyShowIn=GNOME;
+NoDisplay=true
X-GNOME-Autostart-Phase=Initialization
X-GNOME-Autostart-Notify=true
X-GNOME-AutoRestart=true
diff --git a/plugins/mouse/gsd-mouse-manager.c b/plugins/mouse/gsd-mouse-manager.c
index c62d2cd..d869e67 100644
--- a/plugins/mouse/gsd-mouse-manager.c
+++ b/plugins/mouse/gsd-mouse-manager.c
@@ -551,8 +551,7 @@ set_tap_to_click (gboolean state, gboolean left_handed)
False, XA_INTEGER, &type, &format, &nitems,
&bytes_after, &data);
- if (rc == Success && type == XA_INTEGER && format == 8 && nitems >= 7)
- {
+ if (rc == Success && type == XA_INTEGER && format == 8 && nitems >= 7) {
/* Set RLM mapping for 1/2/3 fingers*/
data[4] = (state) ? ((left_handed) ? 3 : 1) : 0;
data[5] = (state) ? ((left_handed) ? 1 : 3) : 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]