summaryrefslogtreecommitdiff
path: root/mate-panel/panel-stock-icons.h
diff options
context:
space:
mode:
Diffstat (limited to 'mate-panel/panel-stock-icons.h')
-rw-r--r--mate-panel/panel-stock-icons.h60
1 files changed, 60 insertions, 0 deletions
diff --git a/mate-panel/panel-stock-icons.h b/mate-panel/panel-stock-icons.h
new file mode 100644
index 00000000..cb6085f4
--- /dev/null
+++ b/mate-panel/panel-stock-icons.h
@@ -0,0 +1,60 @@
+/*
+ * panel-stock-icons.h: panel stock icons registration
+ *
+ * Copyright (C) 2002 Sun Microsystems, Inc.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of the
+ * License, or (at your option) any later version.
+ *
+ * This program 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
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ * 02111-1307, USA.
+ *
+ * Authors:
+ * Mark McLoughlin <[email protected]>
+ */
+
+#ifndef __PANEL_STOCK_ICONS_H__
+#define __PANEL_STOCK_ICONS_H__
+
+#include <glib.h>
+#include <gtk/gtk.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* themeable size - "panel-menu" -- This is used for the icons in the menus */
+#define PANEL_DEFAULT_MENU_ICON_SIZE 24
+/* themeable size - "panel-foobar" -- This is only used for the icon of the
+ * Applications item in the menu bar */
+#define PANEL_DEFAULT_MENU_BAR_ICON_SIZE 24
+
+/* stock icons */
+#define PANEL_STOCK_FORCE_QUIT "mate-panel-force-quit"
+
+/* stock items - no point in theme the icons one these,
+ * they use stock gtk icons and just modify the text
+ * for the stock item.
+ */
+#define PANEL_STOCK_EXECUTE "panel-execute"
+#define PANEL_STOCK_CLEAR "panel-clear"
+#define PANEL_STOCK_DONT_DELETE "panel-dont-delete"
+
+void panel_init_stock_icons_and_items (void);
+GtkIconSize panel_menu_icon_get_size (void);
+GtkIconSize panel_menu_bar_icon_get_size (void);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __PANEL_STOCK_ICONS_H__ */