public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in gnome-extra/activity-log-manager/files: config.vapi activity-log-manager-0.9.4-muxer.patch
@ 2013-04-21 15:26 Justin Lecher (jlec)
  0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2013-04-21 15:26 UTC (permalink / raw
  To: gentoo-commits

jlec        13/04/21 15:26:15

  Added:                config.vapi activity-log-manager-0.9.4-muxer.patch
  Log:
  gnome-extra/activity-log-manager: Add backport fix for https://bugs.launchpad.net/activity-log-manager/+bug/1058037
  
  (Portage version: 2.2.0_alpha173/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)

Revision  Changes    Path
1.1                  gnome-extra/activity-log-manager/files/config.vapi

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/activity-log-manager/files/config.vapi?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/activity-log-manager/files/config.vapi?rev=1.1&content-type=text/plain

Index: config.vapi
===================================================================
[CCode (cprefix = "", lower_case_cprefix = "", cheader_filename = "config.h")]
namespace Config {
        public const string GETTEXT_PACKAGE;
        public const string SPRITE_DIR;
        public const string BACKGROUND_DIR;
        public const string PACKAGE_DATA_DIR;
        public const string PACKAGE_LOCALE_DIR;
        public const string PACKAGE_NAME;
        public const string PACKAGE_VERSION;
        public const string VERSION;
        public const string GNOMELOCALEDIR;
}



1.1                  gnome-extra/activity-log-manager/files/activity-log-manager-0.9.4-muxer.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/activity-log-manager/files/activity-log-manager-0.9.4-muxer.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/activity-log-manager/files/activity-log-manager-0.9.4-muxer.patch?rev=1.1&content-type=text/plain

Index: activity-log-manager-0.9.4-muxer.patch
===================================================================
--- activity-log-manager-0.9.4.orig/src/alm.vala 2012-03-01 21:25:48 +0000
+++ activity-log-manager-0.9.4/src/alm.vala 2013-04-19 13:57:45 -0700
@@ -23,6 +23,23 @@ using Gtk;
 
 
 namespace Alm {
+	public class App : Gtk.Application
+	{
+		public App()
+		{
+			Object(application_id: "org.zeitgeist.Alm", flags: ApplicationFlags.FLAGS_NONE);
+		}
+		public override void activate()
+		{
+			var window = new Main();
+			add_window(window);
+		}
+		public static void main(string[] args)
+		{
+			var app = new App();
+			app.run();
+		}
+	}
 	public class Main : Gtk.Window 
 	{
 		public Main ()
@@ -31,23 +48,6 @@ namespace Alm {
 			var widget = new ActivityLogManager();
 			this.add(widget);
 			this.show_all();
-			this.destroy.connect(on_destroy);
-		}
-		[CCode (instance_pos = -1)]
-		public void on_destroy (Widget window) 
-		{
-			Gtk.main_quit();
-		}
-		static int main (string[] args) 
-		{
-			Gtk.init (ref args);
-			var alm = new Gtk.Application ("org.zeitgeist.Alm", 
-										ApplicationFlags.FLAGS_NONE);
-			var window = new Main ();
-			alm.add_window (window);
-			
-			Gtk.main ();
-			return 0;
 		}
 	}
 }







^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-04-21 15:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-21 15:26 [gentoo-commits] gentoo-x86 commit in gnome-extra/activity-log-manager/files: config.vapi activity-log-manager-0.9.4-muxer.patch Justin Lecher (jlec)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox