[totem] Homogenise the Local Search plugin's appearance with Jamendo and YouTube



commit 1e7eb412f155459d1cd13e4606450bf3fd31b337
Author: Philip Withnall <philip tecnocode co uk>
Date:   Mon Jul 20 22:39:45 2009 +0100

    Homogenise the Local Search plugin's appearance with Jamendo and YouTube
    
    2009-07-20  Philip Withnall  <philip tecnocode co uk>
    
    	* src/plugins/tracker/totem-tracker-widget.c
    	(totem_tracker_widget_init): Homogenise the Local Search plugin's
    	appearance with the Jamendo and YouTube plugins. (Closes: #572292)

 ChangeLog                                  |    6 ++++++
 src/plugins/tracker/totem-tracker-widget.c |   11 ++---------
 2 files changed, 8 insertions(+), 9 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 942083f..af231be 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2009-07-20  Philip Withnall  <philip tecnocode co uk>
 
+	* src/plugins/tracker/totem-tracker-widget.c
+	(totem_tracker_widget_init): Homogenise the Local Search plugin's
+	appearance with the Jamendo and YouTube plugins. (Closes: #572292)
+
+2009-07-20  Philip Withnall  <philip tecnocode co uk>
+
 	* configure.in: Limit the Tracker versions we can build the Local
 	Search plugin against to 0.6.x. (Closes: #580726)
 
diff --git a/src/plugins/tracker/totem-tracker-widget.c b/src/plugins/tracker/totem-tracker-widget.c
index 9738399..f8a7418 100644
--- a/src/plugins/tracker/totem-tracker-widget.c
+++ b/src/plugins/tracker/totem-tracker-widget.c
@@ -375,7 +375,6 @@ totem_tracker_widget_init (TotemTrackerWidget *widget)
 {
 	GtkWidget *v_box;		/* the main vertical box of the widget */
 	GtkWidget *pager_box;		/* box that holds the next and previous buttons */
-	GtkWidget *search_box;		/* the search box contains the search entry and the search button */
 	GtkScrolledWindow *scroll;	/* make the result list scrollable */
 	GtkAdjustment *adjust;		/* adjustment for the page selector spin button */
 
@@ -384,20 +383,14 @@ totem_tracker_widget_init (TotemTrackerWidget *widget)
 	init_result_list (widget);
 
 	v_box = gtk_vbox_new (FALSE, 6);
-	gtk_container_set_border_width (GTK_CONTAINER (v_box), 5);
 
 	/* Search entry */
 	widget->priv->search_entry = gtk_entry_new ();
 
 	/* Search button */
 	widget->priv->search_button = gtk_button_new_from_stock (GTK_STOCK_FIND);
-
-	/* Add the search entry and button to the search box,
-	   and add the search box to the main vertical box */
-	search_box = gtk_hbox_new (FALSE, 2);
-	gtk_box_pack_start (GTK_BOX (search_box), widget->priv->search_entry, TRUE, TRUE, 0);
-	gtk_box_pack_start (GTK_BOX (search_box), widget->priv->search_button, FALSE, TRUE, 0);
-	gtk_box_pack_start (GTK_BOX (v_box), search_box, FALSE, TRUE, 0);
+	gtk_box_pack_start (GTK_BOX (v_box), widget->priv->search_entry, FALSE, TRUE, 0);
+	gtk_box_pack_start (GTK_BOX (v_box), widget->priv->search_button, FALSE, TRUE, 0);
 
 	/* Insert the result list and initialize the viewport */
 	scroll = GTK_SCROLLED_WINDOW (gtk_scrolled_window_new (NULL, NULL));



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