[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    [PATCH] add"action-charset" icons to KMail "Set Encoding" menu items
From:       Marc Mutz <Marc.Mutz () uni-bielefeld ! de>
Date:       2001-07-25 16:21:05
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

Subject says it all. I don't know though, whether this icon is designed 
for that (as the name suggests) or for "insert character" (as suggested 
by Konqi not using it in it's menu). Therefore Cc: kfm-devel.

Marc

- -- 
Marc Mutz <Marc@Mutz.com>
http://marc.mutz.com/
http://www.mathematik.uni-bielefeld.de/~mmutz/
http://EncryptionHOWTO.sourceforge.net/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7XvH+3oWD+L2/6DgRApa3AKDhcBPljwpcdItpPAXFHiHCcHQPTACggWf7
Cdc8QCiono9N+aWn/ApAYk0=
=tsN7
-----END PGP SIGNATURE-----

["add-icons-to-set-encoding-actions.diff;" (text/x-diff)]

Index: kmmainwin.cpp
===================================================================
RCS file: /home/kde/kdenetwork/kmail/kmmainwin.cpp,v
retrieving revision 1.345
diff -u -3 -p -r1.345 kmmainwin.cpp
--- kmmainwin.cpp	2001/07/25 13:22:12	1.345
+++ kmmainwin.cpp	2001/07/25 16:16:18
@@ -1773,7 +1773,7 @@ void KMMainWin::setupMenuBar()
 		      SLOT(slotResendMsg()), actionCollection(), "send_again" );
 
   //----- Message-Encoding Submenu
-  mEncoding = new KSelectAction( i18n( "Set &Encoding" ), 0, this, SLOT( \
slotSetEncoding() ), actionCollection(), "encoding" ); +  mEncoding = new \
KSelectAction( i18n( "Set &Encoding" ), "charset", 0, this, SLOT( slotSetEncoding() \
), actionCollection(), "encoding" );  QStringList encodings = \
KGlobal::charsets()->descriptiveEncodingNames();  encodings.prepend( i18n( "Auto" ) \
);  mEncoding->setItems( encodings );
Index: kmcomposewin.cpp
===================================================================
RCS file: /home/kde/kdenetwork/kmail/kmcomposewin.cpp,v
retrieving revision 1.368
diff -u -3 -p -r1.368 kmcomposewin.cpp
--- kmcomposewin.cpp	2001/07/24 15:47:57	1.368
+++ kmcomposewin.cpp	2001/07/25 16:16:21
@@ -792,7 +792,9 @@ void KMComposeWin::setupActions(void)
 #endif
 
   //----- Message-Encoding Submenu
-  encodingAction = new KSelectAction( i18n( "Set &Encoding" ), 0, this, \
SLOT(slotSetCharset() ), actionCollection(), "charsets" ); +  encodingAction = new \
KSelectAction( i18n( "Set &Encoding" ), "charset", +				      0, this, \
SLOT(slotSetCharset() ), +				      actionCollection(), "charsets" );
   wordWrapAction = new KToggleAction (i18n("&Wordwrap"), 0,
 		      actionCollection(), "wordwrap");
   wordWrapAction->setChecked(mWordWrap);



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic