~walkerlee/totem/pre-interview

« back to all changes in this revision

Viewing changes to src/gsd-media-keys-window.h

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2013-05-26 00:07:51 UTC
  • mfrom: (1.6.1) (24.1.4 experimental)
  • Revision ID: package-import@ubuntu.com-20130526000751-kv8ap3x1di4qq8j2
Tags: 3.8.2-0ubuntu1
* Sync with Debian. Remaining changes: 
* debian/control.in:
  - Drop build-depends on libepc-ui-dev and libgrilo-0.2-dev (in universe)
  - Drop libxtst-dev build-depends so that the (redundant) fake key presses
    for inhibiting the screensaver are disabled (LP: #1007438)
  - Build-depend on libzeitgeist-dev
  - Suggest rather than recommend gstreamer components in universe
  - Add totem-plugins-extra
  - Add XB-Npp-Description and XB-Npp-Filename header to the 
    totem-mozilla package to improve ubufox/ubuntu plugin db integration 
  - Refer to Firefox in totem-mozilla description instead of Iceweasel
  - Don't have totem-mozilla recommend any particular browser
  - Drop obsolete python library dependencies since iplayer is no longer
    included
* debian/totem-common.install, debian/source_totem.py:
  - Install Ubuntu apport debugging hook
* debian/totem-plugins-extra.install:
  - Universe plugins split out of totem-plugins (currently only gromit)
* debian/totem-plugins.install:    
  - Skip the plugins split to -extra and add the zeitgeist plugin
* debian/rules:
  - Build with --fail-missing, to ensure we install everything. 
    + Ignore libtotem.{,l}a since we delibrately don't install these.
  - Re-enable hardening, make sure both PIE and BINDNOW are used
    by setting hardening=+all. (LP: #1039604)
* debian/patches/91_quicklist_entries.patch:
  - Add static quicklist
* debian/patches/92_gst-plugins-good.patch:
  - Build without unnecessary gstreamer1.0-bad dependency
* debian/patches/93_grilo_optional.patch:
  - Allow building without grilo while grilo MIR is still pending
* debian/patches/correct_desktop_mimetypes.patch:
  - Don't list the mimetypes after the unity lists
* debian/patches/revert_shell_menu.patch: 
  - revert the use of a shell menu until indicator-appmenu can handle
    the mixed shell/traditional menus itself
* New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 8; tab-width: 8 -*-
2
 
 *
3
 
 * Copyright (C) 2006 William Jon McCann <mccann@jhu.edu>
4
 
 *
5
 
 * This program is free software; you can redistribute it and/or
6
 
 * modify it under the terms of the GNU Lesser General Public
7
 
 * License as published by the Free Software Foundation; either
8
 
 * version 2, or (at your option) any later version.
9
 
 *
10
 
 * This program is distributed in the hope that it will be
11
 
 * useful, but WITHOUT ANY WARRANTY; without even the implied
12
 
 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13
 
 * PURPOSE.  See the GNU Lesser General Public License for more
14
 
 * details.
15
 
 *
16
 
 * You should have received a copy of the GNU Lesser General
17
 
 * Public License along with this program; if not, write to the
18
 
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19
 
 * Boston, MA 02111-1307, USA.
20
 
 *
21
 
 */
22
 
 
23
 
#ifndef GSD_MEDIA_KEYS_WINDOW_H
24
 
#define GSD_MEDIA_KEYS_WINDOW_H
25
 
 
26
 
#include <glib-object.h>
27
 
#include <gtk/gtk.h>
28
 
 
29
 
#include "gsd-osd-window.h"
30
 
 
31
 
G_BEGIN_DECLS
32
 
 
33
 
#define GSD_TYPE_MEDIA_KEYS_WINDOW            (gsd_media_keys_window_get_type ())
34
 
#define GSD_MEDIA_KEYS_WINDOW(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj),  GSD_TYPE_MEDIA_KEYS_WINDOW, GsdMediaKeysWindow))
35
 
#define GSD_MEDIA_KEYS_WINDOW_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass),   GSD_TYPE_MEDIA_KEYS_WINDOW, GsdMediaKeysWindowClass))
36
 
#define GSD_IS_MEDIA_KEYS_WINDOW(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj),  GSD_TYPE_MEDIA_KEYS_WINDOW))
37
 
#define GSD_IS_MEDIA_KEYS_WINDOW_CLASS(klass) (G_TYPE_INSTANCE_GET_CLASS ((klass), GSD_TYPE_MEDIA_KEYS_WINDOW))
38
 
 
39
 
typedef struct GsdMediaKeysWindow                   GsdMediaKeysWindow;
40
 
typedef struct GsdMediaKeysWindowClass              GsdMediaKeysWindowClass;
41
 
typedef struct GsdMediaKeysWindowPrivate            GsdMediaKeysWindowPrivate;
42
 
 
43
 
struct GsdMediaKeysWindow {
44
 
        GsdOsdWindow parent;
45
 
 
46
 
        GsdMediaKeysWindowPrivate  *priv;
47
 
};
48
 
 
49
 
struct GsdMediaKeysWindowClass {
50
 
        GsdOsdWindowClass parent_class;
51
 
};
52
 
 
53
 
typedef enum {
54
 
        GSD_MEDIA_KEYS_WINDOW_ACTION_VOLUME,
55
 
        GSD_MEDIA_KEYS_WINDOW_ACTION_CUSTOM
56
 
} GsdMediaKeysWindowAction;
57
 
 
58
 
GType                 gsd_media_keys_window_get_type          (void);
59
 
 
60
 
GtkWidget *           gsd_media_keys_window_new               (void);
61
 
void                  gsd_media_keys_window_set_action        (GsdMediaKeysWindow      *window,
62
 
                                                               GsdMediaKeysWindowAction action);
63
 
void                  gsd_media_keys_window_set_action_custom (GsdMediaKeysWindow      *window,
64
 
                                                               const char              *icon_name,
65
 
                                                               gboolean                 show_level);
66
 
void                  gsd_media_keys_window_set_volume_muted  (GsdMediaKeysWindow      *window,
67
 
                                                               gboolean                 muted);
68
 
void                  gsd_media_keys_window_set_volume_level  (GsdMediaKeysWindow      *window,
69
 
                                                               int                      level);
70
 
gboolean              gsd_media_keys_window_is_valid          (GsdMediaKeysWindow      *window);
71
 
 
72
 
G_END_DECLS
73
 
 
74
 
#endif