denemo-devel
[Top][All Lists]
Advanced

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

[Denemo-devel] [bug #26987] infodialogs have no parent window


From: anonymous
Subject: [Denemo-devel] [bug #26987] infodialogs have no parent window
Date: Thu, 09 Jul 2009 12:35:26 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; it; rv:1.9.0.11) Gecko/2009060309 Ubuntu/9.04 (jaunty) Firefox/3.0.11

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

                 Summary: infodialogs have no parent window
                 Project: GNU Denemo, a gtk+ frontend to GNU Lilypond
            Submitted by: None
            Submitted on: gio 09 lug 2009 12:35:24 UTC
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

infodialog's gtk_window_new call in src/utils.c has "NULL" as first
parameter: that means that the dialog isn't bound a toplevel window, and if
for instance I change workspace (before it appears, which is absolutely
possible for instance in the case of pdf generation), I may get it floating
somewhere (where it may as well remain until I notice it), and it may as well
hide under another window. This is really ugly and unusable.

I'm attaching a simple patch, which registers its parent as the main Denemo
window. It's possibly not optimal (maybe some infodialogs stem from seconday
windows and should be bound to that), but it's far better than before.

The patch is again git (though I tested the modification against 0.8.6 only,
but there should be no problem against git too).



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: gio 09 lug 2009 12:35:24 UTC  Name:
0001-The-infodialog-now-has-a-parent-window-to-improve-u.patch  Size: 776B  
By: None
Patch (against git commit f1e1ae8f2eed80556798a4511442d0190828e324)
<http://savannah.gnu.org/bugs/download.php?file_id=18387>

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Messaggio inviato con/da Savannah
  http://savannah.gnu.org/





reply via email to

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