From: Philip Chimento Date: Tue, 1 Mar 2011 20:51:33 +0000 (+0100) Subject: Added new preferences and settings X-Git-Tag: v0.9~131 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=0dda9aadef69d5ec4a49ee922daf0dc9de3580ed;p=projects%2Fchimara%2Fchimara.git Added new preferences and settings Added some new widgets to the preferences dialog and some settings to go with them. --- diff --git a/player/chimara.ui b/player/chimara.ui index be9651b..35681da 100644 --- a/player/chimara.ui +++ b/player/chimara.ui @@ -4,75 +4,77 @@ - - _Toolbar - Show a toolbar at the top of the window - + + _Game + _Game - - _View + + _Open... + _Open + Quit the current game and load a new one + gtk-media-play + + - - _About... - _About - About this application - gtk-about - + + _Restore... + _Restore + Restore a previously saved game + gtk-open + + - - _Help - _Help + + _Save + _Save + Save the game + gtk-save + - - P_references - P_references - Configure the application - gtk-preferences - + + _Quit Chimara + _Quit Chimara + Leave the program + gtk-quit + - - _Paste - _Paste - Paste the clipboard - gtk-paste - + + _Command + _Command - - _Copy - _Copy - Copy the selection - gtk-copy - + + _Edit + _Edit - - _Quit - _Quit - Try to quit the game - gtk-media-stop - + + _Stop Game + _Stop + Immediately stop the running game + gtk-stop + - - Res_tart - Res_tart - Tell the game to restart - gtk-media-rewind - + + Open _Recent + Open _Recent + 10 + mru + @@ -86,105 +88,104 @@ - - Open _Recent - Open _Recent - 10 - mru - + + Res_tart + Res_tart + Tell the game to restart + gtk-media-rewind + - - _Stop Game - _Stop - Immediately stop the running game - gtk-stop - + + _Quit + _Quit + Try to quit the game + gtk-media-stop + - - _Edit - _Edit + + _Copy + _Copy + Copy the selection + gtk-copy + - - _Command - _Command + + _Paste + _Paste + Paste the clipboard + gtk-paste + - - _Quit Chimara - _Quit Chimara - Leave the program - gtk-quit - + + P_references + P_references + Configure the application + gtk-preferences + - - _Save - _Save - Save the game - gtk-save - + + _Help + _Help - - _Restore... - _Restore - Restore a previously saved game - gtk-open - + + _About... + _About + About this application + gtk-about + - - - _Open... - _Open - Quit the current game and load a new one - gtk-media-play - + + _View - - - _Game - _Game + + _Toolbar + Show a toolbar at the top of the window + - - _Center - _Center - gtk-justify-center - + + Align _left + Align _left + Align text to the left + gtk-justify-left + - - _Underline - _Underline - Underline the text - gtk-underline - + + Align _justify + Align _justify + Justify the text + gtk-justify-fill + - - _Italic - _Italic - Print the text in italics - gtk-italic - + + Align _right + Align _right + Align text to the right + gtk-justify-right + @@ -197,30 +198,29 @@ - - Align _right - Align _right - Align text to the right - gtk-justify-right - + + _Italic + _Italic + Print the text in italics + gtk-italic + - - Align _justify - Align _justify - Justify the text - gtk-justify-fill - + + _Underline + _Underline + Underline the text + gtk-underline + - - Align _left - Align _left - Align text to the left - gtk-justify-left - + + _Center + _Center + gtk-justify-center + @@ -305,6 +305,14 @@ Philip Chimento + + + + + + + + False 5 @@ -323,35 +331,6 @@ Philip Chimento True False end - - - gtk-save - True - True - True - False - True - - - False - False - 0 - - - - - Reset - True - True - True - False - - - False - False - 1 - - gtk-close @@ -365,7 +344,7 @@ Philip Chimento False False - 2 + 0 @@ -381,15 +360,56 @@ Philip Chimento True True - + True - True + False + 6 + 6 - + True False - Turn on flepping + 0 + none + + + True + False + 12 + + + Turn on _flepping + True + True + False + Whether to flep or not when gronking a bloop. + False + True + True + + + + + + + True + False + <b>General settings</b> + True + + + + False + False + 0 + + + + + + + @@ -407,6 +427,8 @@ Philip Chimento True False + 6 + 6 True @@ -612,6 +634,7 @@ Philip Chimento True False + False Align _left True gtk-justify-left @@ -625,6 +648,7 @@ Philip Chimento True False + False Align _center True gtk-justify-center @@ -638,6 +662,7 @@ Philip Chimento True False + False Align _right True gtk-justify-right @@ -651,6 +676,7 @@ Philip Chimento True False + False Align _justify True gtk-justify-fill @@ -674,6 +700,7 @@ Philip Chimento True False + False _Bold True gtk-bold @@ -687,6 +714,7 @@ Philip Chimento True False + False _Italic True gtk-italic @@ -700,6 +728,7 @@ Philip Chimento True False + False _Underline True gtk-underline @@ -796,14 +825,93 @@ Philip Chimento True False + 6 + 6 - - - - + + True + False + 0 + none + + + True + False + 12 + + + True + True + automatic + automatic + + + True + True + Which interpreter to use by default for each story format + interpreters + False + False + True + + + + + + + + + True + False + <b>Preferred interpreters</b> + True + + + + + True + True + 0 + - + + True + False + 6 + + + True + False + Look for _resource files in: + True + blorb_file_chooser + + + False + False + 0 + + + + + True + False + Where to look for Blorb resource files containing graphics and sound; normally, these are part of the story file itself, but they are provided as separate files in some older games. + select-folder + + + True + True + 1 + + + + + False + False + 1 + @@ -831,8 +939,6 @@ Philip Chimento - button1 - button2 button-close diff --git a/player/org.chimara-if.gschema.xml b/player/org.chimara-if.gschema.xml index 301a9aa..22f79ff 100644 --- a/player/org.chimara-if.gschema.xml +++ b/player/org.chimara-if.gschema.xml @@ -18,6 +18,24 @@ + + nothing + Resource path + + Where to look for Blorb resource files containing graphics and sound; + normally, these are part of the story file itself, but they are provided + as separate files in some older games. + + + + + [{'z5', 'frotz'}, {'z6', 'nitfol'}] + Preferred interpreters + + Preferred interpreters for opening each format of story file. + + +