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.
embedded if in gtkdialog?
-
- Posts: 17
- Joined: Sun 14 Apr 2013, 10:34
embedded if in gtkdialog?
Last edited by hannysabbagh on Tue 02 Jul 2013, 17:27, edited 1 time in total.
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
embedded if in gtkdialog?
Code: Select all
[ "${flag}" ] && action1 || action2
-
- Posts: 17
- Joined: Sun 14 Apr 2013, 10:34