X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fvar-type-dialog.c;h=dfdd895f6192f9964bda5785b02748d85441fe29;hb=c427e8ca6b4c5d3d365b4ff3bb58a81e34efd217;hp=d64b81293a5840a196f8eef2a56e19e316630d48;hpb=6af00e4a134d1ae496a68a0fbe0d3c4fcaaea88a;p=pspp-builds.git diff --git a/src/ui/gui/var-type-dialog.c b/src/ui/gui/var-type-dialog.c index d64b8129..dfdd895f 100644 --- a/src/ui/gui/var-type-dialog.c +++ b/src/ui/gui/var-type-dialog.c @@ -1,21 +1,18 @@ -/* - PSPPIRE --- A Graphical User Interface for PSPP +/* PSPPIRE - a graphical user interface for PSPP. Copyright (C) 2005, 2006 Free Software Foundation - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - 02110-1301, USA. */ + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ /* This module describes the behaviour of the Variable Type dialog box used @@ -46,7 +43,7 @@ struct tgs struct format_opt { - gchar desc[18]; + gchar desc[21]; struct fmt_spec spec; }; @@ -69,7 +66,8 @@ static const struct format_opt format_option[] = { "mmm yy", {FMT_MOYR, 6, 0} }, { "dd WK yyyy", {FMT_WKYR, 10, 0} }, { "dd WK yy", {FMT_WKYR, 8, 0} }, - { "dd-mmm-yyyy HH:MM", {FMT_DATETIME, 17, 0}} + { "dd-mmm-yyyy HH:MM", {FMT_DATETIME, 17, 0}}, + { "dd-mmm-yyyy HH:MM:SS", {FMT_DATETIME, 20, 0}} }; @@ -175,6 +173,7 @@ on_toggle_2 (GtkToggleButton *togglebutton, gpointer user_data) switch (dialog->active_button) { case BUTTON_STRING: + gtk_widget_show (dialog->entry_width); gtk_widget_show (dialog->width_decimals); gtk_widget_hide (dialog->label_decimals); gtk_widget_hide (dialog->entry_decimals);