Exposed toolbar icon size option.
BIN
data/images/toolbar/default/large/shuffle.gif
Normal file
After Width: | Height: | Size: 141 B |
BIN
data/images/toolbar/default/large/shuffle.png
Normal file
After Width: | Height: | Size: 264 B |
BIN
data/images/toolbar/default/small/shuffle.gif
Normal file
After Width: | Height: | Size: 92 B |
BIN
data/images/toolbar/default/small/shuffle.png
Normal file
After Width: | Height: | Size: 218 B |
3
data/images/toolbar/human/info.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
Human icon set - https://launchpad.net/human-icon-theme/
|
||||
|
||||
Some icons modified to fit PySolFC. Icon set is used under a CC-BY-SA license.
|
BIN
data/images/toolbar/human/large/autodrop.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
data/images/toolbar/human/large/new.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
data/images/toolbar/human/large/open.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
data/images/toolbar/human/large/pause.png
Normal file
After Width: | Height: | Size: 742 B |
BIN
data/images/toolbar/human/large/quit.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
data/images/toolbar/human/large/redo.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
data/images/toolbar/human/large/restart.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
data/images/toolbar/human/large/rules.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
data/images/toolbar/human/large/save.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
data/images/toolbar/human/large/shuffle.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
data/images/toolbar/human/large/statistics.png
Normal file
After Width: | Height: | Size: 2 KiB |
BIN
data/images/toolbar/human/large/undo.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
data/images/toolbar/human/xlarge/autodrop.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
data/images/toolbar/human/xlarge/new.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
data/images/toolbar/human/xlarge/open.png
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
data/images/toolbar/human/xlarge/pause.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
data/images/toolbar/human/xlarge/quit.png
Normal file
After Width: | Height: | Size: 4.5 KiB |
BIN
data/images/toolbar/human/xlarge/redo.png
Normal file
After Width: | Height: | Size: 3 KiB |
BIN
data/images/toolbar/human/xlarge/restart.png
Normal file
After Width: | Height: | Size: 4.3 KiB |
BIN
data/images/toolbar/human/xlarge/rules.png
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
data/images/toolbar/human/xlarge/save.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
data/images/toolbar/human/xlarge/shuffle.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
data/images/toolbar/human/xlarge/statistics.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
data/images/toolbar/human/xlarge/undo.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
data/images/toolbar/remix/large/autodrop.png
Normal file
After Width: | Height: | Size: 454 B |
BIN
data/images/toolbar/remix/large/new.png
Normal file
After Width: | Height: | Size: 147 B |
BIN
data/images/toolbar/remix/large/open.png
Normal file
After Width: | Height: | Size: 238 B |
BIN
data/images/toolbar/remix/large/pause.png
Normal file
After Width: | Height: | Size: 126 B |
BIN
data/images/toolbar/remix/large/quit.png
Normal file
After Width: | Height: | Size: 280 B |
BIN
data/images/toolbar/remix/large/redo.png
Normal file
After Width: | Height: | Size: 396 B |
BIN
data/images/toolbar/remix/large/restart.png
Normal file
After Width: | Height: | Size: 548 B |
BIN
data/images/toolbar/remix/large/rules.png
Normal file
After Width: | Height: | Size: 630 B |
BIN
data/images/toolbar/remix/large/save.png
Normal file
After Width: | Height: | Size: 235 B |
BIN
data/images/toolbar/remix/large/shuffle.png
Normal file
After Width: | Height: | Size: 304 B |
BIN
data/images/toolbar/remix/large/statistics.png
Normal file
After Width: | Height: | Size: 278 B |
BIN
data/images/toolbar/remix/large/undo.png
Normal file
After Width: | Height: | Size: 389 B |
BIN
data/images/toolbar/remix/xlarge/autodrop.png
Normal file
After Width: | Height: | Size: 844 B |
BIN
data/images/toolbar/remix/xlarge/new.png
Normal file
After Width: | Height: | Size: 235 B |
BIN
data/images/toolbar/remix/xlarge/open.png
Normal file
After Width: | Height: | Size: 386 B |
BIN
data/images/toolbar/remix/xlarge/pause.png
Normal file
After Width: | Height: | Size: 226 B |
BIN
data/images/toolbar/remix/xlarge/quit.png
Normal file
After Width: | Height: | Size: 457 B |
BIN
data/images/toolbar/remix/xlarge/redo.png
Normal file
After Width: | Height: | Size: 770 B |
BIN
data/images/toolbar/remix/xlarge/restart.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
data/images/toolbar/remix/xlarge/rules.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
data/images/toolbar/remix/xlarge/save.png
Normal file
After Width: | Height: | Size: 389 B |
BIN
data/images/toolbar/remix/xlarge/shuffle.png
Normal file
After Width: | Height: | Size: 568 B |
BIN
data/images/toolbar/remix/xlarge/statistics.png
Normal file
After Width: | Height: | Size: 516 B |
BIN
data/images/toolbar/remix/xlarge/undo.png
Normal file
After Width: | Height: | Size: 734 B |
BIN
data/images/toolbar/tango/large/autodrop.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
data/images/toolbar/tango/large/new.png
Normal file
After Width: | Height: | Size: 1,008 B |
BIN
data/images/toolbar/tango/large/open.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
data/images/toolbar/tango/large/pause.png
Normal file
After Width: | Height: | Size: 481 B |
BIN
data/images/toolbar/tango/large/quit.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
data/images/toolbar/tango/large/redo.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
data/images/toolbar/tango/large/restart.png
Normal file
After Width: | Height: | Size: 2 KiB |
BIN
data/images/toolbar/tango/large/rules.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
data/images/toolbar/tango/large/save.png
Normal file
After Width: | Height: | Size: 890 B |
BIN
data/images/toolbar/tango/large/shuffle.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
data/images/toolbar/tango/large/statistics.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
data/images/toolbar/tango/large/undo.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
data/images/toolbar/tango/small/autodrop.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
data/images/toolbar/tango/small/new.png
Normal file
After Width: | Height: | Size: 801 B |
BIN
data/images/toolbar/tango/small/open.png
Normal file
After Width: | Height: | Size: 944 B |
BIN
data/images/toolbar/tango/small/pause.png
Normal file
After Width: | Height: | Size: 675 B |
BIN
data/images/toolbar/tango/small/quit.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
data/images/toolbar/tango/small/redo.png
Normal file
After Width: | Height: | Size: 865 B |
BIN
data/images/toolbar/tango/small/restart.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
data/images/toolbar/tango/small/rules.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
data/images/toolbar/tango/small/save.png
Normal file
After Width: | Height: | Size: 866 B |
BIN
data/images/toolbar/tango/small/shuffle.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
data/images/toolbar/tango/small/statistics.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
data/images/toolbar/tango/small/undo.png
Normal file
After Width: | Height: | Size: 1 KiB |
BIN
data/images/toolbar/tango/xlarge/autodrop.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
data/images/toolbar/tango/xlarge/new.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
data/images/toolbar/tango/xlarge/open.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
data/images/toolbar/tango/xlarge/pause.png
Normal file
After Width: | Height: | Size: 1 KiB |
BIN
data/images/toolbar/tango/xlarge/quit.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
data/images/toolbar/tango/xlarge/redo.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
data/images/toolbar/tango/xlarge/restart.png
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
data/images/toolbar/tango/xlarge/rules.png
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
data/images/toolbar/tango/xlarge/save.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
data/images/toolbar/tango/xlarge/shuffle.png
Normal file
After Width: | Height: | Size: 2 KiB |
BIN
data/images/toolbar/tango/xlarge/statistics.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
data/images/toolbar/tango/xlarge/undo.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
|
@ -3,7 +3,7 @@ msgstr ""
|
|||
"Project-Id-Version: PySol 0.0.1\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-12-10 10:19-0500\n"
|
||||
"PO-Revision-Date: 2022-01-20 21:43-0500\n"
|
||||
"PO-Revision-Date: 2022-02-08 22:31-0500\n"
|
||||
"Last-Translator: H. Schaekel <Holger.Schaekel@web.de>\n"
|
||||
"Language-Team: German\n"
|
||||
"Language: de\n"
|
||||
|
@ -4519,6 +4519,18 @@ msgstr "Karte suchen"
|
|||
msgid "Icon Style"
|
||||
msgstr ""
|
||||
|
||||
msgid "Icon Size"
|
||||
msgstr ""
|
||||
|
||||
msgid "Small icons"
|
||||
msgstr ""
|
||||
|
||||
msgid "Large icons"
|
||||
msgstr ""
|
||||
|
||||
msgid "Extra large icons"
|
||||
msgstr ""
|
||||
|
||||
#: pysollib/ui/tktile/menubar.py:35
|
||||
msgid "Compound"
|
||||
msgstr ""
|
||||
|
|
|
@ -8,7 +8,7 @@ msgstr ""
|
|||
"Project-Id-Version: 1.02\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-12-10 10:19-0500\n"
|
||||
"PO-Revision-Date: 2022-01-20 21:43-0500\n"
|
||||
"PO-Revision-Date: 2022-02-08 22:31-0500\n"
|
||||
"Last-Translator: Eric Rausch <neelix570@gmail.com>\n"
|
||||
"Language-Team: French\n"
|
||||
"Language: fr\n"
|
||||
|
@ -4571,6 +4571,18 @@ msgstr "Trouver carte"
|
|||
msgid "Icon Style"
|
||||
msgstr ""
|
||||
|
||||
msgid "Icon Size"
|
||||
msgstr ""
|
||||
|
||||
msgid "Small icons"
|
||||
msgstr ""
|
||||
|
||||
msgid "Large icons"
|
||||
msgstr ""
|
||||
|
||||
msgid "Extra large icons"
|
||||
msgstr ""
|
||||
|
||||
#: pysollib/ui/tktile/menubar.py:35
|
||||
msgid "Compound"
|
||||
msgstr "Affichage"
|
||||
|
|
|
@ -12,7 +12,7 @@ msgstr ""
|
|||
"Project-Id-Version: it_pysol\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-12-10 10:19-0500\n"
|
||||
"PO-Revision-Date: 2022-01-20 21:42-0500\n"
|
||||
"PO-Revision-Date: 2022-02-08 22:30-0500\n"
|
||||
"Last-Translator: Giuliano Colla <giuliano.colla@gmail.com>\n"
|
||||
"Language-Team: Italiano <it@li.org>\n"
|
||||
"Language: it\n"
|
||||
|
@ -4636,6 +4636,18 @@ msgstr "Trova carta"
|
|||
msgid "Icon Style"
|
||||
msgstr ""
|
||||
|
||||
msgid "Icon Size"
|
||||
msgstr ""
|
||||
|
||||
msgid "Small icons"
|
||||
msgstr ""
|
||||
|
||||
msgid "Large icons"
|
||||
msgstr ""
|
||||
|
||||
msgid "Extra large icons"
|
||||
msgstr ""
|
||||
|
||||
#: pysollib/ui/tktile/menubar.py:35
|
||||
msgid "Compound"
|
||||
msgstr "Composto"
|
||||
|
|
|
@ -8,7 +8,7 @@ msgstr ""
|
|||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-12-10 10:19-0500\n"
|
||||
"PO-Revision-Date: 2022-01-20 21:42-0500\n"
|
||||
"PO-Revision-Date: 2022-02-08 22:32-0500\n"
|
||||
"Last-Translator: Jerzy Trzeciak <artusek@wp.pl>\n"
|
||||
"Language-Team: Polish <pl@li.org>\n"
|
||||
"Language: pl\n"
|
||||
|
@ -4694,6 +4694,18 @@ msgstr "znajdź kartę"
|
|||
msgid "Icon Style"
|
||||
msgstr ""
|
||||
|
||||
msgid "Icon Size"
|
||||
msgstr ""
|
||||
|
||||
msgid "Small icons"
|
||||
msgstr ""
|
||||
|
||||
msgid "Large icons"
|
||||
msgstr ""
|
||||
|
||||
msgid "Extra large icons"
|
||||
msgstr ""
|
||||
|
||||
#: pysollib/ui/tktile/menubar.py:35
|
||||
msgid "Compound"
|
||||
msgstr "Układ"
|
||||
|
|
12
po/pysol.pot
|
@ -4326,6 +4326,18 @@ msgstr ""
|
|||
msgid "Icon Style"
|
||||
msgstr ""
|
||||
|
||||
msgid "Icon Size"
|
||||
msgstr ""
|
||||
|
||||
msgid "Small icons"
|
||||
msgstr ""
|
||||
|
||||
msgid "Large icons"
|
||||
msgstr ""
|
||||
|
||||
msgid "Extra large icons"
|
||||
msgstr ""
|
||||
|
||||
#: pysollib/ui/tktile/menubar.py:35
|
||||
msgid "Compound"
|
||||
msgstr ""
|
||||
|
|
|
@ -7,7 +7,7 @@ msgstr ""
|
|||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-12-10 10:19-0500\n"
|
||||
"PO-Revision-Date: 2022-01-20 21:42-0500\n"
|
||||
"PO-Revision-Date: 2022-02-08 22:29-0500\n"
|
||||
"Last-Translator: Skomoroh <skomoroh@gmail.com>\n"
|
||||
"Language-Team: Russian <ru@li.org>\n"
|
||||
"Language: ru\n"
|
||||
|
@ -4660,6 +4660,18 @@ msgstr "Найти карту"
|
|||
msgid "Icon Style"
|
||||
msgstr ""
|
||||
|
||||
msgid "Icon Size"
|
||||
msgstr ""
|
||||
|
||||
msgid "Small icons"
|
||||
msgstr "Маленькие пиктограммы"
|
||||
|
||||
msgid "Large icons"
|
||||
msgstr "Большие пиктограммы"
|
||||
|
||||
msgid "Extra large icons"
|
||||
msgstr ""
|
||||
|
||||
#: pysollib/ui/tktile/menubar.py:35
|
||||
msgid "Compound"
|
||||
msgstr "Компоновка"
|
||||
|
@ -5384,9 +5396,3 @@ msgstr "Настроить шрифт"
|
|||
|
||||
#~ msgid "Style"
|
||||
#~ msgstr "Стиль"
|
||||
|
||||
#~ msgid "Small icons"
|
||||
#~ msgstr "Маленькие пиктограммы"
|
||||
|
||||
#~ msgid "Large icons"
|
||||
#~ msgstr "Большие пиктограммы"
|
||||
|
|
|
@ -585,7 +585,9 @@ class Application:
|
|||
return self._getImagesDir('cards')
|
||||
|
||||
def getToolbarImagesDir(self):
|
||||
if self.opt.toolbar_size:
|
||||
if self.opt.toolbar_size == 2:
|
||||
size = 'xlarge'
|
||||
elif self.opt.toolbar_size == 1:
|
||||
size = 'large'
|
||||
else:
|
||||
size = 'small'
|
||||
|
|
|
@ -96,7 +96,7 @@ toolbar = integer(0, 4)
|
|||
toolbar_style = string
|
||||
toolbar_relief = string
|
||||
toolbar_compound = string
|
||||
toolbar_size = integer(0, 1)
|
||||
toolbar_size = integer(0, 2)
|
||||
statusbar = boolean
|
||||
statusbar_game_number = boolean
|
||||
statusbar_stuck = boolean
|
||||
|
|
|
@ -32,6 +32,16 @@ def createToolbarMenu(menubar, menu):
|
|||
label=name,
|
||||
variable=menubar.tkopt.toolbar_style,
|
||||
value=f, command=menubar.mOptToolbarStyle)
|
||||
submenu = MfxMenu(menu, label=n_('Icon Size'), tearoff=tearoff)
|
||||
submenu.add_radiobutton(label=n_("Small icons"),
|
||||
variable=menubar.tkopt.toolbar_size, value=0,
|
||||
command=menubar.mOptToolbarSize)
|
||||
submenu.add_radiobutton(label=n_("Large icons"),
|
||||
variable=menubar.tkopt.toolbar_size, value=1,
|
||||
command=menubar.mOptToolbarSize)
|
||||
# submenu.add_radiobutton(label=n_("Extra large icons"),
|
||||
# variable=menubar.tkopt.toolbar_size, value=2,
|
||||
# command=menubar.mOptToolbarSize)
|
||||
submenu = MfxMenu(menu, label=n_('Compound'), tearoff=tearoff)
|
||||
for comp, label in COMPOUNDS:
|
||||
submenu.add_radiobutton(
|
||||
|
@ -59,13 +69,6 @@ def createToolbarMenu(menubar, menu):
|
|||
menu.add_radiobutton(label=n_("Right"),
|
||||
variable=menubar.tkopt.toolbar, value=4,
|
||||
command=menubar.mOptToolbar)
|
||||
# menu.add_separator()
|
||||
# menu.add_radiobutton(label=n_("Small icons"),
|
||||
# variable=menubar.tkopt.toolbar_size, value=0,
|
||||
# command=menubar.mOptToolbarSize)
|
||||
# menu.add_radiobutton(label=n_("Large icons"),
|
||||
# variable=menubar.tkopt.toolbar_size, value=1,
|
||||
# command=menubar.mOptToolbarSize)
|
||||
|
||||
|
||||
# ************************************************************************
|
||||
|
|