From: Jean-Philippe Orsini Date: Thu, 25 Sep 2014 18:58:37 +0000 (+0200) Subject: fixed col > 80 X-Git-Tag: v1.2.0~108 X-Git-Url: http://git.wpitchoune.net/gitweb/?p=psensor.git;a=commitdiff_plain;h=c4c838efcc14cd46807052fa0303f4ba6df48e5f fixed col > 80 --- diff --git a/src/ui_appindicator.c b/src/ui_appindicator.c index f9f1a59..a396f65 100644 --- a/src/ui_appindicator.c +++ b/src/ui_appindicator.c @@ -34,6 +34,9 @@ static const char *ICON = "psensor_normal"; static const char *ATTENTION_ICON = "psensor_hot"; +static const char *GLADE_FILE += PACKAGE_DATA_DIR G_DIR_SEPARATOR_S "psensor-appindicator.glade"; + static struct psensor **sensors; static GtkMenuItem **menu_items; static bool appindicator_supported = true; @@ -138,12 +141,12 @@ static GtkWidget *get_menu(struct ui_psensor *ui) error = NULL; ok = gtk_builder_add_from_file (builder, - PACKAGE_DATA_DIR G_DIR_SEPARATOR_S "psensor-appindicator.glade", + GLADE_FILE, &error); if (!ok) { log_err(_("Failed to load glade file %s: %s"), - PACKAGE_DATA_DIR G_DIR_SEPARATOR_S "psensor-appindicator.glade", + GLADE_FILE, error->message); g_error_free(error); return NULL;