launcher : limit launcher_icon_theme to 1 theme. Add XSETTINGS client and read launcher_icon_theme if manager is running.

git-svn-id: http://tint2.googlecode.com/svn/trunk@588 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
thilor77
2010-11-07 08:44:27 +00:00
parent c936265172
commit da27293d22
13 changed files with 998 additions and 42 deletions

View File

@@ -9,13 +9,13 @@
#include "common.h"
#include "area.h"
#include "xsettings-client.h"
typedef struct Launcher {
// always start with area
Area area;
GSList *list_apps; // List of char*, each is a path to a app.desktop file
GSList *list_icons; // List of LauncherIcon*
GSList *icon_theme_names; // List of char*, each is a theme name (oxygen, Tango...)
GSList *icon_themes; // List of IconTheme*
} Launcher;
@@ -57,6 +57,8 @@ typedef struct IconTheme {
extern int launcher_enabled;
extern int launcher_max_icon_size;
extern char *icon_theme_name; // theme name
extern XSettingsClient *xsettings_client;
// default global data
void default_launcher();