jed-users mailing list

[2004 Date Index] [2004 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: windows taskbar tooltips


Manfred Nowak wrote:
Hi all,

is it possible to show in the windows taskbar WJED-Icon
the name of the working file, same as -T option under Unix ??

Regards

Manfred



You could use x_set_window_name().
Put it in your jed.rc.

static define my_switch_buffer_hook (old_buf)
{
   variable file, dir, buf;
   !if (BATCH)
   {
      (file, dir, buf,) = getbuf_info ();
      if ((buf[0] == ' ') or (buf[0] == '*') or file == "")
      {
	 message ("Buffer: " + buf);
	 buf = "WJed [" + buf + "]";
      }
      else
      {
	 message (dir + file);
	 buf = file + " - WJed";
      }

#ifdef WIN32
      x_set_window_name (buf);
#endif

   }
}
append_to_hook ("_jed_switch_active_buffer_hooks", &my_switch_buffer_hook);


Marko.


--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2004 date index] [2004 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]