~oem-solutions-group/unity-2d/indicator-sound

« back to all changes in this revision

Viewing changes to src/transport-widget.h

  • Committer: Alex Chiang
  • Date: 2011-05-03 23:56:47 UTC
  • Revision ID: achiang@canonical.com-20110503235647-jbfa4s56dyi917ug
* Merge with latest upstream to fix LP: #739102
* Remaining changes are:
  - debian/control: add Vcs-Bzr link
  - As a backport from Maverick to Lucid, this pkg needs to preempt the lucid
* debian/patches/metadata-widget.patch
  - Fixed memory leak with album art resizing (LP: #689686)
* New upstream release.
  - Fixed a regression, which would show the metadata widget when the
    player has no current track (LP: #674016)
* New upstream release.
  - Buttons' hover image stays after dragging (LP: #643395)
  - Sound indicator works incorrect with playing status (LP: #656947)
  - sound applet volume slider has no effect if pulseaudio is 
    restarted (LP: #662296)
  - Default music player should be present in the menu from a clean 
    install (LP: #664743)
* New upstream release.
  - fixes tranlation mpris name regression (LP: #654140)
* New upstream release.
  - indicator-sound-service eating CPU on second user login (LP: #581173)
  - Right border of transport control is different colour while using 
    Ambiance (LP: #632774)
  - Incorrect ellipsing (LP: #637580)
  - always show unmuted at startup (LP: #648238)
  - click or enter on metadata widget does not copy contents to 
    clipboard (LP: #651246)
  - Sound menu has two Rhythmbox elements when using 
    translations (LP: #654140)

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
#ifndef __TRANSPORT_WIDGET_H__
20
20
#define __TRANSPORT_WIDGET_H__
21
21
 
 
22
#include <gtk/gtk.h>
22
23
#include <gtk/gtkmenuitem.h>
23
24
#include <libdbusmenu-gtk/menuitem.h>
24
25
 
34
35
typedef struct _TransportWidget      TransportWidget;
35
36
typedef struct _TransportWidgetClass TransportWidgetClass;
36
37
 
 
38
typedef enum {
 
39
        TRANSPORT_PREVIOUS,
 
40
        TRANSPORT_PLAY_PAUSE,
 
41
        TRANSPORT_NEXT,
 
42
        TRANSPORT_NADA
 
43
}TransportWidgetEvent;
 
44
 
 
45
typedef enum {
 
46
        PLAY,
 
47
        PAUSE   
 
48
}TransportWidgetState;
 
49
 
37
50
struct _TransportWidgetClass {
38
51
          GtkMenuItemClass parent_class;
39
52
};
43
56
};
44
57
 
45
58
GType transport_widget_get_type (void);
46
 
GtkWidget* transport_widget_new(DbusmenuMenuitem *twin_item);
 
59
GtkWidget* transport_widget_new ( DbusmenuMenuitem *item );
47
60
 
48
61
G_END_DECLS
49
62