[snappy] ui: fix spacing of pause button
- From: Luis de Bethencourt <luisbg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [snappy] ui: fix spacing of pause button
- Date: Wed, 17 Apr 2013 16:58:14 +0000 (UTC)
commit 5571a1025c5947aaaeaf7476749a0f834da8197a
Author: Luis de Bethencourt <luis debethencourt com>
Date: Wed Apr 17 12:58:08 2013 -0400
ui: fix spacing of pause button
data/media-actions-pause.svg | 32 ++++++++++++++++----------------
src/user_interface.c | 2 +-
2 files changed, 17 insertions(+), 17 deletions(-)
---
diff --git a/data/media-actions-pause.svg b/data/media-actions-pause.svg
index ba7e4a5..11da9fa 100644
--- a/data/media-actions-pause.svg
+++ b/data/media-actions-pause.svg
@@ -1,16 +1,16 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
- width="48px" height="48px" viewBox="-1.5 22.5 48 48" enable-background="new -1.5 22.5 48 48"
xml:space="preserve">
-<g id="Layer_2">
-</g>
-<g opacity="0.75">
- <path fill="#FFFFFF" d="M11.5,68.499l-13,0.001V22.498l13,0.001V68.499z"/>
- <path fill="#FFFFFF" d="M37.5,68.5l-13-0.001v-46l13-0.001V68.5z"/>
-</g>
-<rect x="-1.5" y="22.499" opacity="0.65" fill="#FFFFFF" width="13" height="1"/>
-<rect x="24.5" y="22.499" opacity="0.65" fill="#FFFFFF" width="13" height="1"/>
-<rect x="-1.5" y="68.5" opacity="0.25" width="13" height="1"/>
-<rect x="24.5" y="68.5" opacity="0.25" width="13" height="1"/>
-</svg>
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ width="48px" height="48px" viewBox="0 0 48 48" enable-background="new 0 0 48 48"
xml:space="preserve">
+<g id="Layer_2">
+</g>
+<g opacity="0.75">
+ <path fill="#FFFFFF" d="M18,46.999L5,47V1l13,0.001V46.999z"/>
+ <path fill="#FFFFFF" d="M44,47l-13-0.001V1.001L44,1V47z"/>
+</g>
+<rect x="5" y="1.001" opacity="0.65" fill="#FFFFFF" enable-background="new " width="13" height="1"/>
+<rect x="31" y="1.001" opacity="0.65" fill="#FFFFFF" enable-background="new " width="13" height="1"/>
+<rect x="5" y="47" opacity="0.25" enable-background="new " width="13" height="1"/>
+<rect x="31" y="47" opacity="0.25" enable-background="new " width="13" height="1"/>
+</svg>
diff --git a/src/user_interface.c b/src/user_interface.c
index f6675e2..0576f21 100644
--- a/src/user_interface.c
+++ b/src/user_interface.c
@@ -1213,7 +1213,7 @@ update_controls_size (UserInterface * ui)
main_box_vert_pos = (control_box_height - main_box_height) / 2;
clutter_actor_set_position (CLUTTER_ACTOR (ui->main_box),
- main_box_horiz_pos, main_box_vert_pos + 2.0);
+ main_box_horiz_pos, main_box_vert_pos);
update_volume (ui, -1);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]