--- /srv/reproducible-results/rbuild-debian/r-b-build.a7vbvTf9/b1/python-caja_1.26.0-1_amd64.changes +++ /srv/reproducible-results/rbuild-debian/r-b-build.a7vbvTf9/b2/python-caja_1.26.0-1_amd64.changes ├── Files │ @@ -1,4 +1,4 @@ │ │ - 417e4c311cfe49b5460ddfd668ddbc9e 28496 python optional python-caja-common_1.26.0-1_all.deb │ + 0ff62900b5356597c26f19f423cfea8b 32072 python optional python-caja-common_1.26.0-1_all.deb │ 1674bcd45252efa9c3c69e03dc0d91f6 36584 debug optional python3-caja-dbgsym_1.26.0-1_amd64.deb │ b4e6c3ade6e12dd05b547817da2875c1 14292 python optional python3-caja_1.26.0-1_amd64.deb ├── python-caja-common_1.26.0-1_all.deb │ ├── file list │ │ @@ -1,3 +1,3 @@ │ │ -rw-r--r-- 0 0 0 4 2021-12-13 09:12:01.000000 debian-binary │ │ --rw-r--r-- 0 0 0 3328 2021-12-13 09:12:01.000000 control.tar.xz │ │ --rw-r--r-- 0 0 0 24976 2021-12-13 09:12:01.000000 data.tar.xz │ │ +-rw-r--r-- 0 0 0 3412 2021-12-13 09:12:01.000000 control.tar.xz │ │ +-rw-r--r-- 0 0 0 28468 2021-12-13 09:12:01.000000 data.tar.xz │ ├── control.tar.xz │ │ ├── control.tar │ │ │ ├── ./control │ │ │ │ @@ -1,13 +1,13 @@ │ │ │ │ Package: python-caja-common │ │ │ │ Source: python-caja │ │ │ │ Version: 1.26.0-1 │ │ │ │ Architecture: all │ │ │ │ Maintainer: Debian+Ubuntu MATE Packaging Team │ │ │ │ -Installed-Size: 367 │ │ │ │ +Installed-Size: 418 │ │ │ │ Breaks: python-caja (<< 1.9.0) │ │ │ │ Replaces: python-caja (<< 1.9.0) │ │ │ │ Section: python │ │ │ │ Priority: optional │ │ │ │ Homepage: http://www.mate-desktop.org/ │ │ │ │ Description: Python binding for Caja components (common files) │ │ │ │ Caja is the official file manager for the MATE desktop. It allows one │ │ │ ├── ./md5sums │ │ │ │ ├── ./md5sums │ │ │ │ │┄ Files differ │ ├── data.tar.xz │ │ ├── data.tar │ │ │ ├── file list │ │ │ │ @@ -18,30 +18,30 @@ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 661 2021-12-13 09:12:01.000000 ./usr/share/doc/python-caja/examples/update-file-info-async.py │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2021-12-13 09:12:01.000000 ./usr/share/doc/python-caja-common/ │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1307 2021-12-13 09:12:01.000000 ./usr/share/doc/python-caja-common/changelog.Debian.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1164 2021-08-07 14:16:25.000000 ./usr/share/doc/python-caja-common/changelog.gz │ │ │ │ -rw-r--r-- 0 root (0) root (0) 4027 2021-12-13 08:50:01.000000 ./usr/share/doc/python-caja-common/copyright │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2021-12-13 09:12:01.000000 ./usr/share/doc/python3-caja/ │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2021-12-13 09:12:01.000000 ./usr/share/doc/python3-caja/html/ │ │ │ │ --rw-r--r-- 0 root (0) root (0) 0 2021-12-13 09:12:01.000000 ./usr/share/doc/python3-caja/html/caja-python-class-reference.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 2901 2021-12-13 09:12:01.000000 ./usr/share/doc/python3-caja/html/caja-python-class-reference.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 2098 2021-12-13 09:12:01.000000 ./usr/share/doc/python3-caja/html/caja-python-enum-reference.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 3587 2021-12-13 09:12:01.000000 ./usr/share/doc/python3-caja/html/caja-python-overview-example.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 2690 2021-12-13 09:12:01.000000 ./usr/share/doc/python3-caja/html/caja-python-overview-methods.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 0 2021-12-13 09:12:01.000000 ./usr/share/doc/python3-caja/html/caja-python-overview.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 3827 2021-12-13 09:12:01.000000 ./usr/share/doc/python3-caja/html/caja-python-overview.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 2842 2021-12-13 09:12:01.000000 ./usr/share/doc/python3-caja/html/caja-python-provider-reference.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 1163 2021-12-13 09:12:01.000000 ./usr/share/doc/python3-caja/html/caja-python.devhelp.gz │ │ │ │ --rw-r--r-- 0 root (0) root (0) 0 2021-12-13 09:12:01.000000 ./usr/share/doc/python3-caja/html/class-caja-python-column-provider.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 5155 2021-12-13 09:12:01.000000 ./usr/share/doc/python3-caja/html/class-caja-python-column-provider.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 6438 2021-12-13 09:12:01.000000 ./usr/share/doc/python3-caja/html/class-caja-python-column.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 19447 2021-12-13 09:12:01.000000 ./usr/share/doc/python3-caja/html/class-caja-python-file-info.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 0 2021-12-13 09:12:01.000000 ./usr/share/doc/python3-caja/html/class-caja-python-info-provider.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 15970 2021-12-13 09:12:01.000000 ./usr/share/doc/python3-caja/html/class-caja-python-info-provider.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 4886 2021-12-13 09:12:01.000000 ./usr/share/doc/python3-caja/html/class-caja-python-location-widget-provider.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 11103 2021-12-13 09:12:01.000000 ./usr/share/doc/python3-caja/html/class-caja-python-menu-item.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 0 2021-12-13 09:12:01.000000 ./usr/share/doc/python3-caja/html/class-caja-python-menu-provider.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 17563 2021-12-13 09:12:01.000000 ./usr/share/doc/python3-caja/html/class-caja-python-menu-provider.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 5189 2021-12-13 09:12:01.000000 ./usr/share/doc/python3-caja/html/class-caja-python-menu.html │ │ │ │ --rw-r--r-- 0 root (0) root (0) 0 2021-12-13 09:12:01.000000 ./usr/share/doc/python3-caja/html/class-caja-python-operation-handle.html │ │ │ │ +-rw-r--r-- 0 root (0) root (0) 3538 2021-12-13 09:12:01.000000 ./usr/share/doc/python3-caja/html/class-caja-python-operation-handle.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 5657 2021-12-13 09:12:01.000000 ./usr/share/doc/python3-caja/html/class-caja-python-property-page-provider.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 5617 2021-12-13 09:12:01.000000 ./usr/share/doc/python3-caja/html/class-caja-python-property-page.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 3758 2021-12-13 09:12:01.000000 ./usr/share/doc/python3-caja/html/enum-caja-python-operation-result.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 5299 2021-12-13 09:12:01.000000 ./usr/share/doc/python3-caja/html/index.html │ │ │ │ -rw-r--r-- 0 root (0) root (0) 9697 2021-12-13 09:12:01.000000 ./usr/share/doc/python3-caja/html/index.sgml │ │ │ │ -rw-r--r-- 0 root (0) root (0) 133 2021-12-13 09:12:01.000000 ./usr/share/doc/python3-caja/html/style.css │ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2021-12-13 09:12:01.000000 ./usr/share/doc-base/ │ │ │ ├── ./usr/share/doc/python3-caja/html/caja-python-class-reference.html │ │ │ │ @@ -0,0 +1,182 @@ │ │ │ │ +00000000: 3c68 746d 6c3e 3c68 6561 643e 3c6d 6574 < │ │ │ │ +00000050: 7469 746c 653e 4176 6169 6c61 626c 6520 title>Available │ │ │ │ +00000060: 436c 6173 7365 733c 2f74 6974 6c65 3e3c Classes< │ │ │ │ +00000070: 6c69 6e6b 2072 656c 3d22 7374 796c 6573 link rel="styles │ │ │ │ +00000080: 6865 6574 2220 7479 7065 3d22 7465 7874 heet" type="text │ │ │ │ +00000090: 2f63 7373 2220 6872 6566 3d22 7374 796c /css" href="styl │ │ │ │ +000000a0: 652e 6373 7322 3e3c 6d65 7461 206e 616d e.css"> │ │ │ │ +000001e0: 3c6c 696e 6b20 7265 6c3d 226e 6578 7422
Ava │ │ │ │ +000002f0: 696c 6162 6c65 2043 6c61 7373 6573 3c2f ilable Classes │ │ │ │ +00000400: 3c2f 7461 626c 653e 3c68 723e 3c2f 6469
Prev......Ne │ │ │ │ +000003f0: 7874 3c2f 613e 3c2f 7464 3e3c 2f74 723e xt

