You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

50 lines
2.2 KiB

  1. /*
  2. * Copyright (C) 2008-2010 Nick Schermer <nick@xfce.org>
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License as published by
  6. * the Free Software Foundation; either version 2 of the License, or
  7. * (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU General Public License along
  15. * with this program; if not, write to the Free Software Foundation, Inc.,
  16. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  17. */
  18. #ifndef __PANEL_PREFERENCES_DIALOG_H__
  19. #define __PANEL_PREFERENCES_DIALOG_H__
  20. #include <gtk/gtk.h>
  21. #include <panel/panel-application.h>
  22. #include <panel/panel-window.h>
  23. G_BEGIN_DECLS
  24. typedef struct _PanelPreferencesDialogClass PanelPreferencesDialogClass;
  25. typedef struct _PanelPreferencesDialog PanelPreferencesDialog;
  26. #define PANEL_TYPE_PREFERENCES_DIALOG (panel_preferences_dialog_get_type ())
  27. #define PANEL_PREFERENCES_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PANEL_TYPE_PREFERENCES_DIALOG, PanelPreferencesDialog))
  28. #define PANEL_PREFERENCES_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANEL_TYPE_PREFERENCES_DIALOG, PanelPreferencesDialogClass))
  29. #define PANEL_IS_PREFERENCES_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PANEL_TYPE_PREFERENCES_DIALOG))
  30. #define PANEL_IS_PREFERENCES_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PANEL_TYPE_PREFERENCES_DIALOG))
  31. #define PANEL_PREFERENCES_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PANEL_TYPE_PREFERENCES_DIALOG, PanelPreferencesDialogClass))
  32. GType panel_preferences_dialog_get_type (void) G_GNUC_CONST;
  33. void panel_preferences_dialog_show (PanelWindow *active);
  34. void panel_preferences_dialog_show_from_id (gint panel_id,
  35. const gchar *socket_id);
  36. gboolean panel_preferences_dialog_visible (void);
  37. G_END_DECLS
  38. #endif /* !__PANEL_PREFERENCES_DIALOG_H__ */