Closed davidhoness closed 8 years ago
Yes ... unfortunately if I do that I can't use a standard GtkMessageDialog, and so far all my attempts to make a GtkDialog look like a GtkMessageDialog have failed (the icon looks different, the fonts are wrong, etc.)
Must admit I'm not entirely convinced by the copy-to-home-dir first functionality. Firstly it's contradictory to the advertised action ("Open example"), and secondly it means the user never gets to explicitly select the filename (and directory) to save the file under which may lead to complications with them opening it later. Personally I think it'd be better to have it simply open the installation's read-only copy and leave the user to use File / Save As to explicitly save their own copy. There are a couple of drawbacks with my preference though:
In other words, I don't think there's a universally good solution here - happy to go with whatever you prefer.
Hmm. I'll give this some thought and get back to you.
Okay, so I reckon we should go with option 1 and have the examples only modifiable by root
to enforce the Save As
dialogue if running as the pi
user - but then either display a warning if they're running as root
or just omit the Open example
menu item under File
?
Can the wording of this dialogue box be changed to be more intuitive? I would prefer to have buttons saying
Open
andRevert
instead ofNo
andYes
.The text could then be something like:
File %FILE% already exists, you can open it or revert to the original?
Feel free to word-smith this a bit if necessary.