diff options
author | James M. Cape <jcape@ignore-your.tv> | 2004-10-26 04:29:56 +0000 |
---|---|---|
committer | James M. Cape <jcape@src.gnome.org> | 2004-10-26 04:29:56 +0000 |
commit | ede3c3991802f5ca0a0472e980e81de1a1b36a30 (patch) | |
tree | 5a0abd33b49a34c97b7cc10d4e071fda4b1e4df5 /gtk/gtklabel.h | |
parent | 64facb3c4b3381c3e8066faf55ce4689ae553cb3 (diff) | |
download | gdk-pixbuf-ede3c3991802f5ca0a0472e980e81de1a1b36a30.tar.gz |
Rework of GtkFileChooserButton, some cleanups. Fixes #154388, #154390,
2004-10-25 James M. Cape <jcape@ignore-your.tv>
Rework of GtkFileChooserButton, some cleanups. Fixes #154388,
#154390, #154390, #156272.
* docs/reference/gtk/gtk-docs.sgml: Moved GtkFileChooserButton
below GtkFileChooser.
* docs/reference/gtk/gtk-sections.txt: Added
gtk_file_chooser_button_get_width_chars(),
gtk_file_chooser_button_set_width_chars(),
gtk_label_set_width_chars(), gtk_label_get_width_chars().
* docs/reference/gtk/gtk.types: Added
gtk_cell_renderer_combo_get_type,
gtk_cell_view_get_type,
gtk_text_iter_get_type.
* docs/reference/gtk/tmpl/gtkaboutdialog.sgml: Add
"logo-icon-name" property.
* docs/reference/gtk/tmpl/gtkcellview.sgml: Updates for
properties
(b/c of get_type() inclusion above).
* docs/reference/gtk/tmpl/gtkfilechooserbutton.sgml:
* docs/reference/gtk/tmpl/gtklabel.sgml: Add "width-chars"
property,
getters/setters.
* docs/reference/gtk/tmpl/gtkcellrenderercombo.sgml: Added.
* gtk/gtkentrycompletion.c:
(_gtk_entry_completion_popdown): Don't show if the entry isn't
mapped.
* gtk/gtkfilechooserbutton.[c,h]: (*): About 45%
rewritten, adds "width-chars" property, icons, working save
modes, volume/Home/Desktop friendly-naming support.
* gtk/gtklabel.[c,h]:
(gtk_label_class_init), (gtk_label_init),
(gtk_label_get_property), (gtk_label_set_property),
(gtk_label_get_width_chars), (gtk_label_set_width_chars),
(gtk_label_size_request): Add "width-chars" property.
* tests/testfilechooserbutton.c: Update, use 4 different buttons
for the different ACTIONs.
* gtk/.cvsignore: Ignore gtk-update-icon-cache.
* tests/.cvsignore: Ignore testimage.
Diffstat (limited to 'gtk/gtklabel.h')
-rw-r--r-- | gtk/gtklabel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtklabel.h b/gtk/gtklabel.h index ef2d254ab..9d71cd0b0 100644 --- a/gtk/gtklabel.h +++ b/gtk/gtklabel.h @@ -132,6 +132,9 @@ GtkJustification gtk_label_get_justify (GtkLabel *label); void gtk_label_set_ellipsize (GtkLabel *label, PangoEllipsizeMode mode); PangoEllipsizeMode gtk_label_get_ellipsize (GtkLabel *label); +void gtk_label_set_width_chars (GtkLabel *label, + gint n_chars); +gint gtk_label_get_width_chars (GtkLabel *label); void gtk_label_set_pattern (GtkLabel *label, const gchar *pattern); void gtk_label_set_line_wrap (GtkLabel *label, |