[rhythmbox] Refine soundcloud ui



commit 7b7794d523b58cd9f90b59edb64c20486ad09f98
Author: Trinh Anh Ngoc <atw1990 gmail com>
Date:   Thu Jan 29 10:41:26 2015 +0700

    Refine soundcloud ui

 plugins/soundcloud/soundcloud.py |    5 +++--
 plugins/soundcloud/soundcloud.ui |    3 ---
 2 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/plugins/soundcloud/soundcloud.py b/plugins/soundcloud/soundcloud.py
index 65c66cb..6fad33f 100644
--- a/plugins/soundcloud/soundcloud.py
+++ b/plugins/soundcloud/soundcloud.py
@@ -413,7 +413,7 @@ class SoundCloudSource(RB.StreamingSource):
                self.scrolled.set_no_show_all(True)
                self.scrolled.hide()
 
-               self.search_entry = RB.SearchEntry()
+               self.search_entry = RB.SearchEntry(spacing=6)
                self.search_entry.props.explicit_mode = True
 
                action = Gio.SimpleAction.new("soundcloud-search-type", GLib.VariantType.new('s'))
@@ -460,7 +460,8 @@ class SoundCloudSource(RB.StreamingSource):
                self.songs = RB.EntryView(db=shell.props.db,
                                          shell_player=shell.props.shell_player,
                                          is_drag_source=True,
-                                         is_drag_dest=False)
+                                         is_drag_dest=False,
+                                         shadow_type=Gtk.ShadowType.IN)
                self.songs.append_column(RB.EntryViewColumn.TITLE, True)
                self.songs.append_column(RB.EntryViewColumn.ARTIST, True)
                self.songs.append_column(RB.EntryViewColumn.DURATION, True)
diff --git a/plugins/soundcloud/soundcloud.ui b/plugins/soundcloud/soundcloud.ui
index 7a62e11..a1371b6 100644
--- a/plugins/soundcloud/soundcloud.ui
+++ b/plugins/soundcloud/soundcloud.ui
@@ -21,9 +21,7 @@
   <object class="GtkGrid" id="soundcloud-source">
     <property name="visible">True</property>
     <property name="can_focus">False</property>
-    <property name="margin_top">12</property>
     <property name="vexpand">True</property>
-    <property name="row_spacing">12</property>
     <child>
       <object class="GtkPaned" id="paned">
         <property name="visible">True</property>
@@ -64,7 +62,6 @@
       <object class="GtkBox" id="box1">
         <property name="visible">True</property>
         <property name="can_focus">False</property>
-        <property name="margin_right">6</property>
         <child>
           <object class="GtkBox" id="search-box">
             <property name="visible">True</property>


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