From: Ben Pfaff Date: Mon, 9 May 2011 04:17:51 +0000 (-0700) Subject: gui: Make File|Open open multiple datasets by default. X-Git-Tag: v0.7.9~307 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef893065568975efb51739ad2086c4d50ec6f867;p=pspp-builds.git gui: Make File|Open open multiple datasets by default. This is what I always intended to make File|Open do, and in fact I had implemented it that way, but I screwed up in rebasing and forgot to fix it before my final push. --- diff --git a/src/ui/gui/psppire-window.c b/src/ui/gui/psppire-window.c index 399b020b..8a33c006 100644 --- a/src/ui/gui/psppire-window.c +++ b/src/ui/gui/psppire-window.c @@ -826,15 +826,11 @@ psppire_window_open (PsppireWindow *de) { PsppireWindow *window; -#if 0 if (PSPPIRE_IS_DATA_WINDOW (de) && psppire_data_window_is_empty (PSPPIRE_DATA_WINDOW (de))) window = de; else window = PSPPIRE_WINDOW (psppire_data_window_new (NULL)); -#else - window = PSPPIRE_WINDOW (psppire_default_data_window ()); -#endif psppire_window_load (window, name); gtk_widget_show (GTK_WIDGET (window));