~arthurborsboom/xpad/xpad-4.3

« back to all changes in this revision

Viewing changes to src/xpad-pad.c

  • Committer: Arthur Borsboom
  • Date: 2014-06-20 13:30:08 UTC
  • Revision ID: arthurborsboom@gmail.com-20140620133008-jv713e6dehm5s2ss
* Fix: sticky menu (show on all workspaces) did not work
* Fix: reduced code by merging code

Show diffs side-by-side

added added

removed removed

Lines of Context:
1538
1538
 * because this function has been probably been called, because of a menu toggle.
1539
1539
 */
1540
1540
static void
1541
 
menu_sticky (XpadPad *pad, GtkCheckMenuItem *check)
 
1541
menu_sticky (GtkCheckMenuItem *check, XpadPad *pad)
1542
1542
{
1543
1543
        pad->priv->sticky = gtk_check_menu_item_get_active (check);
1544
1544
        if (pad->priv->sticky)