Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#3 Add delete event on pref dialog

open
nobody
None
5
2013-02-11
2008-01-10
Emmanuel Saracco
No

Hi all,

First of all: Happy new year :-)

Here is a patch for "delete_event" management on preferences dialog.

* Issue:

When you close preferences dialog with the top right window close button you can not reopen it anymore:

-----
(jamin:21602): Gtk-CRITICAL **: gtk_widget_show: assertion `GTK_IS_WIDGET (widget)' failed
-----

* Solution:

Add a "delete_event" callback.

-> You will need to regenerate "interface.*" files with glade 2 after applying this patch.

Bye

Discussion

  • h3xx
    h3xx
    2012-09-01

    Could you improve the patch? If you hit the "Close" button at the bottom of the preferences dialog, it works, but if you close the window using the window controls, it doesn't work.

     
  • Hi!

    Hey! it is a 2008 post ;-)

    Now it works here with Gnome 3 *without* this patch. And no closure problem using window control.

    IMHO this thread deprecated.

    Bye