[totem] main: Make play button double-width
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] main: Make play button double-width
- Date: Tue, 30 Apr 2013 12:44:21 +0000 (UTC)
commit b314cb9953259b17089836a8dfd0459dbf2104e1
Author: Bastien Nocera <hadess hadess net>
Date: Tue Apr 30 14:43:49 2013 +0200
main: Make play button double-width
src/totem-object.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/totem-object.c b/src/totem-object.c
index b79f853..14f8540 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -3714,6 +3714,12 @@ create_control_button (TotemObject *totem,
image = gtk_image_new ();
gtk_button_set_image (GTK_BUTTON (button), image);
gtk_style_context_add_class (gtk_widget_get_style_context (button), "image-button");
+ if (g_str_equal (action_name, "play")) {
+ g_object_set (G_OBJECT (image),
+ "margin-left", 16,
+ "margin-right", 16,
+ NULL);
+ }
action = gtk_action_group_get_action (totem->main_action_group,
action_name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]