Check-in [8d9c22d6bb]
Overview
SHA1: | 8d9c22d6bb364f48911b58cb17131a481d8a8e3e |
---|---|
Date: | 2016-12-04 16:39:55 |
User: | mario |
Comment: | Bundle librezlooks.dll for default Windows PyGtk install. |
Timelines: | family | ancestors | descendants | both | trunk |
Downloads: | Tarball | ZIP archive |
Other Links: | files | file ages | folders | manifest |
Tags And Properties
- branch=trunk inherited from [0732311dbe]
- sym-trunk inherited from [0732311dbe]
Context
2016-12-04
| ||
17:34 | [4fbffabae1] Fix file copying. (user: mario, tags: trunk) | |
16:39 | [8d9c22d6bb] Bundle librezlooks.dll for default Windows PyGtk install. (user: mario, tags: trunk) | |
15:16 | [312e95294d] Bundle Rezlooks-dark theme for Windows. (user: mario, tags: trunk) | |
Changes
Modified README from [dcbecb8051] to [89ac5b1acb].
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
...
178
179
180
181
182
183
184
185
|
PYZ --- Other users may wish to try the new Python archive (.PYZ) instead. Which requires little installation and can be run asis: python streamtuner-2.1.5.pyz You could even make this Python ZIP executable, and copy it in your PATH. Manual installation ------------------- If you've checked out the source code repository, or did download the *.src.txz archive, then you can just run it right there: ................................................................................ License ------- Public Domain. (Unrestricted copying, modification, etc.) If you wish you could thus redistribute it under a BSD/MIT or even GNU-style license. |
|
>
>
>
>
>
>
>
>
>
>
>
>
>
|
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
...
188
189
190
191
192
193
194
195
196
197
198
|
PYZ --- Other users may wish to try the new Python archive (.PYZ) instead. Which requires little installation and can be run asis: python streamtuner2.pyz You could even make this Python ZIP executable, and copy it in your PATH. EXE --- The Windows SFX package can meanwhile post-install Python and Gtk. It's well-tested and even comes with an uninstaller. The default path of "C:/" would create a standard Linux-esque C:/usr/bin directory structure. But the package is relocatable, so allows to be unpacked even under "c:\program files\st2\" or else. Manual installation ------------------- If you've checked out the source code repository, or did download the *.src.txz archive, then you can just run it right there: ................................................................................ License ------- Public Domain. (Unrestricted copying, modification, etc.) If you wish you could thus redistribute it under a BSD/MIT or even GNU-style license. (!) Plugins that fall under other licenses always carry a custom `# license: …` comment. |
Modified contrib/disabled/win_theme_rezlooks.py from [1bd85b04a1] to [0098cea19a].
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
...
241
242
243
244
245
246
247
248
|
# api: streamtuner2 # title: Default Windows theme # description: Use "Rezlooks-dark" as default theme on Windows for SFX/EXE installer # type: feature # category: ui # priority: default # pack: win_theme_rezlooks.py=../channels/ # version: -1 # author: Doug Whiteley # license: GNU GPL # # Sets a dark Gtk theme on Windows per default. To disable, simply # uncheck this plugin. The standard rendering will take hold after # a restart. # Other themes can be used with the `gtk_theme` plugin easily. import os from config import * import uikit from compat2and3 import * # register a key class win_theme_rezlooks(object): # plugin info module = "win_theme_rezlooks" meta = plugin_meta() theme_dirs = [uikit.gtk.rc_get_theme_dir(), conf.dir + "/themes", conf.share + "/themes"] # use builtin .GTKRC def __init__(self, parent): uikit.gtk.rc_parse_string(self.gtkrc) uikit.gtk.rc_reparse_all() gtkrc = """ style "rezlooks-default" { GtkButton::default_border = { 0, 0, 0, 0 } GtkButton::default_outside_border = { 0, 0, 0, 0 } GtkRange::trough_border = 0 ................................................................................ widget_class "*.GtkNotebook.*.GtkViewport" style "rezlooks-notebook" # evolution widget_class "*GtkCTree*" style "evolution-hack" widget_class "*GtkList*" style "evolution-hack" widget_class "*GtkCList*" style "evolution-hack" widget_class "*.ETree.*" style "evolution-hack" """ |
>
>
>
|
|
>
>
>
>
>
>
>
>
|
|
>
>
>
>
>
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
...
256
257
258
259
260
261
262
263
264
|
# api: streamtuner2 # title: Default Windows theme # description: Use "Rezlooks-dark" as default theme on Windows for SFX/EXE installer # type: feature # category: ui # priority: default # pack: win_theme_rezlooks.py=../channels/ # depends: librezlooks.dll # version: -1 # author: Doug Whiteley # license: GNU GPL # # Sets a dark Gtk theme on Windows per default. To disable, simply # uncheck this plugin. The standard rendering will take hold after # a restart. # Other themes can be used with the `gtk_theme` plugin easily. # # (!) Only works with `librezlooks.dll` in place however. import os from config import * from uikit import gtk from compat2and3 import * # register a key class win_theme_rezlooks(object): # plugin info module = "win_theme_rezlooks" meta = plugin_meta() gtk_dll = 'C:\\Python27\\Lib\\site-packages\\gtk-2.0\\runtime\\lib\\gtk-2.0\\2.10.0\\engines\\librezlooks.dll' gtk_dll_src = '%s/dev/librezlooks.dll' % conf.share # use builtin .GTKRC def __init__(self, parent): # assert gtk-engine is there, else copy it over if not os.path.exists(self.gtk_dll): if os.path.exists(self.gtk_dll_src) os.copy(self.gtk_dll_src, self.gtk_dll) else: return # apply theme gtk.rc_parse_string(self.gtkrc) gtk.rc_reparse_all() # probably redundant: gtk.rc_reset_styles(gtk.settings_get_for_screen(gtk.gdk.screen_get_default())) parent.win_streamtuner2.queue_draw() # theme settings gtkrc = """ style "rezlooks-default" { GtkButton::default_border = { 0, 0, 0, 0 } GtkButton::default_outside_border = { 0, 0, 0, 0 } GtkRange::trough_border = 0 ................................................................................ widget_class "*.GtkNotebook.*.GtkViewport" style "rezlooks-notebook" # evolution widget_class "*GtkCTree*" style "evolution-hack" widget_class "*GtkList*" style "evolution-hack" widget_class "*GtkCList*" style "evolution-hack" widget_class "*.ETree.*" style "evolution-hack" """ |
Added dev/librezlooks.dll version [8eafebe3dc].
cannot compute difference between binary files