Remove upstreamed grace helper

See https://trisquel.info/en/issues/20736 for further details
This commit is contained in:
Pablo Correa 2021-09-17 18:18:56 +00:00 committed by Luis Guzmán
parent 7ed95bab3a
commit 2a3e1de63d
173 changed files with 0 additions and 472835 deletions

View file

@ -1,34 +0,0 @@
diff -ru unity-greeter-0.1.1-orig//src/user-list.vala unity-greeter-0.1.1/src/user-list.vala
--- unity-greeter-0.1.1-orig//src/user-list.vala 2011-09-28 05:32:51.000000000 +0000
+++ unity-greeter-0.1.1/src/user-list.vala 2012-03-07 15:13:33.000000000 +0000
@@ -604,11 +604,25 @@
}
private void screen_reader_toggled_cb (Gtk.CheckMenuItem item)
- {
- var settings = new Settings ("org.gnome.desktop.a11y.applications");
- settings.set_boolean ("screen-reader-enabled", item.active);
- settings = new Settings ("org.gnome.desktop.interface");
- settings.set_boolean ("toolkit-accessibility", item.active);
+ {
+ /* FIXME: The below would be sufficient if gnome-session were running
+ * to notice and run a screen reader in /etc/xdg/autostart... But
+ * since we're not running gnome-session, we hardcode orca here.
+ /*var settings = new Settings ("org.gnome.desktop.a11y.applications");*/
+ /*settings.set_boolean ("screen-reader-enabled", item.active);*/
+
+ /* Hardcoded orca: */
+ try
+ {
+ if (item.active)
+ Process.spawn_command_line_async ("orcawrapper");
+ else
+ Process.spawn_command_line_async ("orca --quit");
+ }
+ catch (Error e)
+ {
+ warning ("Failed to run Orca: %s", e.message);
+ }
}
public void show_message (string text, bool error = false)

View file

@ -1,43 +0,0 @@
Description: Upstream changes introduced in version 0.1.1-0ubuntu1~scottseverance1
This patch has been created by dpkg-source during the package build.
Here's the last changelog entry, hopefully it gives details on why
those changes were made:
.
unity-greeter (0.1.1-0ubuntu1~scottseverance1) oneiric; urgency=low
.
* Killed the overlay grid, since it can't be turned off and is annoying on
backgrounds other than the default.
.
The person named in the Author field signed this changelog entry.
Author: Scott Severance <scott@scottseverance.us>
---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:
Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>
--- unity-greeter-0.1.1.orig/src/user-list.vala
+++ unity-greeter-0.1.1/src/user-list.vala
@@ -248,9 +248,11 @@ public class Background
bc.paint ();
/* Draw overlay */
- bc.set_source (overlay);
- bc.rectangle (grid_size - 1, grid_size - 1, width - grid_size * 2 + 2, height - grid_size * 2 + 2);
- bc.fill ();
+ /* The overlay is annoying, so I'm killing it. */
+ /* bc.set_source (overlay);
+ * bc.rectangle (grid_size - 1, grid_size - 1, width - grid_size * 2 + 2, height - grid_size * 2 + 2);
+ * bc.fill ();
+ */
/* Draw logo */
if (logo_surface != null)