gnome-applets r11196 - trunk/multiload
- From: diegoe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-applets r11196 - trunk/multiload
- Date: Wed, 14 Jan 2009 07:57:21 +0000 (UTC)
Author: diegoe
Date: Wed Jan 14 07:57:21 2009
New Revision: 11196
URL: http://svn.gnome.org/viewvc/gnome-applets?rev=11196&view=rev
Log:
Drop gnome_help from multiload applet
Modified:
trunk/multiload/main.c
trunk/multiload/properties.c
Modified: trunk/multiload/main.c
==============================================================================
--- trunk/multiload/main.c (original)
+++ trunk/multiload/main.c Wed Jan 14 07:57:21 2009
@@ -24,7 +24,6 @@
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <gconf/gconf-client.h>
#include <libgnome/gnome-desktop-item.h>
-#include <libgnomeui/gnome-help.h>
#include <panel-applet.h>
#include <panel-applet-gconf.h>
@@ -73,11 +72,11 @@
GError *error = NULL;
- gnome_help_display_on_screen (
- "multiload", NULL,
- gtk_widget_get_screen (GTK_WIDGET (ma->applet)),
- &error);
-
+ gtk_show_uri (gtk_widget_get_screen (GTK_WIDGET (ma->applet)),
+ "ghelp:multiload",
+ gtk_get_current_event_time (),
+ &error);
+
if (error) { /* FIXME: the user needs to see this */
g_warning ("help error: %s\n", error->message);
g_error_free (error);
Modified: trunk/multiload/properties.c
==============================================================================
--- trunk/multiload/properties.c (original)
+++ trunk/multiload/properties.c Wed Jan 14 07:57:21 2009
@@ -16,7 +16,6 @@
#include <gtk/gtk.h>
#include <gconf/gconf-client.h>
-#include <libgnomeui/gnome-help.h>
#include <panel-applet.h>
#include <panel-applet-gconf.h>
@@ -104,10 +103,9 @@
{
case GTK_RESPONSE_HELP:
- gnome_help_display_on_screen (
- "multiload", NULL,
- gtk_widget_get_screen (GTK_WIDGET (
- ma->applet)),
+ gtk_show_uri (gtk_widget_get_screen (GTK_WIDGET (ma->applet)),
+ "ghelp:multiload?multiload-prefs",
+ gtk_get_current_event_time (),
&error);
if (error) { /* FIXME: the user needs to see this */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]