aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-10-22 20:05:38 +0200
committerjcid <devnull@localhost>2008-10-22 20:05:38 +0200
commit09a3b428efec1bde8d6b2916379e35a358565c3b (patch)
tree64ad75045ce5b79799636b1bc86ddb7c3bd21ebc /src
parentf144706fd7987fa9fa8555e5ff25ec326e4a07f5 (diff)
- Set the File menu label to hide when the File menu button is shown.
Diffstat (limited to 'src')
-rw-r--r--src/menu.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/menu.cc b/src/menu.cc
index 6856143e..a86763c4 100644
--- a/src/menu.cc
+++ b/src/menu.cc
@@ -481,6 +481,7 @@ void a_Menu_file_popup(BrowserWindow *bw, void *v_wid)
pm->end();
}
+ pm->label(wid->visible() ? NULL : "File");
a_Timeout_add(0.0, Menu_popup_cb2, (void *)pm);
}