diff --git a/lib/common.h b/lib/common.h index bea1afeccc123dc5fc34d214f4d2774c5d1897d5..a6642d7bde753d3d608d771cd21c9b412af0c38a 100644 --- a/lib/common.h +++ b/lib/common.h @@ -27,8 +27,6 @@ ((ptr) && (ptr)[0]) -#define PLUGIN_WEBSITE "http://goodies.xfce.org/projects/applications/xfce4-dict" - #define DICT_FLAGS_FOCUS_PANEL_ENTRY 1 #define DICT_FLAGS_MODE_DICT 2 #define DICT_FLAGS_MODE_WEB 4 diff --git a/lib/prefs.c b/lib/prefs.c index 51c19b0f32421607a44bd94ff87fe8513ba6e96b..d0f3710bc618c5798de3368ee5167a5d0eb00c3f 100644 --- a/lib/prefs.c +++ b/lib/prefs.c @@ -103,17 +103,6 @@ static void prefs_dialog_response(GtkWidget *dlg, gint response, DictData *dd) { gchar *tmp; - if (response == GTK_RESPONSE_HELP) - { - /* show help */ - gboolean result = dict_open_browser(dd, "exo-open --launch WebBrowser " PLUGIN_WEBSITE); - - if (G_UNLIKELY(result == FALSE)) - g_warning(_("Unable to open the following url: %s"), PLUGIN_WEBSITE); - - return; - } - /* MODE DICT */ tmp = gtk_combo_box_get_active_text( GTK_COMBO_BOX(g_object_get_data(G_OBJECT(dlg), "dict_combo"))); @@ -178,7 +167,6 @@ GtkWidget *dict_prefs_dialog_show(GtkWidget *parent, DictData *dd) dialog = xfce_titled_dialog_new_with_buttons( _("Xfce Dictionary"), GTK_WINDOW(parent), GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_NO_SEPARATOR, - GTK_STOCK_HELP, GTK_RESPONSE_HELP, GTK_STOCK_CLOSE, GTK_RESPONSE_OK, NULL);