seahorse r2467 - in seahorse-plugins/trunk: . plugins/applet



Author: sadam
Date: Mon Sep  8 19:30:47 2008
New Revision: 2467
URL: http://svn.gnome.org/viewvc/seahorse?rev=2467&view=rev

Log:
2008-09-08  Adam Schreiber  <sadam clemson edu>

    * plugins/applet/seahorse-applet.c: Make the applet use 
gnome_program_init
    Fixes bug #54983


Modified:
   seahorse-plugins/trunk/ChangeLog
   seahorse-plugins/trunk/plugins/applet/seahorse-applet.c

Modified: seahorse-plugins/trunk/plugins/applet/seahorse-applet.c
==============================================================================
--- seahorse-plugins/trunk/plugins/applet/seahorse-applet.c	(original)
+++ seahorse-plugins/trunk/plugins/applet/seahorse-applet.c	Mon Sep  8 19:30:47 2008
@@ -29,6 +29,8 @@
 
 #include <panel-applet.h>
 
+#include <bonobo.h>
+
 #include <dbus/dbus-glib-bindings.h>
 
 #include <cryptui.h>
@@ -1028,9 +1030,12 @@
     textdomain (GETTEXT_PACKAGE);
 
     seahorse_secure_memory_init ();
-
-    gtk_init_with_args (&argc, &argv, "seahorse-applet", NULL, GETTEXT_PACKAGE, NULL);
-
+    
+    gnome_program_init ("seahorse-applet", VERSION, LIBGNOMEUI_MODULE, argc, argv,
+                        GNOME_CLIENT_PARAM_SM_CONNECT, FALSE,
+                        GNOME_PROGRAM_STANDARD_PROPERTIES, GNOME_PARAM_NONE);
+    
     return panel_applet_factory_main ("OAFIID:GNOME_SeahorseApplet_Factory", 
                                       SEAHORSE_TYPE_APPLET, seahorse_applet_factory, NULL);
+
 }



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