dot not steal focus when showing popup notifications

This commit is contained in:
Nikos Kouremenos 2005-04-08 02:25:07 +00:00
parent 3db4808088
commit 0e589ca341
2 changed files with 1 additions and 4 deletions

View File

@ -852,8 +852,6 @@ class Popup_window:
xml.signal_autoconnect(self) xml.signal_autoconnect(self)
close_button.connect('clicked', self.on_close_button_clicked, window_height) close_button.connect('clicked', self.on_close_button_clicked, window_height)
#FIXME: don't steal focus. not sure how to do ti
# set_focus_on_map(False) [pygtk26 only doesn't solve it!]
self.window.show_all() self.window.show_all()
gobject.timeout_add(5000, self.on_timeout, window_height) gobject.timeout_add(5000, self.on_timeout, window_height)

View File

@ -9967,7 +9967,7 @@ send a chat message to</property>
<widget class="GtkWindow" id="popup_window"> <widget class="GtkWindow" id="popup_window">
<property name="border_width">4</property> <property name="border_width">4</property>
<property name="title" translatable="yes"></property> <property name="title" translatable="yes"></property>
<property name="type">GTK_WINDOW_TOPLEVEL</property> <property name="type">GTK_WINDOW_POPUP</property>
<property name="window_position">GTK_WIN_POS_NONE</property> <property name="window_position">GTK_WIN_POS_NONE</property>
<property name="modal">False</property> <property name="modal">False</property>
<property name="resizable">False</property> <property name="resizable">False</property>
@ -10027,7 +10027,6 @@ send a chat message to</property>
<child> <child>
<widget class="GtkButton" id="close_button"> <widget class="GtkButton" id="close_button">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_NONE</property> <property name="relief">GTK_RELIEF_NONE</property>
<property name="focus_on_click">True</property> <property name="focus_on_click">True</property>