Mike Gabriel pushed to branch master at Debian and Ubuntu MATE Packaging Team / mate-control-center
Commits:
-
e0105799
by Mike Gabriel at 2019-01-16T10:44:06Z
-
ca938abf
by Mike Gabriel at 2019-01-16T10:45:19Z
-
5ee85017
by Mike Gabriel at 2019-02-01T13:20:55Z
4 changed files:
- debian/changelog
- debian/control
- + debian/patches/0001_UI-for-org-mate-accessibility-keyboard-stickykeys-latch-to-lock.patch
- + debian/patches/series
Changes:
| 1 |
+mate-control-center (1.20.4-2) unstable; urgency=medium
|
|
| 2 |
+ |
|
| 3 |
+ * debian/patches:
|
|
| 4 |
+ + Add 0001_UI-for-org-mate-accessibility-keyboard-stickykeys-latch-to-
|
|
| 5 |
+ lock.patch. Provide settings UI for org.mate.accessibility-
|
|
| 6 |
+ keyboard.stickykeys-latch-to-lock.
|
|
| 7 |
+ * debian/control:
|
|
| 8 |
+ + Explicitly depend on mate-desktop (>= 1.20.4-2~). It introduces the
|
|
| 9 |
+ stickykeys-latch-to-lock gschema settings item.
|
|
| 10 |
+ |
|
| 11 |
+ -- Mike Gabriel <sunweaver@debian.org> Wed, 16 Jan 2019 11:45:24 +0100
|
|
| 12 |
+ |
|
| 1 | 13 |
mate-control-center (1.20.4-1) unstable; urgency=medium
|
| 2 | 14 |
|
| 3 | 15 |
* New upstream release.
|
| ... | ... | @@ -52,7 +52,7 @@ Depends: caja-common (>= 1.8.0), |
| 52 | 52 |
libmate-window-settings1 (= ${binary:Version}),
|
| 53 | 53 |
marco-common (>= 1.18),
|
| 54 | 54 |
mate-control-center-common (>= ${source:Version}),
|
| 55 |
- mate-desktop (>= 1.18),
|
|
| 55 |
+ mate-desktop (>= 1.20.4-2~),
|
|
| 56 | 56 |
mate-icon-theme,
|
| 57 | 57 |
mate-menus,
|
| 58 | 58 |
mate-settings-daemon (>= 1.18),
|
| 1 |
+ |
|
| 2 |
+m 1034ff7bd6c83724b1d64f6000e62e9e451decbe Mon Sep 17 00:00:00 2001
|
|
| 3 |
+From: Colomban Wendling <cwendling@hypra.fr>
|
|
| 4 |
+Date: Wed, 26 Sep 2018 16:10:14 +0200
|
|
| 5 |
+Subject: [PATCH] Add UI to control
|
|
| 6 |
+ org.mate.accessibility-keyboard.stickykeys-latch-to-lock
|
|
| 7 |
+ |
|
| 8 |
+---
|
|
| 9 |
+ .../keyboard/mate-keyboard-properties-a11y.c | 7 +++++++
|
|
| 10 |
+ .../keyboard/mate-keyboard-properties-dialog.ui | 17 +++++++++++++++++
|
|
| 11 |
+ 2 files changed, 24 insertions(+)
|
|
| 12 |
+ |
|
| 13 |
+diff --git a/capplets/keyboard/mate-keyboard-properties-a11y.c b/capplets/keyboard/mate-keyboard-properties-a11y.c
|
|
| 14 |
+index 23aea9e1..9a9779a1 100644
|
|
| 15 |
+--- a/capplets/keyboard/mate-keyboard-properties-a11y.c
|
|
| 16 |
++++ b/capplets/keyboard/mate-keyboard-properties-a11y.c
|
|
| 17 |
+@@ -48,6 +48,7 @@ stickykeys_enable_toggled_cb (GtkWidget *w, GtkBuilder *dialog)
|
|
| 18 |
+ {
|
|
| 19 |
+ gboolean active = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (w));
|
|
| 20 |
+
|
|
| 21 |
++ gtk_widget_set_sensitive (WID ("stickykeys_latch_to_lock"), active);
|
|
| 22 |
+ gtk_widget_set_sensitive (WID ("stickykeys_two_key_off"), active);
|
|
| 23 |
+ if (notifications_dialog)
|
|
| 24 |
+ gtk_widget_set_sensitive (NWID ("stickykeys_notifications_box"), active);
|
|
| 25 |
+@@ -231,6 +232,12 @@ setup_a11y_tabs (GtkBuilder *dialog)
|
|
| 26 |
+ G_CALLBACK (stickykeys_enable_toggled_cb), dialog);
|
|
| 27 |
+ stickykeys_enable_toggled_cb (w, dialog);
|
|
| 28 |
+
|
|
| 29 |
++ g_settings_bind (a11y_settings,
|
|
| 30 |
++ "stickykeys-latch-to-lock",
|
|
| 31 |
++ WID ("stickykeys_latch_to_lock"),
|
|
| 32 |
++ "active",
|
|
| 33 |
++ G_SETTINGS_BIND_DEFAULT);
|
|
| 34 |
++
|
|
| 35 |
+ g_settings_bind (a11y_settings,
|
|
| 36 |
+ "stickykeys-two-key-off",
|
|
| 37 |
+ WID ("stickykeys_two_key_off"),
|
|
| 38 |
+diff --git a/capplets/keyboard/mate-keyboard-properties-dialog.ui b/capplets/keyboard/mate-keyboard-properties-dialog.ui
|
|
| 39 |
+index 26587fb2..1775eca0 100644
|
|
| 40 |
+--- a/capplets/keyboard/mate-keyboard-properties-dialog.ui
|
|
| 41 |
++++ b/capplets/keyboard/mate-keyboard-properties-dialog.ui
|
|
| 42 |
+@@ -1086,6 +1086,23 @@ default settings</property>
|
|
| 43 |
+ <property name="position">1</property>
|
|
| 44 |
+ </packing>
|
|
| 45 |
+ </child>
|
|
| 46 |
++ <child>
|
|
| 47 |
++ <object class="GtkCheckButton" id="stickykeys_latch_to_lock">
|
|
| 48 |
++ <property name="label" translatable="yes">_Latch modifiers when pressed twice</property>
|
|
| 49 |
++ <property name="visible">True</property>
|
|
| 50 |
++ <property name="can_focus">True</property>
|
|
| 51 |
++ <property name="receives_default">False</property>
|
|
| 52 |
++ <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
|
| 53 |
++ <property name="halign">start</property>
|
|
| 54 |
++ <property name="use_underline">True</property>
|
|
| 55 |
++ <property name="draw_indicator">True</property>
|
|
| 56 |
++ </object>
|
|
| 57 |
++ <packing>
|
|
| 58 |
++ <property name="expand">True</property>
|
|
| 59 |
++ <property name="fill">True</property>
|
|
| 60 |
++ <property name="position">2</property>
|
|
| 61 |
++ </packing>
|
|
| 62 |
++ </child>
|
|
| 63 |
+ </object>
|
|
| 64 |
+ <packing>
|
|
| 65 |
+ <property name="expand">True</property>
|
|
| 66 |
+ |
| 1 |
+0001_UI-for-org-mate-accessibility-keyboard-stickykeys-latch-to-lock.patch
|