[sound-juicer/gnome-3-18] Improve the layout of the overwrite dialog



commit 16d6cc1e3dba2622040866aad2e4756c61d865bb
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..509d57d 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-left", 30,
+                "margin-right", 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]