[brasero] Add a fix for optical drive not selected by default.



commit f9d1053a648110efbeb02bee6ee162eaaa809306
Author: Luis Medinas <lmedinas gnome org>
Date:   Mon Oct 24 00:52:08 2011 +0100

    Add a fix for optical drive not selected by default.
    
    Fixes bgo #662541 - Optical drive selection not displayed

 libbrasero-media/brasero-medium-selection.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libbrasero-media/brasero-medium-selection.c b/libbrasero-media/brasero-medium-selection.c
index bdf2044..858b1d1 100644
--- a/libbrasero-media/brasero-medium-selection.c
+++ b/libbrasero-media/brasero-medium-selection.c
@@ -562,6 +562,8 @@ brasero_medium_selection_show_media_type (BraseroMediumSelection *selector,
 			                                   MEDIUM_COL, medium,
 			                                   -1);
 
+			gtk_combo_box_set_active_iter (GTK_COMBO_BOX (selector), &iter);
+
 			medium_name = brasero_medium_selection_get_medium_string (selector, medium);
 			medium_icon = brasero_volume_get_icon (BRASERO_VOLUME (medium));
 			gtk_list_store_set (GTK_LIST_STORE (model), &iter,



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