│ │ │ │ +00000480: 3c2f 613e 4176 6169 6c61 626c 6520 436c Available Cl │ │ │ │ +00000490: 6173 7365 733c 2f68 313e 3c2f 6469 763e asses

│ │ │ │ +000004a0: 3c2f 6469 763e 3c2f 6469 763e 3c64 6976

│ │ │ │ +000004c0: 3c62 3e54 6162 6c65 206f 6620 436f 6e74 Table of Cont │ │ │ │ +000004d0: 656e 7473 3c2f 623e 3c2f 703e 3c64 6c20 ents

│ │ │ │ +000004f0: 3c73 7061 6e20 636c 6173 733d 2272 6566 Caja.Column< │ │ │ │ +00000540: 2f61 3e3c 2f73 7061 6e3e 3c73 7061 6e20 /a> ... Caja.Col │ │ │ │ +00000570: 756d 6e20 5265 6665 7265 6e63 653c 2f73 umn Reference
Caja.FileInf │ │ │ │ +000005e0: 6f3c 2f61 3e3c 2f73 7061 6e3e 3c73 7061 o ... Caja.F │ │ │ │ +00000610: 696c 6549 6e66 6f20 5265 6665 7265 6e63 ileInfo Referenc │ │ │ │ +00000620: 653c 2f73 7061 6e3e 3c2f 6474 3e3c 6474 e
Caja.Menu │ │ │ │ +00000680: 3c2f 7370 616e 3e3c 7370 616e 2063 6c61 │ │ │ │ +000006a0: 20e2 8094 2043 616a 612e 4d65 6e75 2052 ... Caja.Menu R │ │ │ │ +000006b0: 6566 6572 656e 6365 3c2f 7370 616e 3e3c eference< │ │ │ │ +000006c0: 2f64 743e 3c64 743e 3c73 7061 6e20 636c /dt>
C │ │ │ │ +00000710: 616a 612e 4d65 6e75 4974 656d 3c2f 613e aja.MenuItem │ │ │ │ +00000720: 3c2f 7370 616e 3e3c 7370 616e 2063 6c61 │ │ │ │ +00000740: 20e2 8094 2043 616a 612e 4d65 6e75 4974 ... Caja.MenuIt │ │ │ │ +00000750: 656d 2052 6566 6572 656e 6365 3c2f 7370 em Reference
Caja.Prop │ │ │ │ +000007c0: 6572 7479 5061 6765 3c2f 613e 3c2f 7370 ertyPage ... │ │ │ │ +000007f0: 2043 616a 612e 5072 6f70 6572 7479 5061 Caja.PropertyPa │ │ │ │ +00000800: 6765 2052 6566 6572 656e 6365 3c2f 7370 ge Reference
Caja.O │ │ │ │ +00000870: 7065 7261 7469 6f6e 4861 6e64 6c65 3c2f perationHandle ... C │ │ │ │ +000008c0: 616a 612e 4669 6c65 496e 666f 3c2f 636f aja.FileInfo update in pr │ │ │ │ +000008e0: 6f67 7265 7373 2068 616e 646c 653c 2f73 ogress handle

