[sound-juicer] Improve the layout of the overwrite dialog



commit 9c6551f106a55d15be4a59d06a324cfed32860ad
Author: Phillip Wood <phillip wood dunelm org uk>
Date:   Fri Feb 5 19:15:10 2016 +0000

    Improve the layout of the overwrite dialog
    
    Add a margin and center the playback controls within the dialog.

 src/sj-extracting.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/sj-extracting.c b/src/sj-extracting.c
index 9bf42f6..a1be98f 100644
--- a/src/sj-extracting.c
+++ b/src/sj-extracting.c
@@ -315,6 +315,10 @@ confirm_overwrite_existing_file (GFile *uri, int *overwrite_mode, goffset info_s
 
   filename = g_file_get_uri (uri);
   play_preview = egg_play_preview_new_with_uri (filename);
+  g_object_set (play_preview,
+                "halign", GTK_ALIGN_FILL,
+                "margin-start", 30,
+                "margin-end", 30, NULL);
   gtk_container_add (GTK_CONTAINER (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), play_preview);
   g_free (filename);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]