[gparted] Rename enumeration to MENU_LABEL_FILESYSTEM



commit dae4deff392fbeb1beb052fe5a88a4b1c336904d
Author: Mike Fleetwood <mike fleetwood googlemail com>
Date:   Thu Jun 27 12:48:26 2019 +0100

    Rename enumeration to MENU_LABEL_FILESYSTEM
    
    To match the renaming performed as part of Bug 741424 "Add support for
    GPT partition names".  In particular this is most closely similar to:
        d480800600be714a0e706b51a147d329d8280e52
        Rename enum to OPERATION_LABEL_FILESYSTEM (#741424)

 include/Win_GParted.h | 4 ++--
 src/Win_GParted.cc    | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/include/Win_GParted.h b/include/Win_GParted.h
index 77ed138e..b370a281 100644
--- a/include/Win_GParted.h
+++ b/include/Win_GParted.h
@@ -122,7 +122,7 @@ private:
                toggle_item( state, MENU_CHECK ) ; } 
        
        void allow_label_filesystem( bool state ) {
-               toggle_item( state, MENU_LABEL_PARTITION ) ; } 
+               toggle_item(state, MENU_LABEL_FILESYSTEM); }
 
        void allow_name_partition( bool state ) {
                toggle_item( state, MENU_NAME_PARTITION ); }
@@ -294,7 +294,7 @@ private:
                MENU_NAME_PARTITION,
                MENU_FLAGS,
                MENU_CHECK,
-               MENU_LABEL_PARTITION,
+               MENU_LABEL_FILESYSTEM,
                MENU_CHANGE_UUID,
                MENU_INFO
        };
diff --git a/src/Win_GParted.cc b/src/Win_GParted.cc
index 0812789f..ec7e9415 100644
--- a/src/Win_GParted.cc
+++ b/src/Win_GParted.cc
@@ -506,7 +506,7 @@ void Win_GParted::init_partition_menu()
                        GParted::Menu_Helpers::MenuElem(_("_Label File System"),
                                                     sigc::mem_fun(*this, 
&Win_GParted::activate_label_filesystem)));
        menu_partition.append(*item);
-       partitionmenu_items[MENU_LABEL_PARTITION] = item;
+       partitionmenu_items[MENU_LABEL_FILESYSTEM] = item;
 
        item = manage(new
                        GParted::Menu_Helpers::MenuElem(_("New UU_ID"),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]