~parnold-x/pantheon-terminal/fix-1419997

« back to all changes in this revision

Viewing changes to src/ForegroundProcessDialog.vala

  • Committer: Djax
  • Date: 2015-03-21 18:51:52 UTC
  • Revision ID: parnold@gmx.de-20150321185152-bc1bdgdfnjioj17z
remove close button from ForegroundProcessDialog

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
    public class ForegroundProcessDialog : Gtk.MessageDialog {
24
24
 
25
25
        public ForegroundProcessDialog () {
 
26
            /* get rid of the close button */
 
27
            deletable = false;
26
28
            use_markup = true;
27
29
            set_markup ("<span weight='bold' size='larger'>" +
28
30
                      _("Are you sure you want to close this tab?") + "</span>\n\n" +
46
48
        }
47
49
 
48
50
        public ForegroundProcessDialog.before_close () {
 
51
            /* get rid of the close button */
 
52
            deletable = false;
49
53
            use_markup = true;
50
54
            set_markup ("<span weight='bold' size='larger'>" +
51
55
                      _("Are you sure you want to quit Terminal?") + "</span>\n\n" +