~ubuntu-desktop/gnome-settings-daemon/ubuntu

« back to all changes in this revision

Viewing changes to debian/patches/45_suppress-printer-may-not-be-connected-notification.patch

  • Committer: Iain Lane
  • Date: 2018-07-24 16:02:15 UTC
  • Revision ID: iain@orangesquash.org.uk-20180724160215-2zwqcisylwweql16
Moved to git: lp:~ubuntu-desktop/ubuntu/+source/gnome-settings-daemon

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Ubuntu: https://launchpad.net/bugs/842768
2
 
Index: gnome-settings-daemon/plugins/print-notifications/gsd-print-notifications-manager.c
3
 
===================================================================
4
 
--- gnome-settings-daemon.orig/plugins/print-notifications/gsd-print-notifications-manager.c
5
 
+++ gnome-settings-daemon/plugins/print-notifications/gsd-print-notifications-manager.c
6
 
@@ -355,7 +355,7 @@ get_statuses_second (guint i,
7
 
                         break;
8
 
                 case 2:
9
 
                         /* Translators: The printer is in the process of connecting to a shared network output device (same as in system-config-printer) */
10
 
-                        status = g_strdup_printf (_("Printer “%s” may not be connected."), printer_name);
11
 
+                        /* status = g_strdup_printf (_("Printer “%s” may not be connected."), printer_name); */
12
 
                         break;
13
 
                 case 3:
14
 
                         /* Translators: One or more covers on the printer are open (same as in system-config-printer) */
15
 
@@ -427,7 +427,7 @@ process_cups_notification (GsdPrintNotif
16
 
         static const char * const reasons[] = {
17
 
                 "toner-low",
18
 
                 "toner-empty",
19
 
-                "connecting-to-device",
20
 
+                /*"connecting-to-device",*/
21
 
                 "cover-open",
22
 
                 "cups-missing-filter",
23
 
                 "door-open",
24
 
@@ -444,7 +444,7 @@ process_cups_notification (GsdPrintNotif
25
 
                 /* Translators: The printer has no toner left (same as in system-config-printer) */
26
 
                 N_("Toner empty"),
27
 
                 /* Translators: The printer is in the process of connecting to a shared network output device (same as in system-config-printer) */
28
 
-                N_("Not connected?"),
29
 
+                /*N_("Not connected?"),*/
30
 
                 /* Translators: One or more covers on the printer are open (same as in system-config-printer) */
31
 
                 N_("Cover open"),
32
 
                 /* Translators: A filter or backend is not installed (same as in system-config-printer) */