~ubuntu-branches/ubuntu/precise/xfce4-power-manager/precise

« back to all changes in this revision

Viewing changes to src/xfpm-enum-types.c

  • Committer: Bazaar Package Importer
  • Author(s): Lionel Le Folgoc
  • Date: 2009-10-02 20:15:41 UTC
  • mfrom: (6.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20091002201541-ognqyxyov51epj84
Tags: 0.8.4-1ubuntu1
* New upstream bugfix release (LP: #438754), merge from Debian unstable,
  remaining Ubuntu changes:
  - debian/patches:
    + xubuntu-use-notification-icons.patch: use our notification-* icons for
      notification bubbles instead of the normal ones LP: #437374
    + 10_pc.patch: added patched files to POTFILES.skip
    + series: created, with these two patches
  - debian/rules: add --with quilt
  - debian/control: build-depends on quilt (>= 0.46-7).

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
        static GType type = 0;
66
66
        if (type == 0) {
67
67
        static const GEnumValue values[] = {
68
 
        { BUTTON_POWER_OFF, "BUTTON_POWER_OFF", "power-off" },
69
 
        { BUTTON_HIBERNATE, "BUTTON_HIBERNATE", "hibernate" },
70
 
        { BUTTON_SLEEP, "BUTTON_SLEEP", "sleep" },
71
 
        { BUTTON_MON_BRIGHTNESS_UP, "BUTTON_MON_BRIGHTNESS_UP", "mon-brightness-up" },
72
 
        { BUTTON_MON_BRIGHTNESS_DOWN, "BUTTON_MON_BRIGHTNESS_DOWN", "mon-brightness-down" },
73
 
        { BUTTON_LID_CLOSED, "BUTTON_LID_CLOSED", "lid-closed" },
 
68
        { BUTTON_UNKNOWN, "BUTTON_UNKNOWN", "button-unknown" },
 
69
        { BUTTON_POWER_OFF, "BUTTON_POWER_OFF", "button-power-off" },
 
70
        { BUTTON_HIBERNATE, "BUTTON_HIBERNATE", "button-hibernate" },
 
71
        { BUTTON_SLEEP, "BUTTON_SLEEP", "button-sleep" },
 
72
        { BUTTON_MON_BRIGHTNESS_UP, "BUTTON_MON_BRIGHTNESS_UP", "button-mon-brightness-up" },
 
73
        { BUTTON_MON_BRIGHTNESS_DOWN, "BUTTON_MON_BRIGHTNESS_DOWN", "button-mon-brightness-down" },
 
74
        { BUTTON_LID_CLOSED, "BUTTON_LID_CLOSED", "button-lid-closed" },
 
75
        { NUMBER_OF_BUTTONS, "NUMBER_OF_BUTTONS", "number-of-buttons" },
74
76
        { 0, NULL, NULL }
75
77
        };
76
78
        type = g_enum_register_static ("XfpmButtonKey", values);