Search found 17 matches

by hannysabbagh
Tue 02 Jul 2013, 17:24
Forum: Programming
Topic: embedded if in gtkdialog?
Replies: 2
Views: 1408

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:
by hannysabbagh
Thu 27 Jun 2013, 14:27
Forum: Programming
Topic: embedded if in gtkdialog?
Replies: 2
Views: 1408

embedded if in gtkdialog?

Hello everyone. i was watching this example: http://gtkdialog.googlecode.com/svn/trunk/examples/miscellaneous/embedded_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 th...
by hannysabbagh
Tue 18 Jun 2013, 18:36
Forum: Programming
Topic: error when exporting a function in gtkdialog
Replies: 7
Views: 3466

Hi agian.

the problem has been fixed.. i don't know how!
i just tried to run the code more often times.. and it worked alone!

LOL!

Thank you all for your help.
by hannysabbagh
Tue 18 Jun 2013, 18:31
Forum: Programming
Topic: error when exporting a function in gtkdialog
Replies: 7
Views: 3466

Thanks.

i did that but it still the same,
by the way, i am on Ubuntu 13.04 and i use gtkdialog 0.8.2 :)
thanks.
by hannysabbagh
Tue 18 Jun 2013, 09:01
Forum: Programming
Topic: error when exporting a function in gtkdialog
Replies: 7
Views: 3466

Hello.

i can run the program if i changed it to bash, the problem is that my function won't work if i did that :(

is there anyway to keep my function working? because i use it in a combobox as an input, if i changed it to bash, the input won't show anything.

thanks.
by hannysabbagh
Tue 18 Jun 2013, 07:15
Forum: Programming
Topic: error when exporting a function in gtkdialog
Replies: 7
Views: 3466

i use #!/bin/sh
by hannysabbagh
Tue 18 Jun 2013, 06:18
Forum: Programming
Topic: error when exporting a function in gtkdialog
Replies: 7
Views: 3466

error when exporting a function in gtkdialog

Hello.

i have this error when i try to export a function in gtkdialog 0.8.2:

Code: Select all

12: export: Illegal option -f
here is the line 12:

Code: Select all

export -f theme_list 
here is theme_list function:

Code: Select all

theme_list() {
ls -d /usr/share/themes/*/gtk-2.0 | awk -F"/" '{print $5}' 
}
any help?
thanks.
by hannysabbagh
Mon 03 Jun 2013, 20:08
Forum: Programming
Topic: problem when using ls in gtkdialog..
Replies: 4
Views: 1978

Thank you my friend, it is now working correctly :)
Thanks.
by hannysabbagh
Mon 03 Jun 2013, 17:05
Forum: Programming
Topic: problem when using ls in gtkdialog..
Replies: 4
Views: 1978

hello seaside.

i know that you can do that, but the problem is that i need only the theme name, not its full directory, like:"Crux,Adwitia.." not "/usr/share/themes/crux"...

thank you.
by hannysabbagh
Mon 03 Jun 2013, 15:03
Forum: Programming
Topic: problem when using ls in gtkdialog..
Replies: 4
Views: 1978

problem when using ls in gtkdialog..

Hello. i have wrote a command to list all gtk2 themes in /usr/share/themes: ls -d /usr/share/themes/*/gtk-2.0 | awk -F"/gtk-2.0" '{print $1}' the problem is when i try to put this command as an input command for comboboxtext, of course it will give me a Synatex error because of the ' so i ...
by hannysabbagh
Sat 25 May 2013, 08:48
Forum: Programming
Topic: change process name in gtkdialog
Replies: 3
Views: 1367

Thank you.

but this only changes the window title, i want to change the process name so i can run 'killall' on the window i want, not all gtkdialog windows.

thanks.
by hannysabbagh
Sat 25 May 2013, 07:30
Forum: Programming
Topic: change process name in gtkdialog
Replies: 3
Views: 1367

change process name in gtkdialog

Hello.

I wonder if there is a way to change process name for my gtkdialog apps?
i mean when i write an app using gtkdialog, and when i run this app, the process name is always "gtkdialog", can i change this??

thanks.
by hannysabbagh
Sun 14 Apr 2013, 15:49
Forum: Programming
Topic: RTL in gtkdialog..
Replies: 8
Views: 4421

Ok , you are right in saying that it is GTK is the responsible about RTL or LTR, the problem that i discovered is that if i changed my locale to English then it will display RTL, and if i changed it to Arabic it will display it LTR !! it is reversed here! i tried to install Elementary OS to check fr...
by hannysabbagh
Sun 14 Apr 2013, 12:02
Forum: Programming
Topic: GtkDialog - tips
Replies: 1504
Views: 910715

Hello.

anybody knows how to get out of this? :)
http://www.murga-linux.com/puppy/viewtopic.php?t=85640

ThankS!
by hannysabbagh
Sun 14 Apr 2013, 12:01
Forum: Programming
Topic: RTL in gtkdialog..
Replies: 8
Views: 4421

i think i am going to jump there :D
thanks :lol:
by hannysabbagh
Sun 14 Apr 2013, 11:46
Forum: Programming
Topic: RTL in gtkdialog..
Replies: 8
Views: 4421

Well , i already did and i discoverd that it can't :lol:
So here i want to ask if anybody can display the text in Gtkdialog boxes using RTL? :)
thanks
by hannysabbagh
Sun 14 Apr 2013, 10:47
Forum: Programming
Topic: RTL in gtkdialog..
Replies: 8
Views: 4421

RTL in gtkdialog..

Hello.

i have gtkdialog 0.8.3 installed, i want to know if gtkdialog can display the text from right to left?? because this is very important in some languages like Arabic..?

thanks.