< │ │ │ │ +000009c0: 7464 2077 6964 7468 3d22 3230 2522 2061 td width="20%" a │ │ │ │ +000009d0: 6c69 676e 3d22 6365 6e74 6572 223e c2a0 lign="center">.. │ │ │ │ +000009e0: 3c2f 7464 3e3c 7464 2077 6964 7468 3d22
│ │ │ │ +000009b0: 5072 6576 3c2f 613e c2a0 3c2f 7464 3e3c Prev....Next< │ │ │ │ +00000a40: 2f61 3e3c 2f74 643e 3c2f 7472 3e3c 7472 /a>
Expla │ │ │ │ +00000a80: 6e61 7469 6f6e 206f 6620 5061 7373 6976 nation of Passiv │ │ │ │ +00000a90: 652f 4163 7469 7665 204d 6574 686f 6473 e/Active Methods │ │ │ │ +00000aa0: c2a0 3c2f 7464 3e3c 7464 2077 6964 7468 ..Home..Caja.Column
│ │ │ │ +00000b40: 3c2f 6469 763e 3c2f 626f 6479 3e3c 2f68
. │ │ │ ├── ./usr/share/doc/python3-caja/html/caja-python-overview.html │ │ │ │ @@ -0,0 +1,240 @@ │ │ │ │ +00000000: 3c68 746d 6c3e 3c68 6561 643e 3c6d 6574 < │ │ │ │ +00000050: 7469 746c 653e 4f76 6572 7669 6577 3c2f title>Overview< │ │ │ │ +00000170: 6c69 6e6b 2072 656c 3d22 7072 6576 2220 link rel="prev" │ │ │ │ +00000180: 6872 6566 3d22 696e 6465 782e 6874 6d6c href="index.html │ │ │ │ +00000190: 2220 7469 746c 653d 2263 616a 612d 7079 " title="caja-py │ │ │ │ +000001a0: 7468 6f6e 2052 6566 6572 656e 6365 204d thon Reference M │ │ │ │ +000001b0: 616e 7561 6c22 3e3c 6c69 6e6b 2072 656c anual">

Writing a C │ │ │ │ +00000470: 616a 612d 5079 7468 6f6e 2065 7874 656e aja-Python exten │ │ │ │ +00000480: 7369 6f6e 2069 7320 6120 6661 6972 6c79 sion is a fairly │ │ │ │ +00000490: 2073 7472 6169 6768 742d 666f 7277 6172 straight-forwar │ │ │ │ +000004a0: 6420 7072 6f63 6573 732e 0a20 2020 204f d process.. O │ │ │ │ +000004b0: 6e65 2073 696d 706c 7920 696d 706f 7274 ne simply import │ │ │ │ +000004c0: 7320 7468 6520 4361 6a61 206d 6f64 756c s the Caja modul │ │ │ │ +000004d0: 6520 6672 6f6d 2074 6865 2067 6f62 6a65 e from the gobje │ │ │ │ +000004e0: 6374 2069 6e74 726f 7370 6563 7469 6f6e ct introspection │ │ │ │ +000004f0: 2072 6570 6f73 6974 6f72 7920 616e 6420 repository and │ │ │ │ +00000500: 6372 6561 7465 7320 6120 636c 6173 7320 creates a class │ │ │ │ +00000510: 7768 6963 6820 6973 2064 6572 6976 6564 which is derived │ │ │ │ +00000520: 2066 726f 6d20 6120 676f 626a 6563 742e from a gobject. │ │ │ │ +00000530: 474f 626a 6563 7420 616e 6420 0a20 2020 GObject and . │ │ │ │ +00000540: 206f 6e65 206f 6620 7468 6520 4361 6a61 one of the Caja │ │ │ │ +00000550: 206d 6f64 756c 6527 7320 636c 6173 7365 module's classe │ │ │ │ +00000560: 732e 2057 6865 6e20 616e 2065 7874 656e s. When an exten │ │ │ │ +00000570: 7369 6f6e 2064 6572 6976 6573 2061 2063 sion derives a c │ │ │ │ +00000580: 6c61 7373 2c20 6974 2062 6563 6f6d 6573 lass, it becomes │ │ │ │ +00000590: 2061 2022 7072 6f76 6964 6572 222c 200a a "provider", . │ │ │ │ +000005a0: 2020 2020 7465 6c6c 696e 6720 4361 6a61 telling Caja │ │ │ │ +000005b0: 2074 6f20 6173 6b20 6974 2066 6f72 2069 to ask it for i │ │ │ │ +000005c0: 6e66 6f72 6d61 7469 6f6e 2e20 5468 6572 nformation. Ther │ │ │ │ +000005d0: 6520 6172 6520 7365 7665 7261 6c20 7479 e are several ty │ │ │ │ +000005e0: 7065 7320 6f66 2070 726f 7669 6465 7273 pes of providers │ │ │ │ +000005f0: 200a 2020 2020 6176 6169 6c61 626c 6520 . available │ │ │ │ +00000600: 666f 7220 6578 7465 6e73 696f 6e73 2074 for extensions t │ │ │ │ +00000610: 6f20 7573 653a 2074 6865 7265 2069 7320 o use: there is │ │ │ │ +00000620: 4d65 6e75 5072 6f76 6964 6572 2c20 4c6f MenuProvider, Lo │ │ │ │ +00000630: 6361 7469 6f6e 5769 6467 6574 5072 6f76 cationWidgetProv │ │ │ │ +00000640: 6964 6572 2c20 0a20 2020 2043 6f6c 756d ider, . Colum │ │ │ │ +00000650: 6e50 726f 7669 6465 722c 2050 726f 7065 nProvider, Prope │ │ │ │ +00000660: 7274 7950 6167 6550 726f 7669 6465 722c rtyPageProvider, │ │ │ │ +00000670: 2061 6e64 2049 6e66 6f50 726f 7669 6465 and InfoProvide │ │ │ │ +00000680: 722c 2061 6c6c 206f 6620 7768 6963 6820 r, all of which │ │ │ │ +00000690: 7769 6c6c 2062 6520 6578 706c 6169 6e65 will be explaine │ │ │ │ +000006a0: 6420 0a20 2020 2069 6e20 6d6f 7265 2064 d . in more d │ │ │ │ +000006b0: 6574 6169 6c20 6265 6c6f 772e 2059 6f75 etail below. You │ │ │ │ +000006c0: 7220 636c 6173 7320 6361 6e20 6265 2064 r class can be d │ │ │ │ +000006d0: 6572 6976 6564 2066 726f 6d20 6d75 6c74 erived from mult │ │ │ │ +000006e0: 6970 6c65 2070 726f 7669 6465 7273 2e3c iple providers.< │ │ │ │ +000006f0: 2f70 3e3c 703e 4865 7265 2061 7265 2074 /p>

