[Xfce4-commits] <gigolo:master> Automatically choose the first Samba share if any were found

Enrico Tröger noreply at xfce.org
Sat Sep 17 14:26:01 CEST 2011


Updating branch refs/heads/master
         to 2400de30a0157949f2c393cbccf13028d7551080 (commit)
       from 7fec2746f95ac521b94e50e86e251de345263f02 (commit)

commit 2400de30a0157949f2c393cbccf13028d7551080
Author: Enrico Tröger <enrico at xfce.org>
Date:   Fri Sep 16 17:35:54 2011 +0200

    Automatically choose the first Samba share if any were found

 src/bookmarkeditdialog.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/bookmarkeditdialog.c b/src/bookmarkeditdialog.c
index 446efaf..a1016cc 100644
--- a/src/bookmarkeditdialog.c
+++ b/src/bookmarkeditdialog.c
@@ -932,6 +932,8 @@ static void browse_host_finished_cb(G_GNUC_UNUSED GigoloBackendGVFS *bnd, GSList
 		{
 			gtk_combo_box_append_text(GTK_COMBO_BOX(priv->share_combo), node->data);
 		}
+		gtk_combo_box_set_active(GTK_COMBO_BOX(priv->share_combo), 0);
+
 	}
 	gtk_widget_set_sensitive(priv->share_button, TRUE);
 }


More information about the Xfce4-commits mailing list