mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-06 00:30:08 +00:00
Make the headers-visible property readwrite instead of just writable, and
2005-01-13 Matthias Clasen <mclasen@redhat.com> * gtk/gtktreeview.c: (gtk_tree_view_class_init), (gtk_tree_view_set_headers_clickable): Make the headers-visible property readwrite instead of just writable, and remove the g_return_if_fail check that there is a model when setting this property. Also improve the blurb. (#163851, Richard Hult)
This commit is contained in:
parent
4fa381d14c
commit
52a86bc677
@ -1,3 +1,11 @@
|
||||
2005-01-13 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c: (gtk_tree_view_class_init),
|
||||
(gtk_tree_view_set_headers_clickable): Make the headers-visible
|
||||
property readwrite instead of just writable, and remove the
|
||||
g_return_if_fail check that there is a model when setting this
|
||||
property. Also improve the blurb. (#163851, Richard Hult)
|
||||
|
||||
2005-01-12 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* configure.in: Remove GLIB_DIVERT_BEFORE_HELP() on
|
||||
|
@ -1,3 +1,11 @@
|
||||
2005-01-13 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c: (gtk_tree_view_class_init),
|
||||
(gtk_tree_view_set_headers_clickable): Make the headers-visible
|
||||
property readwrite instead of just writable, and remove the
|
||||
g_return_if_fail check that there is a model when setting this
|
||||
property. Also improve the blurb. (#163851, Richard Hult)
|
||||
|
||||
2005-01-12 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* configure.in: Remove GLIB_DIVERT_BEFORE_HELP() on
|
||||
|
@ -1,3 +1,11 @@
|
||||
2005-01-13 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c: (gtk_tree_view_class_init),
|
||||
(gtk_tree_view_set_headers_clickable): Make the headers-visible
|
||||
property readwrite instead of just writable, and remove the
|
||||
g_return_if_fail check that there is a model when setting this
|
||||
property. Also improve the blurb. (#163851, Richard Hult)
|
||||
|
||||
2005-01-12 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* configure.in: Remove GLIB_DIVERT_BEFORE_HELP() on
|
||||
|
@ -579,7 +579,7 @@ gtk_tree_view_class_init (GtkTreeViewClass *class)
|
||||
g_object_class_install_property (o_class,
|
||||
PROP_HEADERS_VISIBLE,
|
||||
g_param_spec_boolean ("headers_visible",
|
||||
P_("Visible"),
|
||||
P_("Headers Visible"),
|
||||
P_("Show the column header buttons"),
|
||||
TRUE,
|
||||
G_PARAM_READWRITE));
|
||||
@ -590,7 +590,7 @@ gtk_tree_view_class_init (GtkTreeViewClass *class)
|
||||
P_("Headers Clickable"),
|
||||
P_("Column headers respond to click events"),
|
||||
FALSE,
|
||||
G_PARAM_WRITABLE));
|
||||
G_PARAM_READWRITE));
|
||||
|
||||
g_object_class_install_property (o_class,
|
||||
PROP_EXPANDER_COLUMN,
|
||||
@ -9607,7 +9607,6 @@ gtk_tree_view_set_headers_clickable (GtkTreeView *tree_view,
|
||||
GList *list;
|
||||
|
||||
g_return_if_fail (GTK_IS_TREE_VIEW (tree_view));
|
||||
g_return_if_fail (tree_view->priv->model != NULL);
|
||||
|
||||
for (list = tree_view->priv->columns; list; list = list->next)
|
||||
gtk_tree_view_column_set_clickable (GTK_TREE_VIEW_COLUMN (list->data), setting);
|
||||
|
Loading…
Reference in New Issue
Block a user