embedded if in gtkdialog?

For discussions about programming, programming questions/advice, and projects that don't really have anything to do with Puppy.
Post Reply
Message
Author
hannysabbagh
Posts: 17
Joined: Sun 14 Apr 2013, 10:34

embedded if in gtkdialog?

#1 Post by hannysabbagh »

Hello everyone.

i was watching this example: http://gtkdialog.googlecode.com/svn/tru ... mbedded_if

but the problem is that it is broken, so i wonder if there is any other way to use an embedded if in gtkdialog like if a file exists in file-system, run the action1 ,else, run the action2 , is there a something like that?

Thanks.
Last edited by hannysabbagh on Tue 02 Jul 2013, 17:27, edited 1 time in total.

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

embedded if in gtkdialog?

#2 Post by L18L »

Code: Select all

[ "${flag}" ] && action1 || action2
:roll:

hannysabbagh
Posts: 17
Joined: Sun 14 Apr 2013, 10:34

#3 Post by hannysabbagh »

Thanks!

i have more questions about gtkdialog , shall i put them here or i have to open a new post? :D because i almost to flood the forum :lol: :oops:

Post Reply