SimpleGTK theme maker

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

SimpleGTK theme maker

#21 Post by L18L »

Hi stu90, good news
http://bkhome.org/blog/?viewDetailed=02335

Playing with remove I have found and fixed a bug.
If nothing was selected then the entire directory was deleted.
Not really deleted, I could move it back from /tmp.

Version 0.6 attached.

Code: Select all

### Stu90 ### L18L ###
# delete only if one theme was selected or everything will be deleted
# using variable RESTART
RESTART=$0 # using $RESTART enables restart independent of script name
VERSION=" v 0.6 "
And a question: You seem to not like gtk-stock items. Any good reason for no more using them :?:
Regards
Attachments
simplegtk.gz
just the script to use in /root/my-applications/bin
Version 0.6
(1.45 KiB) Downloaded 776 times

stu90

Re: SimpleGTK theme maker

#22 Post by stu90 »

L18L wrote:Hi stu90, good news
http://bkhome.org/blog/?viewDetailed=02335

Playing with remove I have found and fixed a bug.
If nothing was selected then the entire directory was deleted.
Not really deleted, I could move it back from /tmp.

Version 0.6 attached.

Code: Select all

### Stu90 ### L18L ###
# delete only if one theme was selected or everything will be deleted
# using variable RESTART
RESTART=$0 # using $RESTART enables restart independent of script name
VERSION=" v 0.6 "
And a question: You seem to not like gtk-stock items. Any good reason for no more using them :?:
Regards
Yikes, good catch on that bug L18L i have updated straight away and thanks for the restart variable tip that will come in handy.

Other than personal preference (i don't much like the look of the stock gtk icons) there is no real reason for not using them - i guess i could add them back in if people find they give better / visual instruction for what the buttons do?

cheers.

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

Re: SimpleGTK theme maker

#23 Post by L18L »

stu90 wrote:Other than personal preference (i don't much like the look of the stock gtk icons) there is no real reason for not using them - i guess i could add them back in if people find they give better / visual instruction for what the buttons do?
Besides their graphics it is more important for me that they are internationalized and localized. Maybe you have noticed in my screenshots (not in this thread, here I have used LANGUAGE=en simplegtk to make an English gui) Cancel was translated to Abbrechen.
Gtk-stock items are a standard used in puppy and elsewhere round the globe :)

I have downloaded o.6, inside it 0.7
Anyhow here is my 0.7 if you like it :)
Note, I like to use gtk-go-back, gtk-go-forward if appropriate and gtk-quit.

PS: you have made yad a dependency, very good :!:
Attachments
simplegtk.gz
0.7 use of gtk-stock items
(1.43 KiB) Downloaded 480 times
simplegtk-0.7.png
(6.96 KiB) Downloaded 899 times

stu90

#24 Post by stu90 »

Hi L18L,

regarding icons: What you state sound like a good enough reason to leave them in.

I have changed the icons on the removal gui to (gtk-go-back and gtk-remove) and added a new info box when a theme is removed.

Also found another bug as well (tried to fix it but have hit a brick wall here ) - trying to close/quit the with the little 'x' in the window decoration respawns the gui.

cheers.
Attachments
simplegtk.gz
version 0.7a
(1.48 KiB) Downloaded 559 times

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

#25 Post by L18L »

stu90 wrote: close/quit the with the little 'x' in the window decoration
fixed :)

http://murga-linux.com/puppy/viewtopic.php?t=69283
Attachments
simplegtk.gz
version 7b
(1.56 KiB) Downloaded 510 times

stu90

#26 Post by stu90 »

L18L wrote:
stu90 wrote: close/quit the with the little 'x' in the window decoration
fixed :)

http://murga-linux.com/puppy/viewtopic.php?t=69283
Nice one L18L 8)

I will make a new .pet - i also been though some of the other yad scripts, simplewall, simplebox, simplesave and changed all the buttons to gtk so will update the pets for them today aswell
cheers.

User avatar
johnywhy
Posts: 879
Joined: Sat 20 Aug 2011, 14:52

#27 Post by johnywhy »

Hello
Sorry if dumb question, but could this be used to edit xfce? I think xfce is based on gtk.

Thanks,
A noob
[b]Now[/b]: X-Tahr 2.0! StretchDog! DevuanDog!
[b]Tops[/b]: TarhNOP Vlina-R2 Racy
[b]Used[/b]: Puppeee Precise Lucid Wary Tahrpup Quirky Slacko MacPup Saluki Puppy Studio LxPupTarh Lina-Lite Lina
[i]i ♥ Puppy[/i]

Pelo

Simple but all right, 2014.

#28 Post by Pelo »

Simple but all right, 2014.

Pelo

Simple but all right, 2014.

#29 Post by Pelo »

Simple but all right, 2014.

Post Reply