diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-07-24 06:31:27 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-07-24 06:31:27 +0200 |
commit | 669fb5e06db6ea18f1500fc57d3fc1704b359a40 (patch) | |
tree | edfdb48ea61a36ecfd68cf5ea3b9f6f954e0fe60 /src/idomediaplayermenuitem.c | |
parent | f8f87bdc7d9991edb984579dd230cc244a3e97eb (diff) | |
parent | 40a8f0450fa67405b69575a2d09683270a01518c (diff) | |
download | ayatana-ido-669fb5e06db6ea18f1500fc57d3fc1704b359a40.tar.gz ayatana-ido-669fb5e06db6ea18f1500fc57d3fc1704b359a40.tar.bz2 ayatana-ido-669fb5e06db6ea18f1500fc57d3fc1704b359a40.zip |
Merge branch 'tari01-master'
Attributs GH PR #5: https://github.com/AyatanaIndicators/ayatana-ido/pull/5
Diffstat (limited to 'src/idomediaplayermenuitem.c')
-rw-r--r-- | src/idomediaplayermenuitem.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/idomediaplayermenuitem.c b/src/idomediaplayermenuitem.c index 232ad0e..ef1b2aa 100644 --- a/src/idomediaplayermenuitem.c +++ b/src/idomediaplayermenuitem.c @@ -120,8 +120,8 @@ track_info_label_new () label = gtk_label_new (NULL); gtk_label_set_width_chars (GTK_LABEL (label), 25); gtk_label_set_max_width_chars (GTK_LABEL (label), 25); - gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5); - gtk_widget_set_halign (label, GTK_ALIGN_START); + gtk_widget_set_halign(label, GTK_ALIGN_START); + gtk_widget_set_valign(label, GTK_ALIGN_CENTER); gtk_label_set_ellipsize (GTK_LABEL (label), PANGO_ELLIPSIZE_MIDDLE); return label; @@ -135,7 +135,7 @@ ido_media_player_menu_item_init (IdoMediaPlayerMenuItem *self) self->cancellable = g_cancellable_new (); self->player_icon = gtk_image_new(); - gtk_widget_set_margin_right (self->player_icon, 6); + gtk_widget_set_margin_end(self->player_icon, 6); gtk_widget_set_halign (self->player_icon, GTK_ALIGN_START); self->player_label = gtk_label_new (NULL); @@ -144,7 +144,7 @@ ido_media_player_menu_item_init (IdoMediaPlayerMenuItem *self) self->album_art = gtk_image_new(); gtk_widget_set_size_request (self->album_art, ALBUM_ART_SIZE, ALBUM_ART_SIZE); - gtk_widget_set_margin_right (self->album_art, 8); + gtk_widget_set_margin_end(self->album_art, 8); self->artist_label = track_info_label_new (); self->piece_label = track_info_label_new (); |