nautilus-sendto r318 - in trunk: . src



Author: hadess
Date: Tue Apr  8 22:38:28 2008
New Revision: 318
URL: http://svn.gnome.org/viewvc/nautilus-sendto?rev=318&view=rev

Log:
2008-04-08  Bastien Nocera  <hadess hadess net>

	* src/nautilus-sendto-command.c (option_changed),
	(set_contact_widgets): Fix the mnemonic for "Send to"
	not working (Closes: #526258)



Modified:
   trunk/ChangeLog
   trunk/src/nautilus-sendto-command.c

Modified: trunk/src/nautilus-sendto-command.c
==============================================================================
--- trunk/src/nautilus-sendto-command.c	(original)
+++ trunk/src/nautilus-sendto-command.c	Tue Apr  8 22:38:28 2008
@@ -391,6 +391,8 @@
 	gtk_widget_hide ((GtkWidget *) aux->data);
 	aux = g_list_nth (ui->contact_widgets, option);
 	gtk_widget_show ((GtkWidget *) aux->data);
+
+	gtk_label_set_mnemonic_widget (GTK_LABEL (ui->send_to_label), aux->data);
 }
 
 static void
@@ -410,7 +412,6 @@
 		if (GTK_IS_ENTRY (w)) {
 			g_signal_connect (G_OBJECT (w), "activate",
 					G_CALLBACK (send_if_no_pack_cb), ui);
-			gtk_label_set_mnemonic_widget (GTK_LABEL (ui->send_to_label), w);
 		}
 	}
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]