public inbox for sourcenav@sourceware.org
 help / color / mirror / Atom feed
From: Mo DeJong <supermo@bayarea.net>
To: sourcenav <sourcenav@sources.redhat.com>
Subject: [Patch] Select <External Makefile> the first time the build window is opened
Date: Mon, 04 Feb 2002 14:08:00 -0000	[thread overview]
Message-ID: <20020204133046.1da8946d.supermo@bayarea.net> (raw)

Here is a simple patch that will select the <External Makefile> target
the first time the build Window is opened. I seem to remember this
working in the 4.5 version but it became broken at some point during
the 5.0 development cycle.

Since this is a small change I assume it will be covered by the
"Small changes can be accepted without a copyright
assignment form on file" text from the contrib webpage.

Mo

2002-02-04  Mo DeJong  <supermo@bayarea.net>

	* gui/makepane.tcl (Make): When initially
	opening the build window select the
	<External Makefile> target.

--- gui/makepane.tcl	Mon Feb 26 09:15:16 2001
+++ gui/makepane.tcl	Mon Feb  4 00:19:27 2002
@@ -121,7 +121,9 @@
 
         # Selecting the last target used, if any.
         if {! [catch {paf_db_proj get -key IDEMakeCurrentTarget} targ]} {
-            set target $targ
+            if {![string equal $targ ""]} {
+                set target $targ
+            }
         }
 
         ${entries}.targets selecttext ${target}

                 reply	other threads:[~2002-02-04 21:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020204133046.1da8946d.supermo@bayarea.net \
    --to=supermo@bayarea.net \
    --cc=sourcenav@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).