Git Product home page Git Product logo

Comments (7)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
To clarify, clicking on the File button using the latest gtkdialog give no 
errors and does not bring up a chooser window.
16.00-fileselect from the original examples works other than not passing the 
directory variable to the file button.  Of course, you told me you cannot pass 
a variable in gtkdialog.
When you figure out why your example will not work, let me know as now, you can 
see what I am getting at.  This for me is just a programming pastime to see 
what can and cannot be done for future use in writing scripts.

Original comment by [email protected] on 4 Sep 2011 at 5:23

from gtkdialog.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
Firstly in the project hosted here, there's no example called 
examples/miscellaneous/fileselect. The examples are:

examples/miscellaneous/fileselect_advanced
examples/miscellaneous/fileselect_deprecated

I have just tested both in a terminal and they both function as expected.

16.00-fileselect IS examples/miscellaneous/fileselect_deprecated; it was simply 
renamed.

I told you that the fileselect action function does not and has never extracted 
data from widgets to use as the starting folder; that's why I added 
fs-folder="path". I cannot explain this in any other way.

> When you figure out why your example will not work, let me know as now, you 
can see what I am getting at.

The examples here in SVN work with r254. I don't know what you're getting at.

This is what you need to do:
 * Post your examples/miscellaneous/fileselect here
 * Tell me where your example came from and if it was a pet package then tell me the full name
 * What version of Gtkdialog are you using?
 * Where did your version of Gtkdialog come from and if it was a pet package then tell me the full name

Original comment by [email protected] on 4 Sep 2011 at 10:50

  • Added labels: Type-Other
  • Removed labels: Type-Enhancement

from gtkdialog.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
There was such an example and it came from the examples subdirectory 
miscellaneous right after you made the subdirectories and before you started 
renaming the associated 
files.  on the most recent svn update, I even had about 4 versions as I went 
ahead and saved them when compiling gave me an error.
I did  NOT write this line, but it was from "fileselect" that still existed at 
that time.The line that tells me you were trying things with the fileselect 
file was "        <action type="fileselect">FILE_DIRECTORY | 
FILE_FILENAME</action>"
Also, one of the files had "<<<<<<<<<Copy" in it.  So maybe that will give you 
the time frame.  Also, Please delete this comment after reading. And don't say 
you never had things you did. 

Original comment by [email protected] on 4 Sep 2011 at 7:19

from gtkdialog.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
Hi 8-bit

It's interesting that you are now talking about the example in the past tense.

Why can't you post it? I take it from the fact that "        <action 
type="fileselect">FILE_DIRECTORY | FILE_FILENAME</action>" includes leading 
space that you've possibly copied it from somewhere and pasted it here.

I'll prove to you via the magic of SVN that that line never existed:

History of modifications to examples/16.00-fileselect (go back through the 
diffs via the links on the right):
http://code.google.com/p/gtkdialog/source/diff?spec=svn167&r=167&format=side&pat
h=/trunk/examples/16.00-fileselect&old_path=/trunk/examples/16.00-fileselect&old
=165

examples/16.00-fileselect was moved to examples/miscellaneous/fileselect and 
then renamed to examples/miscellaneous/fileselect_deprecated.

History of modifications to examples/miscellaneous/fileselect_deprecated (go 
back through the diffs via the links on the right):
http://code.google.com/p/gtkdialog/source/diff?spec=svn257&r=251&format=side&pat
h=/trunk/examples/miscellaneous/fileselect_deprecated&old_path=/trunk/examples/m
iscellaneous/fileselect&old=247

You can now search through those few pages for "FILE_DIRECTORY | FILE_FILENAME" 
and you won't find it because it never existed.

I know what you've done! I've just realised it from the fact that you had 4 
versions of the file and one of them contained the text "<<<<<<<<<Copy". You've 
been modifying the examples and when you've done an "svn update" SVN won't 
overwrite your local modifications so it saves the conflicts in special files 
which you've been attempting to execute ;)

> And don't say you never had things you did. 

I don't understand what you mean by that. Are you still clinging on to your 
belief that the fileselect action function would use the text in the entry 
widget as the initial folder to open? Or are you telling me that "<action 
type="fileselect">FILE_DIRECTORY | FILE_FILENAME</action>" did exist but I've 
deleted it?

History of modifications to src/actions.c: search for 
"gtk_file_chooser_set_current_folder" and you'll find that it never existed 
until I recently added it:
http://code.google.com/p/gtkdialog/source/browse/trunk/src/actions.c?r=227

> Also, Please delete this comment after reading. 

Evidently, I don't want to get involved in deleting posts.

This is what I recommend that you do:
 * Don't download Gtkdialog via SVN but instead download a binary package for your particular distro.
 * Please refrain from asking me for technical support.

Kindest regards,
Thunor

Original comment by [email protected] on 4 Sep 2011 at 10:08

from gtkdialog.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
I had an all nighter trying various changes.  This was only for my benefit to 
see if I could make the code work the way I thought it should.
A very tired and brain-dead me upset you and for that, I am truly sorry.
As a matter of fact, I started over and removed my original gtkdialog code 
directory and downloaded it again.  I am back to having some sense and will not 
bother you again, but investigate the downloaded source code from here and also 
from the web to try to get a better understanding of how everything is 
inter-connected and how it is supposed to work.
By the way, you have did a great job of updating both gtkdialog and the 
examples for it!  

Original comment by [email protected] on 5 Sep 2011 at 6:15

from gtkdialog.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024

Original comment by [email protected] on 6 Sep 2011 at 11:12

  • Added labels: 8-bit

from gtkdialog.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024

Original comment by [email protected] on 6 Sep 2011 at 7:57

  • Changed state: Invalid

from gtkdialog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.