[iagno] Ensure window exists before setting its title
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [iagno] Ensure window exists before setting its title
- Date: Sat, 24 Aug 2013 16:56:05 +0000 (UTC)
commit ab91e43788409e360576ec2995936a692f56268b
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sat Aug 24 11:54:53 2013 -0500
Ensure window exists before setting its title
https://bugzilla.gnome.org/show_bug.cgi?id=706248
src/iagno.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/iagno.vala b/src/iagno.vala
index 57dd78b..86aedeb 100644
--- a/src/iagno.vala
+++ b/src/iagno.vala
@@ -89,8 +89,8 @@ public class Iagno : Gtk.Application
}
set_app_menu (builder.get_object ("iagno-menu") as MenuModel);
var top_grid = builder.get_object ("grid") as Gtk.Grid;
- window.set_title (_("Iagno"));
window = builder.get_object ("window") as Gtk.Window;
+ window.set_title (_("Iagno"));
window.configure_event.connect (window_configure_event_cb);
window.window_state_event.connect (window_state_event_cb);
window.set_default_size (settings.get_int ("window-width"), settings.get_int ("window-height"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]