Drop Gtk.Stock: Closes #7203, Closes #7294

These changes also invalidates #7218, as we're no longer using
buttons with icons with these changes.
This commit is contained in:
Jim Nelson 2013-08-02 15:28:33 -07:00
parent d33771787a
commit 403dd8508e
17 changed files with 96 additions and 89 deletions

View file

@ -48,14 +48,14 @@ abstract class AlertDialog : Object {
class ConfirmationDialog : AlertDialog {
public ConfirmationDialog(Gtk.Window? parent, string primary, string? secondary, string? ok_button) {
base (parent, Gtk.MessageType.WARNING, primary, secondary, ok_button, Gtk.Stock.CANCEL,
base (parent, Gtk.MessageType.WARNING, primary, secondary, ok_button, Stock._CANCEL,
null, Gtk.ResponseType.NONE);
}
}
class ErrorDialog : AlertDialog {
public ErrorDialog(Gtk.Window? parent, string primary, string? secondary) {
base (parent, Gtk.MessageType.ERROR, primary, secondary, Gtk.Stock.OK, null, null,
base (parent, Gtk.MessageType.ERROR, primary, secondary, Stock._OK, null, null,
Gtk.ResponseType.NONE);
}
}