~ubuntu-branches/ubuntu/oneiric/cairo-dock/oneiric

« back to all changes in this revision

Viewing changes to src/cairo-dock-gui-simple.c

  • Committer: Bazaar Package Importer
  • Author(s): Matthieu Baerts (matttbe)
  • Date: 2010-09-07 20:31:25 UTC
  • mto: (18.1.1 cairo-dock) (19.1.1 cairo-dock)
  • mto: This revision was merged to the branch mainline in revision 14.
  • Revision ID: james.westby@ubuntu.com-20100907203125-a91ch8odv2r6ziic
Tags: upstream-2.2.0~0rc1
ImportĀ upstreamĀ versionĀ 2.2.0~0rc1

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
#define ICON_MEDIUM 48
59
59
#define ICON_SMALL 42
60
60
#define ICON_TINY 36
 
61
#define CAIRO_DOCK_THEME_SERVER "http://themes.glx-dock.org"
61
62
 
62
63
static GtkWidget *s_pSimpleConfigWindow = NULL;
63
64
static GtkWidget *s_pSimpleConfigModuleWindow = NULL;
77
78
extern gchar *g_cCurrentThemePath;
78
79
extern gchar *g_cCairoDockDataDir;
79
80
extern gboolean g_bUseOpenGL;
 
81
extern int g_iMajorVersion, g_iMinorVersion, g_iMicroVersion;
80
82
 
81
83
#define cd_reload(module_name) do {\
82
84
        pInternalModule = cairo_dock_find_internal_module_from_name (module_name);\
358
360
        
359
361
        g_key_file_set_string (pSimpleKeyFile, "Appearance", "sub-dock view", myViews.cSubDockDefaultRendererName);
360
362
        
 
363
        // applets
 
364
        gchar *cAdress = g_strdup_printf (CAIRO_DOCK_THEME_SERVER"/third-party/%d.%d.%d", g_iMajorVersion, g_iMinorVersion, g_iMicroVersion);
 
365
        g_key_file_set_string (pSimpleKeyFile, "Add-ons", "third party", cAdress);
 
366
        g_free (cAdress);
 
367
        
361
368
        // themes
362
369
        g_key_file_set_boolean (pSimpleKeyFile, "Themes", "use theme launchers", FALSE);
363
370