gnome-applets r11188 - trunk/charpick
- From: diegoe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-applets r11188 - trunk/charpick
- Date: Wed, 14 Jan 2009 07:55:40 +0000 (UTC)
Author: diegoe
Date: Wed Jan 14 07:55:40 2009
New Revision: 11188
URL: http://svn.gnome.org/viewvc/gnome-applets?rev=11188&view=rev
Log:
Drop gnome_help from charpick applet
Modified:
trunk/charpick/charpick.c
trunk/charpick/properties.c
Modified: trunk/charpick/charpick.c
==============================================================================
--- trunk/charpick/charpick.c (original)
+++ trunk/charpick/charpick.c Wed Jan 14 07:55:40 2009
@@ -5,7 +5,6 @@
#include <config.h>
#include <string.h>
#include <panel-applet.h>
-#include <libgnomeui/gnome-help.h>
#ifdef HAVE_GUCHARMAP
# include <gucharmap/gucharmap.h>
#endif
@@ -611,10 +610,10 @@
{
GError *error = NULL;
- gnome_help_display_on_screen (
- "char-palette", NULL,
- gtk_widget_get_screen (curr_data->applet),
- &error);
+ gtk_show_uri (gtk_widget_get_screen (GTK_WIDGET (curr_data->applet)),
+ "ghelp:char-palette",
+ gtk_get_current_event_time (),
+ &error);
if (error) { /* FIXME: the user needs to see this */
g_warning ("help error: %s\n", error->message);
Modified: trunk/charpick/properties.c
==============================================================================
--- trunk/charpick/properties.c (original)
+++ trunk/charpick/properties.c Wed Jan 14 07:55:40 2009
@@ -12,7 +12,6 @@
#include <atk/atkrelation.h>
#include <gtk/gtk.h>
-#include <libgnomeui/gnome-help.h>
#define CHARPICK_STOCK_EDIT "charpick-stock-edit"
@@ -501,10 +500,10 @@
{
GError *error = NULL;
- gnome_help_display_on_screen (
- "char-palette", "charpick-prefs",
- gtk_window_get_screen (GTK_WINDOW (dialog)),
- &error);
+ gtk_show_uri (gtk_widget_get_screen (GTK_WIDGET (dialog)),
+ "ghelp:char-palette?charpick-prefs",
+ gtk_get_current_event_time (),
+ &error);
if (error) { /* FIXME: the user needs to see this */
g_warning ("help error: %s\n", error->message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]