fix about dialog focus in windows
This commit is contained in:
parent
b079f1b755
commit
d849684e8b
|
@ -1,16 +1,18 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
|
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
|
||||||
<!--Generated with glade3 3.1.5 on Thu Feb 22 19:13:48 2007 by zach@notapowerbook-->
|
<!--Generated with glade3 3.4.0 on Mon Dec 3 09:53:08 2007 -->
|
||||||
<glade-interface>
|
<glade-interface>
|
||||||
<widget class="GtkAboutDialog" id="aboutdialog">
|
<widget class="GtkAboutDialog" id="aboutdialog">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="app_paintable">True</property>
|
||||||
<property name="border_width">5</property>
|
<property name="border_width">5</property>
|
||||||
|
<property name="modal">True</property>
|
||||||
|
<property name="window_position">GTK_WIN_POS_CENTER_ALWAYS</property>
|
||||||
<property name="destroy_with_parent">True</property>
|
<property name="destroy_with_parent">True</property>
|
||||||
<property name="skip_taskbar_hint">True</property>
|
<property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
|
||||||
<property name="skip_pager_hint">True</property>
|
<property name="skip_pager_hint">True</property>
|
||||||
<property name="has_separator">False</property>
|
<property name="has_separator">False</property>
|
||||||
<property name="website"></property>
|
|
||||||
<property name="authors"></property>
|
<property name="authors"></property>
|
||||||
<property name="translator-credits"></property>
|
|
||||||
<property name="documenters"></property>
|
<property name="documenters"></property>
|
||||||
<property name="artists"></property>
|
<property name="artists"></property>
|
||||||
<child internal-child="vbox">
|
<child internal-child="vbox">
|
||||||
|
|
|
@ -449,7 +449,6 @@ def show_about_dialog(window):
|
||||||
|
|
||||||
gtk.about_dialog_set_url_hook(url_hook)
|
gtk.about_dialog_set_url_hook(url_hook)
|
||||||
abt = gtk.glade.XML(common.get_glade_file("aboutdialog.glade")).get_widget("aboutdialog")
|
abt = gtk.glade.XML(common.get_glade_file("aboutdialog.glade")).get_widget("aboutdialog")
|
||||||
abt.set_position(gtk.WIN_POS_CENTER)
|
|
||||||
abt.set_transient_for(window)
|
abt.set_transient_for(window)
|
||||||
abt.set_name(common.PROGRAM_NAME)
|
abt.set_name(common.PROGRAM_NAME)
|
||||||
abt.set_version(common.PROGRAM_VERSION)
|
abt.set_version(common.PROGRAM_VERSION)
|
||||||
|
|
Loading…
Reference in New Issue