gnome-applets r11192 - trunk/gswitchit
- From: diegoe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-applets r11192 - trunk/gswitchit
- Date: Wed, 14 Jan 2009 07:56:33 +0000 (UTC)
Author: diegoe
Date: Wed Jan 14 07:56:33 2009
New Revision: 11192
URL: http://svn.gnome.org/viewvc/gnome-applets?rev=11192&view=rev
Log:
Drop gnome_help from gswitchit applet
Didn't test because it's FTBFS right now (not my fault!)
Modified:
trunk/gswitchit/gswitchit-applet.c
Modified: trunk/gswitchit/gswitchit-applet.c
==============================================================================
--- trunk/gswitchit/gswitchit-applet.c (original)
+++ trunk/gswitchit/gswitchit-applet.c Wed Jan 14 07:56:33 2009
@@ -30,7 +30,6 @@
#include <gdk/gdkscreen.h>
#include <gdk/gdkx.h>
-#include <libgnomeui/gnome-help.h>
#define GROUPS_SUBMENU_PATH "/popups/popup/groups"
#define PLUGINS_CAPPLET_EXECUTABLE "gkbd-indicator-plugins-capplet"
@@ -215,9 +214,10 @@
switch (resp) {
case GTK_RESPONSE_HELP:
- gnome_help_display_on_screen ("gswitchit", "layout-view",
- gtk_widget_get_screen
- (dialog), NULL);
+ gtk_show_uri (gtk_widget_get_screen (GTK_WIDGET (dialog)),
+ "ghelp:gswitchit?layout-view",
+ gtk_get_current_event_time (),
+ NULL);
return;
case GTK_RESPONSE_CLOSE:
gtk_window_get_position (GTK_WINDOW (dialog), &rect.x,
@@ -447,9 +447,10 @@
GSwitchItAppletCmdHelp (BonoboUIComponent
* uic, GSwitchItApplet * sia, const gchar * verb)
{
- gnome_help_display_on_screen ("gswitchit", NULL,
- gtk_widget_get_screen (sia->applet),
- NULL);
+ gtk_show_uri (gtk_widget_get_screen (GTK_WIDGET (sia->applet)),
+ "ghelp:gswitchit-view",
+ gtk_get_current_event_time (),
+ NULL);
} void
GSwitchItAppletCmdAbout (BonoboUIComponent *
uic, GSwitchItApplet * sia, const gchar * verb)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]