fix about dialog focus in windows

This commit is contained in:
Marcos Pinto 2007-12-03 15:58:05 +00:00
parent b079f1b755
commit d849684e8b
2 changed files with 7 additions and 6 deletions

View File

@ -1,16 +1,18 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!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>
<widget class="GtkAboutDialog" id="aboutdialog">
<property name="visible">True</property>
<property name="app_paintable">True</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="skip_taskbar_hint">True</property>
<property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
<property name="skip_pager_hint">True</property>
<property name="has_separator">False</property>
<property name="website"></property>
<property name="authors"></property>
<property name="translator-credits"></property>
<property name="documenters"></property>
<property name="artists"></property>
<child internal-child="vbox">

View File

@ -449,7 +449,6 @@ def show_about_dialog(window):
gtk.about_dialog_set_url_hook(url_hook)
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_name(common.PROGRAM_NAME)
abt.set_version(common.PROGRAM_VERSION)