~ubuntu-branches/ubuntu/vivid/system-config-printer/vivid-proposed

« back to all changes in this revision

Viewing changes to troubleshoot/PrintTestPage.py

  • Committer: Package Import Robot
  • Author(s): Till Kamppeter
  • Date: 2014-07-06 09:41:43 UTC
  • mto: (256.1.1 utopic-proposed)
  • mto: This revision was merged to the branch mainline in revision 256.
  • Revision ID: package-import@ubuntu.com-20140706094143-n4gi5juot9ogomct
Tags: upstream-1.4.5+20140706
ImportĀ upstreamĀ versionĀ 1.4.5+20140706

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
        hbox.set_border_width (0)
72
72
        hbox.set_spacing (3)
73
73
        hbox.set_layout (Gtk.ButtonBoxStyle.START)
74
 
        self.print_button = Gtk.Button (_("Print Test Page"))
 
74
        self.print_button = Gtk.Button.new_with_label (_("Print Test Page"))
75
75
        hbox.pack_start (self.print_button, False, False, 0)
76
76
 
77
 
        self.cancel_button = Gtk.Button (_("Cancel All Jobs"))
 
77
        self.cancel_button = Gtk.Button.new_with_label (_("Cancel All Jobs"))
78
78
        hbox.pack_start (self.cancel_button, False, False, 0)
79
79
        page.pack_start (hbox, False, False, 0)
80
80