These changes also invalidates #7218, as we're no longer using buttons with icons with these changes.
This commit is contained in:
parent
d33771787a
commit
403dd8508e
17 changed files with 96 additions and 89 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue