diff options
author | Bastien Nocera <hadess@hadess.net> | 2009-07-13 20:19:57 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2009-07-15 10:45:22 +0100 |
commit | 1f9e5803b05902973e6ebb3a140ef314370b2006 (patch) | |
tree | a1a2e802127bc0f4cb488fd4b5aa4fac46ef48de /applet | |
parent | ef7c6ba2e167ded4aca474c19e13d27c0c3db853 (diff) | |
download | gnome-bluetooth-1f9e5803b05902973e6ebb3a140ef314370b2006.tar.gz |
Remove unfitting image in button
This is a "connect" image, when the label is "browse", better off
not having an image.
Diffstat (limited to 'applet')
-rw-r--r-- | applet/main.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/applet/main.c b/applet/main.c index 0008c025..f0c40dc7 100644 --- a/applet/main.c +++ b/applet/main.c @@ -106,7 +106,7 @@ void browse_callback(GObject *widget, gpointer user_data) address = g_strdup (g_object_get_data (widget, "address")); if (address == NULL) { - GtkWidget *dialog, *selector, *button, *image; + GtkWidget *dialog, *selector, *button; int response_id; dialog = gtk_dialog_new_with_buttons(_("Select Device to Browse"), NULL, @@ -114,8 +114,6 @@ void browse_callback(GObject *widget, gpointer user_data) GTK_STOCK_CANCEL, GTK_RESPONSE_REJECT, 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); |