~ubuntu-branches/ubuntu/trusty/gnomeradio/trusty

« back to all changes in this revision

Viewing changes to src/trayicon.h

  • Committer: Package Import Robot
  • Author(s): POJAR GEORGE
  • Date: 2013-09-20 13:31:33 UTC
  • Revision ID: package-import@ubuntu.com-20130920133133-otwactksfjh4bwev
Tags: 1.8-2ubuntu23
* Updated debian/patches/gnomeradio-tray_menu.patch:
  - Fixed menu item not update conform new order when we use move up[down]
    swap. (LP: #1232931)
  - Fixed conditional jump or move depends on uninitialized value.
  - Added function to switch to preset in settings preset list when changed
    them from tray menu.
  - Cleaned up the files relating to the tray icon. Neither gui.c, prefs.c nor
    record.c touch the internals of trayicon.c anymore.
* Updated debian/patches/gnomeradio-preferences.patch:
  - Added option to disable audio loopback mode in Preferences settings.
  - Moved in separate GOptionGroup all command line parameters which refers to
    audio loopback mode.
* Updated debian/patches/gnomeradio-device.patch: Not need radio_mute() when
  exit or session die, already is called in radio_stop().
* Updated debian/patches/gnomeradio-station_list.patch: Fixed pointer targets
  in passing argument differ in signedness.
* Removed the content against configure and Makefile.in, since we use
  autoreconf anyways, from:
  - debian/patches/gnomeradio-gstreamer-1.0.patch.
  - debian/patches/gnomeradio-volume_button.patch.
* Updated debian/patches/gnomeradio-volume_button.patch: Removed unused
  vol_down[up].xpm icons.
* debian/gnomeradio.1: Updated man page.   

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
#ifndef _TRAYICON_H
18
18
#define _TRAYICON_H
19
 
 
20
 
GtkWidget *tray_menu;
21
 
GObject *tray_icon;
22
 
GtkWidget *mute_menuitem;
23
 
 
24
 
int mute_menuitem_toggled_cb_id;
25
 
 
26
 
void tray_icon_items_set_sensible(gboolean sensible);
 
19
#include "gui.h"
 
20
 
 
21
void tray_icon_set_title(gchar *title);
 
22
 
 
23
void tray_menu_items_set_sensible(gboolean sensible);
 
24
 
 
25
void tray_menu_enable_mute_button (gboolean enable);
 
26
 
 
27
void tray_menu_add_preset (preset* ps, gint index);
 
28
 
 
29
void tray_menu_remove_preset (gint index);
 
30
 
 
31
void tray_menu_move_up_preset (preset* ps, gint index);
 
32
 
 
33
void tray_menu_move_down_preset (preset* ps, gint index);
 
34
 
 
35
void tray_menu_update_preset (preset* ps, gint index);
27
36
 
28
37
void create_tray_icon(GtkWidget *app);
29
38