This commit is contained in:
Jiri Popelka 2011-01-17 17:59:39 +01:00
parent bae429eb8d
commit 94e288eba4
9 changed files with 13 additions and 49 deletions

1
.gitignore vendored
View File

@ -226,3 +226,4 @@ pycups-1.9.51.tar.bz2
/system-config-printer-1.2.4.tar.xz
/system-config-printer-1.2.5.tar.xz
/system-config-printer-1.2.95.tar.xz
/system-config-printer-1.2.96.tar.xz

Binary file not shown.

View File

@ -1,7 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEABECAAYFAkwxlm4ACgkQFr7RAWBpvlXMCwCeOiCNTkzubSy+9ZwMW3/BbdwD
T+QAniGOj/VeRsr7Zl2nHCe1+5l5t7Ns
=1EcU
-----END PGP SIGNATURE-----

View File

@ -1 +1 @@
42bc90e9b2d558b332b03eb7b112fb94 system-config-printer-1.2.95.tar.xz
90a4e4bdb404758d4ad69d772fb3e5e1 system-config-printer-1.2.96.tar.xz

Binary file not shown.

View File

@ -1,23 +0,0 @@
diff -up system-config-printer-1.2.95/jobviewer.py.attach-to-status-icon system-config-printer-1.2.95/jobviewer.py
--- system-config-printer-1.2.95/jobviewer.py.attach-to-status-icon 2010-11-24 17:26:25.000000000 +0000
+++ system-config-printer-1.2.95/jobviewer.py 2010-11-30 13:07:10.328607041 +0000
@@ -1673,9 +1673,6 @@ class JobViewer (GtkGUI):
self.on_state_reason_notification_closed)
self.state_reason_notifications[reason.get_tuple ()] = notification
self.set_statusicon_visibility ()
- if not self.notify_has_persistence:
- notification.attach_to_status_icon (self.statusicon)
-
try:
notification.show ()
except gobject.GError:
@@ -1731,9 +1728,6 @@ class JobViewer (GtkGUI):
notification.set_data ('jobid', jobid)
self.completed_job_notifications[jobid] = notification
self.set_statusicon_visibility ()
- if not self.notify_has_persistence:
- notification.attach_to_status_icon (self.statusicon)
-
try:
notification.show ()
except gobject.GError:

View File

@ -1,11 +0,0 @@
diff -up system-config-printer-1.2.5/system-config-printer.py.compiz-rename system-config-printer-1.2.5/system-config-printer.py
--- system-config-printer-1.2.5/system-config-printer.py.compiz-rename 2010-12-02 16:15:00.656238304 +0000
+++ system-config-printer-1.2.5/system-config-printer.py 2010-12-02 16:15:13.265702866 +0000
@@ -3076,6 +3076,7 @@ class GUI(GtkGUI, monitor.Watcher):
ids.append (cell.connect ('editing-canceled',
self.printer_name_edit_cancel))
self.rename_sigids = ids
+ self.dests_iconview.grab_focus ()
def printer_name_edited (self, cell, path, newname):
newname = newname.replace("/", "")

View File

@ -4,14 +4,12 @@
Summary: A printer administration tool
Name: system-config-printer
Version: 1.2.95
Release: 4%{?dist}
Version: 1.2.96
Release: 1%{?dist}
License: GPLv2+
URL: http://cyberelk.net/tim/software/system-config-printer/
Group: System Environment/Base
Source0: http://cyberelk.net/tim/data/system-config-printer/1.2/%{name}-%{version}.tar.xz
Patch1: system-config-printer-attach-to-status-icon.patch
Patch2: system-config-printer-compiz-rename.patch
BuildRequires: cups-devel >= 1.2
BuildRequires: desktop-file-utils >= 0.2.92
BuildRequires: gettext-devel
@ -67,8 +65,6 @@ printers.
%prep
%setup -q
%patch1 -p1 -b .attach-to-status-icon
%patch2 -p1 -b .compiz-rename
%build
%configure --with-udev-rules
@ -168,7 +164,7 @@ rm -rf %buildroot
%{_datadir}/%{name}/xml/*.rng
%{_datadir}/%{name}/xml/validate.py*
%dir %{_datadir}/%{name}/ui
%{_datadir}/%{name}/ui/*.glade
%{_datadir}/%{name}/ui/*.ui
%{_datadir}/applications/system-config-printer.desktop
%{_sysconfdir}/xdg/autostart/print-applet.desktop
%{_mandir}/man1/*
@ -178,6 +174,14 @@ rm -rf %buildroot
exit 0
%changelog
* Mon Jan 17 2011 Jiri Popelka <jpopelka@redhat.com> 1.2.96-1
- 1.2.96:
- Remove reference to current printer on exit (bug #556548).
- Handle cups.Connection() failure in PrinterURIIndexr (bug #648014).
- Block unwanted characters when editing queue name (bug #658550).
- Initialise D-Bus threading in timedops module (bug #662047).
- many other fixes
* Thu Dec 2 2010 Tim Waugh <twaugh@redhat.com> - 1.2.95-4
- Grab focus on the IconView after setting it editable (bug #650995).