~ubuntu-branches/ubuntu/trusty/gnome-shell/trusty-proposed

« back to all changes in this revision

Viewing changes to src/shell-global.h

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2012-03-14 13:47:20 UTC
  • mfrom: (1.1.36) (18.1.8 sid)
  • Revision ID: package-import@ubuntu.com-20120314134720-202sbjbu4a3z1fru
Tags: 3.3.90-0ubuntu1
* Sync with Debian experimental svn packaging (LP: #941755, #937709).
  Remaining changes:
  - debian/gnome-shell.gsettings-override: Update for Ubuntu defaults
  - debian/control.in: Recommend cups-pk-helper
  - debian/patches/10-make-NetworkManager-optional.patch: Disabled
  - Don't run dh-autoreconf

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
ShellGlobal   *shell_global_get                       (void);
31
31
 
 
32
ClutterStage  *shell_global_get_stage                 (ShellGlobal *global);
32
33
MetaScreen    *shell_global_get_screen                (ShellGlobal *global);
33
34
GdkScreen     *shell_global_get_gdk_screen            (ShellGlobal *global);
34
35
MetaDisplay   *shell_global_get_display               (ShellGlobal *global);
39
40
 
40
41
/* Input/event handling */
41
42
gboolean shell_global_begin_modal            (ShellGlobal         *global,
42
 
                                              guint32              timestamp);
 
43
                                              guint32             timestamp,
 
44
                                              MetaModalOptions    options);
43
45
void     shell_global_end_modal              (ShellGlobal         *global,
44
46
                                              guint32              timestamp);
45
47
 
118
120
 
119
121
 
120
122
/* Misc utilities / Shell API */
121
 
gboolean shell_global_add_extension_importer    (ShellGlobal  *global,
122
 
                                                 const char   *target_object_script,
123
 
                                                 const char   *target_property,
124
 
                                                 const char   *directory,
125
 
                                                 GError      **error);
126
 
 
127
123
void     shell_global_sync_pointer              (ShellGlobal  *global);
128
124
 
129
125
GAppLaunchContext *
145
141
 
146
142
void     shell_global_launch_calendar_server    (ShellGlobal  *global);
147
143
 
148
 
typedef void (*ShellGlobalScreenshotCallback)  (ShellGlobal *global, gboolean success);
149
 
 
150
 
void    shell_global_screenshot_area           (ShellGlobal  *global,
151
 
                                                int x,
152
 
                                                int y,
153
 
                                                int width,
154
 
                                                int height,
155
 
                                                const char *filename,
156
 
                                                ShellGlobalScreenshotCallback callback);
157
 
 
158
 
gboolean shell_global_screenshot_window         (ShellGlobal  *global,
159
 
                                                gboolean include_frame,
160
 
                                                const char *filename);
161
 
 
162
 
void    shell_global_screenshot                (ShellGlobal  *global,
163
 
                                                const char *filename,
164
 
                                                ShellGlobalScreenshotCallback callback);
165
144
typedef enum {
166
145
  SHELL_SESSION_USER,
167
146
  SHELL_SESSION_GDM