diff options
author | Victor Kareh <[email protected]> | 2019-02-07 12:17:22 -0500 |
---|---|---|
committer | lukefromdc <[email protected]> | 2019-02-26 01:48:56 -0500 |
commit | 5fd1ba21e41281195e39366061e0d9d0535df014 (patch) | |
tree | 98de9e06e4bec8dbc593dc545545f8e4ba546b20 /mate-volume-control/gvc-stream-status-icon.h | |
parent | 6aefae09c11f23cfc3847a07f191e2d258888782 (diff) | |
download | mate-media-5fd1ba21e41281195e39366061e0d9d0535df014.tar.bz2 mate-media-5fd1ba21e41281195e39366061e0d9d0535df014.tar.xz |
Convert GtkStatusIcon to real applet
Diffstat (limited to 'mate-volume-control/gvc-stream-status-icon.h')
-rw-r--r-- | mate-volume-control/gvc-stream-status-icon.h | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/mate-volume-control/gvc-stream-status-icon.h b/mate-volume-control/gvc-stream-status-icon.h index 7b51801..976616d 100644 --- a/mate-volume-control/gvc-stream-status-icon.h +++ b/mate-volume-control/gvc-stream-status-icon.h @@ -41,13 +41,13 @@ typedef struct _GvcStreamStatusIconPrivate GvcStreamStatusIconPrivate; struct _GvcStreamStatusIcon { - GtkStatusIcon parent; + GtkEventBox parent; GvcStreamStatusIconPrivate *priv; }; struct _GvcStreamStatusIconClass { - GtkStatusIconClass parent_class; + GtkEventBoxClass parent_class; }; GType gvc_stream_status_icon_get_type (void) G_GNUC_CONST; @@ -63,6 +63,19 @@ void gvc_stream_status_icon_set_display_name (GvcStreamStatusIc void gvc_stream_status_icon_set_control (GvcStreamStatusIcon *icon, MateMixerStreamControl *control); +void gvc_stream_status_icon_set_size (GvcStreamStatusIcon *icon, + guint size); + +void gvc_stream_status_icon_set_orient (GvcStreamStatusIcon *icon, + MatePanelAppletOrient orient); + +gboolean gvc_stream_status_icon_get_mute (GvcStreamStatusIcon *icon); + +void gvc_stream_status_icon_set_mute (GvcStreamStatusIcon *icon, + gboolean mute); + +void gvc_stream_status_icon_volume_control (GvcStreamStatusIcon *icon); + G_END_DECLS #endif /* __GVC_STREAM_STATUS_ICON_H */ |