wizard fixes
PATCH 1/1 wizard fixes
Some small fixes for the wizard.
- Search on all the adapters, rather than just the first one
- Clean up the user-visible strings
- Translate the "Device" column
We should probably use the device selector when it's closer to ready.
Signature · 1 line
Bastien Nocera <[email protected]>
wizard/main.c +6 -6
@@ -112,12 +112,12 @@ static void cancel_callback(GtkWidget *assistant, gpointer data)static void prepare_callback (GtkWidget *assistant,GtkWidget *page,gpointer data) {if (page == page_search) { -bluetooth_client_discover_devices (client,"/org/bluez/hci0" ); +bluetooth_client_discover_devices (client,NULL );return ; }if (page == page_pairing) { -bluetooth_client_cancel_discovery (client,"/org/bluez/hci0" ); +bluetooth_client_cancel_discovery (client,NULL ); bluetooth_client_register_passkey_agent(client, "/org/bluez/applet", address,
@@ -242,7 +242,7 @@ static void create_type(GtkWidget *assistant) vbox =create_vbox (assistant,GTK_ASSISTANT_PAGE_CONTENT ,_ ("Device type" ), -_ ("Select type of device you wanna setup" )); +_ ("Select the type of device you want to setup" )); button =gtk_radio_button_new_with_label (group,_ ("Mouse" ));
@@ -389,7 +389,7 @@ static void create_search(GtkWidget *assistant) vbox =create_vbox (assistant,GTK_ASSISTANT_PAGE_CONTENT ,_ ("Device search" ), -_ ("Select device you wanna setup" )); +_ ("Select the device you want to setup" )); scrolled =gtk_scrolled_window_new (NULL ,NULL );
@@ -411,7 +411,7 @@ static void create_search(GtkWidget *assistant) column =gtk_tree_view_column_new (); -gtk_tree_view_column_set_title (column,"Device" ); +gtk_tree_view_column_set_title (column,_ ("Device" )); renderer =gtk_cell_renderer_pixbuf_new ();gtk_tree_view_column_set_spacing (column,4 );
@@ -434,7 +434,7 @@ static void create_search(GtkWidget *assistant)"Type" ,gtk_cell_renderer_text_new (), type_to_text, NULL, NULL); - model =bluetooth_client_get_model_for_adapter (client,"/org/bluez/hci0" ); + model =bluetooth_client_get_model_for_adapter (client,NULL );gtk_tree_view_set_model (GTK_TREE_VIEW (tree), model);
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Marcel Holtmann
maintainerHi Bastien,
Quoted 3 lines
Some small fixes for the wizard.
- Search on all the adapters, rather than just the first one
I removed this hunk since I think it is wrong. See my other email.
Quoted 2 lines
- Clean up the user-visible strings
- Translate the "Device" column
Both changes are in the CVS now.
Regards
Marcel
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel