* Toggle use of force https mode */
| 775 | * Toggle use of force https mode |
| 776 | */ |
| 777 | static void Menu_force_https_cb(Fl_Widget *wid, void*) |
| 778 | { |
| 779 | Fl_Menu_Item *item = (Fl_Menu_Item*) wid; |
| 780 | |
| 781 | item->flags ^= FL_MENU_VALUE; |
| 782 | prefs.http_force_https = item->flags & FL_MENU_VALUE ? 1 : 0; |
| 783 | a_UIcmd_repush(popup_bw); |
| 784 | } |
| 785 | |
| 786 | static void Menu_panel_change_cb(Fl_Widget*, void *user_data) |
| 787 | { |
nothing calls this directly
no test coverage detected