Here are t │ │ │ │ +00000700: 6865 2062 6173 6963 2073 7465 7073 3a3c he basic steps:< │ │ │ │ +00000710: 2f70 3e3c 703e 312e 2041 2073 6372 6970 /p>

1. A scrip │ │ │ │ +00000720: 7420 6973 2077 7269 7474 656e 2061 6e64 t is written and │ │ │ │ +00000730: 2069 6e73 7461 6c6c 6564 2074 6f20 7468 installed to th │ │ │ │ +00000740: 6520 7374 616e 6461 7264 2063 616a 612d e standard caja- │ │ │ │ +00000750: 7079 7468 6f6e 2065 7874 656e 7369 6f6e python extension │ │ │ │ +00000760: 2069 6e73 7461 6c6c 2070 6174 683c 2f70 install path

2. Caja is ( │ │ │ │ +00000780: 7265 2973 7461 7274 6564 2061 6e64 206c re)started and l │ │ │ │ +00000790: 6f61 6473 2074 6865 2063 616a 612d 7079 oads the caja-py │ │ │ │ +000007a0: 7468 6f6e 2043 2065 7874 656e 7369 6f6e thon C extension │ │ │ │ +000007b0: 2c20 7768 6963 6820 696e 2074 7572 6e20 , which in turn │ │ │ │ +000007c0: 6c6f 6164 7320 616c 6c20 7079 7468 6f6e loads all python │ │ │ │ +000007d0: 2065 7874 656e 7369 6f6e 7320 6974 2063 extensions it c │ │ │ │ +000007e0: 616e 2066 696e 643c 2f70 3e3c 703e 332e an find

3. │ │ │ │ +000007f0: 2041 6e79 2070 7974 686f 6e20 7363 7269 Any python scri │ │ │ │ +00000800: 7074 2069 6e20 7468 6520 7374 616e 6461 pt in the standa │ │ │ │ +00000810: 7264 2063 616a 612d 7079 7468 6f6e 2065 rd caja-python e │ │ │ │ +00000820: 7874 656e 7369 6f6e 2069 6e73 7461 6c6c xtension install │ │ │ │ +00000830: 2070 6174 6820 7468 6174 2069 6d70 6f72 path that impor │ │ │ │ +00000840: 7473 2074 6865 2043 616a 6120 6d6f 6475 ts the Caja modu │ │ │ │ +00000850: 6c65 2066 726f 6d20 7468 6520 676f 626a le from the gobj │ │ │ │ +00000860: 6563 7420 696e 7472 6f73 7065 6374 696f ect introspectio │ │ │ │ +00000870: 6e20 7265 706f 7369 746f 7279 2061 6e64 n repository and │ │ │ │ +00000880: 2064 6572 6976 6573 200a 2020 2020 7468 derives . th │ │ │ │ +00000890: 6520 6d61 696e 2063 6c61 7373 2066 726f e main class fro │ │ │ │ +000008a0: 6d20 6120 4361 6a61 206d 6f64 756c 6520 m a Caja module │ │ │ │ +000008b0: 636c 6173 7320 7769 6c6c 2062 6520 6c6f class will be lo │ │ │ │ +000008c0: 6164 6564 3c2f 703e 3c64 6976 2063 6c61 aded

