summaryrefslogtreecommitdiff
path: root/src/commands.c
diff options
context:
space:
mode:
authorportix <portix@gmx.net>2011-12-28 04:02:25 +0100
committerportix <portix@gmx.net>2011-12-28 04:02:25 +0100
commitb2383d226fc4625d2415738ba026c4c565967bcd (patch)
treead77fff6f7ac5c30f62228deabe839b7846ea99b /src/commands.c
parentcbc51f69d6cb743886071980664f73c4d804342a (diff)
downloaddwb-b2383d226fc4625d2415738ba026c4c565967bcd.zip
Reintroducing dwb_update_layout, needed for the correct tabnumber if a tab is removed/added.
--HG-- branch : experimental
Diffstat (limited to 'src/commands.c')
-rw-r--r--src/commands.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/commands.c b/src/commands.c
index e12ddb3d..cbee951f 100644
--- a/src/commands.c
+++ b/src/commands.c
@@ -857,15 +857,6 @@ commands_presentation_mode(KeyMap *km, Arg *arg) {
commands_toggle_bars(km, arg);
return STATUS_OK;
}
-#if 0
-DwbStatus
-commands_toggle_protected(KeyMap *km, Arg *arg) {
- GList *gl = dwb.state.nummod < 0 ? dwb.state.fview : g_list_nth(dwb.state.views, dwb.state.nummod-1);
- VIEW(gl)->status->protect = !VIEW(gl)->status->protect;
- dwb_tab_label_set_text(gl, NULL);
- return STATUS_OK;
-}
-#endif
DwbStatus
commands_toggle_lock_protect(KeyMap *km, Arg *arg) {
GList *gl = dwb.state.nummod < 0 ? dwb.state.fview : g_list_nth(dwb.state.views, dwb.state.nummod-1);