diff --git a/pace-gui/images/Makefile.am b/pace-gui/images/Makefile.am index b5bd882..05571db 100644 --- a/pace-gui/images/Makefile.am +++ b/pace-gui/images/Makefile.am @@ -3,7 +3,8 @@ pixmaps_DATA = \ OpenPACElogo.png \ apply.png \ error.png \ - wait.gif + wait.gif \ + info.png EXTRA_DIST = \ $(pixmaps_DATA) diff --git a/pace-gui/images/apply.png b/pace-gui/images/apply.png index d73d0ab..0bb03f2 100644 Binary files a/pace-gui/images/apply.png and b/pace-gui/images/apply.png differ diff --git a/pace-gui/images/error.png b/pace-gui/images/error.png index d0152da..fa5f5d4 100644 Binary files a/pace-gui/images/error.png and b/pace-gui/images/error.png differ diff --git a/pace-gui/images/info.png b/pace-gui/images/info.png new file mode 100644 index 0000000..e836114 Binary files /dev/null and b/pace-gui/images/info.png differ diff --git a/pace-gui/src/pace-gui.py b/pace-gui/src/pace-gui.py index 9d9b778..1482acb 100644 --- a/pace-gui/src/pace-gui.py +++ b/pace-gui/src/pace-gui.py @@ -258,6 +258,10 @@ class customCheckButton(object): self.lbl.set_padding(20, 0) self.lbl.modify_font(pango.FontDescription("bold")) + #an image at the left side of the label + self.img = gtk.Image() + self.img.set_from_file(image_dir + "/info.png") + #...and a checkbox on the right side of the label self.idx = index self.chk = gtk.CheckButton("") @@ -266,6 +270,7 @@ class customCheckButton(object): #Insert the label and the checkbox in the vbox and add a seperator hbox = gtk.HBox() + hbox.pack_start(self.img, False, False) hbox.pack_start(self.lbl, True, True) hbox.pack_start(self.chk, False, False) vbox.pack_start(gtk.HSeparator()) diff --git a/pace-gui/src/pinpad.glade b/pace-gui/src/pinpad.glade index 01dc436..aab5264 100644 --- a/pace-gui/src/pinpad.glade +++ b/pace-gui/src/pinpad.glade @@ -65,12 +65,10 @@ True - 5 True 0.89999997615814209 - 5 <span fgcolor="red" font="12">Ausweis</span> True @@ -82,7 +80,6 @@ True 0.10000000149011612 - 5 error.png