[rhythmbox] display-page-group: add 'tools' category
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] display-page-group: add 'tools' category
- Date: Mon, 25 Jul 2011 08:29:15 +0000 (UTC)
commit 0c25252db548109fbebd97964ae31bdbc4e84b2a
Author: Jonathan Matthew <jonathan d14n org>
Date: Mon Jul 25 18:28:47 2011 +1000
display-page-group: add 'tools' category
oops, this should have gone in with the visualizer plugin
sources/rb-display-page-group.c | 2 ++
sources/rb-display-page-group.h | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/sources/rb-display-page-group.c b/sources/rb-display-page-group.c
index 657bfc8..c46789a 100644
--- a/sources/rb-display-page-group.c
+++ b/sources/rb-display-page-group.c
@@ -191,6 +191,7 @@ impl_activate (RBDisplayPage *page)
* @RB_DISPLAY_PAGE_GROUP_CATEGORY_PERSISTENT: Persistent multiple-instance sources (e.g. playlists)
* @RB_DISPLAY_PAGE_GROUP_CATEGORY_REMOVABLE: Sources representing removable devices
* @RB_DISPLAY_PAGE_GROUP_CATEGORY_TRANSIENT: Transient sources (e.g. network shares)
+ * @RB_DISPLAY_PAGE_GROUP_CATEGORY_TOOLS: Utility (ie non-source) pages
*
* Predefined categories of page group. The order they're defined here is the order they
* appear in the page tree.
@@ -208,6 +209,7 @@ rb_display_page_group_category_get_type (void)
ENUM_ENTRY (RB_DISPLAY_PAGE_GROUP_CATEGORY_PERSISTENT, "persistent"),
ENUM_ENTRY (RB_DISPLAY_PAGE_GROUP_CATEGORY_REMOVABLE, "removable"),
ENUM_ENTRY (RB_DISPLAY_PAGE_GROUP_CATEGORY_TRANSIENT, "transient"),
+ ENUM_ENTRY (RB_DISPLAY_PAGE_GROUP_CATEGORY_TOOLS, "tools"),
{ 0, 0, 0 }
};
diff --git a/sources/rb-display-page-group.h b/sources/rb-display-page-group.h
index 7683bf0..d0d4a46 100644
--- a/sources/rb-display-page-group.h
+++ b/sources/rb-display-page-group.h
@@ -40,6 +40,7 @@ typedef enum {
RB_DISPLAY_PAGE_GROUP_CATEGORY_REMOVABLE,
RB_DISPLAY_PAGE_GROUP_CATEGORY_PERSISTENT,
RB_DISPLAY_PAGE_GROUP_CATEGORY_TRANSIENT,
+ RB_DISPLAY_PAGE_GROUP_CATEGORY_TOOLS,
RB_DISPLAY_PAGE_GROUP_CATEGORY_LAST
} RBDisplayPageGroupCategory;
@@ -78,6 +79,7 @@ GType rb_display_page_group_get_type (void);
#define RB_DISPLAY_PAGE_GROUP_DEVICES (RB_DISPLAY_PAGE (rb_display_page_group_get_by_id ("devices")))
#define RB_DISPLAY_PAGE_GROUP_SHARED (RB_DISPLAY_PAGE (rb_display_page_group_get_by_id ("shared")))
#define RB_DISPLAY_PAGE_GROUP_STORES (RB_DISPLAY_PAGE (rb_display_page_group_get_by_id ("stores")))
+#define RB_DISPLAY_PAGE_GROUP_TOOLS (RB_DISPLAY_PAGE (rb_display_page_group_get_by_id ("tools")))
void rb_display_page_group_add_core_groups (GObject *shell,
RBDisplayPageModel *page_model);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]