Permalink
Browse files

after pull

  • Loading branch information...
2 parents f66f48f + c85e17e commit 2247df39581ee2b49ffe10dcce2c0e8eb9735d2a @nonstop committed Aug 7, 2012
Showing with 12 additions and 8 deletions.
  1. +2 −0 ChangeLog
  2. +8 −6 doc/termit.desktop
  3. +1 −1 src/lua_api.c
  4. +1 −1 src/lua_conf.c
View
2 ChangeLog
@@ -1,4 +1,6 @@
fixed bug with hideTabbar and hideSingleTab
+ tabs indexes start with 1 (Lua-indexing)
+ fixed desktop file
added Swedish translation (by Tomas Fasth)
version 2.9.4
fix hyphen-used-as-minus-sign in manpage (by Thomas Koch)
View
14 doc/termit.desktop
@@ -1,12 +1,14 @@
[Desktop Entry]
Name=Termit
-Name[ru]=Termit
-Type=Application
-Exec=termit
-Categories=Utility;TerminalEmulator;GTK
-Comment=Lightweight terminal emulator
-Comment[ru]=Эмулятор терминала
GenericName=Terminal emulator
GenericName[ru]=Эмулятор терминала
+Comment=Lightweight terminal emulator
+Comment[ru]=Легкий эмулятор терминала
+TryExec=termit
+Exec=termit
+Icon=utilities-terminal
+Type=Application
+Categories=GTK;System;TerminalEmulator;
Terminal=false
+Keywords=Run;
View
2 src/lua_api.c
@@ -437,7 +437,7 @@ static int termit_lua_currentTab(lua_State* ls)
static int termit_lua_currentTabIndex(lua_State* ls)
{
- lua_pushinteger(ls, termit_get_current_tab_index());
+ lua_pushinteger(ls, termit_get_current_tab_index() + 1);
return 1;
}
View
2 src/lua_conf.c
@@ -390,7 +390,7 @@ static int termit_lua_tabs_index(lua_State* ls)
}
int tab_index = lua_tointeger(ls, -1);
TRACE("tab_index:%d", tab_index);
- return termit_lua_fill_tab(tab_index, ls);
+ return termit_lua_fill_tab(tab_index - 1, ls);
}
static int termit_lua_tabs_newindex(lua_State* ls)

0 comments on commit 2247df3

Please sign in to comment.