A n │ │ │ │ +00000920: 6f74 6520 6162 6f75 7420 7468 6520 7374 ote about the st │ │ │ │ +00000930: 616e 6461 7264 2070 7974 686f 6e20 6578 andard python ex │ │ │ │ +00000940: 7465 6e73 696f 6e73 2069 6e73 7461 6c6c tensions install │ │ │ │ +00000950: 2070 6174 683c 2f68 333e 3c70 3e41 7320 path

As │ │ │ │ +00000960: 6f66 2063 616a 612d 7079 7468 6f6e 2030 of caja-python 0 │ │ │ │ +00000970: 2e37 2e30 2028 616e 6420 636f 6e74 696e .7.0 (and contin │ │ │ │ +00000980: 7565 6420 696e 2031 2e30 2b29 2c20 6361 ued in 1.0+), ca │ │ │ │ +00000990: 6a61 2d70 7974 686f 6e20 6c6f 6f6b 7320 ja-python looks │ │ │ │ +000009a0: 696e 207e 2f2e 6c6f 6361 6c2f 7368 6172 in ~/.local/shar │ │ │ │ +000009b0: 652f 6361 6a61 2d70 7974 686f 6e2f 6578 e/caja-python/ex │ │ │ │ +000009c0: 7465 6e73 696f 6e73 200a 666f 7220 6c6f tensions .for lo │ │ │ │ +000009d0: 6361 6c20 6578 7465 6e73 696f 6e73 2061 cal extensions a │ │ │ │ +000009e0: 6e64 2024 5052 4546 4958 2f73 6861 7265 nd $PREFIX/share │ │ │ │ +000009f0: 2f63 616a 612d 7079 7468 6f6e 2f65 7874 /caja-python/ext │ │ │ │ +00000a00: 656e 7369 6f6e 7320 666f 7220 676c 6f62 ensions for glob │ │ │ │ +00000a10: 616c 2065 7874 656e 7369 6f6e 732e 3c2f al extensions.

A n │ │ │ │ +00000a80: 6f74 6520 6162 6f75 7420 636f 6d70 6174 ote about compat │ │ │ │ +00000a90: 6962 696c 6974 7920 6973 7375 6573 2066 ibility issues f │ │ │ │ +00000aa0: 6f72 2063 616a 612d 7079 7468 6f6e 2031 or caja-python 1 │ │ │ │ +00000ab0: 2e30 3c2f 6833 3e3c 703e 312e 2057 6520 .0

1. We │ │ │ │ +00000ac0: 6e6f 206c 6f6e 6765 7220 7375 7070 6f72 no longer suppor │ │ │ │ +00000ad0: 7420 7468 6520 2269 6d70 6f72 7420 6361 t the "import ca │ │ │ │ +00000ae0: 6a61 2220 636f 6d6d 616e 6420 7468 6174 ja" command that │ │ │ │ +00000af0: 2070 7265 7669 6f75 7320 7665 7273 696f previous versio │ │ │ │ +00000b00: 6e73 2075 7365 642e 2020 5468 6973 2069 ns used. This i │ │ │ │ +00000b10: 7320 6265 6361 7573 650a 2020 2020 6361 s because. ca │ │ │ │ +00000b20: 6a61 2d70 7974 686f 6e20 6e6f 7720 6469 ja-python now di │ │ │ │ +00000b30: 7265 6374 6c79 2075 7365 7320 4361 6a61 rectly uses Caja │ │ │ │ +00000b40: 2773 2061 6e6e 6f74 6174 696f 6e73 2c20 's annotations, │ │ │ │ +00000b50: 7768 6963 6820 6d75 7374 2062 6520 696d which must be im │ │ │ │ +00000b60: 706f 7274 6564 2062 7920 7468 6520 2266 ported by the "f │ │ │ │ +00000b70: 726f 6d20 6769 2e72 6570 6f73 6974 6f72 rom gi.repositor │ │ │ │ +00000b80: 7920 696d 706f 7274 2043 616a 6122 2063 y import Caja" c │ │ │ │ +00000b90: 6f6d 6d61 6e64 2e3c 2f70 3e3c 703e 322e ommand.

2. │ │ │ │ +00000ba0: 2054 6865 2065 7874 656e 7369 6f6e 2063 The extension c │ │ │ │ +00000bb0: 6c61 7373 206d 7573 7420 6e6f 7720 6465 lass must now de │ │ │ │ +00000bc0: 7269 7665 2069 7473 656c 6620 6672 6f6d rive itself from │ │ │ │ +00000bd0: 2061 2067 6f62 6a65 6374 2e47 4f62 6a65 a gobject.GObje │ │ │ │ +00000be0: 6374 2069 6e20 6164 6469 7469 6f6e 2074 ct in addition t │ │ │ │ +00000bf0: 6f20 7468 6520 7374 616e 6461 7264 2043 o the standard C │ │ │ │ +00000c00: 616a 6120 636c 6173 7365 732e 3c2f 703e aja classes.

│ │ │ │ +00000c10: 3c70 3e33 2e20 466f 7220 6e6f 772c 2073

