[Xfce4-commits] [panel-plugins/xfce4-mount-plugin] 04/06: Renamed improperly named member variable of main mountpoint display structure

noreply at xfce.org noreply at xfce.org
Mon Oct 1 20:34:46 CEST 2018


This is an automated email from the git hooks/post-receive script.

t   i   m   y   s   t   e   r   y       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository panel-plugins/xfce4-mount-plugin.

commit fa3c8ceff6755a5d21d0858a93e201c675a00294
Author: Fabian <timystery at arcor.de>
Date:   Sun Sep 30 20:23:29 2018 +0200

    Renamed improperly named member variable of main mountpoint display structure
---
 panel-plugin/mount-plugin.c | 8 ++++----
 panel-plugin/mount-plugin.h | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/panel-plugin/mount-plugin.c b/panel-plugin/mount-plugin.c
index c5133f0..bde66f4 100644
--- a/panel-plugin/mount-plugin.c
+++ b/panel-plugin/mount-plugin.c
@@ -190,21 +190,21 @@ disk_display_new (t_disk *disk, t_mounter *mounter)
         if (mounter->exclude_devicenames)
         {
             dd->label_disk = NULL;
-            dd->label_mount_array = NULL;
+            dd->label_mount_arrow = NULL;
         }
         else
         {
             dd->label_disk = gtk_label_new (formatted_diskname);
-            dd->label_mount_array = gtk_label_new (_(" -> "));
+            dd->label_mount_arrow = gtk_label_new (_(" -> "));
 
             /*change to uniform label size*/
             /*gtk_label_set_width_chars(GTK_LABEL(dd->label_disk), 32); */
             gtk_label_set_xalign(GTK_LABEL(dd->label_disk), 1.0);
             gtk_widget_set_valign(dd->label_disk,GTK_ALIGN_CENTER);
-            gtk_widget_set_valign(dd->label_mount_array,GTK_ALIGN_CENTER);
+            gtk_widget_set_valign(dd->label_mount_arrow,GTK_ALIGN_CENTER);
 
             gtk_box_pack_start(GTK_BOX(dd->hbox),dd->label_disk,FALSE,TRUE,0);
-            gtk_box_pack_start(GTK_BOX(dd->hbox),dd->label_mount_array,FALSE,TRUE,0);
+            gtk_box_pack_start(GTK_BOX(dd->hbox),dd->label_mount_arrow,FALSE,TRUE,0);
         }
         g_free (formatted_diskname);
 
diff --git a/panel-plugin/mount-plugin.h b/panel-plugin/mount-plugin.h
index 7de0d74..d3a6758 100644
--- a/panel-plugin/mount-plugin.h
+++ b/panel-plugin/mount-plugin.h
@@ -81,7 +81,7 @@ typedef struct
     GtkWidget * menu_item;
     GtkWidget * hbox;
     GtkWidget * label_disk;
-    GtkWidget * label_mount_array;
+    GtkWidget * label_mount_arrow;
     GtkWidget * label_mount_point;
     GtkWidget * label_mount_info;
     GtkWidget * progress_bar;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list