Mailinglist Archive: yast-commit (723 mails)

< Previous Next >
[yast-commit] r47483 - in /trunk: libyui/src/YApplication.h ncurses/src/NCApplication.cc ncurses/src/NCApplication.h ncurses/src/YNCursesUI.cc ncurses/src/YNCursesUI.h ycp-ui-bindings/src/YCP_UI.cc
  • From: sh-sh-sh@xxxxxxxxxxxxxxxx
  • Date: Tue, 13 May 2008 11:30:28 -0000
  • Message-id: <20080513113028.B2C9131459@xxxxxxxxxxxxxxxx>
Author: sh-sh-sh
Date: Tue May 13 13:30:28 2008
New Revision: 47483

URL: http://svn.opensuse.org/viewcvs/yast?rev=47483&view=rev
Log:
Renamed setConsoleFont() parameter

Modified:
trunk/libyui/src/YApplication.h
trunk/ncurses/src/NCApplication.cc
trunk/ncurses/src/NCApplication.h
trunk/ncurses/src/YNCursesUI.cc
trunk/ncurses/src/YNCursesUI.h
trunk/ycp-ui-bindings/src/YCP_UI.cc

Modified: trunk/libyui/src/YApplication.h
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/libyui/src/YApplication.h?rev=47483&r1=47482&r2=47483&view=diff
==============================================================================
--- trunk/libyui/src/YApplication.h (original)
+++ trunk/libyui/src/YApplication.h Tue May 13 13:30:28 2008
@@ -310,7 +310,7 @@
const string & font,
const string & screen_map,
const string & unicode_map,
- const string & encoding )
+ const string & language )
{}

/**

Modified: trunk/ncurses/src/NCApplication.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/NCApplication.cc?rev=47483&r1=47482&r2=47483&view=diff
==============================================================================
--- trunk/ncurses/src/NCApplication.cc (original)
+++ trunk/ncurses/src/NCApplication.cc Tue May 13 13:30:28 2008
@@ -138,7 +138,7 @@
const string & font,
const string & screen_map,
const string & unicode_map,
- const string & encoding )
+ const string & language )
{
/**
* Moving that code from YNCursesUI to this class turned out to be
@@ -151,7 +151,7 @@
font,
screen_map,
unicode_map,
- encoding );
+ language );
}



Modified: trunk/ncurses/src/NCApplication.h
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/NCApplication.h?rev=47483&r1=47482&r2=47483&view=diff
==============================================================================
--- trunk/ncurses/src/NCApplication.h (original)
+++ trunk/ncurses/src/NCApplication.h Tue May 13 13:30:28 2008
@@ -147,7 +147,7 @@
const string & font,
const string & screen_map,
const string & unicode_map,
- const string & encoding );
+ const string & language );

/**
* Run a shell command (typically an interactive program using NCurses)

Modified: trunk/ncurses/src/YNCursesUI.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/YNCursesUI.cc?rev=47483&r1=47482&r2=47483&view=diff
==============================================================================
--- trunk/ncurses/src/YNCursesUI.cc (original)
+++ trunk/ncurses/src/YNCursesUI.cc Tue May 13 13:30:28 2008
@@ -330,7 +330,7 @@
const string & font,
const string & screen_map,
const string & unicode_map,
- const string & encoding )
+ const string & lang )
{
string cmd( "setfont" );
cmd += " -C " + myTerm;
@@ -370,7 +370,7 @@

if ( NCstring::terminalEncoding() != "UTF-8" )
{
- string language = YUI::app()->language();
+ string language = lang;
string::size_type pos = language.find( '.' );

if ( pos != string::npos )

Modified: trunk/ncurses/src/YNCursesUI.h
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/ncurses/src/YNCursesUI.h?rev=47483&r1=47482&r2=47483&view=diff
==============================================================================
--- trunk/ncurses/src/YNCursesUI.h (original)
+++ trunk/ncurses/src/YNCursesUI.h Tue May 13 13:30:28 2008
@@ -112,7 +112,7 @@
const string & font,
const string & screen_map,
const string & unicode_map,
- const string & encoding );
+ const string & lang );

/**
* Fills the PackageSelector widget and runs package selection.

Modified: trunk/ycp-ui-bindings/src/YCP_UI.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/ycp-ui-bindings/src/YCP_UI.cc?rev=47483&r1=47482&r2=47483&view=diff
==============================================================================
--- trunk/ycp-ui-bindings/src/YCP_UI.cc (original)
+++ trunk/ycp-ui-bindings/src/YCP_UI.cc Tue May 13 13:30:28 2008
@@ -188,7 +188,7 @@
* @param string font
* @param string screen_map
* @param string unicode_map
- * @param string encoding
+ * @param string language
* @return void
*
* @usage SetConsoleFont( "( K", "lat2u-16.psf", "latin2u.scrnmap",
"lat2u.uni", "latin1" )
@@ -198,13 +198,13 @@
const YCPString & font,
const YCPString & screen_map,
const YCPString & unicode_map,
- const YCPString & encoding )
+ const YCPString & language )
{
YUI::app()->setConsoleFont( console_magic->value(),
font->value(),
screen_map->value(),
unicode_map->value(),
- encoding->value() );
+ language->value() );
}



--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages