gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r7033 - in gnunet-gtk: . po src/core src/include


From: gnunet
Subject: [GNUnet-SVN] r7033 - in gnunet-gtk: . po src/core src/include
Date: Tue, 3 Jun 2008 17:02:27 -0600 (MDT)

Author: grothoff
Date: 2008-06-03 17:02:26 -0600 (Tue, 03 Jun 2008)
New Revision: 7033

Modified:
   gnunet-gtk/gnunet-gtk.glade
   gnunet-gtk/po/Makefile.in
   gnunet-gtk/src/core/main.c
   gnunet-gtk/src/include/gnunetgtk_common.h
Log:
fixing icon handling

Modified: gnunet-gtk/gnunet-gtk.glade
===================================================================
--- gnunet-gtk/gnunet-gtk.glade 2008-06-03 16:28:05 UTC (rev 7032)
+++ gnunet-gtk/gnunet-gtk.glade 2008-06-03 23:02:26 UTC (rev 7033)
@@ -6,7 +6,7 @@
     <property name="title" translatable="yes">GNUnet, GNU's Peer-to-Peer 
Network</property>
     <property name="default_width">700</property>
     <property name="default_height">500</property>
-    <property name="icon">gnunet-gtk.png</property>
+    <property name="icon_name">gnunet-gtk</property>
     <signal name="delete_event" handler="GNUNET_GTK_main_quit" after="yes"/>
     <signal name="window_state_event" 
handler="GNUNET_GTK_save_main_window_state" after="yes"/>
     <child>

Modified: gnunet-gtk/po/Makefile.in
===================================================================
--- gnunet-gtk/po/Makefile.in   2008-06-03 16:28:05 UTC (rev 7032)
+++ gnunet-gtk/po/Makefile.in   2008-06-03 23:02:26 UTC (rev 7033)
@@ -20,7 +20,7 @@
 top_srcdir = ..
 
 
-prefix = /home/grothoff
+prefix = /home/grothoff/
 exec_prefix = ${prefix}
 datadir = ${prefix}/share
 localedir = $(datadir)/locale

Modified: gnunet-gtk/src/core/main.c
===================================================================
--- gnunet-gtk/src/core/main.c  2008-06-03 16:28:05 UTC (rev 7032)
+++ gnunet-gtk/src/core/main.c  2008-06-03 23:02:26 UTC (rev 7033)
@@ -85,6 +85,7 @@
   struct GNUNET_GE_Context *my_ctx;
   struct GNUNET_GC_Configuration *cfg;
   char *log;
+  char *dataDir;
   GNUNET_GE_KIND mask;
 #if ENABLE_NLS
   char *path;
@@ -136,6 +137,10 @@
   GNUNET_GE_setDefaultContext (my_ctx);
   root =
     glade_xml_get_widget (GNUNET_GTK_get_main_glade_XML (), "mainWindow");
+  dataDir = GNUNET_get_installation_path (GNUNET_IPK_DATADIR);
+  gtk_icon_theme_append_search_path (gtk_icon_theme_get_default (),
+                                     dataDir);
+  GNUNET_free (dataDir);
   gtk_window_maximize (GTK_WINDOW (root));
   gtk_widget_show (root);
   gtk_window_present (GTK_WINDOW (root));

Modified: gnunet-gtk/src/include/gnunetgtk_common.h
===================================================================
--- gnunet-gtk/src/include/gnunetgtk_common.h   2008-06-03 16:28:05 UTC (rev 
7032)
+++ gnunet-gtk/src/include/gnunetgtk_common.h   2008-06-03 23:02:26 UTC (rev 
7033)
@@ -103,7 +103,7 @@
 
 /**
  * Call a callback function from the mainloop/main thread ("SaveCall").
- * Since GTK doesn't work with multi-threaded applications under Windows,
+ * Since GTK doesn't work with multi-threaded applications
  * all GTK operations have to be done in the main thread
  */
 void *GNUNET_GTK_save_call (GNUNET_ThreadMainFunction func, void *arg);





reply via email to

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