gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r2788 - in gnunet-gtk: . pixmaps src/core


From: grothoff
Subject: [GNUnet-SVN] r2788 - in gnunet-gtk: . pixmaps src/core
Date: Sat, 13 May 2006 14:41:33 -0700 (PDT)

Author: grothoff
Date: 2006-05-13 14:41:29 -0700 (Sat, 13 May 2006)
New Revision: 2788

Added:
   gnunet-gtk/pixmaps/gnunet-gtk-tray.png
Modified:
   gnunet-gtk/AUTHORS
   gnunet-gtk/src/core/Makefile.am
   gnunet-gtk/src/core/main.c
Log:
adding system tray icon code

Modified: gnunet-gtk/AUTHORS
===================================================================
--- gnunet-gtk/AUTHORS  2006-05-13 20:54:36 UTC (rev 2787)
+++ gnunet-gtk/AUTHORS  2006-05-13 21:41:29 UTC (rev 2788)
@@ -2,11 +2,13 @@
 Christian Grothoff <address@hidden>
 
 Code contributions also came from:
-Igor Wronsky <address@hidden>
+Anders Carlsson <address@hidden>
+Nils Durner <address@hidden>
 Nicklas Larsson <address@hidden>
-Nils Durner <address@hidden>
 Milan <address@hidden>
+Igor Wronsky <address@hidden>
 
+
 Images and other content from:
 Jakub 'jimmac' Steiner <address@hidden>
 Christian Muellner <address@hidden>

Added: gnunet-gtk/pixmaps/gnunet-gtk-tray.png
===================================================================
(Binary files differ)


Property changes on: gnunet-gtk/pixmaps/gnunet-gtk-tray.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Modified: gnunet-gtk/src/core/Makefile.am
===================================================================
--- gnunet-gtk/src/core/Makefile.am     2006-05-13 20:54:36 UTC (rev 2787)
+++ gnunet-gtk/src/core/Makefile.am     2006-05-13 21:41:29 UTC (rev 2788)
@@ -7,6 +7,7 @@
 bin_PROGRAMS = gnunet-gtk
 
 gnunet_gtk_SOURCES = \
+ eggtrayicon.c eggtrayicon.h \
   main.c
 
 gnunet_gtk_LDADD = \

Modified: gnunet-gtk/src/core/main.c
===================================================================
--- gnunet-gtk/src/core/main.c  2006-05-13 20:54:36 UTC (rev 2787)
+++ gnunet-gtk/src/core/main.c  2006-05-13 21:41:29 UTC (rev 2788)
@@ -1,6 +1,6 @@
 /*
      This file is part of GNUnet.
-     (C) 2005 Christian Grothoff (and other contributing authors)
+     (C) 2005, 2006 Christian Grothoff (and other contributing authors)
 
      GNUnet is free software; you can redistribute it and/or modify
      it under the terms of the GNU General Public License as published
@@ -26,7 +26,10 @@
 
 #include "platform.h"
 #include "gnunetgtk_common.h"
+#include "eggtrayicon.h"
 
+
+
 /**
  * Prints the usage information for this command if the user errs.
  */
@@ -105,6 +108,7 @@
   addLogEntry("%s", msg);
 }
 
+
 int main(int argc,
         char *argv[]) {
   GtkWidget * root;
@@ -132,6 +136,7 @@
     = glade_xml_get_widget(getMainXML(),
                           "mainWindow");
   gtk_window_maximize(GTK_WINDOW(root));
+  initTrayIcon();
   gtk_widget_show(root);
   setCustomLogProc(&customLog);
   /* start the event loop */





reply via email to

[Prev in Thread] Current Thread [Next in Thread]