summaryrefslogtreecommitdiff
path: root/libslab/app-shell.h
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-10-22 16:31:17 +0200
committerStefano Karapetsas <[email protected]>2012-10-22 16:31:17 +0200
commit8f5ff09a0016f24ddac5581a4c56c62c4267124f (patch)
tree5518c908bb788ef7fa7d84ba14e621da6bc1bbe3 /libslab/app-shell.h
parent0d19a66abfe03ffcfaca0f2539a9c6758d99a823 (diff)
downloadmate-control-center-8f5ff09a0016f24ddac5581a4c56c62c4267124f.tar.bz2
mate-control-center-8f5ff09a0016f24ddac5581a4c56c62c4267124f.tar.xz
migrate libslab to gsettings
Diffstat (limited to 'libslab/app-shell.h')
-rw-r--r--libslab/app-shell.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/libslab/app-shell.h b/libslab/app-shell.h
index 309965a3..d7032c2a 100644
--- a/libslab/app-shell.h
+++ b/libslab/app-shell.h
@@ -23,6 +23,7 @@
#include <glib.h>
#include <gtk/gtk.h>
+#include <gio/gio.h>
#define MATEMENU_I_KNOW_THIS_IS_UNSTABLE
#include <matemenu-tree.h>
#include <libmate/mate-desktop-item.h>
@@ -82,9 +83,7 @@ typedef struct _AppShellData
Tile *last_clicked_launcher;
SlabSection *selected_group;
GtkIconSize icon_size;
- const gchar *mateconf_prefix;
const gchar *menu_name;
- NewAppConfig *new_apps;
MateMenuTree *tree;
GHashTable *hash;
@@ -97,6 +96,8 @@ typedef struct _AppShellData
gboolean show_tile_generic_name;
gboolean exit_on_close;
+
+ GSettings *settings;
} AppShellData;
typedef struct
@@ -123,10 +124,8 @@ typedef struct
void generate_categories (AppShellData * app_data);
-/* If new_apps is NULL then the new applications category is not created */
-AppShellData *appshelldata_new (const gchar * menu_name, NewAppConfig * new_apps,
- const gchar * mateconf_keys_prefix, GtkIconSize icon_size,
- gboolean show_tile_generic_name, gboolean exit_on_close);
+AppShellData *appshelldata_new (const gchar * menu_name,
+ GtkIconSize icon_size, gboolean show_tile_generic_name, gboolean exit_on_close);
void layout_shell (AppShellData * app_data, const gchar * filter_title, const gchar * groups_title,
const gchar * actions_title, GSList * actions,