diff options
author | Conor Curran <conor.curran@canonical.com> | 2010-10-04 17:07:46 +0100 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2010-10-04 17:07:46 +0100 |
commit | 573e65249b6b30af8d119b2e649fc54f86963b72 (patch) | |
tree | 321dea15f421e717207937e2549f1c10e49951f4 /src/metadata-widget.c | |
parent | 91b9d94d85fa56a6cfe61d83b6640727ef084369 (diff) | |
download | ayatana-indicator-sound-573e65249b6b30af8d119b2e649fc54f86963b72.tar.gz ayatana-indicator-sound-573e65249b6b30af8d119b2e649fc54f86963b72.tar.bz2 ayatana-indicator-sound-573e65249b6b30af8d119b2e649fc54f86963b72.zip |
fixed the text resizing
Diffstat (limited to 'src/metadata-widget.c')
-rw-r--r-- | src/metadata-widget.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/metadata-widget.c b/src/metadata-widget.c index d5ec4d2..cbbaeff 100644 --- a/src/metadata-widget.c +++ b/src/metadata-widget.c @@ -120,7 +120,6 @@ metadata_widget_init (MetadataWidget *self) DBUSMENU_METADATA_MENUITEM_ARTIST)); gtk_misc_set_alignment(GTK_MISC(artist), (gfloat)0, (gfloat)0); gtk_misc_set_padding (GTK_MISC(artist), (gfloat)10, (gfloat)0); - //gtk_label_set_width_chars(GTK_LABEL(artist), 15); gtk_widget_set_size_request (artist, 140, 15); gtk_label_set_ellipsize(GTK_LABEL(artist), PANGO_ELLIPSIZE_MIDDLE); metadata_widget_style_labels(self, GTK_LABEL(artist)); @@ -132,7 +131,6 @@ metadata_widget_init (MetadataWidget *self) DBUSMENU_METADATA_MENUITEM_TITLE) ); gtk_misc_set_alignment(GTK_MISC(piece), (gfloat)0, (gfloat)0); gtk_misc_set_padding (GTK_MISC(piece), (gfloat)10, (gfloat)0); - //gtk_label_set_width_chars(GTK_LABEL(piece), 15); gtk_widget_set_size_request (piece, 140, 15); gtk_label_set_ellipsize(GTK_LABEL(piece), PANGO_ELLIPSIZE_MIDDLE); metadata_widget_style_labels(self, GTK_LABEL(piece)); @@ -144,7 +142,6 @@ metadata_widget_init (MetadataWidget *self) DBUSMENU_METADATA_MENUITEM_ALBUM) ); gtk_misc_set_alignment(GTK_MISC(container), (gfloat)0, (gfloat)0); gtk_misc_set_padding (GTK_MISC(container), (gfloat)10, (gfloat)0); - //gtk_label_set_width_chars(GTK_LABEL(container), 15); gtk_widget_set_size_request (container, 140, 15); gtk_label_set_ellipsize(GTK_LABEL(container), PANGO_ELLIPSIZE_MIDDLE); metadata_widget_style_labels(self, GTK_LABEL(container)); |