14766
|
1 |
diff -urN system-config-printer-1.0.12/system-config-printer.py ../SUNWcups-manager-2.24.2.hacked/system-config-printer-1.0.12/system-config-printer.py
|
|
2 |
--- system-config-printer-1.0.12/system-config-printer.py 2008-12-12 15:24:32.495607000 +0000
|
|
3 |
+++ ../SUNWcups-manager-2.24.2.hacked/system-config-printer-1.0.12/system-config-printer.py 2008-12-12 15:26:09.842560000 +0000
|
|
4 |
@@ -100,10 +100,6 @@
|
14756
|
5 |
ready_cursor = gtk.gdk.Cursor(gtk.gdk.LEFT_PTR)
|
|
6 |
ellipsis = unichr(0x2026)
|
|
7 |
|
|
8 |
-TEXT_start_firewall_tool = _("To do this, select "
|
|
9 |
- "System->Administration->Firewall "
|
|
10 |
- "from the main menu.")
|
|
11 |
-
|
|
12 |
try:
|
|
13 |
try_CUPS_SERVER_REMOTE_ANY = cups.CUPS_SERVER_REMOTE_ANY
|
|
14 |
except AttributeError:
|
14766
|
15 |
@@ -2495,25 +2491,6 @@
|
14756
|
16 |
self.changed = set()
|
|
17 |
self.setDataButtonState()
|
|
18 |
|
|
19 |
- old_setting = self.server_settings.get (cups.CUPS_SERVER_SHARE_PRINTERS,
|
|
20 |
- '0')
|
|
21 |
- new_setting = setting_dict.get (cups.CUPS_SERVER_SHARE_PRINTERS, '0')
|
|
22 |
- if (old_setting == '0' and new_setting != '0'):
|
|
23 |
- # We have just enabled print queue sharing.
|
|
24 |
- # Ideally, this is the time we would check the firewall
|
|
25 |
- # settings on this machine and request that the IPP TCP port
|
|
26 |
- # be unblocked. Unfortunately, this is not yet possible
|
|
27 |
- # (bug #440469). However, we can display a dialog to suggest
|
|
28 |
- # that now might be a good time to review the firewall settings.
|
|
29 |
- show_info_dialog (_("Review Firewall"),
|
|
30 |
- _("You may need to adjust the firewall "
|
|
31 |
- "to allow network printing to this "
|
|
32 |
- "computer.") + '\n\n' +
|
|
33 |
- TEXT_start_firewall_tool,
|
|
34 |
- parent=self.ServerSettingsDialog)
|
|
35 |
-
|
|
36 |
- time.sleep(1) # give the server a chance to process our request
|
|
37 |
-
|
|
38 |
# Now reconnect, in case the server needed to reload.
|
|
39 |
self.reconnect ()
|
|
40 |
|
14766
|
41 |
diff -urN system-config-printer-1.0.12/troubleshoot/SchedulerNotRunning.py ../SUNWcups-manager-2.24.2.hacked/system-config-printer-1.0.12/troubleshoot/SchedulerNotRunning.py
|
|
42 |
--- system-config-printer-1.0.12/troubleshoot/SchedulerNotRunning.py 2008-11-30 12:49:45.000000000 +0000
|
|
43 |
+++ ../SUNWcups-manager-2.24.2.hacked/system-config-printer-1.0.12/troubleshoot/SchedulerNotRunning.py 2008-12-12 15:47:02.904322000 +0000
|
14771
|
44 |
@@ -25,11 +25,12 @@ class SchedulerNotRunning(Question):
|
|
45 |
def __init__ (self, troubleshooter):
|
14766
|
46 |
Question.__init__ (self, troubleshooter, "Scheduler not running?")
|
|
47 |
page = self.initial_vbox (_("CUPS Service Stopped"),
|
14771
|
48 |
+ # SUN_BRANDING
|
14766
|
49 |
_("The CUPS print spooler does not appear "
|
|
50 |
- "to be running. To correct this, choose "
|
|
51 |
- "System->Administration->Services from "
|
|
52 |
- "the main menu and look for the `cups' "
|
|
53 |
- "service."))
|
|
54 |
+ "to be running. To correct this, "
|
|
55 |
+ "run '/usr/sbin/print-service -s cups' "
|
|
56 |
+ "as a privileged user "
|
|
57 |
+ "in a terminal."))
|
|
58 |
troubleshooter.new_page (page, self)
|
|
59 |
|
|
60 |
def display (self):
|
|
61 |
diff -urN system-config-printer-1.0.12/troubleshoot/base.py ../SUNWcups-manager-2.24.2.hacked/system-config-printer-1.0.12/troubleshoot/base.py
|
|
62 |
--- system-config-printer-1.0.12/troubleshoot/base.py 2008-11-30 12:49:45.000000000 +0000
|
|
63 |
+++ ../SUNWcups-manager-2.24.2.hacked/system-config-printer-1.0.12/troubleshoot/base.py 2008-12-12 15:28:16.269370000 +0000
|
14771
|
64 |
@@ -30,8 +30,9 @@
|
|
65 |
'Multichoice',
|
14766
|
66 |
'TEXT_start_print_admin_tool' ]
|
|
67 |
|
14771
|
68 |
+ # SUN_BRANDING
|
14766
|
69 |
TEXT_start_print_admin_tool = _("To start this tool, select "
|
|
70 |
- "System->Administration->Printing "
|
|
71 |
+ "System->Administration->Print Manager "
|
|
72 |
"from the main menu.")
|
|
73 |
|
|
74 |
class Question:
|