Menu

#3 Add delete event on pref dialog

open
nobody
None
5
2013-02-11
2008-01-10
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

  • Emmanuel Saracco

    Add delete event on pref dialog

     
  • 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.

     
  • Emmanuel Saracco

    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

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.