[Konversation-devel] [Bug 103394] Ability to configure "Focus server tab" with ALT+<num> with the "natural" order of tabs

ismail cartman donmez ismail at kde.org.tr
Fri Apr 8 11:20:50 CEST 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=103394         
ismail kde org tr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From ismail kde org tr  2005-04-08 11:20 -------
CVS commit by cartman: 

Start ALT+<int> shortcuts from ALT+1 as one expect from it
BUG:103394


  M +2 -2      konversationmainwindow.cpp   1.230


--- kdeextragear-2/konversation/konversation/konversationmainwindow.cpp  #1.229:1.230
 @ -164,8 +164,8  @ KonversationMainWindow::KonversationMain
   connect(tabSelectionMapper, SIGNAL(mapped(int)), this, SLOT(goToTab(int)));
   
-  for(uint i = 0; i < 10; ++i) {
+  for(uint i = 1; i <= 10; ++i) {
     KAction* tabSelectionAction = new KAction(i18n("Go to Tab %1").arg(i), 0, KShortcut(QString("Alt+%1").arg(i)),
       tabSelectionMapper, SLOT(map()), actionCollection(), QString("go_to_tab_%1").arg(i).local8Bit());
-    tabSelectionMapper->setMapping( tabSelectionAction, i);
+    tabSelectionMapper->setMapping( tabSelectionAction, i-1);
   }


More information about the Konversation-devel mailing list