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)
@ -457,7 +456,7 @@ def show_about_dialog(window):
abt.set_documenters(["Marcos Pinto"])
abt.set_authors(["Zach Tibbitts", "Alon Zakai", "Marcos Pinto", "Andrew Resch", "Alex Dedul"])
abt.set_artists(["Andrew Wedderburn"])
abt.set_translator_credits(" Alexandre Martani\n Augusta Carla Klug\n Daspah\n Fábio Nogueira\n Gustavo Henrique Klug\n Heitor Thury Barreiros Barbosa\n Helton Rodrigues\n José Geraldo Gouvêa\n Jr.\n LKRaider\n Marcos Pinto\n Pedro Clemente Pereira Neto\n Philipi\n Renato\n Ricardo Duarte\n Samuel R. C. Vale\n Sedir\n Vinícius de Figueiredo Silva\n Vitor Caike\n Vitor Lamas Gatti\n airmind\n alexandrenescau\n rohmaru")
abt.set_translator_credits("Alexandre Martani\nAugusta Carla Klug\nDaspah\nFábio Nogueira\nGustavo Henrique Klug\nHeitor Thury Barreiros Barbosa\nHelton Rodrigues\nJosé Geraldo Gouvêa\nJr.\nLKRaider\nMarcos Pinto\nPedro Clemente Pereira Neto\nPhilipi\nRenato\nRicardo Duarte\nSamuel R. C. Vale\nSedir\nVinícius de Figueiredo Silva\nVitor Caike\nVitor Lamas Gatti\nairmind\nalexandrenescau\nrohmaru")
abt.set_license(_("Deluge is free software, you can redistribute it and/or\nmodify it under the terms of the GNU General Public\n License as published by the Free Software Foundation,\neither version 2 of the License, or (at your option) any\nlater version. Deluge is distributed in the hope that it\nwill be useful, but WITHOUT ANY WARRANTY, without even \nthe implied warranty of MERCHANTABILITY or FITNESS\nFOR A PARTICULAR PURPOSE. See the GNU General\nPublic License for more details. You should have received\na copy of the GNU General Public License along with\nDeluge, but if not, write to the Free Software Foundation,\n Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-\n1301 USA"))
abt.set_website("http://deluge-torrent.org")
abt.set_website_label("http://deluge-torrent.org")