updated on Wed Jan 18 04:00:29 UTC 2012
[aur-mirror.git] / gwibber-unity / lp_882633.patch
blob9f5b12c5949f8df12236d46bb13d54aa75c17e06
1 === modified file 'client/gwibber-client.vala'
2 --- old/client/gwibber-client.vala 2011-08-16 14:52:59 +0000
3 +++ new/client/gwibber-client.vala 2011-11-01 15:40:00 +0000
4 @@ -78,7 +78,6 @@
5 set_title("Gwibber");
6 set_wmclass("gwibber", "Gwibber");
8 - destroy.connect(on_window_close);
9 set_default_size(400,800);
11 // Move to last known location and resize
12 @@ -302,13 +301,9 @@
13 about_dialog.destroy ();
16 - static void on_quit() {
17 - //service.quit();
18 - Gtk.main_quit();
19 - }
21 - static void on_window_close() {
22 - Gtk.main_quit();
23 + private void on_quit ()
24 + {
25 + destroy ();
28 bool on_configure_event (Gdk.EventConfigure event) {
29 @@ -347,13 +342,14 @@
31 main_window = new Client ();
33 + add_window (main_window);
35 Environment.set_application_name (Config.PACKAGE);
37 Gtk.IconTheme.get_default ().append_search_path (GLib.Path.build_filename (Config.PKGDATADIR, "ui/icons"));
39 main_window.set_application (this);
40 main_window.show_all ();
41 - main_window.destroy.connect (Gtk.main_quit);
43 var accounts_service = new Gwibber.Accounts();
44 var accounts_list = accounts_service.list ();