rendered paste body131a132,133> static void thunar_window_action_menubar_changed (GtkToggleAction *action,> ThunarWindow *window);232a235> GtkWidget *menubar;297a301> { "view-menubar", NULL, N_ ("_Menubar"), "<control>M", N_ ("Change the visibility of this window's menubar"), G_CALLBACK (thunar_window_action_menubar_changed), FALSE, },590d593< GtkWidget *menubar;702,704c705,707< menubar = gtk_ui_manager_get_widget (window->ui_manager, "/main-menu");< gtk_table_attach (GTK_TABLE (window->table), menubar, 0, 1, 0, 1, GTK_EXPAND | GTK_FILL, GTK_FILL, 0, 0);< gtk_widget_show (menubar);---> window->menubar = gtk_ui_manager_get_widget (window->ui_manager, "/main-menu");> gtk_table_attach (GTK_TABLE (window->table), window->menubar, 0, 1, 0, 1, GTK_EXPAND | GTK_FILL, GTK_FILL, 0, 0);> gtk_widget_show (window->menubar);710c713< gtk_menu_shell_append (GTK_MENU_SHELL (menubar), item);---> gtk_menu_shell_append (GTK_MENU_SHELL (window->menubar), item);795a799,803> /* check if we should display the menubar by default */> //g_object_get (G_OBJECT (window->preferences), "last-statusbar-visible", &visible, NULL);> action = gtk_action_group_get_action (window->action_group, "view-menubar");> gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (action), TRUE);> 1578a1587,1598> static void> thunar_window_action_menubar_changed (GtkToggleAction *action,> ThunarWindow *window)> {> _thunar_return_if_fail (GTK_IS_TOGGLE_ACTION (action));> _thunar_return_if_fail (THUNAR_IS_WINDOW (window));> > if (gtk_toggle_action_get_active (action))> gtk_widget_show (window->menubar);> else> gtk_widget_hide (window->menubar);> }