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"),