Browse Source

* Add missing functions in the symbols file (bug #4700).

* Added a libxfce4panel.h header that includes all other headers for
  plugin writers.


(Old svn revision: 29001)
upstream/xfce4-panel-4.10.1
Nick Schermer 14 years ago
parent
commit
6f61ce9e5e
  1. 3
      NEWS
  2. 1
      libxfce4panel/Makefile.am
  3. 38
      libxfce4panel/libxfce4panel.h
  4. 11
      libxfce4panel/libxfce4panel.symbols
  5. 4
      libxfce4panel/xfce-panel-plugin-iface.c

3
NEWS

@ -5,6 +5,9 @@
- Rebuild the plugin if the properties dialog is cancelled (bug #4612).
- Set DISPLAY variable so the launcher launches on the correct screen
(bug #4654).
- Add missing functions in the symbols file (bug #4700).
- Added a libxfce4panel.h header that includes all other headers for
plugin writers.
4.5.92

1
libxfce4panel/Makefile.am

@ -21,6 +21,7 @@ libxfce4panel_built_sources = \
libxfce4panel-marshal.h
libxfce4panel_headers = \
libxfce4panel.h \
xfce-panel-window.h \
xfce-arrow-button.h \
xfce-itembar.h \

38
libxfce4panel/libxfce4panel.h

@ -0,0 +1,38 @@
/* $Id$ */
/*
* Copyright (C) 2008 Nick Schermer <nick@xfce.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.1 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef __LIBXFCE4PANEL__
#define __LIBXFCE4PANEL__
G_BEGIN_DECLS
#include <libxfce4panel/libxfce4panel-enum-types.h>
#include <libxfce4panel/xfce-arrow-button.h>
#include <libxfce4panel/xfce-hvbox.h>
#include <libxfce4panel/xfce-panel-convenience.h>
#include <libxfce4panel/xfce-panel-enums.h>
#include <libxfce4panel/xfce-panel-external-plugin.h>
#include <libxfce4panel/xfce-panel-internal-plugin.h>
#include <libxfce4panel/xfce-panel-macros.h>
#include <libxfce4panel/xfce-panel-plugin-iface.h>
#include <libxfce4panel/xfce-panel-plugin.h>
G_END_DECLS
#endif /* !__LIBXFCE4PANEL__ */

11
libxfce4panel/libxfce4panel.symbols

@ -36,6 +36,15 @@
#if IN_HEADER(__LIBXFCE4PANEL_ENUM_TYPES_H__)
#if IN_SOURCE(__LIBXFCE4PANEL_ENUM_TYPES_C__)
xfce_handle_style_get_type G_GNUC_CONST
xfce_screen_position_get_type G_GNUC_CONST
#endif
#endif
#if IN_HEADER(__XFCE_ARROW_BUTTON_H__)
#if IN_SOURCE(__XFCE_ARROW_BUTTON_C__)
xfce_arrow_button_get_type G_GNUC_CONST
@ -67,6 +76,7 @@ xfce_itembar_insert
xfce_itembar_append
xfce_itembar_prepend
xfce_itembar_reorder_child
xfce_itembar_set_allow_expand
xfce_itembar_set_child_expand
xfce_itembar_get_child_expand
xfce_itembar_get_n_items
@ -74,6 +84,7 @@ xfce_itembar_get_item_index
xfce_itembar_get_nth_item G_GNUC_WARN_UNUSED_RESULT
xfce_itembar_raise_event_window
xfce_itembar_lower_event_window
xfce_itembar_set_maximum_size
xfce_itembar_event_window_is_raised
xfce_itembar_get_item_at_point G_GNUC_WARN_UNUSED_RESULT
xfce_itembar_get_drop_index

4
libxfce4panel/xfce-panel-plugin-iface.c

@ -695,7 +695,7 @@ _xfce_panel_plugin_customize_items (XfcePanelPlugin *plugin)
* Ask the panel to start a move operation.
**/
void
xfce_panel_plugin_move (XfcePanelPlugin *plugin)
_xfce_panel_plugin_move (XfcePanelPlugin *plugin)
{
XFCE_PANEL_PLUGIN_GET_INTERFACE (plugin)->move (plugin);
}
@ -872,7 +872,7 @@ _xfce_panel_plugin_create_menu (XfcePanelPlugin *plugin)
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mi), img);
g_signal_connect_swapped (G_OBJECT (mi), "activate",
G_CALLBACK (xfce_panel_plugin_move), plugin);
G_CALLBACK (_xfce_panel_plugin_move), plugin);
/* insert custom items after move */
insert_position = 5;

Loading…
Cancel
Save