pidgin/plugins/gevolution/assoc-buddy.c

changeset 39502
818d74083471
parent 38583
148773196bc1
child 39897
16b440d4ab36
--- a/pidgin/plugins/gevolution/assoc-buddy.c	Thu Oct 19 22:35:43 2017 -0500
+++ b/pidgin/plugins/gevolution/assoc-buddy.c	Mon Mar 18 22:24:27 2019 -0500
@@ -382,7 +382,7 @@
 					 G_CALLBACK(search_changed_cb), dialog);
 
 	/* Clear button */
-	button = gtk_button_new_from_stock(GTK_STOCK_CLEAR);
+	button = gtk_button_new_with_mnemonic(_("C_lear"));
 	gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 0);
 	gtk_widget_show(button);
 
@@ -432,8 +432,7 @@
 	gtk_widget_show(bbox);
 
 	/* "New Person" button */
-	button = pidgin_pixbuf_button_from_stock(_("New Person"), GTK_STOCK_NEW,
-										   PIDGIN_BUTTON_HORIZONTAL);
+	button = gtk_button_new_with_mnemonic(_("_New Person"));
 	gtk_box_pack_start(GTK_BOX(bbox), button, FALSE, FALSE, 0);
 	gtk_widget_show(button);
 
@@ -441,7 +440,7 @@
 					 G_CALLBACK(new_person_cb), dialog);
 
 	/* "Cancel" button */
-	button = gtk_button_new_from_stock(GTK_STOCK_CANCEL);
+	button = gtk_button_new_with_mnemonic(_("_Cancel"));
 	gtk_box_pack_start(GTK_BOX(bbox), button, FALSE, FALSE, 0);
 	gtk_widget_show(button);
 
@@ -449,9 +448,7 @@
 					 G_CALLBACK(cancel_cb), dialog);
 
 	/* "Associate Buddy" button */
-	button = pidgin_pixbuf_button_from_stock(_("_Associate Buddy"),
-										   GTK_STOCK_APPLY,
-										   PIDGIN_BUTTON_HORIZONTAL);
+	button = gtk_button_new_with_mnemonic(_("_Associate Buddy"));,
 	dialog->assoc_button = button;
 	gtk_box_pack_start(GTK_BOX(bbox), button, FALSE, FALSE, 0);
 	gtk_widget_set_sensitive(button, FALSE);

mercurial