[anaconda][rhel7-branch][PATCH] Leave the titlebar blank (if any)
by Martin Kolman
Since 1231856 has been fixed we no longer run the Anaconda window in fullscreen.
This has the side effect of showing the titlebar unless disabled by a configuration
hack in the window manager. This works for Anaconda running in the installation environment
but Initial Setup, which is running after the installation on the installed system
still has the titlebar with the ugly "__init__.py" default text.
The patch sets the titlebar text to "", so while the titlebar will still be there in Initial Setup,
it at least won't have the ugly default text text.
BTW, I thin that also any attempt to run the Anaconda GUI manually, such as for image building,
will also result in the ugly titlebar text. So the patch should also help for this use case.
Martin Kolman (1):
Disable text on titlebar (#1267203)
pyanaconda/ui/gui/__init__.py | 6 ++++++
1 file changed, 6 insertions(+)
--
2.4.3
8 years, 7 months
[anaconda][master][PATCH] Properly translate c-to-continue on the root selection screen
by Martin Kolman
Prevent partial translations from breaking the UI & provide
translation context and guidance comment for translators.
Signed-off-by: Martin Kolman <mkolman(a)redhat.com>
---
pyanaconda/rescue.py | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/pyanaconda/rescue.py b/pyanaconda/rescue.py
index a016350..74b9d06 100644
--- a/pyanaconda/rescue.py
+++ b/pyanaconda/rescue.py
@@ -26,7 +26,7 @@ from pyanaconda import iutil
from pyanaconda.constants import ANACONDA_CLEANUP
from pyanaconda.constants_text import INPUT_PROCESSED
from pyanaconda.flags import flags
-from pyanaconda.i18n import _, N_
+from pyanaconda.i18n import _, N_, C_
from pyanaconda.kickstart import runPostScripts
from pyanaconda.ui.tui.simpleline import TextWidget, ColumnWidget, CheckboxWidget
from pyanaconda.ui.tui.spokes import NormalTUISpoke
@@ -293,8 +293,11 @@ class RootSpoke(NormalTUISpoke):
def prompt(self, args=None):
""" Override the default TUI prompt."""
- return _("Please make your selection from the above list.\nPress 'c' "
- "to continue after you have made your selection. ")
+ return _("Please make your selection from the above list.\nPress '%(continue)s' "
+ "to continue after you have made your selection. ") % {
+ # TRANSLATORS:'c' to continue
+ 'continue': C_('TUI|Root Selection', 'c'),
+ }
def input(self, args, key):
"""Move along home."""
--
2.4.3
8 years, 7 months
New: [rhinstaller/anaconda/pulls/383 master] don't delete shared/boot parts in deleteAll (#1183880)
by dashea
This is one potential approach to help with #1183880 . It
changes the deleteAll behaviour as follows:
* Partitions known to be shared with other OSes won't be deleted
* Boot partitions won't be deleted if there are unknown parts
You can delete these partitions only by specifically targeting
them. It also adds a variant of the ConfirmDeleteDialog for
boot partitions, with text specifically explaining that they
might be needed for other OSes to boot.
This is my alternative to #377 - I'm just providing it as an option. We could pull the ConfirmDeleteDialog change out of this as a standalone to go along with dlehman's minimal change to the 'delete other partitions' text, also?
--
To view this pull request on github, visit https://github.com/rhinstaller/anaconda/pull/383
8 years, 7 months