diff options
author | Victor Kareh <[email protected]> | 2019-02-07 12:17:22 -0500 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-03-22 09:55:37 +0100 |
commit | 897643c70861373393ac9f387ddc244930e16aeb (patch) | |
tree | a0e7e998ef9983b33488120abd18c6a823ead73b /mate-volume-control/gvc-stream-status-icon.h | |
parent | 8b06798d87c1284e7fff0353b42ef4bb0bb6991e (diff) | |
download | mate-media-897643c70861373393ac9f387ddc244930e16aeb.tar.bz2 mate-media-897643c70861373393ac9f387ddc244930e16aeb.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 */ |