diff options
author | Matthias Clasen <mclasen@redhat.com> | 2004-11-09 05:04:41 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-11-09 05:04:41 +0000 |
commit | b87307b91870918af9a1daa1ddd84316ec5e82b6 (patch) | |
tree | e46ca170a564979069eceb5e895569b6d5391d30 /docs | |
parent | c4183ed568e23436901eab75961cadaf1eba2b3d (diff) | |
download | gtk+-b87307b91870918af9a1daa1ddd84316ec5e82b6.tar.gz |
Avoid resizing GtkStatusbar if the text of the label changes (#90955, He
2004-11-09 Matthias Clasen <mclasen@redhat.com>
Avoid resizing GtkStatusbar if the text of the label
changes (#90955, He Qiangqiang, fix proposed by
Owen Taylor, patch by Christian Persch)
* gtk/gtklabel.[hc]: Add a boolean single-line-mode property
which causes the label height not to depend on the actual
text, but only on the font.
* gtk/gtkstatusbar.c (gtk_statusbar_init): Turn on
single-line-mode for the label.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/reference/ChangeLog | 4 | ||||
-rw-r--r-- | docs/reference/gtk/gtk-sections.txt | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index e3458eaaed..b0353d0668 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,7 @@ +2004-11-09 Matthias Clasen <mclasen@redhat.com> + + * gtk/gtk-sections.txt: Add gtk_label_[gs]et_single_line_mode. + 2004-11-07 Matthias Clasen <mclasen@redhat.com> * gtk/gtk-sections.txt: Add gtk_file_filter_add_pixbuf_formats. diff --git a/docs/reference/gtk/gtk-sections.txt b/docs/reference/gtk/gtk-sections.txt index 27dfa12c67..74d524dce8 100644 --- a/docs/reference/gtk/gtk-sections.txt +++ b/docs/reference/gtk/gtk-sections.txt @@ -1932,9 +1932,11 @@ gtk_label_get_mnemonic_widget gtk_label_get_selection_bounds gtk_label_get_use_markup gtk_label_get_use_underline +gtk_label_get_single_line_mode gtk_label_set_label gtk_label_set_use_markup gtk_label_set_use_underline +gtk_label_set_single_line_mode <SUBSECTION Standard> GTK_LABEL GTK_IS_LABEL |