diff options
author | jcid <devnull@localhost> | 2008-10-22 20:05:38 +0200 |
---|---|---|
committer | jcid <devnull@localhost> | 2008-10-22 20:05:38 +0200 |
commit | 09a3b428efec1bde8d6b2916379e35a358565c3b (patch) | |
tree | 64ad75045ce5b79799636b1bc86ddb7c3bd21ebc /src | |
parent | f144706fd7987fa9fa8555e5ff25ec326e4a07f5 (diff) |
- Set the File menu label to hide when the File menu button is shown.
Diffstat (limited to 'src')
-rw-r--r-- | src/menu.cc | 1 |
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); } |