chiark / gitweb /
Set edit menu sensitivity when it is shown rather than when we change tab.
[disorder] / disobedience / disobedience.c
index 818128d84fcafd052c444dd074932d2bca2f494f..80fd389299f26fff9e15535c3ab7b3fb24b270df 100644 (file)
@@ -122,7 +122,6 @@ static void tab_switched(GtkNotebook *notebook,
                          GtkNotebookPage attribute((unused)) *page,
                          guint page_num,
                          gpointer attribute((unused)) user_data) {
-  menu_update(page_num);
   GtkWidget *const tab = gtk_notebook_get_nth_page(notebook, page_num);
   const struct tabtype *const t = g_object_get_data(G_OBJECT(tab), "type");
   assert(t != 0);