static void xfce_about_help (GtkWidget *button, GtkWidget *dialog) { g_return_if_fail (GTK_IS_BUTTON (button)); xfce_dialog_show_help (GTK_WINDOW (dialog), NULL, NULL, NULL); }
static void accessibility_settings_dialog_response (GtkWidget *dialog, gint response_id) { if (response_id == GTK_RESPONSE_HELP) xfce_dialog_show_help (GTK_WINDOW (dialog), "xfce4-settings", "accessibility", NULL); else gtk_main_quit (); }
static void xfce4_session_settings_dialog_response (GtkDialog *dialog, gint response, gpointer userdata) { if (response == GTK_RESPONSE_HELP) { xfce_dialog_show_help (GTK_WINDOW (dialog), "xfce4-session", "preferences", NULL); } else { gtk_widget_destroy(GTK_WIDGET(dialog)); gtk_main_quit (); } }
static void wm_tweaks_dialog_response (GtkWidget *dialog, gint response_id) { if (response_id == GTK_RESPONSE_HELP) { xfce_dialog_show_help (GTK_WINDOW (dialog), "xfwm4", "wmtweaks", NULL); } else { gtk_main_quit (); } }