gmoccapy_1_2_1 - updates to machinekit

ver. 1.2.1
- due to the behavior of XFCE of the new hybrid.iso I
  had to change the width settings of several button
  to stretch them to fit some text and images
- The same reason forced to set new default startposition
  of the main window and the notification messages.

ver. 1.2.0
- changed GetIniInfo to return also user message setups
- notification now supports pango markup in the messages
- added hal user messages similar to gsreeen to gmoccapy
  see gmoccapy_messages.ini for usage information
- updated the translation files for German and Spanish

ver. 1.1.5.9
- prepared yesno_dialog for user message,
  it does accept now pango markup
- wrong values in axis offset didn't show a message
  to the user, I fixed that

ver. 1.1.5.8
- message at start because of
  return(PlasmaClass(halcomp, builder, useropts))
  instedt off
  return[PlasmaClass(halcomp, builder, useropts)]
  resulting in iteration over none object

ver. 1.1.5.7
- init dynamic tab now in try except to avoid python exception
  on user typos in ini file
- loading a tool using remap, leaded to an error if no file has been
  loaded before the change, we do check for that now to avoid the error

ver. 1.1.5.6
- introduced three new hal-pin to signal program progress informations
  gmoccapy.program.length = S32, OUT (total number of program lines)
  gmoccapy.program.current-line =S32, OUT (current executed line)
  gmoccapy.program.progress = FLOAT, OUT (progress in %)

  This pin do not work very perfect when using subroutines or remap procedures
Am 07.09.2014 22:28, schrieb John Morris:
>
> In src/emc/usr_intf/gmoccapy/getiniinfo.py:
>
> > @@ -243,4 +241,18 @@ def get_RS274_start_code(self):
> >              return False
> >          return  temp
> >
> > +    def get_user_messages(self):
> > +        message_text = self.inifile.findall("DISPLAY", "MESSAGE_TEXT")
> > +        message_type = self.inifile.findall("DISPLAY", "MESSAGE_TYPE")
> > +        message_pinname = self.inifile.findall("DISPLAY", "MESSAGE_PINNAME")
> > +        if len(message_text) != len(message_type) or len(message_text) != len(message_pinname):
> > +            print("**** GMOCCAPY GETINIINFO **** \n ERROR in user message setup")
> > +            return None
> > +        else:
> > +            for element in message_pinname:
> > +                if " " in element:
> > +                    print("**** GMOCCAPY GETINIINFO **** \n ERROR in user message setup \n Pinname should not contain spaces")
>
> Long quotes can be wrapped in python, e.g.:
>
> |print("**** GMOCCAPY GETINIINFO **** \n"
>        " ERROR in user message setup \n"
>        " Pinname should not contain spaces")
> |
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/machinekit/machinekit/pull/288/files#r17217112>.
>
Thanks for the hint.

Norbert