[gnome-bluetooth/meego] meego: show the correct device name when pairing fails (BMC#7541)
- From: Ross Burton <rburton src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth/meego] meego: show the correct device name when pairing fails (BMC#7541)
- Date: Tue, 12 Oct 2010 14:42:00 +0000 (UTC)
commit d733aa6fb9c04debd840b079f50e27305552c786
Author: Ross Burton <ross linux intel com>
Date: Tue Oct 12 15:43:11 2010 +0100
meego: show the correct device name when pairing fails (BMC#7541)
moblin/moblin-panel.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/moblin/moblin-panel.c b/moblin/moblin-panel.c
index 374e7c0..0c4b2cd 100644
--- a/moblin/moblin-panel.c
+++ b/moblin/moblin-panel.c
@@ -867,14 +867,11 @@ create_callback (BluetoothClient *client, const gchar *path, const GError *error
{
MoblinPanel *self = MOBLIN_PANEL (user_data);
MoblinPanelPrivate *priv = MOBLIN_PANEL_GET_PRIVATE (self);
- gchar *device_name;
priv->create_started = FALSE;
if (path == NULL) {
- device_name = bluetooth_chooser_get_selected_device_name (BLUETOOTH_CHOOSER (priv->chooser));
- set_failure_message (self, device_name);
- g_free (device_name);
+ set_failure_message (self, priv->target_name);
set_current_page (self, PAGE_FAILURE);
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]