- /* Show us if we're ready. If not, just remain hidden. All sub-widgets must
- * be gtk_widget_show()n by this point. */
+ /* Realize the window (only sets up X resources), and set its current state */
+ gtk_widget_realize (self->window);
+ self->state = WINDOW_UP;
+
+ /* If we should be shown now, do a mock call of the global callback */