X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-dictview.c;h=baccea7b6b49108d5d07215ee2247bc03951f0f7;hb=4994c34bb5a7d1da401b7b9552a91c9ccfd42566;hp=4c07d1fdc9a79291a34df4768fe2a505c35b2a62;hpb=7a8adbe2e7067f33767f934ec36c60549d50d2e2;p=pspp diff --git a/src/ui/gui/psppire-dictview.c b/src/ui/gui/psppire-dictview.c index 4c07d1fdc9..baccea7b6b 100644 --- a/src/ui/gui/psppire-dictview.c +++ b/src/ui/gui/psppire-dictview.c @@ -1,5 +1,5 @@ /* PSPPIRE - a graphical user interface for PSPP. - Copyright (C) 2009 Free Software Foundation + Copyright (C) 2009, 2010, 2011 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 @@ -16,7 +16,7 @@ #include -#include +#include #include "psppire-dictview.h" #include "psppire-dict.h" #include "psppire-conf.h" @@ -198,14 +198,14 @@ psppire_dict_view_class_init (PsppireDictViewClass *class) GParamSpec *predicate_spec = g_param_spec_pointer ("predicate", "Predicate", - _("A predicate function"), + "A predicate function", G_PARAM_READABLE | G_PARAM_WRITABLE); GParamSpec *selection_mode_spec = g_param_spec_enum ("selection-mode", "Selection Mode", - _("How many things can be selected"), + "How many things can be selected", GTK_TYPE_SELECTION_MODE, GTK_SELECTION_MULTIPLE, G_PARAM_CONSTRUCT | G_PARAM_READABLE | G_PARAM_WRITABLE); @@ -344,7 +344,7 @@ var_icon_cell_data_func (GtkTreeViewColumn *col, } else { - const struct fmt_spec *fs = var_get_write_format (var); + const struct fmt_spec *fs = var_get_print_format (var); int cat = fmt_get_category (fs->type); switch ( var_get_measure (var)) {