Commit 3808c9dc authored by Marco Barisione's avatar Marco Barisione
Browse files

clock: use the muted volume icon as initial icon

If sound doesn't work is nicer to show a “no sound” icon.
parent d24e3b40
...@@ -155,7 +155,7 @@ create_volume_box (MaynardClock *self) ...@@ -155,7 +155,7 @@ create_volume_box (MaynardClock *self)
box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
self->priv->volume_image = gtk_image_new_from_icon_name ( self->priv->volume_image = gtk_image_new_from_icon_name (
"audio-volume-high-symbolic", "audio-volume-muted-symbolic",
GTK_ICON_SIZE_LARGE_TOOLBAR); GTK_ICON_SIZE_LARGE_TOOLBAR);
gtk_box_pack_start (GTK_BOX (box), self->priv->volume_image, gtk_box_pack_start (GTK_BOX (box), self->priv->volume_image,
FALSE, FALSE, 0); FALSE, FALSE, 0);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment