exherbo-config/autopatches/ebuild_unpack_post/media-gfx/xsane/100-remove-non-working-help.patch

33 lines
1.2 KiB
Diff
Raw Normal View History

2018-06-13 14:09:39 +00:00
Index: src/xsane.c
===================================================================
--- a/src/xsane.c.orig
+++ b/src/xsane.c
@@ -4258,27 +4258,6 @@ static GtkWidget *xsane_help_build_menu(
gtk_widget_show(item);
- /* Backend doc -> html viewer */
-
- if (xsane.backend)
- {
- item = gtk_menu_item_new_with_label(MENU_ITEM_BACKEND_DOC);
- gtk_menu_append(GTK_MENU(menu), item);
- g_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_show_doc, (void *) xsane.backend);
- gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_F2, 0, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED);
- gtk_widget_show(item);
- }
-
-
- /* available backends -> html viewer */
-
- item = gtk_menu_item_new_with_label(MENU_ITEM_AVAILABLE_BACKENDS);
- gtk_menu_append(GTK_MENU(menu), item);
- g_signal_connect(GTK_OBJECT(item), "activate", (GtkSignalFunc) xsane_show_doc, (void *) "sane-backends");
- gtk_widget_add_accelerator(item, "activate", xsane.accelerator_group, GDK_F3, 0, GTK_ACCEL_VISIBLE | DEF_GTK_ACCEL_LOCKED);
- gtk_widget_show(item);
-
-
/* problems -> html viewer */
item = gtk_menu_item_new_with_label(MENU_ITEM_PROBLEMS);