hi, well anonymous monk's reply below to set a scalar to 'redrum' would work, but it is about the ugliest hack you can use..... and since you don't know much about programming, i don't want to let you go off thinking that programming is some sort of black magic.....

i will give you a simple lesson, and it may just start you off on a new gtk2 project of your own.

....read thru the code.... it explains what is happening...... what you want to do, is make a backup copy of the script.... and start hacking on your temp copies as you experiment and discard them

....look for the word "getconfirmation".... it is a subroutine which you must disable....either by faking a return value (redrum), or better, remove all code from the script that deals with the confirmation window

.... the getconfirmation sub uses some internal gtk tokens like 'ok' to pass the status of the pipe running rsync...... so play around......comment out lines......if you get error messages, check out what you did and what lines you just commented out

if you totally fubar a script copy, just discard it and start over from your master copy

.... or just use the 'redrum' hack...... ;-)

... a great tutorial for this is at tutorial

all work and no play makes zentara a dull boy all work and no play makes zentara a dull boy all work and no play makes zentara a dull boy all work and no play makes zentara a dull boy all work and no play makes zentara a dull boy all work and no play makes zentara a dull boy all work and no play makes zentara a dull boy

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku

In reply to Re^4: rsync with Gtk2 progressbar by zentara
in thread rsync with Gtk2 progressbar by zentara

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.