TO make sure the standardview actions are up2date.
/* we need update the selection state based on the clipboard content */
g_signal_connect_swapped (G_OBJECT (standard_view->clipboard), "changed",
G_CALLBACK (thunar_standard_view_selection_changed), standard_view);
- thunar_standard_view_selection_changed (standard_view);
/* determine the icon factory for the screen on which we are realized */
icon_theme = gtk_icon_theme_get_for_screen (gtk_widget_get_screen (widget));
/* integrate the standard view action in the ui */
thunar_component_set_ui_manager (THUNAR_COMPONENT (page), window->ui_manager);
+ /* update the actions */
+ thunar_standard_view_selection_changed (THUNAR_STANDARD_VIEW (page));
+
gtk_widget_grab_focus (page);
}