aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-10-17 22:16:44 -0500
committerTed Gould <ted@canonical.com>2009-10-17 22:16:44 -0500
commit06111bcb8f073c9e574d523d03ecf27f7a6d22e4 (patch)
tree230917cff6d97b4fa3dea47e1558b96c0ef3e62b /src
parent8dc712f472d18ea7b5c179334652cfbdc33cbe30 (diff)
downloadlibayatana-appindicator-06111bcb8f073c9e574d523d03ecf27f7a6d22e4.tar.gz
libayatana-appindicator-06111bcb8f073c9e574d523d03ecf27f7a6d22e4.tar.bz2
libayatana-appindicator-06111bcb8f073c9e574d523d03ecf27f7a6d22e4.zip
Making the enums camel case. I prefer the other, but it seems best to match GTK style
Diffstat (limited to 'src')
-rw-r--r--src/libcustomindicator/custom-indicator.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/libcustomindicator/custom-indicator.h b/src/libcustomindicator/custom-indicator.h
index 200e55f..0ac8808 100644
--- a/src/libcustomindicator/custom-indicator.h
+++ b/src/libcustomindicator/custom-indicator.h
@@ -14,7 +14,7 @@ G_BEGIN_DECLS
#define CUSTOM_INDICATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CUSTOM_INDICATOR_TYPE, CustomIndicatorClass))
/**
- custom_indicator_category_t:
+ CustomIndicatorCategory:
@CUSTOM_INDICATOR_CATEGORY_APPLICATION_STATUS: The indicator is used to display the status of the application.
@CUSTOM_INDICATOR_CATEGORY_COMMUNICATIONS: The application is used for communication with other people.
@CUSTOM_INDICATOR_CATEGORY_SYSTEM_SERVICES: A system indicator relating to something in the user's system.
@@ -30,10 +30,10 @@ typedef enum { /*< prefix=CUSTOM_INDICATOR_CATEGORY >*/
CUSTOM_INDICATOR_CATEGORY_SYSTEM_SERVICES,
CUSTOM_INDICATOR_CATEGORY_HARDWARE,
CUSTOM_INDICATOR_CATEGORY_OTHER
-} custom_indicator_category_t;
+} CustomIndicatorCategory;
/**
- custom_indicator_status_t:
+ CustomIndicatorStatus:
@CUSTOM_INDICATOR_STATUS_OFF: The indicator should not be shown to the user.
@CUSTOM_INDICATOR_STATUS_ON: The indicator should be shown in it's default state.
@CUSTOM_INDICATOR_STATUS_ATTENTION: The indicator should show it's attention icon.
@@ -47,7 +47,7 @@ typedef enum { /*< prefix=CUSTOM_INDICATOR_STATUS >*/
CUSTOM_INDICATOR_STATUS_OFF,
CUSTOM_INDICATOR_STATUS_ON,
CUSTOM_INDICATOR_STATUS_ATTENTION
-} custom_indicator_status_t;
+} CustomIndicatorStatus;
typedef struct _CustomIndicator CustomIndicator;
typedef struct _CustomIndicatorClass CustomIndicatorClass;
@@ -67,9 +67,9 @@ GType custom_indicator_get_type (void);
void custom_indicator_set_id (CustomIndicator * ci,
const gchar * id);
void custom_indicator_set_category (CustomIndicator * ci,
- custom_indicator_category_t category);
+ CustomIndicatorCategory category);
void custom_indicator_set_status (CustomIndicator * ci,
- custom_indicator_status_t status);
+ CustomIndicatorStatus status);
void custom_indicator_set_icon (CustomIndicator * ci,
const gchar * icon_name);
void custom_indicator_set_attention_icon (CustomIndicator * ci,
@@ -79,8 +79,8 @@ void custom_indicator_set_menu (CustomIndic
/* Get properties */
const gchar * custom_indicator_get_id (CustomIndicator * ci);
-custom_indicator_category_t custom_indicator_get_category (CustomIndicator * ci);
-custom_indicator_status_t custom_indicator_get_status (CustomIndicator * ci);
+CustomIndicatorCategory custom_indicator_get_category (CustomIndicator * ci);
+CustomIndicatorStatus custom_indicator_get_status (CustomIndicator * ci);
const gchar * custom_indicator_get_icon (CustomIndicator * ci);
const gchar * custom_indicator_get_attention_icon (CustomIndicator * ci);
void * custom_indicator_get_menu (CustomIndicator * ci);