diff --git a/configure.ac b/configure.ac index 283faf8db..cfae9b5d8 100644 --- a/configure.ac +++ b/configure.ac @@ -390,6 +390,8 @@ capplets/display/display-properties.desktop.in panels/keybindings/Makefile panels/keybindings/gnome-keybindings.pc panels/keybindings/gnome-keybindings-panel.desktop.in +panels/universal-access/Makefile +panels/universal-access/gnome-universal-access.desktop.in docs/Makefile docs/reference/Makefile docs/reference/libgnome-control-center/Makefile diff --git a/panels/Makefile.am b/panels/Makefile.am index 3d62fefc9..653f3e1ae 100644 --- a/panels/Makefile.am +++ b/panels/Makefile.am @@ -1 +1 @@ -SUBDIRS=mouse keyboard network default-applications keybindings +SUBDIRS=mouse keyboard network default-applications keybindings universal-access diff --git a/panels/universal-access/Makefile.am b/panels/universal-access/Makefile.am new file mode 100644 index 000000000..35048a1a8 --- /dev/null +++ b/panels/universal-access/Makefile.am @@ -0,0 +1,31 @@ +INCLUDES = \ + $(PANEL_CFLAGS) \ + $(GNOMECC_CAPPLETS_CFLAGS) \ + -DGNOMELOCALEDIR="\"$(datadir)/locale\"" \ + -DGNOMECC_DATA_DIR="\"$(pkgdatadir)\"" \ + $(NULL) + +ccpanelsdir = $(PANELS_DIR) +ccpanels_LTLIBRARIES = libuniversal-access.la + +libuniversal_access_la_SOURCES = \ + universal-access-module.c \ + cc-ua-panel.c \ + cc-ua-panel.h + +libuniversal_access_la_LIBADD = $(PANEL_LIBS) +libuniversal_access_la_LDFLAGS = $(PANEL_LDFLAGS) + +uidir = $(pkgdatadir)/ui +ui_DATA = uap.ui + + +@INTLTOOL_DESKTOP_RULE@ + +desktopdir = $(datadir)/applications +desktop_in_files = gnome-universal-access.desktop.in +desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) + +CLEANFILES = $(desktop_in_files) $(desktop_DATA) + +-include $(top_srcdir)/git.mk diff --git a/panels/universal-access/cc-ua-panel.c b/panels/universal-access/cc-ua-panel.c new file mode 100644 index 000000000..16edc5b9e --- /dev/null +++ b/panels/universal-access/cc-ua-panel.c @@ -0,0 +1,142 @@ +/* + * Copyright (C) 2010 Intel, Inc + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * Author: Thomas Wood + * + */ + +#include "cc-ua-panel.h" + +G_DEFINE_DYNAMIC_TYPE (CcUaPanel, cc_ua_panel, CC_TYPE_PANEL) + +#define UA_PANEL_PRIVATE(o) \ + (G_TYPE_INSTANCE_GET_PRIVATE ((o), CC_TYPE_UA_PANEL, CcUaPanelPrivate)) + +struct _CcUaPanelPrivate +{ + GtkBuilder *builder; +}; + + +static void +cc_ua_panel_get_property (GObject *object, + guint property_id, + GValue *value, + GParamSpec *pspec) +{ + switch (property_id) + { + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); + } +} + +static void +cc_ua_panel_set_property (GObject *object, + guint property_id, + const GValue *value, + GParamSpec *pspec) +{ + switch (property_id) + { + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); + } +} + +static void +cc_ua_panel_dispose (GObject *object) +{ + CcUaPanelPrivate *priv = CC_UA_PANEL (object)->priv; + if (priv->builder) + { + g_object_unref (priv->builder); + priv->builder = NULL; + } + G_OBJECT_CLASS (cc_ua_panel_parent_class)->dispose (object); +} + +static void +cc_ua_panel_finalize (GObject *object) +{ + G_OBJECT_CLASS (cc_ua_panel_parent_class)->finalize (object); +} + +static void +cc_ua_panel_class_init (CcUaPanelClass *klass) +{ + GObjectClass *object_class = G_OBJECT_CLASS (klass); + + g_type_class_add_private (klass, sizeof (CcUaPanelPrivate)); + + object_class->get_property = cc_ua_panel_get_property; + object_class->set_property = cc_ua_panel_set_property; + object_class->dispose = cc_ua_panel_dispose; + object_class->finalize = cc_ua_panel_finalize; +} + +static void +cc_ua_panel_class_finalize (CcUaPanelClass *klass) +{ +} + +static void +cc_ua_panel_init (CcUaPanel *self) +{ + CcUaPanelPrivate *priv; + GtkWidget *widget; + GError *err = NULL; + gchar *objects[] = { "universal_access_box", "contrast_model", + "text_size_model", "slowkeys_delay_adjustment", + "bouncekeys_delay_adjustment", "click_delay_adjustment", + "dwell_time_adjustment", "dwell_threshold_adjustment" }; + + priv = self->priv = UA_PANEL_PRIVATE (self); + + priv->builder = gtk_builder_new (); + + gtk_builder_add_objects_from_file (priv->builder, + GNOMECC_DATA_DIR "/ui/uap.ui", + objects, + &err); + + if (err) + { + g_warning ("Could not load interface file: %s", err->message); + g_error_free (err); + + g_object_unref (priv->builder); + priv->builder = NULL; + + return; + } + + widget = (GtkWidget*) gtk_builder_get_object (priv->builder, + "universal_access_box"); + + gtk_container_add (GTK_CONTAINER (self), widget); +} + +void +cc_ua_panel_register (GIOModule *module) +{ + cc_ua_panel_register_type (G_TYPE_MODULE (module)); + g_io_extension_point_implement (CC_SHELL_PANEL_EXTENSION_POINT, + CC_TYPE_UA_PANEL, + "gnome-universal-access.desktop", 0); +} + diff --git a/panels/universal-access/cc-ua-panel.h b/panels/universal-access/cc-ua-panel.h new file mode 100644 index 000000000..2498b4bd0 --- /dev/null +++ b/panels/universal-access/cc-ua-panel.h @@ -0,0 +1,74 @@ +/* + * Copyright (C) 2010 Intel, Inc + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * Author: Thomas Wood + * + */ + + +#ifndef _CC_UA_PANEL_H +#define _CC_UA_PANEL_H + +#include + +G_BEGIN_DECLS + +#define CC_TYPE_UA_PANEL cc_ua_panel_get_type() + +#define CC_UA_PANEL(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST ((obj), \ + CC_TYPE_UA_PANEL, CcUaPanel)) + +#define CC_UA_PANEL_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_CAST ((klass), \ + CC_TYPE_UA_PANEL, CcUaPanelClass)) + +#define CC_IS_UA_PANEL(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \ + CC_TYPE_UA_PANEL)) + +#define CC_IS_UA_PANEL_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_TYPE ((klass), \ + CC_TYPE_UA_PANEL)) + +#define CC_UA_PANEL_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS ((obj), \ + CC_TYPE_UA_PANEL, CcUaPanelClass)) + +typedef struct _CcUaPanel CcUaPanel; +typedef struct _CcUaPanelClass CcUaPanelClass; +typedef struct _CcUaPanelPrivate CcUaPanelPrivate; + +struct _CcUaPanel +{ + CcPanel parent; + + CcUaPanelPrivate *priv; +}; + +struct _CcUaPanelClass +{ + CcPanelClass parent_class; +}; + +GType cc_ua_panel_get_type (void) G_GNUC_CONST; + +void cc_ua_panel_register (GIOModule *module); + +G_END_DECLS + +#endif /* _CC_UA_PANEL_H */ diff --git a/panels/universal-access/gnome-universal-access.desktop.in.in b/panels/universal-access/gnome-universal-access.desktop.in.in new file mode 100644 index 000000000..85aafccf1 --- /dev/null +++ b/panels/universal-access/gnome-universal-access.desktop.in.in @@ -0,0 +1,11 @@ +[Desktop Entry] +_Name=Universal Access +_Comment=Universal Access Preferences +Exec=gnome-example-properties +Icon=preferences-desktop-accessibility +Terminal=false +Type=Application +StartupNotify=true +Categories=GNOME;GTK;Settings;DesktopSettings; +OnlyShowIn=GNOME; + diff --git a/panels/universal-access/uap.ui b/panels/universal-access/uap.ui new file mode 100644 index 000000000..93e1f121a --- /dev/null +++ b/panels/universal-access/uap.ui @@ -0,0 +1,2813 @@ + + + + + + + + + + + + On screen keyboard + + + Dasher + + + Nomon + + + Caribou + + + None + + + + + + + + + + + + + + + 100% + Normal + 1 + + + 125% + Large + 1.25 + + + 150% + Larger + 1.5 + + + + + + + + + + + On screen keyboard + + + GOK + + + OnBoard + + + None + + + + + 500 + 100 + 2000 + 10 + 10 + + + 30 + 10 + 110 + 10 + 10 + + + 0.5 + 500 + 10 + 10 + + + 0.5 + 900 + 10 + 10 + + + 1.2 + 0.5 + 3 + 0.10000000000000001 + 0.10000000000000001 + + + 1.2 + 0.20000000000000001 + 3 + 0.10000000000000001 + 0.10000000000000001 + + + 15 + 30 + 1 + 1 + + + + + True + vertical + + + True + 0 + none + + + True + + + True + vertical + + + True + True + + + True + 6 + vertical + 12 + + + True + 0 + none + + + True + 12 + + + True + vertical + 6 + + + True + 3 + 2 + 24 + 6 + + + True + 6 + + + True + 0 + Change constrast: + + + + + + False + 0 + + + + + True + 0 + Ctrl+Alt+0 + + + + + + False + 1 + + + + + 1 + 2 + GTK_FILL + + + + + True + 12 + + + True + 0 + Contrast: + True + seeing_contrast_combobox + + + + + + False + False + 0 + + + + + True + contrast_model + 0 + + + #000000000000 + Normal + #000000000000 + + + 1 + 0 + + + + + False + False + 1 + + + + + GTK_FILL + + + + + True + 12 + + + True + 0 + Text size: + True + seeing_text_size_combobox + + + + + + False + False + 0 + + + + + True + text_size_model + 0 + 0 + + + + 2 + 1 + + + + + False + False + 1 + + + + + 1 + 2 + GTK_FILL + + + + + True + 6 + + + True + 0 + Increase size: + + + + + + False + 0 + + + + + True + 0 + Shift+Ctrl+Alt+= + + + + + + False + 1 + + + + + 1 + 2 + 1 + 2 + GTK_FILL + + + + + True + 6 + + + True + 0 + Decrease size: + + + + + + False + 0 + + + + + True + 0 + Shift+Ctrl+Alt+- + + + + + + False + 1 + + + + + 1 + 2 + 2 + 3 + GTK_FILL + + + + + True + + + 2 + 3 + GTK_FILL + + + + + 0 + + + + + + + + + True + Display + True + + + + + + + + + False + 0 + + + + + True + 0 + none + + + True + 12 + + + True + vertical + 6 + + + True + 3 + 3 + 24 + + + True + 6 + + + True + True + False + True + True + + + True + On + + + + + + + + False + 0 + + + + + True + True + False + True + seeing_zoom_on_radiobutton + + + True + Off + + + + + + + + False + 1 + + + + + GTK_FILL + + + + + True + 6 + + + True + 0 + Turn on or off: + + + + + + 0 + + + + + True + 0 + Ctrl+Alt+8 + + + + + + 1 + + + + + 1 + 2 + GTK_FILL + + + + + True + 6 + + + True + 0 + Zoom in: + + + + + + False + 0 + + + + + True + 0 + Ctrl+Alt+= + + + + + + 1 + + + + + 1 + 2 + 1 + 2 + GTK_FILL + + + + + True + 6 + + + True + 0 + Zoom out: + + + + + + False + 0 + + + + + True + 0 + Ctrl+Alt+- + + + + + + 1 + + + + + 1 + 2 + 2 + 3 + GTK_FILL + + + + + True + + + 1 + 2 + GTK_FILL + + + + + True + True + True + + + True + False + Options... + True + + + + + 2 + 3 + GTK_FILL + + + + + True + + + 2 + 3 + GTK_FILL + + + + + True + + + 2 + 3 + 1 + 2 + GTK_FILL + + + + + True + + + 2 + 3 + 2 + 3 + GTK_FILL + + + + + 0 + + + + + + + + + True + Zoom + True + + + + + + + + + False + 1 + + + + + True + 0 + none + + + True + 12 + + + True + vertical + 6 + + + True + 3 + 24 + 12 + + + True + 6 + + + True + True + False + True + True + + + True + On + + + + + + + + False + 0 + + + + + True + True + False + True + seeing_reader_on_radiobutton + + + True + Off + + + + + + + + False + 1 + + + + + GTK_FILL + + + + + True + 6 + + + True + 0 + Turn on or off: + + + + + + False + 0 + + + + + True + 0 + Ctrl+Alt+4 + + + + + + False + 1 + + + + + 1 + 2 + GTK_FILL + + + + + True + False + True + True + True + + + True + Options... + True + + + + + 2 + 3 + GTK_FILL + + + + + 0 + + + + + + + + + True + Screen Reader + True + + + + + + + + + False + 2 + + + + + True + True + False + True + True + + + True + Beep when Caps and Num Lock are used + True + + + + + False + 3 + + + + + + + True + Seeing + + + + + + False + + + + + True + 6 + vertical + 12 + + + True + 0 + none + + + True + 12 + + + True + vertical + 6 + + + True + 3 + 3 + 24 + + + True + 6 + + + On + True + True + False + True + True + + + False + 0 + + + + + Off + True + True + False + True + hearing_visual_alerts_on_radiobutton + + + False + 1 + + + + + GTK_FILL + + + + + True + 0 + Use a visual indication when an alert sound occurs. + + + 1 + 2 + + + + + Test flash + True + True + True + + + 2 + 3 + GTK_FILL + + + + + Flash the window title + True + True + False + none + True + True + + + 1 + 2 + 1 + 2 + + + + + Flash the entire screen + True + True + False + True + hearing_flash_window_title_button + + + 1 + 2 + 2 + 3 + + + + + True + + + 1 + 2 + GTK_FILL + + + + + True + + + 2 + 3 + GTK_FILL + + + + + + + + + + + False + 0 + + + + + + + + + True + Visual Alerts + True + + + + + + + + False + 0 + + + + + True + 0 + none + + + True + 12 + + + True + vertical + 6 + + + True + 2 + 24 + + + True + 6 + + + On + True + True + False + True + True + + + False + 0 + + + + + Off + True + True + False + True + hearing_captions_on_radiobutton + + + False + 1 + + + + + GTK_FILL + + + + + True + 0 + Display a textual description of speech and sounds. + + + 1 + 2 + + + + + False + 0 + + + + + + + + + True + Closed Captioning + True + + + + + + + + False + 1 + + + + + True + + + Sound Settings... + True + True + True + + + False + False + end + 0 + + + + + False + False + end + 2 + + + + + 1 + + + + + True + Hearing + + + 1 + False + + + + + True + 6 + vertical + 12 + + + True + 0 + none + + + True + 12 + + + True + 3 + 24 + + + True + 0 + Use an alternative form of text input + + + 1 + 2 + + + + + True + 6 + + + On + True + True + False + True + True + + + False + 0 + + + + + Off + True + True + False + True + typing_sticky_keys_on_radiobutton + + + False + 1 + + + + + GTK_FILL + + + + + True + True + True + + + True + False + Options... + True + + + + + 2 + 3 + GTK_FILL + + + + + + + + + True + Typing Assistant + True + + + + + + + + 0 + + + + + Accessibility features can be turned on or off with keyboard shortcuts + True + True + False + True + + + False + 1 + + + + + True + 0 + none + + + True + 12 + + + True + vertical + 6 + + + True + 2 + 24 + + + True + 6 + + + On + True + True + False + True + True + + + False + 0 + + + + + Off + True + True + False + True + typing_sticky_keys_on_radiobutton + + + False + 1 + + + + + GTK_FILL + + + + + True + 0 + Treats a sequence of modifier keys as a key combination. + + + 1 + 2 + + + + + False + 0 + + + + + Disable if two keys are pressed together + True + True + False + True + + + False + 1 + + + + + Beep when a modifer key is pressed + True + True + False + True + + + 2 + + + + + + + + + True + Sticky Keys + True + + + + + + + + False + 2 + + + + + True + 0 + none + + + True + 12 + + + True + vertical + 6 + + + True + 2 + 24 + + + True + 6 + + + On + True + True + False + True + True + + + False + 0 + + + + + Off + True + True + False + True + typing_slow_keys_on_radiobutton + + + False + 1 + + + + + GTK_FILL + + + + + True + 0 + Puts a delay between when a key is pressed and when it is accepted. + + + 1 + 2 + + + + + False + 0 + + + + + True + False + 12 + + + True + 0 + Acceptance delay: + True + center + + + False + False + 0 + + + + + True + 6 + + + True + 1 + 10 + Short + + + + + + + False + False + 0 + + + + + True + True + discontinuous + slowkeys_delay_adjustment + False + + + Cursor blinks speed + + + + + 1 + + + + + True + 0 + Long + + + + + + + False + False + 2 + + + + + 1 + + + + + False + 1 + + + + + True + 6 + + + True + Beep when a key is + + + False + 0 + + + + + pressed + True + True + False + True + True + + + False + 1 + + + + + accepted + True + True + False + True + True + + + False + 2 + + + + + rejected + True + True + False + True + + + False + 3 + + + + + 2 + + + + + + + + + True + Slow Keys + True + + + + + + + + False + 3 + + + + + True + 0 + none + + + True + 12 + + + True + vertical + 6 + + + True + 2 + 24 + + + True + 6 + + + On + True + True + False + True + True + + + False + 0 + + + + + Off + True + True + False + True + typing_bounce_keys_on_radiobutton + + + False + 1 + + + + + GTK_FILL + + + + + True + 0 + Ignores fast duplicate keypresses + + + 1 + 2 + + + + + False + 0 + + + + + True + False + 12 + + + True + 0 + Acceptance delay: + True + center + + + False + False + 0 + + + + + True + 6 + + + True + 1 + 10 + Short + + + + + + + False + False + 0 + + + + + True + True + discontinuous + bouncekeys_delay_adjustment + False + + + Cursor blinks speed + + + + + 1 + + + + + True + 0 + Long + + + + + + + False + False + 2 + + + + + 1 + + + + + 1 + + + + + Beep when a key is rejected + True + True + False + True + + + 2 + + + + + + + + + True + Bounce Keys + True + + + + + + + + False + 4 + + + + + True + 12 + + + True + Test: + + + + + + False + False + 0 + + + + + True + True + + Type here to test settings + + + + + + 1 + + + + + Keyboard Settings... + True + True + True + + + False + False + end + 2 + + + + + False + end + 5 + + + + + 2 + + + + + True + Typing + + + 2 + False + + + + + True + 6 + vertical + 12 + + + True + 0 + none + + + True + 12 + + + True + vertical + 6 + + + True + 3 + 24 + 6 + + + True + 6 + + + On + True + True + False + True + True + + + False + 0 + + + + + Off + True + True + False + True + typing_sticky_keys_on_radiobutton + + + False + 1 + + + + + GTK_FILL + + + + + True + 0 + Control the pointer using the keypad. + + + 1 + 2 + + + + + Options... + True + False + True + True + + + + 2 + 3 + GTK_FILL + + + + + False + 0 + + + + + + + + + True + Mouse Keys + True + + + + + + + + False + 0 + + + + + True + 0 + none + + + True + 12 + + + True + vertical + 6 + + + True + 3 + 24 + 6 + + + True + 6 + + + On + True + True + False + True + True + + + False + 0 + + + + + Off + True + True + False + True + typing_sticky_keys_on_radiobutton + + + False + 1 + + + + + GTK_FILL + + + + + True + 0 + Control the pointer using the video camera. + + + 1 + 2 + + + + + Options... + True + False + True + True + + + 2 + 3 + GTK_FILL + + + + + False + 0 + + + + + + + + + True + Video Mouse + True + + + + + + + + False + 1 + + + + + True + 0 + none + + + True + 12 + + + True + vertical + 6 + + + True + 2 + 3 + 24 + 6 + + + True + 6 + + + On + True + True + False + True + True + + + False + 0 + + + + + Off + True + True + False + True + pointing_second_click_on_radiobutton + + + False + 1 + + + + + GTK_FILL + + + + + True + 0 + Trigger a secondary click by holding down the primary button. + + + 1 + 2 + + + + + True + 0 + Acceptance delay: + True + center + pointing_secondary_click_delay_scale + + + 1 + 2 + GTK_FILL + + + + + True + 6 + + + True + 1 + 0.4699999988079071 + Short + + + + + + + False + False + 0 + + + + + True + True + discontinuous + click_delay_adjustment + False + + + Cursor blinks speed + + + + + + 1 + + + + + True + 0 + Long + + + + + + + False + False + 2 + + + + + 1 + 2 + 1 + 2 + GTK_FILL + + + + + True + + + 2 + 3 + 1 + 2 + + + + + True + + + 2 + 3 + + + + + False + 0 + + + + + + + + + True + Simulated Secondary Click + True + + + + + + + + False + 2 + + + + + True + 0 + none + + + True + 12 + + + True + vertical + 6 + + + True + 3 + 3 + 24 + 6 + + + True + 6 + + + On + True + True + False + True + True + + + False + 0 + + + + + Off + True + True + False + True + typing_sticky_keys_on_radiobutton + + + False + 1 + + + + + GTK_FILL + + + + + True + 0 + Trigger a click when the pointer hovers. + + + 1 + 2 + + + + + Options... + True + False + True + True + + + 2 + 3 + GTK_FILL + + + + + True + 0 + D_elay: + True + center + pointing_dwell_delay_scale + + + 1 + 2 + GTK_FILL + GTK_FILL + + + + + True + 0 + _Motion threshold: + True + center + pointing_dwell_threshold_scale + + + 2 + 3 + GTK_FILL + GTK_FILL + + + + + True + GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + 6 + + + True + 1 + Short + center + + + + + + + False + 0 + + + + + True + True + discontinuous + dwell_time_adjustment + False + right + + + 1 + + + + + True + 0 + Long + center + + + + + + + False + 2 + + + + + 1 + 2 + 1 + 2 + GTK_FILL + + + + + True + GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK + 6 + + + True + 1 + Small + center + + + + + + + False + 0 + + + + + True + True + discontinuous + dwell_threshold_adjustment + 0 + False + + + 1 + + + + + True + 0 + Large + center + + + + + + + False + 2 + + + + + 1 + 2 + 2 + 3 + GTK_FILL + + + + + True + + + 2 + 3 + 1 + 2 + GTK_FILL + + + + + True + + + 2 + 3 + 2 + 3 + GTK_FILL + + + + + False + 0 + + + + + + + + + True + Hover Click + True + + + + + + + + False + 3 + + + + + True + + + Mouse Settings... + True + True + True + + + False + False + end + 0 + + + + + False + False + end + 4 + + + + + 3 + + + + + True + Pointing and Clicking + + + 3 + False + + + + + 0 + + + + + + + + + True + 0.47999998927116394 + I need assistance with: + + + + + + + + False + False + 6 + 0 + + + + + Show Universal Access status + True + True + False + True + + + False + False + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + Low + 1.5 + <span size="x-large">Low</span> + + + Normal + 1.5 + <span size="x-large">Normal</span> + + + High + 1.5 + <span size="x-large">High</span> + + + High/Inverse + 1.5 + <span size="x-large">High/Inverse</span> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/panels/universal-access/universal-access-module.c b/panels/universal-access/universal-access-module.c new file mode 100644 index 000000000..d904e591c --- /dev/null +++ b/panels/universal-access/universal-access-module.c @@ -0,0 +1,41 @@ +/* + * Copyright (C) 2010 Intel, Inc + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * Author: Thomas Wood + * + */ + +#include + +#include "cc-ua-panel.h" + +#include + +void +g_io_module_load (GIOModule *module) +{ + bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR); + bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); + + /* register the panel */ + cc_ua_panel_register (module); +} + +void +g_io_module_unload (GIOModule *module) +{ +}