3. For now, s │ │ │ │ +00000c20: 6f6d 6520 4361 6a61 2063 6c61 7373 2063 ome Caja class c │ │ │ │ +00000c30: 6f6e 7374 7275 6374 6f72 7320 7265 7175 onstructors requ │ │ │ │ +00000c40: 6972 6520 7061 7373 696e 6720 6e61 6d65 ire passing name │ │ │ │ +00000c50: 6420 6172 6775 6d65 6e74 7320 696e 7374 d arguments inst │ │ │ │ +00000c60: 6561 6420 6f66 2061 2073 7461 6e64 6172 ead of a standar │ │ │ │ +00000c70: 6420 6172 6775 6d65 6e74 206c 6973 742e d argument list. │ │ │ │ +00000c80: 2020 5468 6973 2072 6571 7569 7265 6d65 This requireme │ │ │ │ +00000c90: 6e74 206d 6179 2067 6f20 6177 6179 2061 nt may go away a │ │ │ │ +00000ca0: 7420 736f 6d65 2070 6f69 6e74 2e3c 2f70 t some point.


│ │ │ │ +00000e80: 486f 6d65 3c2f 613e 3c2f 7464 3e3c 7464 Home
Prev │ │ │ │ +00000d50: 3c2f 613e c2a0 3c2f 7464 3e3c 7464 2077 ..... │ │ │ │ +00000da0: a03c 6120 6163 6365 7373 6b65 793d 226e .Next< │ │ │ │ +00000de0: 2f61 3e3c 2f74 643e 3c2f 7472 3e3c 7472 /a>
caja- │ │ │ │ +00000e20: 7079 7468 6f6e 2052 6566 6572 656e 6365 python Reference │ │ │ │ +00000e30: 204d 616e 7561 6cc2 a03c 2f74 643e 3c74 Manual....A Simp │ │ │ │ +00000ec0: 6c65 2045 7874 656e 7369 6f6e 3c2f 7464 le Extension
. │ │ │ ├── ./usr/share/doc/python3-caja/html/class-caja-python-column-provider.html │ │ │ │ @@ -0,0 +1,323 @@ │ │ │ │ +00000000: 3c68 746d 6c3e 3c68 6561 643e 3c6d 6574 < │ │ │ │ +00000050: 7469 746c 653e 4361 6a61 2e43 6f6c 756d title>Caja.Colum │ │ │ │ +00000060: 6e50 726f 7669 6465 723c 2f74 6974 6c65 nProvider │ │ │ │ +00000240: 3c62 6f64 7920 6267 636f 6c6f 723d 2277

< │ │ │ │ +00000480: 2f61 3e3c 6469 7620 636c 6173 733d 2274 /a>
│ │ │ │ +000004a0: 3c64 6976 2063 6c61 7373 3d22 7265 666e

Caja │ │ │ │ +000004c0: 2e43 6f6c 756d 6e50 726f 7669 6465 723c .ColumnProvider< │ │ │ │ +000004d0: 2f68 323e 3c70 3e43 616a 612e 436f 6c75 /h2>

Caja.Colu │ │ │ │ +000004e0: 6d6e 5072 6f76 6964 6572 20e2 8094 2043 mnProvider ... C │ │ │ │ +000004f0: 616a 612e 436f 6c75 6d6e 5072 6f76 6964 aja.ColumnProvid │ │ │ │ +00000500: 6572 2052 6566 6572 656e 6365 3c2f 703e er Reference

│ │ │ │ +00000510: 3c2f 6469 763e 3c64 6976 2063 6c61 7373

Synopsis

Caja │ │ │ │ +00000300: 2e43 6f6c 756d 6e50 726f 7669 6465 723c .ColumnProvider< │ │ │ │ +00000310: 2f74 683e 3c2f 7472 3e3c 7472 3e3c 7464 /th>
Prev.. │ │ │ │ +00000380: 3c2f 7464 3e3c 7468 2077 6964 7468 3d22 Provider Int │ │ │ │ +000003b0: 6572 6661 6365 733c 2f74 683e 3c74 6420 erfaces..Next
│ │ │ │ +00000580: 3c70 7265 2063 6c61 7373 3d22 636c 6173
class
│ │ │ │ +000005a0: 203c 7370 616e 2063 6c61 7373 3d22 6f6f   C
│ │ │ │ +000005d0: 616a 612e 436f 6c75 6d6e 5072 6f76 6964  aja.ColumnProvid
│ │ │ │ +000005e0: 6572 3c2f 7370 616e 3e3c 2f73 7061 6e3e  er
│ │ │ │ +000005f0: 3a0a 3c63 6f64 6520 636c 6173 733d 226d  :. 
│ │ │ │ +00000610: 2020 2064 6566 203c 7370 616e 2063 6c61     def 
│ │ │ │ +00000630: 3c61 2063 6c61 7373 3d22 6c69 6e6b 2220  g
│ │ │ │ +000006c0: 6574 5f63 6f6c 756d 6e73 3c2f 613e 3c2f  et_columns(
│ │ │ │ +000006f0: 3c2f 7370 616e 3e29 3c2f 636f 6465 3e3c  )<
│ │ │ │ +00000700: 6272 3e3c 2f70 7265 3e3c 2f74 643e 3c2f  br>

Description │ │ │ │ +00000770: 3c2f 6832 3e3c 703e 0a20 2020 2020 2020

. │ │ │ │ +00000780: 2049 6620 7375 6263 6c61 7373 6564 2c20 If subclassed, │ │ │ │ +00000790: 4361 6a61 2077 696c 6c20 7265 7175 6573 Caja will reques │ │ │ │ +000007a0: 7420 6120 6c69 7374 206f 6620 3c61 2063 t a list of Caj │ │ │ │ +00000810: 612e 436f 6c75 6d6e 3c2f 636f 6465 3e3c a.Column< │ │ │ │ +00000820: 2f61 3e20 0a20 2020 2020 2020 206f 626a /a> . obj │ │ │ │ +00000830: 6563 7473 2c20 7768 6963 6820 6172 6520 ects, which are │ │ │ │ +00000840: 7468 656e 2064 6973 706c 6179 6564 2077 then displayed w │ │ │ │ +00000850: 6865 6e20 7468 6520 7573 6572 2069 7320 hen the user is │ │ │ │ +00000860: 696e 203c 636f 6465 2063 6c61 7373 3d22 in List mode.. │ │ │ │ +00000890: 2020 200a 2020 2020 2020 2020 3c2f 703e .

