From c4c838efcc14cd46807052fa0303f4ba6df48e5f Mon Sep 17 00:00:00 2001 From: Jean-Philippe Orsini Date: Thu, 25 Sep 2014 20:58:37 +0200 Subject: [PATCH] fixed col > 80 --- src/ui_appindicator.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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; -- 2.7.4