2004-05-18 Jody Goldberg <jody@gnome.org> * control-center.c (select_entry) : Ensure that the selected entry is visible. 2004-05-17 Jody Goldberg <jody@gnome.org> * control-center-categories.c : merge the icon theme handling from the existing control center into the ximian shell.
32 lines
783 B
C
32 lines
783 B
C
#include <libgnome/gnome-desktop-item.h>
|
|
|
|
typedef struct ControlCenterCategory_ ControlCenterCategory;
|
|
|
|
typedef struct {
|
|
GnomeDesktopItem *desktop_entry;
|
|
GdkPixbuf *icon_pixbuf;
|
|
const char *title;
|
|
const char *comment;
|
|
char *name;
|
|
ControlCenterCategory *category;
|
|
gpointer user_data;
|
|
} ControlCenterEntry;
|
|
|
|
struct ControlCenterCategory_ {
|
|
int count;
|
|
ControlCenterEntry **entries;
|
|
GnomeDesktopItem *directory_entry;
|
|
const char *title;
|
|
char *name;
|
|
gpointer user_data;
|
|
gboolean real_category;
|
|
};
|
|
|
|
typedef struct {
|
|
int count;
|
|
ControlCenterCategory **categories;
|
|
GnomeDesktopItem *directory_entry;
|
|
const char *title;
|
|
} ControlCenterInformation;
|
|
|
|
ControlCenterInformation *control_center_get_categories (const gchar *prefsuri); /* Of type Category * */
|