aboutsummaryrefslogtreecommitdiff
path: root/src/music-player-bridge.h
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2010-10-14 06:40:13 -0400
committerBazaar Package Importer <james.westby@ubuntu.com>2010-10-14 06:40:13 -0400
commit71832965ce4ef557479d110b1d52814a8588f1bc (patch)
tree6565082c7fcc441b689b75784fed07deedeccfee /src/music-player-bridge.h
parent3954f25cb99c9e6042d0f036fda0f2636d76ef93 (diff)
parented4349e18eaa8543ca727db2b8b272e36db5600f (diff)
downloadayatana-indicator-sound-71832965ce4ef557479d110b1d52814a8588f1bc.tar.gz
ayatana-indicator-sound-71832965ce4ef557479d110b1d52814a8588f1bc.tar.bz2
ayatana-indicator-sound-71832965ce4ef557479d110b1d52814a8588f1bc.zip
* New upstream release.
- fixes tranlation mpris name regression (LP: #654140)
Diffstat (limited to 'src/music-player-bridge.h')
-rw-r--r--src/music-player-bridge.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/music-player-bridge.h b/src/music-player-bridge.h
index 111a76d..41ea682 100644
--- a/src/music-player-bridge.h
+++ b/src/music-player-bridge.h
@@ -337,8 +337,8 @@ GType mpris2_controller_get_type (void) G_GNUC_CONST;
GType player_controller_widget_order_get_type (void) G_GNUC_CONST;
GType player_controller_state_get_type (void) G_GNUC_CONST;
#define PLAYER_CONTROLLER_WIDGET_QUANTITY 4
-PlayerController* player_controller_new (DbusmenuMenuitem* root, const char* client_name, gint offset, PlayerControllerstate initial_state);
-PlayerController* player_controller_construct (GType object_type, DbusmenuMenuitem* root, const char* client_name, gint offset, PlayerControllerstate initial_state);
+PlayerController* player_controller_new (DbusmenuMenuitem* root, const char* client_name, const char* mpris_name, gint offset, PlayerControllerstate initial_state);
+PlayerController* player_controller_construct (GType object_type, DbusmenuMenuitem* root, const char* client_name, const char* mpris_name, gint offset, PlayerControllerstate initial_state);
void player_controller_update_state (PlayerController* self, PlayerControllerstate new_state);
void player_controller_activate (PlayerController* self);
void player_controller_instantiate (PlayerController* self);
@@ -348,6 +348,8 @@ void player_controller_update_layout (PlayerController* self);
void player_controller_determine_state (PlayerController* self);
const char* player_controller_get_name (PlayerController* self);
void player_controller_set_name (PlayerController* self, const char* value);
+const char* player_controller_get_mpris_name (PlayerController* self);
+void player_controller_set_mpris_name (PlayerController* self, const char* value);
GAppInfo* player_controller_get_app_info (PlayerController* self);
void player_controller_set_app_info (PlayerController* self, GAppInfo* value);
gint player_controller_get_menu_offset (PlayerController* self);