Hello community,
here is the log from the commit of package switchboard-plug-mouse-touchpad for
openSUSE:Factory checked in at 2018-03-29 11:54:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/switchboard-plug-mouse-touchpad (Old)
and /work/SRC/openSUSE:Factory/.switchboard-plug-mouse-touchpad.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "switchboard-plug-mouse-touchpad"
Thu Mar 29 11:54:13 2018 rev:1 rq:578656 version:0.1.2
Changes:
--------
New Changes file:
--- /dev/null 2018-03-29 10:35:27.759803458 +0200
+++
/work/SRC/openSUSE:Factory/.switchboard-plug-mouse-touchpad.new/switchboard-plug-mouse-touchpad.changes
2018-03-29 11:54:13.865366384 +0200
@@ -0,0 +1,42 @@
+-------------------------------------------------------------------
+Tue Jun 13 14:45:32 UTC 2017 - [email protected]
+
+- Made orthographic fixes to description.
+
+-------------------------------------------------------------------
+Tue Feb 7 15:53:31 UTC 2017 - [email protected]
+
+- Update to 0.1.2:
+ * Implement Preferences URL Specification
+ * GeneralSection.vala: Give the switcher a large width request
+ to set the size group size
+ * MouseSection.vala': Make sure we're expanding the scale
+ * TouchpadSection.vala: Make sure we're expanding the click
+ method combo
+ * mouse-touchpad.vala: construct not static
+ * Horizontal and natural scrolling options insensitive when
+ scrolling is disabled
+- Update patch:
+ * switchboard-plug-mouse-touchpad-0.1.2_gschema.patch
+
+-------------------------------------------------------------------
+Tue Nov 1 04:32:55 UTC 2016 - [email protected]
+
+- Update to 0.1.1.2:
+ * TouchpadSection.vala:
+ * Add a click method switch
+ * Set click method to none when the switch is inactive
+ * make the combobox insensitive when switch is inactive
+- Update switchboard-plug-mouse-touchpad_gschema.patch
+
+-------------------------------------------------------------------
+Sun Sep 18 22:26:18 UTC 2016 - [email protected]
+
+- Update to 0.1.1.1
+- Add switchboard-plug-mouse-touchpad_gschema.patch
+- Spec file cleanup
+
+-------------------------------------------------------------------
+Sat Sep 26 07:18:41 UTC 2015 - [email protected]
+
+- initial package (version 0.1) for build.opensuse.org
New:
----
switchboard-plug-mouse-touchpad-0.1.2.tar.xz
switchboard-plug-mouse-touchpad-0.1.2_gschema.patch
switchboard-plug-mouse-touchpad.changes
switchboard-plug-mouse-touchpad.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ switchboard-plug-mouse-touchpad.spec ++++++
#
# spec file for package switchboard-plug-mouse-touchpad
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: switchboard-plug-mouse-touchpad
Version: 0.1.2
Release: 0
Summary: Switchboard Mouse and Touchpad Plug
License: GPL-3.0
Group: System/GUI/Other
Url: https://launchpad.net/switchboard-plug-mouse-touchpad
Source:
https://launchpad.net/switchboard-plug-mouse-touchpad/loki/%{version}/+download/%{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM gschema.patch [email protected] -- Wrong gsettings path
(gtk >= 3.20)
Patch0: switchboard-plug-mouse-touchpad-0.1.2_gschema.patch
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: vala >= 0.28.0
BuildRequires: pkgconfig(granite) >= 0.4.0
BuildRequires: pkgconfig(gthread-2.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(switchboard-2.0)
Requires: switchboard
Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This is a Switchboard plug for Elementary OS.
%lang_package
%prep
%setup -q
%patch0 -p1
chmod 0644 AUTHORS COPYING
%build
%cmake
make %{?_smp_mflags}
%install
%cmake_install
%fdupes %{buildroot}%{_datadir}
%find_lang pantheon-mouse-touchpad %{name}.lang
%files
%defattr(-,root,root)
%doc AUTHORS COPYING
%dir %{_libdir}/switchboard
%dir %{_libdir}/switchboard/hardware
%dir %{_libdir}/switchboard/hardware/pantheon-mouse-touchpad
%{_libdir}/switchboard/hardware/pantheon-mouse-touchpad/pantheon-mouse-touchpad.plugin
%{_libdir}/switchboard/hardware/pantheon-mouse-touchpad/*.so
%files lang -f %{name}.lang
%defattr(-,root,root)
%changelog
++++++ switchboard-plug-mouse-touchpad-0.1.2_gschema.patch ++++++
diff -ruN
switchboard-plug-mouse-touchpad-0.1.2.orig/src/Backend/TouchpadSettings.vala
switchboard-plug-mouse-touchpad-0.1.2/src/Backend/TouchpadSettings.vala
---
switchboard-plug-mouse-touchpad-0.1.2.orig/src/Backend/TouchpadSettings.vala
2017-02-07 05:45:37.000000000 +0300
+++ switchboard-plug-mouse-touchpad-0.1.2/src/Backend/TouchpadSettings.vala
2017-02-07 19:17:27.763197977 +0300
@@ -22,7 +22,7 @@
public string click_method { get; set; }
public double speed { get; set; }
public string left_handed { get; set; }
- public string scroll_method { get; set; }
+ public bool edge_scrolling_enabled { get; set; }
public bool natural_scroll { get; set; }
public TouchpadSettings () {
diff -ruN
switchboard-plug-mouse-touchpad-0.1.2.orig/src/Widgets/TouchpadSection.vala
switchboard-plug-mouse-touchpad-0.1.2/src/Widgets/TouchpadSection.vala
--- switchboard-plug-mouse-touchpad-0.1.2.orig/src/Widgets/TouchpadSection.vala
2017-02-07 05:45:37.000000000 +0300
+++ switchboard-plug-mouse-touchpad-0.1.2/src/Widgets/TouchpadSection.vala
2017-02-07 19:26:38.896886970 +0300
@@ -66,10 +66,8 @@
pointer_speed_scale.add_mark (0, Gtk.PositionType.BOTTOM, null);
Plug.end_size_group.add_widget (pointer_speed_scale);
- var scrolling_combobox = new Gtk.ComboBoxText ();
- scrolling_combobox.append ("two-finger-scrolling", _("Two-finger"));
- scrolling_combobox.append ("edge-scrolling", _("Edge"));
- scrolling_combobox.append ("disabled", _("Disabled"));
+ var scrolling_switch = new Gtk.Switch ();
+ scrolling_switch.halign = Gtk.Align.START;
var horizontal_scrolling_switch = new Gtk.Switch ();
horizontal_scrolling_switch.halign = Gtk.Align.START;
@@ -88,8 +86,8 @@
attach (new SettingLabel (_("Physical clicking:")), 0, 3, 1, 1);
attach (click_method_switch, 1, 3, 1, 1);
attach (click_method_combobox, 2, 3, 1, 1);
- attach (new SettingLabel (_("Scrolling:")), 0, 4, 1, 1);
- attach (scrolling_combobox, 1, 4, 2, 1);
+ attach (new SettingLabel (_("Edge Scrolling:")), 0, 4, 1, 1);
+ attach (scrolling_switch, 1, 4, 1, 1);
attach (new SettingLabel (_("Natural scrolling:")), 0, 5, 1, 1);
attach (natural_scrolling_switch, 1, 5, 1, 1);
@@ -103,9 +101,9 @@
}
});
- scrolling_combobox.changed.connect (() => {
- string active_text = scrolling_combobox.get_active_id ();
- if (active_text == "disabled") {
+ scrolling_switch.state_set.connect (() => {
+ bool active = scrolling_switch.get_active ();
+ if (!active) {
horizontal_scrolling_switch.sensitive = false;
natural_scrolling_switch.sensitive = false;
} else {
@@ -114,9 +112,9 @@
}
});
- touchpad_settings.bind_property ("scroll-method",
- scrolling_combobox,
- "active-id",
+ touchpad_settings.bind_property ("edge-scrolling-enabled",
+ scrolling_switch,
+ "state",
BindingFlags.BIDIRECTIONAL |
BindingFlags.SYNC_CREATE);
touchpad_settings.bind_property ("tap-to-click",