[Xfce4-commits] <xfce4-indicator-plugin:master> Fixed repeated names and icons in the config dialog.

Andrzej noreply at xfce.org
Mon Aug 26 23:00:01 CEST 2013


Updating branch refs/heads/master
         to 52ac036b161c7dc7c4607f30f8f1bb1dc3d4bf8d (commit)
       from 4ab0d62b1b2ed9b2d43fa375d4152bebd56305f5 (commit)

commit 52ac036b161c7dc7c4607f30f8f1bb1dc3d4bf8d
Author: Andrzej <ndrwrdck at gmail.com>
Date:   Mon Aug 26 21:54:47 2013 +0100

    Fixed repeated names and icons in the config dialog.

 panel-plugin/indicator-dialog.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/panel-plugin/indicator-dialog.c b/panel-plugin/indicator-dialog.c
index e325975..caf4eb5 100644
--- a/panel-plugin/indicator-dialog.c
+++ b/panel-plugin/indicator-dialog.c
@@ -171,6 +171,8 @@ indicator_dialog_update_indicator_names (IndicatorDialog *dialog)
       name = li->data;
 
       /* check if we have a better name for the application */
+      pretty_name = NULL;
+      icon_name = NULL;
       for (i = 0; i < G_N_ELEMENTS (pretty_names); i++)
         {
           if (strcmp (name, pretty_names[i][0]) == 0)


More information about the Xfce4-commits mailing list