GTK3: obtain window via get_window -- this caused strange errors...
svn: r20293
This commit is contained in:
parent
527ac4be59
commit
2ed067932e
@ -693,7 +693,7 @@ class DbManager(CLIDbManager):
|
|||||||
message
|
message
|
||||||
"""
|
"""
|
||||||
self.msg.set_label(msg)
|
self.msg.set_label(msg)
|
||||||
self.top.window.set_cursor(Gdk.Cursor.new(Gdk.CursorType.WATCH))
|
self.top.get_window().set_cursor(Gdk.Cursor.new(Gdk.CursorType.WATCH))
|
||||||
while (Gtk.events_pending()):
|
while (Gtk.events_pending()):
|
||||||
Gtk.main_iteration()
|
Gtk.main_iteration()
|
||||||
|
|
||||||
@ -701,7 +701,7 @@ class DbManager(CLIDbManager):
|
|||||||
"""
|
"""
|
||||||
Set the cursor back to normal and clears the message
|
Set the cursor back to normal and clears the message
|
||||||
"""
|
"""
|
||||||
self.top.window.set_cursor(None)
|
self.top.get_window().set_cursor(None)
|
||||||
self.msg.set_label("")
|
self.msg.set_label("")
|
||||||
|
|
||||||
def __new_db(self, obj):
|
def __new_db(self, obj):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user