[Konsole-devel] [Bug 80046] JJ: possibility to choose the client character encoding, like in gnome-terminal

Kurt V.Hindenburg kurt.hindenburg at kdemail.net
Tue Jan 18 17:26:56 UTC 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=80046         




------- Additional Comments From kurt.hindenburg kdemail net  2005-01-18 18:26 -------
Why isn't the Encoding saved in konsolerc?  
Changing the Encoding to Default prints this:
konsole: Codec Default not found!

I also plan to commit this, which adds the icon next to the menu item:

RCS file: /home/kde/kdebase/konsole/konsole/konsole.cpp,v
retrieving revision 1.498
diff -u -p -r1.498 konsole.cpp
--- konsole.cpp 16 Jan 2005 12:58:21 -0000      1.498
+++ konsole.cpp 18 Jan 2005 17:17:00 -0000
 @ -632,12 +632,11  @ void Konsole::makeGUI()
       selectFont->plug(m_options);

       // encoding menu, start with default checked !
-      selectSetEncoding = new KSelectAction(i18n("&Encoding"), 0, actions, "set_encoding");
+      selectSetEncoding = new KSelectAction( i18n( "&Encoding" ), SmallIconSet( "charset" ), 0, this, SLOT(slotSetEncoding()), actions, "set_encoding" );
       QStringList list = KGlobal::charsets()->descriptiveEncodingNames();
       list.prepend( i18n( "Default" ) );
       selectSetEncoding->setItems(list);
       selectSetEncoding->setCurrentItem (0);
-      connect(selectSetEncoding, SIGNAL(activated()), SLOT(slotSetEncoding()));
       selectSetEncoding->plug(m_options);

       if (kapp->authorizeKAction("keyboard"))



More information about the konsole-devel mailing list