│ │ │ │ +000008a0: 3c64 6976 2063 6c61 7373 3d22 6e6f 7465

Note

An │ │ │ │ +00000900: 2065 7874 656e 7369 6f6e 2073 7562 2d63 extension sub-c │ │ │ │ +00000910: 6c61 7373 696e 6720 3c61 2063 6c61 7373 lassing
Caja.C │ │ │ │ +00000990: 6f6c 756d 6e50 726f 7669 6465 723c 2f63 olumnProvider . │ │ │ │ +000009b0: 2020 7769 6c6c 2061 6c6d 6f73 7420 616c will almost al │ │ │ │ +000009c0: 7761 7973 2077 616e 7420 746f 2073 7562 ways want to sub │ │ │ │ +000009d0: 2d63 6c61 7373 203c 636f 6465 2063 6c61 -class C │ │ │ │ +000009f0: 616a 612e 496e 666f 5072 6f76 6964 6572 aja.InfoProvider │ │ │ │ +00000a00: 3c2f 636f 6465 3e20 0a20 2020 2020 2020 . │ │ │ │ +00000a10: 2061 7320 7765 6c6c 2c20 7369 6e63 6520 as well, since │ │ │ │ +00000a20: 7468 6174 2069 7320 686f 7720 616e 2065 that is how an e │ │ │ │ +00000a30: 7874 656e 7369 6f6e 2070 726f 7669 6465 xtension provide │ │ │ │ +00000a40: 7320 696e 666f 726d 6174 696f 6e20 666f s information fo │ │ │ │ +00000a50: 7220 6561 6368 2069 7465 6d20 696e 2061 r each item in a │ │ │ │ +00000a60: 2064 6972 6563 746f 7279 206c 6973 7469 directory listi │ │ │ │ +00000a70: 6e67 2e0a 2020 2020 2020 2020 3c2f 6469 ng..

.

│ │ │ │ +00000ad0: 4578 616d 706c 65c2 a032 2ec2 a043 616a Example..2...Caj │ │ │ │ +00000ae0: 612e 436f 6c75 6d6e 5072 6f76 6964 6572 a.ColumnProvider │ │ │ │ +00000af0: 2045 7861 6d70 6c65 3c2f 623e 3c2f 703e Example

│ │ │ │ +00000b00: 3c64 6976 2063 6c61 7373 3d22 6578 616d

.impor │ │ │ │ +00000b40: 7420 6f73 0a69 6d70 6f72 7420 7572 6c6c t os.import urll │ │ │ │ +00000b50: 6962 0a0a 6672 6f6d 2067 692e 7265 706f ib..from gi.repo │ │ │ │ +00000b60: 7369 746f 7279 2069 6d70 6f72 7420 4361 sitory import Ca │ │ │ │ +00000b70: 6a61 2c20 474f 626a 6563 740a 0a63 6c61 ja, GObject..cla │ │ │ │ +00000b80: 7373 2043 6f6c 756d 6e45 7874 656e 7369 ss ColumnExtensi │ │ │ │ +00000b90: 6f6e 2847 4f62 6a65 6374 2e47 4f62 6a65 on(GObject.GObje │ │ │ │ +00000ba0: 6374 2c20 4361 6a61 2e43 6f6c 756d 6e50 ct, Caja.ColumnP │ │ │ │ +00000bb0: 726f 7669 6465 722c 2043 616a 612e 496e rovider, Caja.In │ │ │ │ +00000bc0: 666f 5072 6f76 6964 6572 293a 0a20 2020 foProvider):. │ │ │ │ +00000bd0: 2064 6566 205f 5f69 6e69 745f 5f28 7365 def __init__(se │ │ │ │ +00000be0: 6c66 293a 0a20 2020 2020 2020 2070 6173 lf):. pas │ │ │ │ +00000bf0: 730a 2020 2020 0a20 2020 2064 6566 2067 s. . def g │ │ │ │ +00000c00: 6574 5f63 6f6c 756d 6e73 2873 656c 6629 et_columns(self) │ │ │ │ +00000c10: 3a0a 2020 2020 2020 2020 7265 7475 726e :. return │ │ │ │ +00000c20: 2043 616a 612e 436f 6c75 6d6e 286e 616d Caja.Column(nam │ │ │ │ +00000c30: 653d 2243 616a 6150 7974 686f 6e3a 3a62 e="CajaPython::b │ │ │ │ +00000c40: 6c6f 636b 5f73 697a 655f 636f 6c75 6d6e lock_size_column │ │ │ │ +00000c50: 222c 0a20 2020 2020 2020 2020 2020 2020 ",. │ │ │ │ +00000c60: 2020 2020 2020 2020 2020 2020 2020 2020 │ │ │ │ +00000c70: 2020 6174 7472 6962 7574 653d 2262 6c6f attribute="blo │ │ │ │ +00000c80: 636b 5f73 697a 6522 2c0a 2020 2020 2020 ck_size",. │ │ │ │ +00000c90: 2020 2020 2020 2020 2020 2020 2020 2020 │ │ │ │ +00000ca0: 2020 2020 2020 2020 206c 6162 656c 3d22 label=" │ │ │ │ +00000cb0: 426c 6f63 6b20 7369 7a65 222c 0a20 2020 Block size",. │ │ │ │ +00000cc0: 2020 2020 2020 2020 2020 2020 2020 2020 │ │ │ │ +00000cd0: 2020 2020 2020 2020 2020 2020 6465 7363 desc │ │ │ │ +00000ce0: 7269 7074 696f 6e3d 2247 6574 2074 6865 ription="Get the │ │ │ │ +00000cf0: 2062 6c6f 636b 2073 697a 6522 292c 0a0a block size"),.. │ │ │ │ +00000d00: 2020 2020 6465 6620 7570 6461 7465 5f66 def update_f │ │ │ │ +00000d10: 696c 655f 696e 666f 2873 656c 662c 2066 ile_info(self, f │ │ │ │ +00000d20: 696c 6529 3a0a 2020 2020 2020 2020 6966 ile):. if │ │ │ │ +00000d30: 2066 696c 652e 6765 745f 7572 695f 7363 file.get_uri_sc │ │ │ │ +00000d40: 6865 6d65 2829 2021 3d20 2766 696c 6527 heme() != 'file' │ │ │ │ +00000d50: 3a0a 2020 2020 2020 2020 2020 2020 7265 :. re │ │ │ │ +00000d60: 7475 726e 0a20 2020 2020 2020 200a 2020 turn. . │ │ │ │ +00000d70: 2020 2020 2020 6669 6c65 6e61 6d65 203d filename = │ │ │ │ +00000d80: 2075 726c 6c69 622e 756e 7175 6f74 6528 urllib.unquote( │ │ │ │ +00000d90: 6669 6c65 2e67 6574 5f75 7269 2829 5b37 file.get_uri()[7 │ │ │ │ +00000da0: 3a5d 290a 2020 2020 2020 2020 0a20 2020 :]). . │ │ │ │ +00000db0: 2020 2020 2066 696c 652e 6164 645f 7374 file.add_st │ │ │ │ +00000dc0: 7269 6e67 5f61 7474 7269 6275 7465 2827 ring_attribute(' │ │ │ │ +00000dd0: 626c 6f63 6b5f 7369 7a65 272c 2073 7472 block_size', str │ │ │ │ +00000de0: 286f 732e 7374 6174 2866 696c 656e 616d (os.stat(filenam │ │ │ │ +00000df0: 6529 2e73 745f 626c 6b73 697a 6529 290a e).st_blksize)). │ │ │ │ +00000e00: 2020 2020 3c2f 7072 653e 3c2f 6469 763e

│ │ │ │ +00000e10: 3c2f 6469 763e 3c62 7220 636c 6173 733d

│ │ │ │ +00000e30: 3c2f 6469 763e 3c64 6976 2063 6c61 7373

Passive Met │ │ │ │ +00000e70: 686f 6473 3c2f 6832 3e3c 6469 7620 636c hods

< │ │ │ │ +00000e90: 6120 6e61 6d65 3d22 6d65 7468 6f64 2d63 a name="method-c │ │ │ │ +00000ea0: 616a 612d 636f 6c75 6d6e 2d70 726f 7669 aja-column-provi │ │ │ │ +00000eb0: 6465 722d 2d67 6574 2d63 6f6c 756d 6e73 der--get-columns │ │ │ │ +00000ec0: 223e 3c2f 613e 3c68 333e 4361 6a61 2e43 ">

Caja.C │ │ │ │ +00000ed0: 6f6c 756d 6e50 726f 7669 6465 722e 6765 olumnProvider.ge │ │ │ │ +00000ee0: 745f 636f 6c75 6d6e 733c 2f68 333e 3c70 t_columns

def < │ │ │ │ +00000f30: 7370 616e 2063 6c61 7373 3d22 6d65 7468 span class="meth │ │ │ │ +00000f40: 6f64 6e61 6d65 223e 6765 745f 636f 6c75 odname">get_colu │ │ │ │ +00000f50: 6d6e 733c 2f73 7061 6e3e 283c 7370 616e mns() │ │ │ │ +00000ff0: 3c74 643e 3c70 3e3c 7370 616e 2063 6c61

Returns..:

a │ │ │ │ +00001050: 206c 6973 7420 6f66 203c 636f 6465 2063 list of C │ │ │ │ +00001070: 616a 612e 436f 6c75 6d6e 3c2f 636f 6465 aja.Column

. │ │ │ │ +000010a0: 2020 2020 2020 2020 2020 2054 6865 203c The < │ │ │ │ +000010b0: 636f 6465 2063 6c61 7373 3d22 6d65 7468 code class="meth │ │ │ │ +000010c0: 6f64 6e61 6d65 223e 6765 745f 636f 6c75 odname">get_colu │ │ │ │ +000010d0: 6d6e 733c 2f63 6f64 653e 2829 206d 6574 mns() met │ │ │ │ +000010e0: 686f 6420 7265 7475 726e 7320 6120 6c69 hod returns a li │ │ │ │ +000010f0: 7374 206f 660a 2020 2020 2020 2020 2020 st of. │ │ │ │ +00001100: 2020 3c61 2063 6c61 7373 3d22 6c69 6e6b Caja.Column.. │ │ │ │ +00001180: 2020 2020 203c 2f70 3e3c 2f64 6976 3e3c

< │ │ │ │ +00001190: 2f64 6976 3e3c 2f64 6976 3e3c 6469 7620 /div>