gnome-bluetooth r374 - trunk/applet
- From: hadess svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-bluetooth r374 - trunk/applet
- Date: Thu, 26 Feb 2009 17:57:13 +0000 (UTC)
Author: hadess
Date: Thu Feb 26 17:57:13 2009
New Revision: 374
URL: http://svn.gnome.org/viewvc/gnome-bluetooth?rev=374&view=rev
Log:
Use "Browse" not "Connect" in the browse dialogue
The dialogue asks us to browse, but the button says "Connect".
Modified:
trunk/applet/main.c
Modified: trunk/applet/main.c
==============================================================================
--- trunk/applet/main.c (original)
+++ trunk/applet/main.c Thu Feb 26 17:57:13 2009
@@ -151,14 +151,17 @@
static void browse_callback(GObject *widget, gpointer user_data)
{
- GtkWidget *dialog, *selector;
+ GtkWidget *dialog, *selector, *button, *image;
char *bdaddr, *cmd;
int response_id;
dialog = gtk_dialog_new_with_buttons(_("Select Device to Browse"), NULL,
GTK_DIALOG_NO_SEPARATOR,
GTK_STOCK_CANCEL, GTK_RESPONSE_REJECT,
- GTK_STOCK_CONNECT, GTK_RESPONSE_ACCEPT, NULL);
+ NULL);
+ button = gtk_dialog_add_button (GTK_DIALOG (dialog), _("_Browse"), GTK_RESPONSE_ACCEPT);
+ image = gtk_image_new_from_icon_name (GTK_STOCK_CONNECT, GTK_ICON_SIZE_BUTTON);
+ gtk_button_set_image (GTK_BUTTON (button), image);
gtk_dialog_set_response_sensitive(GTK_DIALOG(dialog),
GTK_RESPONSE_ACCEPT, FALSE);
gtk_window_set_default_size(GTK_WINDOW(dialog), 480, 400);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]