summaryrefslogtreecommitdiff
path: root/libslab/app-shell.h
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-12-12 15:41:41 +0100
committerStefano Karapetsas <[email protected]>2012-12-12 15:41:41 +0100
commit762dd31acc761e33f05d27857a7b5f2b23f6d917 (patch)
tree3a91cd3f6213a8b8e5b19a73174800b1b03f6b7b /libslab/app-shell.h
parent443a918bd4735e674bdec300f6b8eabe8cda24e0 (diff)
downloadmate-control-center-762dd31acc761e33f05d27857a7b5f2b23f6d917.tar.bz2
mate-control-center-762dd31acc761e33f05d27857a7b5f2b23f6d917.tar.xz
re-add previously deleted files into libslab
they are dependencies of gnome-main-menu they are migrated to gsettings
Diffstat (limited to 'libslab/app-shell.h')
-rw-r--r--libslab/app-shell.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libslab/app-shell.h b/libslab/app-shell.h
index d7032c2a..d5f08564 100644
--- a/libslab/app-shell.h
+++ b/libslab/app-shell.h
@@ -84,6 +84,7 @@ typedef struct _AppShellData
SlabSection *selected_group;
GtkIconSize icon_size;
const gchar *menu_name;
+ NewAppConfig *new_apps;
MateMenuTree *tree;
GHashTable *hash;
@@ -124,8 +125,9 @@ typedef struct
void generate_categories (AppShellData * app_data);
+/* If new_apps_max_items is 0 then the new applications category is not created */
AppShellData *appshelldata_new (const gchar * menu_name,
- GtkIconSize icon_size, gboolean show_tile_generic_name, gboolean exit_on_close);
+ GtkIconSize icon_size, gboolean show_tile_generic_name, gboolean exit_on_close, gint new_apps_max_items);
void layout_shell (AppShellData * app_data, const gchar * filter_title, const gchar * groups_title,
const gchar * actions_title, GSList * actions,