Don't like ads? PRO users don't see any ads ;-)
Guest

restore_rightclick.patch

By: a guest on Oct 20th, 2012  |  syntax: Diff  |  size: 1.08 KB  |  hits: 90  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Description: Restore right click interaction with the panel
  2.  Restored the right click interaction on the panel (i.e. panel menus) for
  3.  applets, etc. In Gnome 3 the panel requires a modifier, i.e. ALT, before
  4.  it will present the menu. We removed the modifier need.
  5.  .
  6.  gnome-panel (3.4.1-1solusos1) two; urgency=low
  7.  .
  8.    * Restore right click interaction
  9. Author: Ikey Doherty <ikey@solusos.com>
  10.  
  11. ---
  12. Reviewed-By: Ikey Doherty <ikey@solusos.com>
  13. Last-Update: <2012-05-26>
  14.  
  15. --- gnome-panel-3.4.1.orig/gnome-panel/panel.c
  16. +++ gnome-panel-3.4.1/gnome-panel/panel.c
  17. @@ -358,17 +358,11 @@ static gboolean
  18.  panel_button_press_event (PanelToplevel  *toplevel,
  19.                           GdkEventButton *event)
  20.  {
  21. -       guint modifiers;
  22.  
  23.         if (event->button != 3)
  24.                 return FALSE;
  25.  
  26. -       modifiers = event->state & gtk_accelerator_get_default_mod_mask ();
  27. -
  28. -       if (modifiers == panel_bindings_get_mouse_button_modifier_keymask ())
  29. -               return panel_popup_menu (toplevel, event->button, event->time);
  30. -
  31. -       return FALSE;
  32. +       return panel_popup_menu (toplevel, event->button, event->time);
  33.  }
  34.  
  35.  static gboolean