diff options
author | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-08-17 19:36:13 +0800 |
---|---|---|
committer | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-08-19 17:27:26 +0800 |
commit | b11d6d385735ef43450271d7f07604448f751ce2 (patch) | |
tree | b420814609c5543b8497240587c647b147e4140f /src | |
parent | 46958ec5bbd485a9875047c367d32deb8ba0aa54 (diff) | |
download | gsoc2013-empathy-b11d6d385735ef43450271d7f07604448f751ce2.tar gsoc2013-empathy-b11d6d385735ef43450271d7f07604448f751ce2.tar.gz gsoc2013-empathy-b11d6d385735ef43450271d7f07604448f751ce2.tar.bz2 gsoc2013-empathy-b11d6d385735ef43450271d7f07604448f751ce2.tar.lz gsoc2013-empathy-b11d6d385735ef43450271d7f07604448f751ce2.tar.xz gsoc2013-empathy-b11d6d385735ef43450271d7f07604448f751ce2.tar.zst gsoc2013-empathy-b11d6d385735ef43450271d7f07604448f751ce2.zip |
CallWindow: make the info buttons rounded
https://bugzilla.gnome.org/show_bug.cgi?id=656576
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy-call-window.c | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c index 3e1037d06..ffc94225b 100644 --- a/src/empathy-call-window.c +++ b/src/empathy-call-window.c @@ -1040,8 +1040,11 @@ create_video_preview (EmpathyCallWindow *self) /* Translators: this is an "Info" label. It should be as short * as possible. */ button = gtk_button_new_with_label (_("i")); - priv->preview_shown_button = b = - gtk_clutter_actor_new_with_contents (button); + priv->preview_shown_button = b = empathy_rounded_actor_new (); + gtk_container_add ( + GTK_CONTAINER (gtk_clutter_actor_get_widget (GTK_CLUTTER_ACTOR (b))), + button); + clutter_actor_set_size (b, 24, 24); layout_end = clutter_bin_layout_new (CLUTTER_BIN_ALIGNMENT_END, CLUTTER_BIN_ALIGNMENT_END); @@ -1060,8 +1063,12 @@ create_video_preview (EmpathyCallWindow *self) /* Translators: this is an "Info" label. It should be as short * as possible. */ button = gtk_button_new_with_label (_("i")); - priv->preview_hidden_button = - gtk_clutter_actor_new_with_contents (button); + b = empathy_rounded_actor_new (); + gtk_container_add ( + GTK_CONTAINER (gtk_clutter_actor_get_widget (GTK_CLUTTER_ACTOR (b))), + button); + clutter_actor_set_size (b, 24, 24); + priv->preview_hidden_button = b; clutter_bin_layout_add (CLUTTER_BIN_LAYOUT (priv->video_layout), priv->preview_hidden_button, |