[clocks] Fixed Transient issue
- From: Seif Lotfy <seiflotfy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clocks] Fixed Transient issue
- Date: Tue, 3 Jul 2012 20:24:48 +0000 (UTC)
commit 50a39b7441b08c8e1782dd0a7cfad1a13b32bf7a
Author: Seif Lotfy <seif lotfy com>
Date: Tue Jul 3 22:17:45 2012 +0200
Fixed Transient issue
main.py | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/main.py b/main.py
index a835e2a..6554ffe 100644
--- a/main.py
+++ b/main.py
@@ -92,7 +92,7 @@ class Window (Gtk.ApplicationWindow):
self.show()
def show_about (self):
- about = Gtk.AboutDialog (title = "About GNOME Clocks")
+ about = Gtk.AboutDialog (title="About GNOME Clocks")
about.set_title("About Clocks")
about.set_program_name("GNOME Clocks")
about.set_copyright("(c) Seif Lotfy, Emily Gonyer, Eslam Mostafa")
@@ -117,9 +117,9 @@ class Window (Gtk.ApplicationWindow):
" Public License along with GNOME Clocks; if not, write"
" to the Free Software Foundation, Inc., 51 Franklin"
" Street, Fifth Floor, Boston, MA 02110-1301 USA\n")
- about.modal = True;
- about.transient_for = self;
- about.run ()
+ about.set_modal(True)
+ about.set_transient_for (self)
+ about.show ()
class ClocksToolbar (Gtk.Toolbar):
__gsignals__ = {'view-clock': (GObject.SignalFlags.RUN_LAST,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]