Skip to content

Commit b9d8c98

Browse files
committed
gtk: remove use of deprecated Stock namespace
1 parent 23c6fba commit b9d8c98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gnome-ask-password-agent.vala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ public class PasswordDialog : Dialog {
3636
set_default_response(ResponseType.OK);
3737
set_icon_name(icon);
3838

39-
add_button(Stock.CANCEL, ResponseType.CANCEL);
40-
add_button(Stock.OK, ResponseType.OK);
39+
add_button("_Cancel", ResponseType.CANCEL);
40+
add_button("_OK", ResponseType.OK);
4141

4242
Container content = (Container) get_content_area();
4343

0 commit comments

Comments
 (0)