octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #34001] fltk plot window title does not update


From: Vanya Sergeev
Subject: [Octave-bug-tracker] [bug #34001] fltk plot window title does not update with changed figure name
Date: Fri, 12 Aug 2011 23:50:10 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.112 Safari/535.1

URL:
  <http://savannah.gnu.org/bugs/?34001>

                 Summary: fltk plot window title does not update with changed
figure name
                 Project: GNU Octave
            Submitted by: vsergeev
            Submitted on: Fri 12 Aug 2011 11:50:08 PM GMT
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.4.2
        Operating System: GNU/Linux

    _______________________________________________________

Details:


octave:1> graphics_toolkit ("fltk")
octave:2> plot([1,2,3,4,5])
octave:3> set(gcf, 'name', 'test')


I was expecting the window title to update to "Figure 1: test", but the window
title remains as "Figure 1".

Attached is a patch with a tiny fix (of a typo maybe?) to ensure the window's
set_name() method is called when there are changes with the figure properties
name field. This fixes it for me.

Thanks,
~vsergeev



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 12 Aug 2011 11:50:08 PM GMT  Name:
fltk_figure_window_title_update.patch  Size: 820B   By: vsergeev

<http://savannah.gnu.org/bugs/download.php?file_id=23797>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?34001>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]