diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2006-03-20 23:45:25 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2006-03-20 23:45:25 +0800 |
commit | c502325d46776394ad1208a7ec44f8a91dad30f8 (patch) | |
tree | a4b1ceba38f2aba4fbad5999866a648162e86d53 /lib/egg/eggtraymanager.h | |
parent | 6ea171cfee81802366862fee5e15c65d3c393c57 (diff) | |
download | gsoc2013-epiphany-c502325d46776394ad1208a7ec44f8a91dad30f8.tar gsoc2013-epiphany-c502325d46776394ad1208a7ec44f8a91dad30f8.tar.gz gsoc2013-epiphany-c502325d46776394ad1208a7ec44f8a91dad30f8.tar.bz2 gsoc2013-epiphany-c502325d46776394ad1208a7ec44f8a91dad30f8.tar.lz gsoc2013-epiphany-c502325d46776394ad1208a7ec44f8a91dad30f8.tar.xz gsoc2013-epiphany-c502325d46776394ad1208a7ec44f8a91dad30f8.tar.zst gsoc2013-epiphany-c502325d46776394ad1208a7ec44f8a91dad30f8.zip |
Use GtkStatusIcon.
2006-03-20 Christian Persch <chpe@cvs.gnome.org>
* embed/downloader-view.c: (status_icon_popup_menu_cb),
(show_status_icon), (downloader_view_init),
(downloader_view_finalize), (update_status_icon),
(download_changed_cb), (downloader_view_add_download),
(downloader_view_remove_download),
(download_dialog_delete_event_cb):
Use GtkStatusIcon.
* lib/egg/Makefile.am:
* lib/egg/eggstatusicon.c:
* lib/egg/eggstatusicon.h:
* lib/egg/eggtrayicon.c:
* lib/egg/eggtrayicon.h:
* lib/egg/eggtraymanager.c:
* lib/egg/eggtraymanager.h:
Remove egg status icons files.
Diffstat (limited to 'lib/egg/eggtraymanager.h')
-rw-r--r-- | lib/egg/eggtraymanager.h | 93 |
1 files changed, 0 insertions, 93 deletions
diff --git a/lib/egg/eggtraymanager.h b/lib/egg/eggtraymanager.h deleted file mode 100644 index 672e9753c..000000000 --- a/lib/egg/eggtraymanager.h +++ /dev/null @@ -1,93 +0,0 @@ -/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ -/* eggtraymanager.h - * Copyright (C) 2002 Anders Carlsson <andersca@gnu.org> - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef __EGG_TRAY_MANAGER_H__ -#define __EGG_TRAY_MANAGER_H__ - -#include <gtk/gtkwidget.h> -#include <gdk/gdkx.h> - -G_BEGIN_DECLS - -#define EGG_TYPE_TRAY_MANAGER (egg_tray_manager_get_type ()) -#define EGG_TRAY_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EGG_TYPE_TRAY_MANAGER, EggTrayManager)) -#define EGG_TRAY_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EGG_TYPE_TRAY_MANAGER, EggTrayManagerClass)) -#define EGG_IS_TRAY_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EGG_TYPE_TRAY_MANAGER)) -#define EGG_IS_TRAY_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EGG_TYPE_TRAY_MANAGER)) -#define EGG_TRAY_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), EGG_TYPE_TRAY_MANAGER, EggTrayManagerClass)) - -typedef struct _EggTrayManager EggTrayManager; -typedef struct _EggTrayManagerClass EggTrayManagerClass; -typedef struct _EggTrayManagerChild EggTrayManagerChild; - -struct _EggTrayManager -{ - GObject parent_instance; - - Atom opcode_atom; - Atom selection_atom; - Atom message_data_atom; - Atom orientation_atom; - - GtkWidget *invisible; - GdkScreen *screen; - GtkOrientation orientation; - - GList *messages; - GHashTable *socket_table; -}; - -struct _EggTrayManagerClass -{ - GObjectClass parent_class; - - void (* tray_icon_added) (EggTrayManager *manager, - EggTrayManagerChild *child); - void (* tray_icon_removed) (EggTrayManager *manager, - EggTrayManagerChild *child); - - void (* message_sent) (EggTrayManager *manager, - EggTrayManagerChild *child, - const gchar *message, - glong id, - glong timeout); - - void (* message_cancelled) (EggTrayManager *manager, - EggTrayManagerChild *child, - glong id); - - void (* lost_selection) (EggTrayManager *manager); -}; - -GType egg_tray_manager_get_type (void); - -gboolean egg_tray_manager_check_running (GdkScreen *screen); -EggTrayManager *egg_tray_manager_new (void); -gboolean egg_tray_manager_manage_screen (EggTrayManager *manager, - GdkScreen *screen); -char *egg_tray_manager_get_child_title (EggTrayManager *manager, - EggTrayManagerChild *child); -void egg_tray_manager_set_orientation (EggTrayManager *manager, - GtkOrientation orientation); -GtkOrientation egg_tray_manager_get_orientation (EggTrayManager *manager); - -G_END_DECLS - -#endif /* __EGG_TRAY_MANAGER_H__ */ |