Merge lp:~larsu/unity-control-center/fix-scale-sizing into lp:unity-control-center

Proposed by Lars Karlitski
Status: Merged
Approved by: Robert Ancell
Approved revision: 12725
Merged at revision: 12730
Proposed branch: lp:~larsu/unity-control-center/fix-scale-sizing
Merge into: lp:unity-control-center
Diff against target: 25 lines (+2/-2)
2 files modified
panels/sound/gvc-balance-bar.c (+1/-1)
panels/sound/gvc-channel-bar.c (+1/-1)
To merge this branch: bzr merge lp:~larsu/unity-control-center/fix-scale-sizing
Reviewer Review Type Date Requested Status
Robert Ancell Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+207823@code.launchpad.net

Commit message

sound/gvc-{balance,channel}-bar: let scales use all the available space

Description of the change

sound/gvc-{balance,channel}-bar: let scales use all the available space

For some reason I was working off a different branch for the last UI fixes. This patch fixes that the scales were too small without having to rebase all of it.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Robert Ancell (robert-ancell) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'panels/sound/gvc-balance-bar.c'
2--- panels/sound/gvc-balance-bar.c 2014-02-18 04:27:04 +0000
3+++ panels/sound/gvc-balance-bar.c 2014-02-23 10:54:46 +0000
4@@ -309,7 +309,7 @@
5 /* frame */
6 frame = gtk_frame_new (NULL);
7 gtk_frame_set_shadow_type (GTK_FRAME (frame), GTK_SHADOW_NONE);
8- gtk_container_add (GTK_CONTAINER (bar), frame);
9+ gtk_box_pack_start (GTK_BOX (bar), frame, TRUE, TRUE, 0);
10
11 /* box with scale */
12 bar->priv->scale_box = _scale_box_new (bar);
13
14=== modified file 'panels/sound/gvc-channel-bar.c'
15--- panels/sound/gvc-channel-bar.c 2014-02-20 18:07:51 +0000
16+++ panels/sound/gvc-channel-bar.c 2014-02-23 10:54:46 +0000
17@@ -945,7 +945,7 @@
18 /* frame */
19 frame = gtk_frame_new (NULL);
20 gtk_frame_set_shadow_type (GTK_FRAME (frame), GTK_SHADOW_NONE);
21- gtk_container_add (GTK_CONTAINER (bar), frame);
22+ gtk_box_pack_start (GTK_BOX (bar), frame, TRUE, TRUE, 0);
23 gtk_widget_show_all (frame);
24
25 /* box with scale */

Subscribers

People subscribed via source and target branches