From a1fd4e4bac0a15d9338dc4a29e1c8b6d75c8d8f9 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 14 Apr 2004 21:34:29 +0000 Subject: [PATCH] Make all style properties readonly. 2004-04-14 Matthias Clasen * gtk/gtkcombobox.c: * gtk/gtkwidget.c: Make all style properties readonly. --- ChangeLog | 8 +++++++- ChangeLog.pre-2-10 | 8 +++++++- ChangeLog.pre-2-4 | 8 +++++++- ChangeLog.pre-2-6 | 8 +++++++- ChangeLog.pre-2-8 | 8 +++++++- gtk/gtkcombobox.c | 2 +- gtk/gtkwidget.c | 6 +++--- 7 files changed, 39 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index d0b1e824ef..d43f98b915 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,13 @@ +2004-04-14 Matthias Clasen + + * gtk/gtkcombobox.c: + * gtk/gtkwidget.c: + Make all style properties readonly. + 2004-04-14 Matthias Clasen * gtk/gtkcolorsel.c: Add a11y relations between the color - wheel and the spin buttons. (#132745) + wheel and the spin buttons. (#132745, Padraig, O'Briain) * gtk/gtkiconfactory.c (gtk_icon_set_render_icon): Document the meaning of size == -1. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index d0b1e824ef..d43f98b915 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,7 +1,13 @@ +2004-04-14 Matthias Clasen + + * gtk/gtkcombobox.c: + * gtk/gtkwidget.c: + Make all style properties readonly. + 2004-04-14 Matthias Clasen * gtk/gtkcolorsel.c: Add a11y relations between the color - wheel and the spin buttons. (#132745) + wheel and the spin buttons. (#132745, Padraig, O'Briain) * gtk/gtkiconfactory.c (gtk_icon_set_render_icon): Document the meaning of size == -1. diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index d0b1e824ef..d43f98b915 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,7 +1,13 @@ +2004-04-14 Matthias Clasen + + * gtk/gtkcombobox.c: + * gtk/gtkwidget.c: + Make all style properties readonly. + 2004-04-14 Matthias Clasen * gtk/gtkcolorsel.c: Add a11y relations between the color - wheel and the spin buttons. (#132745) + wheel and the spin buttons. (#132745, Padraig, O'Briain) * gtk/gtkiconfactory.c (gtk_icon_set_render_icon): Document the meaning of size == -1. diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index d0b1e824ef..d43f98b915 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,7 +1,13 @@ +2004-04-14 Matthias Clasen + + * gtk/gtkcombobox.c: + * gtk/gtkwidget.c: + Make all style properties readonly. + 2004-04-14 Matthias Clasen * gtk/gtkcolorsel.c: Add a11y relations between the color - wheel and the spin buttons. (#132745) + wheel and the spin buttons. (#132745, Padraig, O'Briain) * gtk/gtkiconfactory.c (gtk_icon_set_render_icon): Document the meaning of size == -1. diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index d0b1e824ef..d43f98b915 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,7 +1,13 @@ +2004-04-14 Matthias Clasen + + * gtk/gtkcombobox.c: + * gtk/gtkwidget.c: + Make all style properties readonly. + 2004-04-14 Matthias Clasen * gtk/gtkcolorsel.c: Add a11y relations between the color - wheel and the spin buttons. (#132745) + wheel and the spin buttons. (#132745, Padraig, O'Briain) * gtk/gtkiconfactory.c (gtk_icon_set_render_icon): Document the meaning of size == -1. diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c index b72919c9a7..4a3d74f034 100644 --- a/gtk/gtkcombobox.c +++ b/gtk/gtkcombobox.c @@ -509,7 +509,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass) P_("Appears as list"), P_("Whether combobox dropdowns should look like lists rather than menus"), FALSE, - G_PARAM_READWRITE)); + G_PARAM_READABLE)); g_type_class_add_private (object_class, sizeof (GtkComboBoxPrivate)); } diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index 14d27f7f9a..098b0d4471 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -1384,20 +1384,20 @@ gtk_widget_class_init (GtkWidgetClass *klass) P_("Focus linewidth"), P_("Width, in pixels, of the focus indicator line"), 0, G_MAXINT, 1, - G_PARAM_READWRITE)); + G_PARAM_READABLE)); gtk_widget_class_install_style_property (klass, g_param_spec_string ("focus-line-pattern", P_("Focus line dash pattern"), P_("Dash pattern used to draw the focus indicator"), "\1\1", - G_PARAM_READWRITE)); + G_PARAM_READABLE)); gtk_widget_class_install_style_property (klass, g_param_spec_int ("focus-padding", P_("Focus padding"), P_("Width, in pixels, between focus indicator and the widget 'box'"), 0, G_MAXINT, 1, - G_PARAM_READWRITE)); + G_PARAM_READABLE)); gtk_widget_class_install_style_property (klass, g_param_spec_boxed ("cursor-color", P_("Cursor color"),