~matttbe/ubuntu/quantal/lxpanel/lp1013171

« back to all changes in this revision

Viewing changes to src/plugins/space.c

  • Committer: Bazaar Package Importer
  • Author(s): Julien Lavergne
  • Date: 2011-07-24 15:41:01 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20110724154101-pdss358hu486lp7h
Tags: 0.5.7-0ubuntu1
* New upstream release.
* debian/patches:
 - 80_translations.patch: Remove, merged upstream.
 - batt_status.patch: Remove, merged upstream.
 - configure_X11.patch: Remove, merged upstream.
 - missing_glades.patch: Remove, not needed now.
 - redefine-alarm-variable.patch: Remove, merged upstream.
 - indicator-support.patch: Fix Makefile.am.
 - fix_requisition.patch: New patch, fix crash when clicking on the panel.

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
 
79
79
    /* Allocate top level widget and set into Plugin widget pointer. */
80
80
    p->pwid = gtk_event_box_new();
 
81
#if GTK_CHECK_VERSION(2,18,0)
 
82
    gtk_widget_set_has_window(p->pwid,FALSE);
 
83
#else
81
84
    GTK_WIDGET_SET_FLAGS(p->pwid, GTK_NO_WINDOW);
 
85
#endif
82
86
    gtk_widget_add_events(p->pwid, GDK_BUTTON_PRESS_MASK);
83
87
    gtk_container_set_border_width(GTK_CONTAINER(p->pwid), 0);
84
88