I've inspected thunar's source it seems like 8 and 9 are enough for Unix. I don't know small and cross-platform gtk projects (i know wireshark 1.x and gimp), but you may try to search their code base for button-press-event and ->button\s?==\s?8. If they use some other values too I'll commit a patch. I don't see any barriers for merging.

static gboolean
thunar_standard_view_button_press_event (GtkWidget          *view,
                                         GdkEventButton     *event,
                                         ThunarStandardView *standard_view)
{
  GtkAction *action = NULL;

  if (G_LIKELY (event->type == GDK_BUTTON_PRESS))
    {
      /* determine the appropriate action ("back" for button 8, "forward" for button 9) */
      if (G_UNLIKELY (event->button == 8))
        action = gtk_ui_manager_get_action (standard_view->ui_manager, "/main-menu/go-menu/placeholder-go-history-actions/back");
      else if (G_UNLIKELY (event->button == 9))
        action = gtk_ui_manager_get_action (standard_view->ui_manager, "/main-menu/go-menu/placeholder-go-history-actions/forward");


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.