Bugzilla – Attachment 65925 Details for
Bug 146435
apparmor ncurses yast dialogs truncate long lines
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
Fix non-wrapping dialog
yast-non-wrapping-error.patch (text/plain), 5.95 KB, created by
Steve Beattie
on 2006-01-31 18:57:47 UTC
(
hide
)
Description:
Fix non-wrapping dialog
Filename:
MIME Type:
Creator:
Steve Beattie
Created:
2006-01-31 18:57:47 UTC
Size:
5.95 KB
patch
obsolete
>[https://bugzilla.novell.com/show_bug.cgi?id=146435] > >This patch fixes an error dialog that didn't wrap and thus went off the >screen in both gui and ncurses mode. It also fixes the speeling of >synchronization and eliminates some whitespace. > >There are lots of lines within the yast source that are longer than >150 characters, but most that emit dialog text appear to be formatted >correctly on display. > > SubDomain/yastui/src/agents/ag_genprof | 10 +++++++++- > SubDomain/yastui/src/clients/GenProf.ycp | 4 ++-- > SubDomain/yastui/src/clients/LogProf.ycp | 24 ++++++++++++------------ > 3 files changed, 23 insertions(+), 15 deletions(-) > >Index: immunix/SubDomain/yastui/src/agents/ag_genprof >=================================================================== >--- immunix.orig/SubDomain/yastui/src/agents/ag_genprof >+++ immunix/SubDomain/yastui/src/agents/ag_genprof >@@ -140,7 +140,15 @@ readconfig(); > # not allowed to have it's own profile > if($qualifiers{$fqdbin}) { > unless($qualifiers{$fqdbin} =~ /p/) { >- fatal_error(sprintf(gettext("\%s is currently marked as a program that should not have it's own profile. Usually, programs are marked this way if creating a profile for them is likely to break the rest of the system. If you know what you're doing and are certain you want to create a profile for this program, edit the corresponding entry in the [qualifiers] section in /etc/apparmor/logprof.conf."), $fqdbin)); >+ fatal_error(sprintf(gettext( >+"\%s is currently marked as a program that should not have >+it's own profile. Usually, programs are marked this way >+if creating a profile for them is likely to break the >+rest of the system. If you know what you're doing and >+are certain you want to create a profile for this program, >+edit the corresponding entry in the [qualifiers] section >+in /etc/apparmor/logprof.conf." >+ ), $fqdbin)); > } > } > >Index: immunix/SubDomain/yastui/src/clients/GenProf.ycp >=================================================================== >--- immunix.orig/SubDomain/yastui/src/clients/GenProf.ycp >+++ immunix/SubDomain/yastui/src/clients/GenProf.ycp >@@ -40,7 +40,7 @@ > type = (string) agent_data["type"]:"handshake_error"; > status = (string) agent_data["status"]:"handshake_error"; > if((type != "initial_handshake") || (status != "backend_starting")) { >- Popup::Error(_("Syncronization error between frontend and backend.")); >+ Popup::Error(_("Synchronization error between frontend and backend.")); > done = true; > return; > } >@@ -59,7 +59,7 @@ > > string type = (string) agent_data["type"]:"error"; > if(type == "initial_handshake") { >- Popup::Error(_("Syncronization error between frontend and backend.")); >+ Popup::Error(_("Synchronization error between frontend and backend.")); > done = true; > return; > } >Index: immunix/SubDomain/yastui/src/clients/LogProf.ycp >=================================================================== >--- immunix.orig/SubDomain/yastui/src/clients/LogProf.ycp >+++ immunix/SubDomain/yastui/src/clients/LogProf.ycp >@@ -40,7 +40,7 @@ > type = (string) agent_data["type"]:"handshake_error"; > status = (string) agent_data["status"]:"handshake_error"; > if((type != "initial_handshake") || (status != "backend_starting")) { >- Popup::Error(_("Syncronization error between frontend and backend.")); >+ Popup::Error(_("Synchronization error between frontend and backend.")); > done = true; > return; > } >@@ -59,7 +59,7 @@ > > string type = (string) agent_data["type"]:"error"; > if(type == "initial_handshake") { >- Popup::Error(_("Syncronization error between frontend and backend.")); >+ Popup::Error(_("Synchronization error between frontend and backend.")); > done = true; > return; > } >@@ -104,7 +104,7 @@ > to be unlinked (removed.) > <br> > <br> >- >+ > > <b>Unconfined execute mode</b><br> > >@@ -117,8 +117,8 @@ > > This mode is useful when a confined program needs to > be able to perform a privileged operation, such as >- rebooting the machine. By placing the privileged section >- in another executable and granting unconfined execution rights, >+ rebooting the machine. By placing the privileged section >+ in another executable and granting unconfined execution rights, > it is possible to bypass the mandatory > constraints imposed on all confined processes. > For more information on what is constrained, see the >@@ -148,17 +148,17 @@ > similar to that used by popular shells, such as csh(1), > bash(1), zsh(1). > <br> >- >+ > <ul> > <li><b>*</b> can substitute for any number of characters, excepting > '/'<li> >- >+ > <li><b>**</b> can substitute for any number of characters, including '/'</li> >- >- >- <li><b>?</b> can substitute for any single character excepting '/'</li> >- <li><b>[abc]</b> will substitute for the single character a, b, or c</li> >- <li><b>[a-c]</b> will substitute for the single character a, b, or c</li> >+ >+ >+ <li><b>?</b> can substitute for any single character excepting '/'</li> >+ <li><b>[abc]</b> will substitute for the single character a, b, or c</li> >+ <li><b>[a-c]</b> will substitute for the single character a, b, or c</li> > <li><b>{ab,cd}</b> will expand to one rule to match ab, one rule to match cd</li>\n > </ul>"); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 146435
:
65534
|
65907
| 65925